Presentation is loading. Please wait.

Presentation is loading. Please wait.

PREMIER SPONSOR GOLD SPONSORS SILVER SPONSORS BRONZE SPONSORS SUPPORTERS.

Similar presentations


Presentation on theme: "PREMIER SPONSOR GOLD SPONSORS SILVER SPONSORS BRONZE SPONSORS SUPPORTERS."— Presentation transcript:

1

2 PREMIER SPONSOR GOLD SPONSORS SILVER SPONSORS BRONZE SPONSORS SUPPORTERS

3 SQL Server Consultant, SQL Stijn
I get my kicks out of Performance tuning, but shiver at the sight of a Cube Hobby’s Football(soccer) & my English Bulldog Stijn Wynants SQL Server Consultant, SQL Stijn Company Independent Consultant at Kohera /stijn-wynants @SQLStijn Stijn Wynants

4 The Records The History of Columnstore Indexes
What is Realtime Analytics The Records The Internals of Columnstore Indexes How to get a performing Realtime Analytics Setup

5 History Of Columnstore Indexes
SQL Server 2012 Not Updateable Non-Clustered Limited datatypes & isolation levels & No constraints/Keys

6 History Of Columnstore Indexes
SQL Server 2014 Clustered Columnstore Index Updateable Compression Rates

7 History Of Columnstore Indexes
SQL Server 2016 SP1 Updateable & Filterable Non-Clustered Columnstore Index Constraints & Keys Columnstore On Inmemory Tables

8 The Records The History of Columnstore Indexes
What is Realtime Analytics The Records The Internals of Columnstore Indexes How to get a performing Realtime Analytics Setup

9 Realtime Analytics Why? Complexity Data Latency Cost

10 Realtime Analytics How? Filtered Non-Clustered Columnstore Index
No Data Latency Hot & Cold Data

11 Insert updates deletes
Hot & Cold Data Insert updates deletes Hot data Cold Data

12 The Records The History of Columnstore Indexes
What is Realtime Analytics The Records The Internals of Columnstore Indexes How to get a performing Realtime Analytics Setup

13 Columnstore Internals
Columnstore Segments Batchmode Processing Filtered Columnstore indexes

14 Columnstore Internals
Columnstore & Deltastore Columnstore Segments Table Rowgroups Column Segments Columnstore

15 Columnstore & Deltastore
Columnstore Segments Columnstore & Deltastore Columnstore Segments & Deltastore Open/Closed/Compressed/Tombstone Bulk Insert vs Row Insert

16 Delta Store & Columnstore
Demo

17 Dictionaries Columnstore Segments Global & Local Dictionaries
Predicate Pushdown & Segment Elimination Dictionary Sizes (16MB)

18 Dictionary Demo

19 Columnstore and update operations
Columnstore Segments Columnstore and update operations Delete buffer & delete bitmap Insert into deltastore Updates in delta store

20 Columnstore and delete operations
Columnstore Segments Columnstore and delete operations Delete buffer & delete bitmap Marking for deletion Deletes in delta store

21 Delete & update operations
Demo

22 Summarize Columnstore Segments Columnstore = Rowstore & Columnstore!
Dictionaries can cause multiple segments Deletes happen in internal structures depending on CCI type Updates are actually delete insert

23 Columnstore Internals
Columnstore Segments Batchmode Processing Filtered Columnstore indexes

24 Batchmode Processing Batchmode Processing Batchmode Processing
1000 rows at a time Parallel or Single threaded Great read performance enhancement!

25 Batchmode operations Demo

26 Non-Clustered Columnstore trick
Batchmode Processing Non-Clustered Columnstore trick Filtered empty Columnstore Batchmode when there is no data in columnstore Cheapest performance enhancement!

27 Non-Clustered Columnstore trick!
Demo

28 Columnstore Internals
Columnstore Segments Batchmode Processing Filtered Columnstore indexes

29 Filtered Non-Clustered Columnstore
Filtered Columnstore indexes Filtered Non-Clustered Columnstore What happens when we update/insert a value? What happens when we delete a value? What happens when we select data?

30 Filtered NCCI Demo

31 The Records The History of Columnstore Indexes
What is Realtime Analytics The Records The Internals of Columnstore Indexes How to get a performing Realtime Analytics Setup

32 Realtime Analytics Scenario’s
OLTP & OLAP on Clustered Columnstore Index OLTP & OLAP on Non-Clustered Columnstore Index OLTP & OLAP on Filtered Non-Clustered Columnstore Index OLTP & OLAP on Inmemory Columnstore Index

33 Any Questions?

34 SQLRelay.co.uk/feedback
Live Now Win a Lego BB8!

35 PREMIER SPONSOR GOLD SPONSORS SILVER SPONSORS BRONZE SPONSORS SUPPORTERS


Download ppt "PREMIER SPONSOR GOLD SPONSORS SILVER SPONSORS BRONZE SPONSORS SUPPORTERS."

Similar presentations


Ads by Google