56
Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges www.Charlotte-SQL.org

Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Embed Size (px)

Citation preview

Page 1: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Meeting Date: October 16, 2007

Topic: The 64-bit Question by Rick Heiges

www.Charlotte-SQL.org

Page 2: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

The 64-bit Question:The 64-bit Question:

Presented byRick Heiges, SQL MVP

Sr. Solutions [email protected]

Presented byRick Heiges, SQL MVP

Sr. Solutions [email protected]

Which Platform?

SQL245

Page 3: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

About the PresenterAbout the PresenterRick Heiges – Sr. Consultant – Scalability ExpertsSQL Server MVPMCP, MCSE, MCDBA, MCTS: SQL2005, MCITP: DBAMBA, MS-MIS, BSCSPASS – Director of Event OperationsFounder – Triad SQL Server User GroupPresented at PASS, local user groups, SQL Server Road Shows, DevTeach (Top 5 SQL Track), SQL ConnectionsBLOG on sqlblog.com and sqljunkies.comArticles in SQL Server Standard, Windows IT ProWebcasts - SQL 2005, 64-bit Computing, ConsolidationAmbassador at TechEdCheck out www.ricksql.com for more content!

Rick Heiges – Sr. Consultant – Scalability ExpertsSQL Server MVPMCP, MCSE, MCDBA, MCTS: SQL2005, MCITP: DBAMBA, MS-MIS, BSCSPASS – Director of Event OperationsFounder – Triad SQL Server User GroupPresented at PASS, local user groups, SQL Server Road Shows, DevTeach (Top 5 SQL Track), SQL ConnectionsBLOG on sqlblog.com and sqljunkies.comArticles in SQL Server Standard, Windows IT ProWebcasts - SQL 2005, 64-bit Computing, ConsolidationAmbassador at TechEdCheck out www.ricksql.com for more content!

Page 4: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

AgendaAgenda

Key Differences in 32-bit v 64-bit systemsWindows / SQL VersionsX64 or IA64 and Performance / Scalability Which Components BenefitMigration to 64-bit SQL Server

Key Differences in 32-bit v 64-bit systemsWindows / SQL VersionsX64 or IA64 and Performance / Scalability Which Components BenefitMigration to 64-bit SQL Server

Page 5: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Poll: SQL 2005 Live in your environment?Poll: SQL 2005 Live in your environment?

No – All production servers are SQL 2000 or earlierYes – We have 1 or 2 systems “Live” Yes – The Majority of our production systems are SQL 2005 Yes – We are completely switched to SQL 2005

No – All production servers are SQL 2000 or earlierYes – We have 1 or 2 systems “Live” Yes – The Majority of our production systems are SQL 2005 Yes – We are completely switched to SQL 2005

Page 6: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Poll: 64-bit in your environmentPoll: 64-bit in your environment

Yes – We have at least one production system using SQL Server 2000/2005 64-bit Yes – We have a majority of our systems on SQL Server 2000/2005 on a 64-bit platformNo – That’s why I am here

Yes – We have at least one production system using SQL Server 2000/2005 64-bit Yes – We have a majority of our systems on SQL Server 2000/2005 on a 64-bit platformNo – That’s why I am here

Page 7: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Before we start - No Magic BulletBefore we start - No Magic Bullet

Not Every work load will benefitx64 and Itanium

Fundamental differencesAbbreviations – IA32, x86, x64, IA64, IPF

OS / SQL mixx86 on x86 OS on x64 Hardwarex86 on x64 OS on x64 Hardwarex64 on x64 OS on x64 Hardware

Not Every work load will benefitx64 and Itanium

Fundamental differencesAbbreviations – IA32, x86, x64, IA64, IPF

OS / SQL mixx86 on x86 OS on x64 Hardwarex86 on x64 OS on x64 Hardwarex64 on x64 OS on x64 Hardware

Page 8: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

The 32-bit ChallengeThe 32-bit Challenge

Today, customers are experiencing unprecedented challenges in their computing environment

Increased complexity in mixed IT environmentsEver increasing user countsPower, space and heat restrictions

It is becoming increasingly difficult to sustain Mission-Critical databases on 32-bit architectures

