Top Banner
SQL Server 2005 features for VLDBs
23

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

Dec 18, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SQL Server 2005 features for VLDBs. SQL Server 2005 features for VLDBs aka (it’s fixed in the next release)

SQL Server 2005 features for VLDBs

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

SQL Server 2005 features for VLDBs

aka(it’s fixed in the next release)

Page 3: 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

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

Memory and File Management• Dynamic AWE Memory Management

• Instant File Initialization

• File Autogrow improvements

• fast startup via online rollback

• Checkpoint Enhancements

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

Statistics and Recompilation• Statement Level Recompilation

• New Query Hints

• Asynchronous Statistics Updating

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

• Persisted Computed Columns

Page 6: SQL Server 2005 features for VLDBs. SQL Server 2005 features for VLDBs aka (it’s fixed in the next release)
Page 7: SQL Server 2005 features for VLDBs. SQL Server 2005 features for VLDBs aka (it’s fixed in the next release)
Page 8: SQL Server 2005 features for VLDBs. SQL Server 2005 features for VLDBs aka (it’s fixed in the next release)

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

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

• 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

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

• 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)

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

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

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

Sliding Window

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

Sliding Window

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

Sliding Window

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

Sliding Window

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

Sliding Window

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

Sliding Window

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

Sliding Window

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

Backup and Restore• Early Restore Access

• Partial Backups

• Online Restores

• Piecemeal Restores

• Short Restore Sequence (Read-Only Data)

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

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

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

General Perf. Improvements(cont)

• Dedicated Administrator Connection

• Improved Concurrency

• Bulk Operations

• Compressed Drives

• Replication

• Full-Text Search

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

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]