SlideServe
Menu
Préférences
© SlideServe · v2026

Data Partitioning – SQL Server Satya

james-estrada avatar
13 diapositives · 350 Views · Nov 20, 2014

Data Partitioning – SQL Server Satya. Agenda. Data Partitioning in SQL Server Architecture Demo. Data Partitioning. Also known as Horizontal Partitioning Large table/index can be split into multiple manageable portions Advantages Improves Query Performance

Data Partitioning – SQL Server Satya - slide 1
01 / 13Data Partitioning – SQL Server Satya
1 / 17

Télécharger la présentation

Data Partitioning – SQL Server Satya
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Data Partitioning – SQL Server Satya

  2. Agenda • Data Partitioning in SQL Server • Architecture • Demo

  3. DataPartitioning • Also known as Horizontal Partitioning • Large table/index can be split into multiple manageable portions • Advantages • Improves Query Performance • Better Data Manageability and Cost Effective • Deleting and Moving data is faster from partitions • Narrow downs the index maintenance window • OLTP/DSS – Operational/Non-Operational data

  4. DataPartitioning Architecture Table/Indexed View Logical Representation P1 Pn Index /Heap Index/Heap Data pages Data pages

  5. PartitionConcepts • PARTITION FUNCTION • Used to specify partition boundary values • Two types (represents boundary data directions) • LEFT -myself and my left range values • RIGHT -myself and my right range values • PARTITION SCHEME • Logical & Partitions physically aligned • Span over single or multiple file groups • Can specify each partition can go to a individual file group or all partitions can go into a single file group

  6. Creating Partition Function <=10 <10 >10 & <=50 >=10 & <50 >50 >=50

  7. PartitionPhysical Architecture Database File Group Partition scheme Database File Group A Partition scheme File Group B File Group C File Group D

  8. PartitionConcepts (2) • SPLIT/MERGE • SPLIT • Introduces new boundary • Partition will be added to respective side (L/R) • MERGE • Deletes boundary • Partition will be merged to the respective side (L/R) • SWITCH IN/OUT • Moving partition from partitioned table to other partitioned table called “in” • Moving partition from partitioned table to non partitioned table called “out”

  9. SPLIT – LEFT Boundary <=10 >10 & <=50 >50 >10 & <=25 >25 & <=50 >50 <=10

  10. MERGE – LEFT Boundary >10 & <=25 >25 & <=50 >50 <=10 <=25 >25 & <=50 >50 <=10

  11. SWITCH OUT Partitioned Table Non Partitioned table Partition 1 Partition 2 Partition 1 SWITCH IN/OUT says “Hey, its your partition by updating metadata.” Partitioned Table Non Partitioned table Partition 1 Partition 1

  12. Demo Presentation and Scripts will be mailed you at the end Or Alternatively available on http://satyasql.wordpress.com To become master…

  13. Additional Information • Would not support for composite key • SQL Server 2008 SP2 or Later versions boosted creation of partitions up to 15000