20
SQL Server 2014 for Developers Denis Reznik Microsoft MVP (SQL Server) Director of R&D at TFG an Intapp Company

MS DevDay - SQLServer 2014 for Developers

  • Upload
    -

  • View
    179

  • Download
    1

Embed Size (px)

DESCRIPTION

Presentation about hidden treasures inside SQL Server 2014. It was 30 min presentation about 4 features: Cardinality Estimator, Query and Plan Fingerprints, Delayed Durability and TempDB performance.

Citation preview

Page 1: MS DevDay - SQLServer 2014 for Developers

SQL Server 2014 for DevelopersDenis ReznikMicrosoft MVP (SQL Server)Director of R&D at TFG an Intapp Company

Page 2: MS DevDay - SQLServer 2014 for Developers

• Denis Reznik• Kiev, Ukraine• Director of R&D at TFG an Intapp Company• Microsoft MVP• Leader of Kyiv SQL Server User Group• Co-author of “SQL Server MVP Deep Dives

vol. 2”• Community enthusiast

ABOUT SPEAKER

Page 3: MS DevDay - SQLServer 2014 for Developers

SQL Server 2014 Hidden Features

SQL Server 2014 Killer Features

Page 4: MS DevDay - SQLServer 2014 for Developers

• Updatable Columnstore Indexes• Resource Governor for IO• Backup Encryption• Online Operations Improvements• AllwaysOn Improvements• Buffer Pool Extensions• InMemory OLTP (Hekaton)

KILLER FEATURES

Page 5: MS DevDay - SQLServer 2014 for Developers

• Cardinality Estimation Improvements• Query and Plan Fingerprints• Delayed Durability• TempDB Enhancements

HIDDEN FEATURES

Page 6: MS DevDay - SQLServer 2014 for Developers

CARDINALITY ESTIMATION

Page 7: MS DevDay - SQLServer 2014 for Developers

CARDINALITY

Page 8: MS DevDay - SQLServer 2014 for Developers

500

1000

10

1200

800

1 800 2000 2800 4500 5400

SELECT * FROM UsersWHERE Id BETWEEN 2100 AND 2500

STATISTICS

Page 9: MS DevDay - SQLServer 2014 for Developers

Cardinality Estimation

DEMO

Page 10: MS DevDay - SQLServer 2014 for Developers

QUERY AND PLAN FINGERPRINTS

Page 11: MS DevDay - SQLServer 2014 for Developers

QUERY PROCESSING

Parser Algebrizer Optimizator Executor

Page 12: MS DevDay - SQLServer 2014 for Developers

Query and Plan Fingerprints

DEMO

Page 13: MS DevDay - SQLServer 2014 for Developers

DELAYED DURABILITY

Page 14: MS DevDay - SQLServer 2014 for Developers

Buffer PoolData Cache

Database File

Access Methods

Buffer Manager

Transaction Log

Log Manager

Log Buffer

Page 15: MS DevDay - SQLServer 2014 for Developers

Delayed Durability

DEMO

Page 16: MS DevDay - SQLServer 2014 for Developers

TEMPDB ENHANCEMENTS

Page 17: MS DevDay - SQLServer 2014 for Developers

TempDB Enhancements

DEMO

Page 18: MS DevDay - SQLServer 2014 for Developers

• Cardinality Estimation Improvements• Query and Plan Fingerprints• Delayed Durability• TempDB Enhancements

SUMMARY

Page 20: MS DevDay - SQLServer 2014 for Developers

Thank You!