Evolving the Architecture of Sql Server Paul
Author : natalia-silvester | Published Date : 2025-05-28
Description: Evolving the Architecture of Sql Server Paul Larson Microsoft Research Time travel back to circa 1980 Typical machine was VAX 11780 1 MIPS CPU with 1KB of cache memory 8 MB memory maximum 80 MB disk drives 1 MBsecond transfer rate
Presentation Embed Code
Download Presentation
Download
Presentation The PPT/PDF document
"Evolving the Architecture of Sql Server Paul" is the property of its rightful owner.
Permission is granted to download and print the materials on this website for personal, non-commercial use only,
and to display it on your personal computer provided you do not modify the materials and that you retain all
copyright notices contained in the materials. By downloading content from our website, you accept the terms of
this agreement.
Transcript:Evolving the Architecture of Sql Server Paul:
Evolving the Architecture of Sql Server Paul Larson, Microsoft Research Time travel back to circa 1980 Typical machine was VAX 11/780 1 MIPS CPU with 1KB of cache memory 8 MB memory (maximum) 80 MB disk drives, 1 MB/second transfer rate $250K purchase price! Basic DBMS architecture established Rows, pages, B-trees, buffer pools, lock manager, …. Still using the same basic architecture! But hardware has evolved dramatically Shrinking memory prices Stalling clock rates but more and more cores… Paul Larson, Nov 2013 3 Workloads evolve too… Paul Larson, Nov 2013 4 Are elephants doomed? Paul Larson, Nov 2013 5 SQL Server Make the elephant dance! Paul Larson, Nov 2013 6 SQL Server OK, time to get serious… Apollo Column store technology integrated into SQL Server Targeted for data warehousing workloads First installment in SQL 2012, second in SQL 2014 Hekaton Main-memory database engine integrated into SQL Server Targeted for OLTP workloads Initial version in SQL 2014 This talk doesn’t cover PDW – SQL Server Parallel Data Warehouse appliance SQL Azure – SQL Server in the cloud Paul Larson, Nov 2013 7 What is a column store index? Paul Larson, Nov 2013 8 A column store index stores data column-wise Each page stores data from a single column Data not stored in sorted order Optimized for scans A B-tree index stores data row-wise Project Apollo challenge Column stores beat the pants off row stores on DW workloads Less disc space due to compression Less I/O – read only required columns Improved cache utilization More efficient vector-wise processing Column store technology per se was not the problem Old, well understood technology Already had a fast in-memory column store (Analysis Services) Challenge: How to integrate column store technology into SQL Server No changes in customer applications Work with all SQL Server features Reasonable cost of implementation Paul Larson, Nov 2013 9 Key design decisions Expose column stores as a new index type One new keyword in index create statement (COLUMNSTORE) No application changes needed! Reuse existing mechanisms to reduce implementation cost Use Vertipaq column store format and compression Use regular SQL Server storage mechanisms Use a regular row store for updates and trickle inserts Add a new processing mode: batch mode Pass large batches of rows between operators Store batches column-wise Add new operators that process data column-wise Paul Larson, Nov 2013 10 Creating and storing a column store index Paul Larson, Nov