23
SQL Server 2005 features for VLDBs

SQL Server 2005 features for VLDBs. SQL Server 2005 features for VLDBs aka (it’s fixed in the next release)

Embed Size (px)

Citation preview

SQL Server 2005 features for VLDBs

SQL Server 2005 features for VLDBs

aka(it’s fixed in the next release)

Topics• Memory and File Management

• Statistics and Recompilation

• Index creation and maintenance

• Data Partitioning

• Backup and restore

• General Performance Improvements

Memory and File Management• Dynamic AWE Memory Management

• Instant File Initialization

• File Autogrow improvements

• fast startup via online rollback

• Checkpoint Enhancements

Statistics and Recompilation• Statement Level Recompilation

• New Query Hints

• Asynchronous Statistics Updating

• Row Mod Counters (RMC) vs Column Mod Counters (CMC)

• Persisted Computed Columns

Index creation and maintenance• Reorganizing and Rebuilding Indexes• Parallel Index Operations• Online Index Operations• How to find out about the online index progress?• Including Nonkey Columns in Nonclustered Indexes• Disabled Indexes• Indexed View Enhancements

• SQL Server 2000

– Drop and recreate the index manually– Rebuild the index - DBCC DBREINDEX (atomic,

offline, space intensive)• Atomic operation – potentially long rollback on

interrupt• Requires creating a new index before dropping the old• Table is Offline for user updates (S) table lock for non-

clustered index, X table lock for clustered index

– Defrag the index - DBCC INDEXDEFRAG

• SQL Server 2005

– Drop and recreate the index manually– Rebuild the index - DBCC DBREINDEX– Defrag the index - DBCC INDEXDEFRAG– Defrag the index - ALTER

INDEX ..REORGANIZE– Rebuild the index - ALTER INDEX .. REBUILD– Rebuild the index - ALTER INDEX .. REBUILD

WITH (ONLINE=ON)

Data Partitioning• Overview• Data Partitioning Terms• Switching• Changing a Partition?• Restrictions for Choosing the Partitioning Key• Query Optimization• Partitioning Best Practices• Other Considerations

Sliding Window

Sliding Window

Sliding Window

Sliding Window

Sliding Window

Sliding Window

Sliding Window

Backup and Restore• Early Restore Access

• Partial Backups

• Online Restores

• Piecemeal Restores

• Short Restore Sequence (Read-Only Data)

General Perf. Improvements• Dropping and Rebuilding Large Objects

• Database Tuning Advisor (Index Tuning Wizard)

• Implementation of Parallelism

• SQL Server 2005 Buffer I/O Management

• Proactive Detection of Blocking and Deadlocks

General Perf. Improvements(cont)

• Dedicated Administrator Connection

• Improved Concurrency

• Bulk Operations

• Compressed Drives

• Replication

• Full-Text Search

More Information• Partitioning

http://www.sqlskills.com/resources/Whitepapers/Partitioning in SQLServer 2005 Beta II.htm

• Indexed Viewshttp://www.microsoft.com/technet/prodtechnol/sql/2005/ipsql05iv.mspx#EFAA

• Batch Compilation, Recompilation, and Plan Caching in SQL Server 2005http://www.microsoft.com/technet/prodtechnol/sql/2005/recomp.mspx

• Snapshot Isolationhttp://www.microsoft.com/technet/prodtechnol/sql/2005/SQL05B.mspx

• Use the forums at www.sqlserver.org.au

• Email [email protected]