Difficulty in scaling to handle increasing database sizesDifficulty in managing large concurrent user counts

There is a limited future for 32-bit processors, 32-bit Operating Systems, and 32 bit databases

All current and future hardware and software development is oriented towards 64-bit platforms

Today, customers are experiencing unprecedented challenges in their computing environment

Increased complexity in mixed IT environmentsEver increasing user countsPower, space and heat restrictions

It is becoming increasingly difficult to sustain Mission-Critical databases on 32-bit architectures

Difficulty in scaling to handle increasing database sizesDifficulty in managing large concurrent user counts

There is a limited future for 32-bit processors, 32-bit Operating Systems, and 32 bit databases

All current and future hardware and software development is oriented towards 64-bit platforms

Page 9: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

32-bit Addressing32-bit Addressing

32-bit processors have address registers that are 32-bits wide (can address up to 4GB RAM)Each individual process gets its own virtual address space that can be up to 4GBThis virtual address space is divided – system and user space, by default 2 GB eachThe user space can be extended to 3 GB with the 4 GB Tuning feature

/3GB flag = 4GB Tuning Feature – reduces system space to 1GB, allowing 3GB for user space – also /USERVAAdd to boot.ini file and reboot to take effect

32-bit processors have address registers that are 32-bits wide (can address up to 4GB RAM)Each individual process gets its own virtual address space that can be up to 4GBThis virtual address space is divided – system and user space, by default 2 GB eachThe user space can be extended to 3 GB with the 4 GB Tuning feature

/3GB flag = 4GB Tuning Feature – reduces system space to 1GB, allowing 3GB for user space – also /USERVAAdd to boot.ini file and reboot to take effect

Page 10: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

32-bit Systems With PAE And AWE32-bit Systems With PAE And AWE

PAE - Physical Address ExtensionAllows 36-bit memory addressingAllows the x86 processor to address up to 64GB of physical RAMAdd /PAE switch in the boot.ini file and reboot server

AWE – Address Windowing ExtensionAWE – a set of APIs that allow programs to address memory locations outside of their 4GB virtual addressing rangeWith AWE programs reserve memory as non-paged (will not page out)

These methods add a translation layer to memory access – slower than direct memory access

PAE - Physical Address ExtensionAllows 36-bit memory addressingAllows the x86 processor to address up to 64GB of physical RAMAdd /PAE switch in the boot.ini file and reboot server

AWE – Address Windowing ExtensionAWE – a set of APIs that allow programs to address memory locations outside of their 4GB virtual addressing rangeWith AWE programs reserve memory as non-paged (will not page out)

These methods add a translation layer to memory access – slower than direct memory access

Page 11: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Performance Implications Of 32-bit MemoryPerformance Implications Of 32-bit Memory

Memory split into two parts is not as efficient as memory in one segment

Overhead is introduced, memory access is substantially slower32-bit systems with 8 GB of RAM may not perform much better than systems with 4 GB of RAM

Memory above 4 GB can only be used for Buffer cache Buffer cache does not support user connections; all user connections must be supported from low memory (<= 3GB)

AWE overhead may take up an additional 1 GB of low memory, leaving only 1-2 GB for managing user connectionsSQL Server connections are lightweight, so 4,000+ connections are possible, even with limited memory

Memory split into two parts is not as efficient as memory in one segment

Overhead is introduced, memory access is substantially slower32-bit systems with 8 GB of RAM may not perform much better than systems with 4 GB of RAM

Memory above 4 GB can only be used for Buffer cache Buffer cache does not support user connections; all user connections must be supported from low memory (<= 3GB)

AWE overhead may take up an additional 1 GB of low memory, leaving only 1-2 GB for managing user connectionsSQL Server connections are lightweight, so 4,000+ connections are possible, even with limited memory

Page 12: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

32-bit Memory Areas32-bit Memory Areas

32GB RAM

Application VAS

Additional App VAS

OS VAS

Data Pages Only

Page 13: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Route 64 – Where Business is GoingRoute 64 – Where Business is Going

x

Future

Page 14: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

The 64-bit SolutionThe 64-bit Solution

