Splits, Merges and Purges THE HOW TO OF TABLE PARTITIONING
Thanks to our Sponsors! Yearly Partners Gold Sponsors
Brandon Preece Manager of Database
Please fill out and submit session evals. Your feedback makes me a better presenter
DISCLAMER: Must have Enterprise Edition
“In SQL Server, all tables and indexes in a database are considered partitioned, even if they are made up of only one partition. Essentially, partitions form the basic unit of organization in the physical architecture of tables and indexes. This means that the logical and physical architecture of tables and indexes comprised of multiple partitions mirrors that of single-partition tables and indexes.” us/library/ms190787%28v=sql.105%29.aspx “The data in partitioned tables and indexes is horizontally divided into units that can be spread across more than one filegroup in a database. Partitioning can make large tables and indexes more manageable and scalable.” us/library/ms aspx
Why do I need this? Large table support Data Retention Putting data on proper class of disk Performance Tuning MS SQL Using Columnstore Indexes Backup and Restore
What is it? Tables Partition Key (Clustered Index) Partition Functions Partition Schemes Filegroup(s)
Range Right vs Range Left Image borrowed from
Demo: The Basics
How do I do it? Sliding Windows Split, Merge, Purge (Switch)
Demo: Advanced Topics
References Table Partitioning in SQL Server: A Magic Solution for Better Performance? Partitioned Table and Index Concepts Create Partitioned Tables and Indexes Brent Ozar: SQL Server Table Partitioning: Resources
Thanks to our Sponsors! Yearly Partners Gold Sponsors