Presentation is loading. Please wait.

Presentation is loading. Please wait.

Splits, Merges and Purges THE HOW TO OF TABLE PARTITIONING.

Similar presentations


Presentation on theme: "Splits, Merges and Purges THE HOW TO OF TABLE PARTITIONING."— Presentation transcript:

1 Splits, Merges and Purges THE HOW TO OF TABLE PARTITIONING

2 Thanks to our Sponsors! Yearly Partners Gold Sponsors

3 Brandon Preece Manager of Database Management @SQLBoarder http://brandon.preece.zyx

4 Please fill out and submit session evals. Your feedback makes me a better presenter

5

6 DISCLAMER: Must have Enterprise Edition

7 “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.” https://msdn.microsoft.com/en- 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.” https://msdn.microsoft.com/en- us/library/ms188730.aspx

8 Why do I need this? Large table support Data Retention Putting data on proper class of disk Performance Tuning MS SQL 2012 - Using Columnstore Indexes Backup and Restore

9 What is it? Tables Partition Key (Clustered Index) Partition Functions Partition Schemes Filegroup(s)

10 Range Right vs Range Left Image borrowed from http://www.slideshare.net/CathrineWilhelmsen/table-partitioning-in-sql-server

11 Demo: The Basics

12 How do I do it? Sliding Windows Split, Merge, Purge (Switch)

13 Demo: Advanced Topics

14 References Table Partitioning in SQL Server: A Magic Solution for Better Performance? http://www.slideshare.net/CathrineWilhelmsen/table-partitioning-in-sql-server Partitioned Table and Index Concepts https://msdn.microsoft.com/en-us/library/ms190787%28v=sql.105%29.aspx Create Partitioned Tables and Indexes https://msdn.microsoft.com/en-us/library/ms188730.aspx Brent Ozar: SQL Server Table Partitioning: Resources http://www.brentozar.com/sql/table-partitioning-resources/

15 Thanks to our Sponsors! Yearly Partners Gold Sponsors


Download ppt "Splits, Merges and Purges THE HOW TO OF TABLE PARTITIONING."

Similar presentations


Ads by Google