Microsoft has solved these problems by extending their platforms to provide a robust Operating System, Windows Server 2003 R2, for advanced 64-bit architectures. Note: In Windows 2003 64-bit, Kernel and User mode split 16TB Multi-core x64 processor-based systems offers hybrid 32-bit/64-bit capabilities that make the transition to 64-bit processing easyIntel Itanium® 2 processor-based systems (Currently Dual-Core) offers high-end performance capabilities for the most demanding and mission-critical corporate databases Microsoft offers Windows Server 2003 editions for both the x64 and Itanium® 2 architectures

Microsoft has solved these problems by extending their platforms to provide a robust Operating System, Windows Server 2003 R2, for advanced 64-bit architectures. Note: In Windows 2003 64-bit, Kernel and User mode split 16TB Multi-core x64 processor-based systems offers hybrid 32-bit/64-bit capabilities that make the transition to 64-bit processing easyIntel Itanium® 2 processor-based systems (Currently Dual-Core) offers high-end performance capabilities for the most demanding and mission-critical corporate databases Microsoft offers Windows Server 2003 editions for both the x64 and Itanium® 2 architectures

Page 15: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

AgendaAgenda

Key Differences in 32-bit v 64-bit systemsWindows / SQL VersionsX64 or IA64 and Performance / Scalability Which Components BenefitMigration to 64-bit SQL Server

Key Differences in 32-bit v 64-bit systemsWindows / SQL VersionsX64 or IA64 and Performance / Scalability Which Components BenefitMigration to 64-bit SQL Server

Page 16: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

The 64-bit Solution – SQL ServerThe 64-bit Solution – SQL ServerSQL Server 2005 offers 64-bit versions for both the x64 and Itanium® 2 architecturesCompared to 32-bit database versions the 64-bit Windows versions of SQL Server 2005 provide outstanding performanceMore Workloads per “u” of rackspace, Up to 50 InstancesAll Components able to take advantage of Large Virtual Address Space in SQL 2005

SQL Server 2005 offers 64-bit versions for both the x64 and Itanium® 2 architecturesCompared to 32-bit database versions the 64-bit Windows versions of SQL Server 2005 provide outstanding performanceMore Workloads per “u” of rackspace, Up to 50 InstancesAll Components able to take advantage of Large Virtual Address Space in SQL 2005

Page 17: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Windows Server 2003 FamilyWindows Server 2003 Family

32-bitx86

64-bitx64

64-bit Itanium

Up to 32-way,64 GB RAM

Up to 64-way,1 TB RAM

Up to 64-way,

1 TB RAM

Up to 8-way,64 GB RAM

Up to 8-way,1 TB RAM

Up to 8-way,1 TB RAM

Up to 4-way,4 GB RAM

Up to 4-way,32 GB RAM

Up to 4-way,32 GB RAM

Up to 2-way,2 GB RAM n/a n/a

Page 18: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Poll: Windows in your environment?Poll: Windows in your environment?

At lease one server is Windows Server 2003 Enterprise Edition is running in ProductionA majority of our production servers are Enterprise Edition of Windows Server 2003 A majority of our production servers are Standard Edition of Windows Server 2003 We only run Windows Server 2003 Standard Edition in our production Environment We are still on Windows 2000 or earlier

At lease one server is Windows Server 2003 Enterprise Edition is running in ProductionA majority of our production servers are Enterprise Edition of Windows Server 2003 A majority of our production servers are Standard Edition of Windows Server 2003 We only run Windows Server 2003 Standard Edition in our production Environment We are still on Windows 2000 or earlier

Page 19: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

SQL Server Versions and PlatformsSQL Server Versions and Platforms

Version Platform 32-bit (x86) 64-bit (x64) 64-bit (Itanium Platform Family)

SQL Server 7.0 X(All Editions)

N/A N/A

SQL Server 2000 X(All Editions)

(sp4 using WOW – x86 version)

XEnterprise Edition

SQL Server 2005 X(All Editions)

XStandard/Enterprise

Editions

XEnterprise Edition

Page 20: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

SQL Server 2005 64-bit Editions SQL Server 2005 64-bit Editions

New for SQL Server 2005New for SQL Server 2005

