Download presentation
Presentation is loading. Please wait.
Published byOswald Hamilton Modified over 9 years ago
1
SQL Server xVelocity memory optimized Columnstore Index Performance Tuning Rapinder Jawanda Sr. Program Manager Microsoft Corporation
5
demo Inner join
6
Overview of Columnstore Index
7
… C1 C2 C3 C5C6C4 7
8
C1 C2 C3 C5C6C4 Row group Segment 8 Row group
9
OrderDateKeyProductKeyStoreKeyRegionKeyQuantitySalesAmount 20101107106011630.00 20101107103042117.00 20101107109042220.00 20101107103032117.00 20101107106053420.00 20101108106021525.00 20101108102021114.00 20101108106032525.00 20101108109011110.00 20101109106042420.00 20101109106042525.00 20101109103011117.00
10
OrderDateKeyProductKeyStoreKeyRegionKeyQuantitySalesAmount 20101107106011630.00 20101107103042117.00 20101107109042220.00 20101107103032117.00 20101107106053420.00 20101108106021525.00 OrderDateKeyProductKeyStoreKeyRegionKeyQuantitySalesAmount 20101108102021114.00 20101108106032525.00 20101108109011110.00 20101109106042420.00 20101109106042525.00 20101109103011117.00
11
OrderDateKey 20101107 20101108 ProductKey 106 103 109 103 106 StoreKey 01 04 03 05 02 RegionKey 1 2 2 2 3 1 Quantity 6 1 2 1 4 5 SalesAmount 30.00 17.00 20.00 17.00 20.00 25.00 OrderDateKey 20101108 20101109 ProductKey 102 106 109 106 103 StoreKey 02 03 01 04 01 RegionKey 1 2 1 2 2 1 Quantity 1 5 1 4 5 1 SalesAmount 14.00 25.00 10.00 20.00 25.00 17.00
12
OrderDateKey 20101107 20101108 ProductKey 106 103 109 103 106 StoreKey 01 04 03 05 02 RegionKey 1 2 2 2 3 1 Quantity 6 1 2 1 4 5 SalesAmount 30.00 17.00 20.00 17.00 20.00 25.00 OrderDateKey 20101108 20101109 ProductKey 102 106 109 106 103 StoreKey 02 03 01 04 01 RegionKey 1 2 1 2 2 1 Quantity 1 5 1 4 5 1 SalesAmount 14.00 25.00 10.00 20.00 25.00 17.00
13
StoreKey 01 04 03 05 02 StoreKey 02 03 01 04 01 RegionKey 1 2 2 2 3 1 1 2 1 2 2 1 Quantity 6 1 2 1 4 5 1 5 1 4 5 1 OrderDateKey 20101107 20101108 OrderDateKey 20101108 20101109 ProductKey 106 103 109 103 106 ProductKey 102 106 109 106 103 SalesAmount 30.00 17.00 20.00 17.00 20.00 25.00 SalesAmount 14.00 25.00 10.00 20.00 25.00 17.00
15
15 bitmap of qualifying rows Column vectors Batch object
17
Work Arounds
22
demo In and Exists Issue
24
demo Union All Issue.
27
demo Multiple distinct aggregates
28
How to Load Columnstore Effectively
33
Optimizing index management and db design
38
Maximizing the Benefits of Segment Elimination
39
Min: 20101107 103 17.00 Max: 20101108 109 30.00 ------------------------------------------ 20101107 106 30.00 20101107 103 17.00 20101107 109 20.00 20101107 103 17.00 20101107 106 20.00 20101108 106 25.00 Min: 20101108 102 10.00 Max: 20101109 109 25.00 ------------------------------------------------------------- 20101108 102 14.00 20101108 106 25.00 20101108 109 10.00 20101109 106 20.00 20101109 106 25.00 20101109 103 17.00 OrderDateKey 20101107 20101108ProductKey 106 103 109 103 106 SalesAmount 30.00 17.00 20.00 17.00 20.00 25.00 OrderDateKey 20101108 20101109 ProductKey 102 106 109 106 103 SalesAmount 14.00 25.00 10.00 20.00 25.00 17.00
40
Min: 20101107 103 17.00 Max: 20101108 109 30.00 ------------------------------------------ 20101107 106 30.00 20101107 103 17.00 20101107 109 20.00 20101107 103 17.00 20101107 106 20.00 20101108 106 25.00 Min: 20101108 102 10.00 Max: 20101109 109 25.00 ------------------------------------------------------------- 20101108 102 14.00 20101108 106 25.00 20101108 109 10.00 20101109 106 20.00 20101109 106 25.00 20101109 103 17.00
42
DateLicenseNumMeasure 20120301XYZ123100 20120302ABC777200 DateLicenseIdMeasure 201203011100 201203022200 LicenseIdLicenseNum 1XYZ123 2ABC777
46
Connect. Share. Discuss. http://europe.msteched.com Learning Microsoft Certification & Training Resources www.microsoft.com/learning TechNet Resources for IT Professionals http://microsoft.com/technet Resources for Developers http://microsoft.com/msdn
47
Evaluations http://europe.msteched.com/sessions Submit your evals online
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.