- SQL Server Reference Guide
- Introduction
- SQL Server Reference Guide Overview
- Table of Contents
- Microsoft SQL Server Defined
- SQL Server Editions
- SQL Server Access
- Informit Articles and Sample Chapters
- Online Resources
- Microsoft SQL Server Features
- SQL Server Books Online
- Clustering Services
- Data Transformation Services (DTS) Overview
- Replication Services
- Database Mirroring
- Natural Language Processing (NLP)
- Analysis Services
- Microsot SQL Server Reporting Services
- XML Overview
- Notification Services for the DBA
- Full-Text Search
- SQL Server 2005 - Service Broker
- Using SQL Server as a Web Service
- SQL Server Encryption Options Overview
- SQL Server 2008 Overview
- SQL Server 2008 R2 Overview
- SQL Azure
- The Utility Control Point and Data Application Component, Part 1
- The Utility Control Point and Data Application Component, Part 2
- Microsoft SQL Server Administration
- The DBA Survival Guide: The 10 Minute SQL Server Overview
- Preparing (or Tuning) a Windows System for SQL Server, Part 1
- Preparing (or Tuning) a Windows System for SQL Server, Part 2
- Installing SQL Server
- Upgrading SQL Server
- SQL Server 2000 Management Tools
- SQL Server 2005 Management Tools
- SQL Server 2008 Management Tools
- SQL Azure Tools
- Automating Tasks with SQL Server Agent
- Run Operating System Commands in SQL Agent using PowerShell
- Automating Tasks Without SQL Server Agent
- Storage – SQL Server I/O
- Service Packs, Hotfixes and Cumulative Upgrades
- Tracking SQL Server Information with Error and Event Logs
- Change Management
- SQL Server Metadata, Part One
- SQL Server Meta-Data, Part Two
- Monitoring - SQL Server 2005 Dynamic Views and Functions
- Monitoring - Performance Monitor
- Unattended Performance Monitoring for SQL Server
- Monitoring - User-Defined Performance Counters
- Monitoring: SQL Server Activity Monitor
- SQL Server Instances
- DBCC Commands
- SQL Server and Mail
- Database Maintenance Checklist
- The Maintenance Wizard: SQL Server 2000 and Earlier
- The Maintenance Wizard: SQL Server 2005 (SP2) and Later
- The Web Assistant Wizard
- Creating Web Pages from SQL Server
- SQL Server Security
- Securing the SQL Server Platform, Part 1
- Securing the SQL Server Platform, Part 2
- SQL Server Security: Users and other Principals
- SQL Server Security – Roles
- SQL Server Security: Objects (Securables)
- Security: Using the Command Line
- SQL Server Security - Encrypting Connections
- SQL Server Security: Encrypting Data
- SQL Server Security Audit
- High Availability - SQL Server Clustering
- SQL Server Configuration, Part 1
- SQL Server Configuration, Part 2
- Database Configuration Options
- 32- vs 64-bit Computing for SQL Server
- SQL Server and Memory
- Performance Tuning: Introduction to Indexes
- Statistical Indexes
- Backup and Recovery
- Backup and Recovery Examples, Part One
- Backup and Recovery Examples, Part Two: Transferring Databases to Another System (Even Without Backups)
- SQL Profiler - Reverse Engineering An Application
- SQL Trace
- SQL Server Alerts
- Files and Filegroups
- Partitioning
- Full-Text Indexes
- Read-Only Data
- SQL Server Locks
- Monitoring Locking and Deadlocking
- Controlling Locks in SQL Server
- SQL Server Policy-Based Management, Part One
- SQL Server Policy-Based Management, Part Two
- SQL Server Policy-Based Management, Part Three
- Microsoft SQL Server Programming
- An Outline for Development
- Database
- Database Services
- Database Objects: Databases
- Database Objects: Tables
- Database Objects: Table Relationships
- Database Objects: Keys
- Database Objects: Constraints
- Database Objects: Data Types
- Database Objects: Views
- Database Objects: Stored Procedures
- Database Objects: Indexes
- Database Objects: User Defined Functions
- Database Objects: Triggers
- Database Design: Requirements, Entities, and Attributes
- Business Process Model Notation (BPMN) and the Data Professional
- Business Questions for Database Design, Part One
- Business Questions for Database Design, Part Two
- Database Design: Finalizing Requirements and Defining Relationships
- Database Design: Creating an Entity Relationship Diagram
- Database Design: The Logical ERD
- Database Design: Adjusting The Model
- Database Design: Normalizing the Model
- Creating The Physical Model
- Database Design: Changing Attributes to Columns
- Database Design: Creating The Physical Database
- Database Design Example: Curriculum Vitae
- NULLs
- The SQL Server Sample Databases
- The SQL Server Sample Databases: pubs
- The SQL Server Sample Databases: NorthWind
- The SQL Server Sample Databases: AdventureWorks
- The SQL Server Sample Databases: Adventureworks Derivatives
- UniversalDB: The Demo and Testing Database, Part 1
- UniversalDB: The Demo and Testing Database, Part 2
- UniversalDB: The Demo and Testing Database, Part 3
- UniversalDB: The Demo and Testing Database, Part 4
- Getting Started with Transact-SQL
- Transact-SQL: Data Definition Language (DDL) Basics
- Transact-SQL: Limiting Results
- Transact-SQL: More Operators
- Transact-SQL: Ordering and Aggregating Data
- Transact-SQL: Subqueries
- Transact-SQL: Joins
- Transact-SQL: Complex Joins - Building a View with Multiple JOINs
- Transact-SQL: Inserts, Updates, and Deletes
- An Introduction to the CLR in SQL Server 2005
- Design Elements Part 1: Programming Flow Overview, Code Format and Commenting your Code
- Design Elements Part 2: Controlling SQL's Scope
- Design Elements Part 3: Error Handling
- Design Elements Part 4: Variables
- Design Elements Part 5: Where Does The Code Live?
- Design Elements Part 6: Math Operators and Functions
- Design Elements Part 7: Statistical Functions
- Design Elements Part 8: Summarization Statistical Algorithms
- Design Elements Part 9:Representing Data with Statistical Algorithms
- Design Elements Part 10: Interpreting the Data—Regression
- Design Elements Part 11: String Manipulation
- Design Elements Part 12: Loops
- Design Elements Part 13: Recursion
- Design Elements Part 14: Arrays
- Design Elements Part 15: Event-Driven Programming Vs. Scheduled Processes
- Design Elements Part 16: Event-Driven Programming
- Design Elements Part 17: Program Flow
- Forming Queries Part 1: Design
- Forming Queries Part 2: Query Basics
- Forming Queries Part 3: Query Optimization
- Forming Queries Part 4: SET Options
- Forming Queries Part 5: Table Optimization Hints
- Using SQL Server Templates
- Transact-SQL Unit Testing
- Index Tuning Wizard
- Unicode and SQL Server
- SQL Server Development Tools
- The SQL Server Transact-SQL Debugger
- The Transact-SQL Debugger, Part 2
- Basic Troubleshooting for Transact-SQL Code
- An Introduction to Spatial Data in SQL Server 2008
- Performance Tuning
- Performance Tuning SQL Server: Tools and Processes
- Performance Tuning SQL Server: Tools Overview
- Creating a Performance Tuning Audit - Defining Components
- Creating a Performance Tuning Audit - Evaluation Part One
- Creating a Performance Tuning Audit - Evaluation Part Two
- Creating a Performance Tuning Audit - Interpretation
- Creating a Performance Tuning Audit - Developing an Action Plan
- Understanding SQL Server Query Plans
- Performance Tuning: Implementing Indexes
- Performance Monitoring Tools: Windows 2008 (and Higher) Server Utilities, Part 1
- Performance Monitoring Tools: Windows 2008 (and Higher) Server Utilities, Part 2
- Performance Monitoring Tools: Windows System Monitor
- Performance Monitoring Tools: Logging with System Monitor
- Performance Monitoring Tools: User Defined Counters
- General Transact-SQL (T-SQL) Performance Tuning, Part 1
- General Transact-SQL (T-SQL) Performance Tuning, Part 2
- General Transact-SQL (T-SQL) Performance Tuning, Part 3
- Performance Monitoring Tools: An Introduction to SQL Profiler
- Performance Tuning: Introduction to Indexes
- Performance Monitoring Tools: SQL Server 2000 Index Tuning Wizard
- Performance Monitoring Tools: SQL Server 2005 Database Tuning Advisor
- Performance Monitoring Tools: SQL Server Management Studio Reports
- Performance Monitoring Tools: SQL Server 2008 Activity Monitor
- The SQL Server 2008 Management Data Warehouse and Data Collector
- Performance Monitoring Tools: Evaluating Wait States with PowerShell and Excel
- Practical Applications
- Choosing the Back End
- The DBA's Toolbox, Part 1
- The DBA's Toolbox, Part 2
- Scripting Solutions for SQL Server
- Building a SQL Server Lab
- Using Graphics Files with SQL Server
- Enterprise Resource Planning
- Customer Relationship Management (CRM)
- Building a Reporting Data Server
- Building a Database Documenter, Part 1
- Building a Database Documenter, Part 2
- Data Management Objects
- Data Management Objects: The Server Object
- Data Management Objects: Server Object Methods
- Data Management Objects: Collections and the Database Object
- Data Management Objects: Database Information
- Data Management Objects: Database Control
- Data Management Objects: Database Maintenance
- Data Management Objects: Logging the Process
- Data Management Objects: Running SQL Statements
- Data Management Objects: Multiple Row Returns
- Data Management Objects: Other Database Objects
- Data Management Objects: Security
- Data Management Objects: Scripting
- Powershell and SQL Server - Overview
- PowerShell and SQL Server - Objects and Providers
- Powershell and SQL Server - A Script Framework
- Powershell and SQL Server - Logging the Process
- Powershell and SQL Server - Reading a Control File
- Powershell and SQL Server - SQL Server Access
- Powershell and SQL Server - Web Pages from a SQL Query
- Powershell and SQL Server - Scrubbing the Event Logs
- SQL Server 2008 PowerShell Provider
- SQL Server I/O: Importing and Exporting Data
- SQL Server I/O: XML in Database Terms
- SQL Server I/O: Creating XML Output
- SQL Server I/O: Reading XML Documents
- SQL Server I/O: Using XML Control Mechanisms
- SQL Server I/O: Creating Hierarchies
- SQL Server I/O: Using HTTP with SQL Server XML
- SQL Server I/O: Using HTTP with SQL Server XML Templates
- SQL Server I/O: Remote Queries
- SQL Server I/O: Working with Text Files
- Using Microsoft SQL Server on Handheld Devices
- Front-Ends 101: Microsoft Access
- Comparing Two SQL Server Databases
- English Query - Part 1
- English Query - Part 2
- English Query - Part 3
- English Query - Part 4
- English Query - Part 5
- RSS Feeds from SQL Server
- Using SQL Server Agent to Monitor Backups
- Reporting Services - Creating a Maintenance Report
- SQL Server Chargeback Strategies, Part 1
- SQL Server Chargeback Strategies, Part 2
- SQL Server Replication Example
- Creating a Master Agent and Alert Server
- The SQL Server Central Management System: Definition
- The SQL Server Central Management System: Base Tables
- The SQL Server Central Management System: Execution of Server Information (Part 1)
- The SQL Server Central Management System: Execution of Server Information (Part 2)
- The SQL Server Central Management System: Collecting Performance Metrics
- The SQL Server Central Management System: Centralizing Agent Jobs, Events and Scripts
- The SQL Server Central Management System: Reporting the Data and Project Summary
- Time Tracking for SQL Server Operations
- Migrating Departmental Data Stores to SQL Server
- Migrating Departmental Data Stores to SQL Server: Model the System
- Migrating Departmental Data Stores to SQL Server: Model the System, Continued
- Migrating Departmental Data Stores to SQL Server: Decide on the Destination
- Migrating Departmental Data Stores to SQL Server: Design the ETL
- Migrating Departmental Data Stores to SQL Server: Design the ETL, Continued
- Migrating Departmental Data Stores to SQL Server: Attach the Front End, Test, and Monitor
- Tracking SQL Server Timed Events, Part 1
- Tracking SQL Server Timed Events, Part 2
- Patterns and Practices for the Data Professional
- Managing Vendor Databases
- Consolidation Options
- Connecting to a SQL Azure Database from Microsoft Access
- SharePoint 2007 and SQL Server, Part One
- SharePoint 2007 and SQL Server, Part Two
- SharePoint 2007 and SQL Server, Part Three
- Querying Multiple Data Sources from a Single Location (Distributed Queries)
- Importing and Exporting Data for SQL Azure
- Working on Distributed Teams
- Professional Development
- Becoming a DBA
- Certification
- DBA Levels
- Becoming a Data Professional
- SQL Server Professional Development Plan, Part 1
- SQL Server Professional Development Plan, Part 2
- SQL Server Professional Development Plan, Part 3
- Evaluating Technical Options
- System Sizing
- Creating a Disaster Recovery Plan
- Anatomy of a Disaster (Response Plan)
- Database Troubleshooting
- Conducting an Effective Code Review
- Developing an Exit Strategy
- Data Retention Strategy
- Keeping Your DBA/Developer Job in Troubled Times
- The SQL Server Runbook
- Creating and Maintaining a SQL Server Configuration History, Part 1
- Creating and Maintaining a SQL Server Configuration History, Part 2
- Creating an Application Profile, Part 1
- Creating an Application Profile, Part 2
- How to Attend a Technical Conference
- Tips for Maximizing Your IT Budget This Year
- The Importance of Blue-Sky Planning
- Application Architecture Assessments
- Transact-SQL Code Reviews, Part One
- Transact-SQL Code Reviews, Part Two
- Cloud Computing (Distributed Computing) Paradigms
- NoSQL for the SQL Server Professional, Part One
- NoSQL for the SQL Server Professional, Part Two
- Object-Role Modeling (ORM) for the Database Professional
- Business Intelligence
- BI Explained
- Developing a Data Dictionary
- BI Security
- Gathering BI Requirements
- Source System Extracts and Transforms
- ETL Mechanisms
- Business Intelligence Landscapes
- Business Intelligence Layouts and the Build or Buy Decision
- A Single Version of the Truth
- The Operational Data Store (ODS)
- Data Marts – Combining and Transforming Data
- Designing Data Elements
- The Enterprise Data Warehouse — Aggregations and the Star Schema
- On-Line Analytical Processing (OLAP)
- Data Mining
- Key Performance Indicators
- BI Presentation - Client Tools
- BI Presentation - Portals
- Implementing ETL - Introduction to SQL Server 2005 Integration Services
- Building a Business Intelligence Solution, Part 1
- Building a Business Intelligence Solution, Part 2
- Building a Business Intelligence Solution, Part 3
- Tips and Troubleshooting
- SQL Server and Microsoft Excel Integration
- Tips for the SQL Server Tools: SQL Server 2000
- Tips for the SQL Server Tools – SQL Server 2005
- Transaction Log Troubles
- SQL Server Connection Problems
- Orphaned Database Users
- Additional Resources
- Tools and Downloads
- Utilities (Free)
- Tool Review (Free): DBDesignerFork
- Aqua Data Studio
- Microsoft SQL Server Best Practices Analyzer
- Utilities (Cost)
- Quest Software's TOAD for SQL Server
- Quest Software's Spotlight on SQL Server
- SQL Server on Microsoft's Virtual PC
- Red Gate SQL Bundle
- Microsoft's Visio for Database Folks
- Quest Capacity Manager
- SQL Server Help
- Visual Studio Team Edition for Database Professionals
- Microsoft Assessment and Planning Solution Accelerator
- Aggregating Server Data from the MAPS Tool
In a way, the computing industry is a lot like the automotive industry. I'll probably need to explain that.
The automotive industry is in a bit of a quandary these days. It seems strange that with fossil fuels becoming scarcer and more expensive, they still use it as the primary power source for their engines. In fact, the basic design for the internal combustion engine hasn't changed much since it was invented. To be sure, there have been amazing design changes that make the engines stronger, faster, lighter and cheaper, but the fact remains that they still work on the same principle as the original engines paced in the first cars.
One of the main reasons this is true is, well, us. We won't pay for a new car that runs on special fuels that are more expensive and hard to find. The engines would get cheaper, of course, if we bought more of them, but we won't buy more of them because they cost too much. Not only that, most of the "alternative" cars, those that run on batteries or what-not aren't as fancy as those we've had around for decades and decades. I don't agree with that logic, in fact, I ride a motorcycle. But those reasons are the ones you'll hear the most often.
Computer architectures are like that. Computers (at least the Microsoft on Intel varieties) started in the mainstream with 8-bit processors, with the first popular version (the Intel 8088) introduced in 1979. From there 16 bit processors (the Intel 80286) were in popular use three years later, and 32 bit architectures (beginning with the 80386) were in use no later than 3 years after that. So now here we are some 20 years later and we're still using... 32-bit processors and software.
Even though we've had the Intel Itanium (which is 64-bit) available for the Microsoft operating system since 2002, most servers in the server room are still running 32-bit processors. The reasons are similar to the ones used in the automobile industry — we just won't buy anything else, and it's hard to find software that runs on them. The other similarity with the auto industry is that the 64-bit architecture is more expensive — and oddly enough, in some cases the clock speeds are slow.
Some of that is changing. 64-bit computing (again, at least in the Intel/Microsoft pairing) is coming into its own, although not by people like you and I purchasing more Itaniums — there's a new chip in town.
So should you use 64-bit processors for your SQL Servers? And if you do, which operating systems, versions and editions can you use with them? In this overview I'll answer those questions.
Chip Architectures Defined
There are normally two major chip types that we've recently bought for our servers. The first are the 32-bit variety either from Intel or AMD. These go by various code names like Pentium and Sempron, and they reach very high clock speeds. This chip architecture runs all modern Microsoft operating systems, from Windows 95 to Vista along with all the server versions.
32-bit chip architectures have 32-bit instruction sets. That means developers can write instructions that are 32-bits "wide". 32-bit chips can address 4GB of "Virtual" RAM, and have extensions to address more. The issue is that they handle the memory in chunks that break out in 1GB, 2GB and 4GB limits. This all goes back to the original designs on those first 32-bit chips, just like the combustion engine on cars.
The second type of chip architecture comes in only one brand: the Intel Itanium. The Itanium is a true 64-bit chip, sharing no code with the 32-bit predecessors.
The great thing about 64-bit chips isn't just that they have twice the instruction set size. In fact, having a larger instruction set size doesn't always guarantee faster operation. Think about driving two vehicles over a fixed difference. One (the 32-bit vehicle) is a racecar. The other (the 64-bit vehicle) is a huge dump truck. If you have to carry a single package from point A to point B, the race car will carry that package much faster. So in that case, the 32-bit vehicle is faster than the 64-bit vehicle, even though it is more powerful. If, however, you have to carry a hundred packages, the truck (although slower) will only have to make one trip, while the racecar will have to make a hundred trips. This time, the dump truck wins.
OK, the analogy isn't perfect, but it gives you the idea that 64-bit processors aren't always "faster" than 32-bit versions. We'll come back to this idea in a moment.
The real power (for SQL Server, anyway) in a true 64-bit architecture is in how it parcels out memory. Since the 64-bit architecture isn't bound to the older memory models, it can pay out the memory in complete segments, called a "flat memory space".
The Itanium also requires a different operating system. Microsoft makes Windows 2000 Server and Windows 2003 Server for Itanium. It runs Microsoft software, but not everything Microsoft makes. Not only does it not run every software package Microsoft puts out, even some software that does run on Itanium doesn't run the same way. SQL Server (2000, at least) is one of those packages that has some quirks. I'll explain that in a bit.
But lately we've been given an option, and it's an option that is taking hold. A few years back AMD developed a chip (the Athlon) that had a 32-bit base, with 64-bit extensions. That means the chip will run the same 32-bit operating systems and applications that we currently own, and if someone develops an application that will take advantage of the 64-bit extensions, will run in 64-bit mode. At first Intel scoffed at the idea, but as the new AMD chipset became popular in the datacenter, they created their own chip with 64-bit extensions, called EMT64. Both of these are often referred to as just "x64", even though that's the AMD designation. Hey, even Microsoft has "podcasts".
The interesting thing about this chip is that Microsoft has developed a few operating systems that can take advantage of it. That is, the operating system is 64-bit enabled, but all of your old 32-bit applications will work too. And some applications, SQL Server 2005 included, have an edition that will run in 64-bit mode in this architecture as well.
The best part about this chipset is that even 32-bit applications, which are limited in the "flat memory" space to 4GB, can run better in an x64 operating system. That's because the OS runs in the higher memory, leaving all 4GB for the application.
With that overview in mind, let's explore which versions of SQL Server run on which chips, and which operating systems are required for both.
SQL Server Versions and Editions and Chip Architecture
SQL Server, at least the versions we're working with in this overview, has some pretty big differences in how they handle chip architectures. Let's start with the earlier version.
SQL Server 2000
SQL Server 2000 was originally built as a 32-bit application. That means that it has the limitations of that architecture, most notably, the memory limitations. It runs in all editions (from MSDE to Enterprise) on 32-bit operating systems, from Windows 95 to Vista and Windows Server 2003.
But to compete with Oracle, Microsoft desperately wanted a 64-bit offering. When Intel announced that it would produce a true 64-bit chip, Microsoft started to work on not only a 64-bit version of SQL Server 2000, but an operating system it would require to run. So they created both — two Itanium operating systems, Windows 2000 IA and eventually Windows Server 2003 IA, and SQL Server 2000 Enterprise edition for Itanium that runs under these operating systems.
There are some caveats, however. You can't run the other editions (even Enterprise edition for 32-bit) on the Itanium. And not everything in SQL Server 2000 is included in the Itanium version. For instance, all of the client tools don't run on SQL Server 2000 Itanium, and neither does Data Transformation Services (DTS). Any COM packages you may have written to be called from SQL Server would need to be redesigned for another method to run on Itanium.
But with the x64 architecture, SQL Server 2000 has found new life. You have two choices for all the editions. On an x64 system, you can install an x64 Operating system (such as XP, Vista or Windows Server 2003) and still run 32-bit applications. They don't run in x64 bit mode, but they do gain a little memory boost and the faster speeds some of these chips offer. This 32-bit mode running on an x64-bit operating system is called "WoW", for (32-bit) Windows on (64-bit) Windows. The other choice is to install a 32-bit Microsoft operating system on the x64 chip (yes, that works) and run the software as normal. You don't get any benefits from the new chip, but you can do it.
SQL Server 2005
SQL Server 2005 was designed from the outset with x64 and Itanium in mind. All of the editions (from Express to Enterprise) run on 32-bit processors with all current Microsoft operating systems, and they will also run in WoW mode on x64 architectures with an x64 Windows operating system.
And starting with the Standard edition, you can run SQL Server 2005 in an x64 flavor as well. This essentially gets you into 64-bit databases in a system that can also run 32-bit applications. Most of the time, that's a good thing.
It gets a little murkier with the Itanium version of 2005. Although more of the application runs on the platform than in SQL Server 2000, you'll run into some minor issues with 2005 as well. The most notable are database and SQL mail, and some of the OLEDB drivers. I'll provide a reference to more information about that at the end of this overview.
Handy Chart
Now, if all that isn't as clear as it could be, here's a quick chart that can help you understand what you need to run the various versions of SQL Server:
Chip Architecture |
Operating System |
SQL Server Version and Edition |
Mode |
32-bit |
Windows 95 through Windows Server 2003 Enterprise |
SQL Server 2000 (all editions) SQL Server 2005 (all editions) |
32-bit |
x64 |
Windows 95 through Windows Server 2003 Enterprise |
SQL Server 2000 (all editions) SQL Server 2005 (all editions) |
32-bit |
x64 |
Windows XP x64 Vista x64 Windows Server 2003 x64 |
SQL Server 2000 (all editions) SQL Server 2005 (all editions) |
32-bit (WoW) |
x64 |
Windows XP x64 Vista x64 Windows Server 2003 x64 |
SQL Server 2005 Standard x64 SQL Server 2005 Enterprise Edition x64 |
64-bit |
IA64 (Itanium) |
Windows 2000 for Itanium Windows Server 2003 x64 |
SQL Server 2000 Enterprise Edition for Itanium SQL Server 2005 Enterprise Edition for Itanium |
64-bit |
Real-World Architecture Decisions
As I mentioned earlier, there are times when 64-bit architectures are faster and other times when 32-bit is actually faster. I'll tell you about an exercise I performed on an application I once worked with.
At the company where I was a Data Architect, we had an application that had thousands of reads and inserts per second. We began to run into performance issues that we couldn't get out of easily. I had a restriction that we couldn't drastically alter the application, and I wasn't allowed to consider SQL Server 2005. We had to make our current environment run faster.
I got three systems sent to us on loan from a major hardware vendor. One was the fastest Pentium 32-bit system I could find, the second was an x64 AMD system that had a slightly slower clock speed, and the third was an Itanium system (although not one of the newer Itanium II systems) that was half the clock speed of the other two. I capped the memory on all three at 6GB, and configured each with Windows 2000 Enterprise, the highest version each could run. For the 32-bit I used 32, for the x64 I used 32, and for the Itanium I used the IA version. I followed all of the guides I could find on tuning each based on its capabilities.
The development team wrote a "test harness", which was a special application that ran through the same inputs and outputs as a normal day of application operation. I then rigged up the same input and output in shell scripts, and set each to increment itself automatically by a factor of ten, to run directly on the server and bog it down. In other words, I wanted to see which box was faster, and which could handle more work.
I set up various performance monitor counters on all the systems and began my test. They went as you might expect — at lower levels, the faster clock speeds of the Pentium outperformed the x64, and that stayed pretty much true throughout the test — this was expected since they both had a 32-bit operating system, one of my constraints. The IA 64 never outpaced the other two systems, but at the peak could handle 4 times the load — meaning that the smaller systems ran faster but became unresponsive at 1/4th of the IA64. I performed the tests over three days and then smoothed the results with statistical methods.
So what did this prove? Well, without changing anything else, the faster clock speed of the 32-bit system was the way to go for us. But a better method would be to install the latest operating systems and SQL Server versions, and re-architect the application to take advantage of its environment. Once again, business needs trumped technical ones.
I'm hoping one day that will change — that as DBAs we can get the business to see the long-term gains in getting the latest technology and giving us the time to create the proper solution for them. But then again, I'm hoping the car companies will wake up and start producing smaller, more efficient vehicles as well.
The key is that you should always test to ensure that 64-bit is the way to go. Like most technology decisions, just dropping in a new system won't necessarily fix your performance issues if you aren't willing to re-engineer your system to take advantage of it.
Informit Articles and Sample Chapters
You can find a lot more about the Itanium here.
Online Resources
More on 64-bit SQL Server from Microsoft here.
Here's a capabilities chart for the different editions.