Higher Editions include Higher Editions include same functionality as the same functionality as the edition below it.edition below it.

StandardStandard EnterpriseEnterpriseComplete data Complete data

management & analysis management & analysis platform for medium platform for medium businesses and large businesses and large

departmentsdepartments

Fully integrated data Fully integrated data management and management and

analysis platform for analysis platform for business critical business critical

enterprise applications enterprise applications

$6K $6K per procper proc or or $2,799 $2,799 (Server + 10 users)(Server + 10 users)

$25K $25K per procper proc or or $13.5K $13.5K (Server + 25 users)(Server + 25 users)

4 CPU4 CPU

Unlimited RAMUnlimited RAM(64-bit)(64-bit)

Database MirroringDatabase Mirroring

OLAP ServerOLAP Server

Reporting ServerReporting Server

New Integration New Integration ServicesServices

Data MiningData Mining

Full Replication & Full Replication & SSB PublishingSSB Publishing

Unlimited Scale Unlimited Scale + Partitioning+ Partitioning

Adv. DB mirroring, Adv. DB mirroring, Complete online & Complete online &

parallel operations, parallel operations,

DB snapshotDB snapshot

Advanced Analysis Advanced Analysis Tools including full Tools including full

OLAP & Data OLAP & Data MiningMining

Customized & High Customized & High Scale ReportingScale Reporting

Adv SSISAdv SSIS

Note: 2-node clustering in SQL Server 2005 Standard Edition requires Windows Server 2003 R2 Enterprise Edition

Page 21: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Additional 64-bit Windows Server Advantages: Thread Model

Additional 64-bit Windows Server Advantages: Thread Model

Thread model benefitsFaster context switchesDecreased memory usageQuicker connection timesPerceived as a more “native” implementation since it uses threads versus processesNo changes required for client applicationsCan perform faster than Process model for CPU-intensive operations

Thread model benefitsFaster context switchesDecreased memory usageQuicker connection timesPerceived as a more “native” implementation since it uses threads versus processesNo changes required for client applicationsCan perform faster than Process model for CPU-intensive operations

Page 22: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Additional 64-bit Windows Server Advantages: Thread Tuning

Additional 64-bit Windows Server Advantages: Thread Tuning

Both CPU affinities and thread priorities can be set and manipulated via registry parameters on a thread-by-thread basisUser-thread support

Users may now run the database in user-thread mode, which employs database-scheduled fibers instead of O/S scheduled threadsFor CPU intensive apps, this will provide a performance boost and reduce CPU utilization

Both CPU affinities and thread priorities can be set and manipulated via registry parameters on a thread-by-thread basisUser-thread support

Users may now run the database in user-thread mode, which employs database-scheduled fibers instead of O/S scheduled threadsFor CPU intensive apps, this will provide a performance boost and reduce CPU utilization

Page 23: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

What is 64-bit SQL Server?What is 64-bit SQL Server?

Same codebase as 32-bit SQL Server Flat memory addressing (no need for AWE)2 64-bit versions for SQL 2005 - IA64 and X64Data file compatibility with 32-bit SQL

Easy Database Migration & IntegrationDetach/Attach, Log shipping, Replication, DB Mirroring etc.No changes in client apps when connecting to a 64-bit backend and a 32-bit backend

Massive Scale-up support – up to 64-way8-node Fail-over clustering support

Same codebase as 32-bit SQL Server Flat memory addressing (no need for AWE)2 64-bit versions for SQL 2005 - IA64 and X64Data file compatibility with 32-bit SQL

Easy Database Migration & IntegrationDetach/Attach, Log shipping, Replication, DB Mirroring etc.No changes in client apps when connecting to a 64-bit backend and a 32-bit backend

Massive Scale-up support – up to 64-way8-node Fail-over clustering support

Page 24: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

AgendaAgenda

Key Differences in 32-bit v 64-bit systemsWindows / SQL VersionsX64 or IA64 and Performance / ScalabilityWhich Components BenefitMigration to 64-bit SQL Server

Key Differences in 32-bit v 64-bit systemsWindows / SQL VersionsX64 or IA64 and Performance / ScalabilityWhich Components BenefitMigration to 64-bit SQL Server

