SQL Server 64 bit
Vu Tuyet Trinh
Hanoi University of Technology
1
MicrosoftMicrosoft
Outline
Overview of database performance and scalability
Compatibility
Advantages of 64-bit environment
Consideration for choosing SQL Server 64-bit
Deployment consideration
2
MicrosoftMicrosoft
Database Performance and Scalability
Many applications running on 32-bit platforms today are
approaching or have exceeded the limits of the platform.
Advanced DBMS capabilities, data is growing numbers of business
users.
Organizations are consolidating servers to simplify critical data
center operations. Consolidation can reduce management
complexity and cost, while reducing physical space requirements in
the data center.
MicrosoftMicrosoft
SQL Server 64 bit
Cost Savings
Scalability
The highly scalable database platform for memory
intensive, performance-critical business applications
Optimized for Windows Server 2003 and
Optimized for Windows Server 2003 and
Itanium
Itanium
Great performance
Great performance
Large memory addressability (up to 32 TB)
Large memory addressability (up to 32 TB)
Nearly unlimited virtual memory (up to 8 TB)
Nearly unlimited virtual memory (up to 8 TB)
I/O savings due to larger memory buffer pools
I/O savings due to larger memory buffer pools
T-SQL code-compatibility with SQL Server
T-SQL code-compatibility with SQL Server
2000
2000
8 node clustering support
8 node clustering support
Same on-disk format as 32-bit for easy
Same on-disk format as 32-bit for easy
migration
migration
One setup for database & OLAP based on
One setup for database & OLAP based on
Windows Installer technology
Windows Installer technology
Compelling alternative to expensive Unix
Compelling alternative to expensive Unix
solutions
solutions
Manageability
MicrosoftMicrosoft
32bit vs. 64 bit
AWE Memory
AWE Memory
(up to 32GB)
(up to 32GB)
3GB Virtual
3GB Virtual
Address space
Address space
available to SQL
available to SQL
Server
Server
SQL Server 2000 – 32bit
SQL Server 2000 – 32bit
running on a Xeon Server
running on a Xeon Server
Virtual
Virtual
Address
Address
Space
Space
(currently
(currently
tested up to
tested up to
512 GB)
512 GB)
SQL Server 2000 – 64 bit
SQL Server 2000 – 64 bit
running on an Itanium 2
running on an Itanium 2
Server
Server
•
Buffer pool pages
Buffer pool pages
can be mapped /
can be mapped /
unmapped
unmapped
•
As pages are
As pages are
needed, they can
needed, they can
be mapped into
be mapped into
the virtual address
the virtual address
space
space
•
Some structure
Some structure
stay in virtual
stay in virtual
address memory
address memory
including plan
including plan
cache, cursor
cache, cursor
structures and
structures and
user connection
user connection
context
context
•
Cost associated
Cost associated
with mapping /
with mapping /
unmapping
unmapping
•
Virtual address space
Virtual address space
available to all
available to all
structures
structures
•
Direct access – no map
Direct access – no map
cost
cost
•
Access to large
Access to large
amounts of physical
amounts of physical
memory in virtual
memory in virtual
address space
address space
•
Current and future
Current and future
hardware
hardware
MicrosoftMicrosoft
The primary differences between the SQL
64-bit and SQL 32-bit
The 64-bit architecture offers a larger directly-addressable memory space. SQL
Server 2005 (64-bit) is not bound by the memory limits of 32-bit systems. Therefore,
more memory is available for performing complex queries and supporting essential
database operations.
The 64-bit processor provides enhanced parallelism, thereby providing more linear
scalability and support for up to 64 processors, and yielding stronger returns per
processor as compared to 32-bit systems.
The improved bus architecture enhances performance by moving more data between
cache and processors in shorter periods.
A larger on-die cache allows for faster completion of user requests and more efficient
use of processor time.
MicrosoftMicrosoft
Advantages of 64-bit environment
Memory addressability
Larger numbers of processors and more linear scalability
per processor
Enhanced bus architecture
MicrosoftMicrosoft
Memory addressability
A 32-bit system can directly address only a 4-GB address space.
Additional memory is indirectly accessible by using Address
Windowing Extensions (AWE) on 32-bit platforms, as described in a
later section. Windows Server 2003 SP1 running on the Intel
Itanium 64-bit architecture supports up to 1,024 gigabytes of both
physical and addressable memory.
MicrosoftMicrosoft
Larger numbers of processors and more
linear scalability per processor
Improvements in parallel processing and bus architectures enable 64-bit
platforms to support larger numbers of processors (up to 64) while providing
close to linear scalability with each additional processor. With a larger
number of processors, SQL Server can support more processes,
applications, and users in a single system.
Server platforms that offer more than 32 CPUs are available exclusively on
64-bit architecture. The highest TPC-C benchmark figures for SQL Server
have been achieved on 64-bit systems because these systems leverage
both large amounts of memory and the superior scaling of 64-bit processors
on the 64-bit architecture.
MicrosoftMicrosoft
Enhanced bus architecture
The bus architecture on current 64-bit chipsets is faster
and wider than earlier generations. More data is passed to
the cache and processor; this is somewhat analogous to
the improvement that broadband connections offer over
dial-up connections.
MicrosoftMicrosoft
Industry-Leading Features
Analysis Server – Gartner claimed Microsoft Analysis Server best of breed
Auto Configuration, Tuning
Loading Data – Bulk Insert rates of 70 MB/Sec+
Replication – transactional replication – 2000 cmds/sec
Management Tools – Set the bar
Reliability -- testing unmatched in the industry
Utilities – Fast Backup, Best re-org and very fast Load
SQL CE, Query Processor, Storage Engine, Developer talent, XML, etc.
MicrosoftMicrosoft
Example Terabyte-Scale Deployments
Large-Scale OLTP and Data Warehousing
Call Center Mgmt / Telecom Billing – Verizon (19 TB)
Credit Scoring and Collections – Fair Isaac (13 TB)
Retail Analytics / BI – Edgars Consolidated (4 TB)
Retail Banking Analytics – Royal Bank of Scotland (3 TB)
SAP – Pilgrim’s Pride (3 TB)
Brokerage Front and Back-Office – CSS Software (1+ TB)
Loss Prevention: (US Retail Chain) – Rite Aid (1+ TB)
Scientific / New Generation
Bioinformatics: Rosetta Genomics – (10 TB)
GeoSpatial: Terraserver – (3+ TB)
Astronomy: SkyServer – (~1TB 5TB)