Page 25: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

x64 or Itanium™?x64 or Itanium™?

• x64 for mainstream / commodity• Competes against existing high-end x86 platforms• Targets servers using up to 4p/8core• Pricing not significantly greater than traditional x86 based

systems• Based on 64-bit Extension to the x86 instruction set

• Itanium for scale-up• Optimized for most demanding DB & LOB workloads• Targets servers using 4 -128* processors• Scalable up to 128* processors and 2 terabyte of physical

memory• Pricing more competitive to x64 and x86 systems, and

price/performance comparable to x86 and x64• Based on EPIC (Explicitly Parallel Instruction Computing)

Page 26: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Overall Advantages of 64-bit ProcessorsOverall Advantages of 64-bit Processors

Much larger direct-addressable memory space (AWE not used)Better on-chip cache managementImproved multiprocessor performanceEnhanced on-processor parallelismIncreased bus and I/O bandwidth for faster and wider throughput

Much larger direct-addressable memory space (AWE not used)Better on-chip cache managementImproved multiprocessor performanceEnhanced on-processor parallelismIncreased bus and I/O bandwidth for faster and wider throughput

Page 27: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

x64 Benefitsx64 Benefits

Faster Clock SpeedsLonger History with multi-coresMore Versatile

able to run 32-bit appsease of transition

More Affordable

Faster Clock SpeedsLonger History with multi-coresMore Versatile

able to run 32-bit appsease of transition

More Affordable

Page 28: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

x64 Server Optionsx64 Server Optionsx64 hardware supports multiple configurationsExtends hardware investment by allowing gradual migration to 64-bit computingProvides superior 32-bit performance and very good 64-bit performance

x64 hardware supports multiple configurationsExtends hardware investment by allowing gradual migration to 64-bit computingProvides superior 32-bit performance and very good 64-bit performance

Server Hardware

Device Drivers

Windows Servers

Applications

32-bit Stack

64-bit StackHybrid Stack

x64

32-bit

32-bit

32-bit

x64

x64

x64

32-bitx64

x64

x64

x64

x64

Page 29: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Scalability

Bre

ad

th o

f A

pp

licati

on

s Versatile

Mainstream

64-bit x64

64-bit Itanium

Most Scalable

32-bit x86

64-bit Platform Positioning64-bit Platform Positioning

Page 30: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

64-bit Architecture (x64) - Offerings64-bit Architecture (x64) - Offerings

AMDOpteronAthlon 64

IntelXeon with EM64TPentium IV with EM64T

First dual-core offeringGenerally aimed at 4 sockets or less

Unisys – 32 sockets – ES7000IBM – 16 sockets

Other main vendorsHP and Dell (AMD and Intel)

AMDOpteronAthlon 64

IntelXeon with EM64TPentium IV with EM64T

First dual-core offeringGenerally aimed at 4 sockets or less

Unisys – 32 sockets – ES7000IBM – 16 sockets

Other main vendorsHP and Dell (AMD and Intel)

Page 31: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Itanium Scales Better with dual-coreItanium Scales Better with dual-core

Source: Windows IT Pro: Essentials Guide to “Solving SQL Server Sprawl” – September, 2006

Page 32: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Itanium Benefits For DatabasesItanium Benefits For Databases

Larger cache sizeFast Itanium® 2 on-die L3 cache up to 24 MBLess cache latency (fewer clock cycles needed)Databases benefit greatly with larger caches closer to the processorAllows for “bigger” systems

Better ParallelismBetter Instruction level parallelism (11 issues ports)More registers (264 registers supporting parallel instructions and reduce need for memory access)Improved Scalability of System Bus allowing for bigger systems

Improved Micro ArchitecturePredication removes delays caused by mispredicated branches

Larger cache sizeFast Itanium® 2 on-die L3 cache up to 24 MBLess cache latency (fewer clock cycles needed)Databases benefit greatly with larger caches closer to the processorAllows for “bigger” systems

Better ParallelismBetter Instruction level parallelism (11 issues ports)More registers (264 registers supporting parallel instructions and reduce need for memory access)Improved Scalability of System Bus allowing for bigger systems

Improved Micro ArchitecturePredication removes delays caused by mispredicated branches

Page 33: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

64-bit Architecture (IA64) - Offerings64-bit Architecture (IA64) - Offerings

Intel chip architecturesItanium - Merced, released in 2001Itanium2-McKinley, then Madison, now MontecitoMontecito – first dual-coreTukwila - multi-core - due in 2008

Vendors – Bull, Fujitsu, Fujitsu-Siemens Computers, Hitachi, HP, NEC, Silicon Graphics and UnisysUp to 64-sockets

Up to 1.6 GHzUp to 24 MB L3 cache

Intel chip architecturesItanium - Merced, released in 2001Itanium2-McKinley, then Madison, now MontecitoMontecito – first dual-coreTukwila - multi-core - due in 2008

Vendors – Bull, Fujitsu, Fujitsu-Siemens Computers, Hitachi, HP, NEC, Silicon Graphics and UnisysUp to 64-sockets

Up to 1.6 GHzUp to 24 MB L3 cache

Page 34: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

AgendaAgenda

Key Differences in 32-bit v 64-bit systemsWindows / SQL VersionsX64 or IA64 and Performance / Scalability Which Components BenefitMigration to 64-bit SQL Server

Key Differences in 32-bit v 64-bit systemsWindows / SQL VersionsX64 or IA64 and Performance / Scalability Which Components BenefitMigration to 64-bit SQL Server

Page 35: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Poll: Do you currently use SQL Server for BI?Poll: Do you currently use SQL Server for BI?

Yes NoNot Sure

Yes NoNot Sure

Page 36: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Which SQL Server 2005 Components Benefit from 64-bit?

Which SQL Server 2005 Components Benefit from 64-bit?

Relational EngineSnapshot IsolationTable / Index PartitioningFailover Clustering

Integration ServicesAnalysis ServicesReporting Services

Also, IT Operations Benefit from SQL Server Consolidation

Relational EngineSnapshot IsolationTable / Index PartitioningFailover Clustering

Integration ServicesAnalysis ServicesReporting Services

Also, IT Operations Benefit from SQL Server Consolidation

Page 37: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Why the Relational Engine Benefits from 64-bit ?

Why the Relational Engine Benefits from 64-bit ?Small transactions are more thread

intensive64-bit provides the faster thread execution modeFaster I/O – Windows Multi-path I/OLower Context Switching with lower CPU queuesLogical reads are faster as more data can be cachedAvoid page faultsStatistics Refresh will use parallelism

Small transactions are more thread intensive64-bit provides the faster thread execution modeFaster I/O – Windows Multi-path I/OLower Context Switching with lower CPU queuesLogical reads are faster as more data can be cachedAvoid page faultsStatistics Refresh will use parallelism

Page 38: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Integration ServicesIntegration Services

No explicit way to limit memory utilization ceilingSpecific tasks to watch:

SortsAggregationsLookups

Be sure to minimize the columns that are carried through the pipelineRewrite lookup queries to only pull key and lookup columns

Or set the ceiling within the task – performance trade-off

Packages can fail on 32-bit when the 3 GB VAS limit is reached

No explicit way to limit memory utilization ceilingSpecific tasks to watch:

SortsAggregationsLookups

Be sure to minimize the columns that are carried through the pipelineRewrite lookup queries to only pull key and lookup columns

Or set the ceiling within the task – performance trade-off

Packages can fail on 32-bit when the 3 GB VAS limit is reached

Page 39: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Analysis Services 2000 Memory UtilizationAnalysis Services 2000 Memory Utilization

Dimensions and Member Properties

Query cache

Limited to4 GB !

Replica Dimensions (Dimension Security)

Shadow Dimensions

Read ahead

Processing Buffers

Connections

Page 40: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Reporting ServicesReporting ServicesDoes not benefit from AWELarge or complex reports can require lots of memoryCLR based Application LOVES Memory

Does not benefit from AWELarge or complex reports can require lots of memoryCLR based Application LOVES Memory

Page 41: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

SQL Server ConsolidationSQL Server ConsolidationScenario 1:DB ConsolidationSingle OS, Single SQL, Many DB Maximum scale up and resource utilization

Scenario 1:DB ConsolidationSingle OS, Single SQL, Many DB Maximum scale up and resource utilization

Scenario 2:SQL Instance ConsolidationSingle OS, Multiple SQL Instances- Greater flexibility and control over CPU/Memory resource allocation and maintenance schedules (per instance)

Scenario 3:Server ConsolidationMultiple OS, Multiple SQL- Same model as stand-alone servers, with option to re-partition H/W resources as needs change

IsolationUtilization

Manufacturing Instance

Marketing Instance

Payroll Instance

•Manufacturing DB•Marketing DB

•Payroll DB

Windows 2003 Server (64P)

EnterpriseStorage &Backup

SQL 2005 ServerWindows 2003 Server (64P)

Payroll Server

MarketingServer

Manufacturing Server

Windows 2003 Server (24P)

Windows (8P)

Windows 2003 Server (32P)

Page 42: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Poll: Do you have many “small/medium” SQL Servers in your production environment?

Poll: Do you have many “small/medium” SQL Servers in your production environment?

YesNoNot Sure

YesNoNot Sure

Page 43: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

AgendaAgenda

Key Differences in 32-bit v 64-bit systemsWindows / SQL VersionsX64 or IA64 Performance / ScalabilityWhich Components BenefitMigration to 64-bit SQL Server

Key Differences in 32-bit v 64-bit systemsWindows / SQL VersionsX64 or IA64 Performance / ScalabilityWhich Components BenefitMigration to 64-bit SQL Server

Page 44: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Business Benefits of 64-bit MigrationBusiness Benefits of 64-bit Migration

Meet increasing business demandsAllow more complex workloadsServe greater number of customersImprove response times

Increase cost effectivenessDo more work on the same budgetEnable server and database consolidationMake more efficient use of Datacenter resources

“Future proof” your database investmentAll development resources are being directed towards 64-bit platformsThe “tipping-point” for moving 64-bit processing into the mainstream has been reached

Meet increasing business demandsAllow more complex workloadsServe greater number of customersImprove response times

Increase cost effectivenessDo more work on the same budgetEnable server and database consolidationMake more efficient use of Datacenter resources

“Future proof” your database investmentAll development resources are being directed towards 64-bit platformsThe “tipping-point” for moving 64-bit processing into the mainstream has been reached

Page 45: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Ease of MigrationEase of Migration

Minimal Migration hurdlesSame on-disk format

Detach database from 32-bit serverAttach database to 64-bit server

Interoperability with other SQL Server installations

Scripting languages will “just work” on SQL Server 64 Bit Edition

Same Price as 32-bit!!!

Minimal Migration hurdlesSame on-disk format

Detach database from 32-bit serverAttach database to 64-bit server

Interoperability with other SQL Server installations

Scripting languages will “just work” on SQL Server 64 Bit Edition

Same Price as 32-bit!!!

Page 46: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

How to MigrateHow to Migrate

Already on 32-bit SQL 2005?Test!!!Easy: Backup/Restore or Detach/Attach

Still on 32-bit SQL 2000?Follow Guidelines for Migration

Run Upgrade Advisor / Upgrade AssistantTest!!!Backup / Restore or Detach / Attach

Already on 32-bit SQL 2005?Test!!!Easy: Backup/Restore or Detach/Attach

Still on 32-bit SQL 2000?Follow Guidelines for Migration

Run Upgrade Advisor / Upgrade AssistantTest!!!Backup / Restore or Detach / Attach

Page 47: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Things to know before moving to 64-bitThings to know before moving to 64-bit

Research impact of 3rd party software (Itanium)

Virus protectionSpecialty backup programsDatabase driversHardware drivers

Management tool supportShared memory across componentsPotential NUMA affects (SP2 includes enhancements)

Research impact of 3rd party software (Itanium)

Virus protectionSpecialty backup programsDatabase driversHardware drivers

Management tool supportShared memory across componentsPotential NUMA affects (SP2 includes enhancements)

Page 48: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Don’t move if you don’t have toDon’t move if you don’t have to

Minimize memory utilization using previous tipsHardware gets better and cheaper with timeEstablish your resource bottleneck(s) before assuming 64-bit will solve your problems

Minimize memory utilization using previous tipsHardware gets better and cheaper with timeEstablish your resource bottleneck(s) before assuming 64-bit will solve your problems

Page 49: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

If you need to move to 64-bitIf you need to move to 64-bitMove to x64 for moderate-sized workloads

ProsEasier migration path – 32-bit can run in WOWOutstanding price/performance

ConsMaximum of 4 CPUs (Unisys and IBM exceptions)Maximum of 1 TB of RAM

Move to x64 for moderate-sized workloads

ProsEasier migration path – 32-bit can run in WOWOutstanding price/performance

ConsMaximum of 4 CPUs (Unisys and IBM exceptions)Maximum of 1 TB of RAM

Page 50: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

If you need to move to 64-bitIf you need to move to 64-bit

Move to Itanium for very large or complex workloads

ProsSupport for many CPUs – currently up to 512High parallelVery large memory support – up to 1000 TB

ConsCostDriver compatibilityNo BIDs – no SSIS debugging

Move to Itanium for very large or complex workloads

ProsSupport for many CPUs – currently up to 512High parallelVery large memory support – up to 1000 TB

ConsCostDriver compatibilityNo BIDs – no SSIS debugging

Page 51: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Poll: Has this session helped to shed light on the benefits of 64-bit technology?

Poll: Has this session helped to shed light on the benefits of 64-bit technology?

Yes NoNot Sure

Yes NoNot Sure

Page 52: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Poll: Which 64-bit Platform?Poll: Which 64-bit Platform?

x64 Itanium Neither – I am sticking with 32-bit Not Sure

x64 Itanium Neither – I am sticking with 32-bit Not Sure

Page 53: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Route 64 – Exit Now!Route 64 – Exit Now!

x

Future

NOW!

Page 54: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Summary Summary

64-bit provides many benefits over 32-bit systemsThere are two platform choices for 64-bit – each with its own pros/cons64-bit enables new heights of performance and scalability for SQL 2005Migration is not complicated64-bit is the future

64-bit provides many benefits over 32-bit systemsThere are two platform choices for 64-bit – each with its own pros/cons64-bit enables new heights of performance and scalability for SQL 2005Migration is not complicated64-bit is the future

Page 55: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

Thank You!!!Thank You!!!

Don’t forget to check out www.ricksql.com for more free content!

Don’t forget to check out www.ricksql.com for more free content!

Page 56: Meeting Date: October 16, 2007 Topic: The 64-bit Question by Rick Heiges

ResourcesResources

http://www.microsoft.com/windowsserver2003/enterprise/default.mspxhttp://www.microsoft.com/sql/editions/64bit/overview.mspxhttp://www.microsoft.com/windowsserversystem/64bit/bulletin.mspxhttp://msdn2.microsoft.com/en-us/library/ms141766.aspxhttp://searchsqlserver.techtarget.com/qna/0,289202,sid87_gci1161294,00.html?bucket=NEWS&topic=301334http://www.intel.com/business/bss/products/server/sql-server2005.htmhttp://www.sqlmag.com/essential/index.cfm?fuseaction=show&guid=f919979c-967a-4d33-bcca-78a826c3f22ehttp://www.scalabilityexperts.com/default.asp?action=article&ID=320http://www.ricksql.com

http://www.microsoft.com/windowsserver2003/enterprise/default.mspxhttp://www.microsoft.com/sql/editions/64bit/overview.mspxhttp://www.microsoft.com/windowsserversystem/64bit/bulletin.mspxhttp://msdn2.microsoft.com/en-us/library/ms141766.aspxhttp://searchsqlserver.techtarget.com/qna/0,289202,sid87_gci1161294,00.html?bucket=NEWS&topic=301334http://www.intel.com/business/bss/products/server/sql-server2005.htmhttp://www.sqlmag.com/essential/index.cfm?fuseaction=show&guid=f919979c-967a-4d33-bcca-78a826c3f22ehttp://www.scalabilityexperts.com/default.asp?action=article&ID=320http://www.ricksql.com