Performance Eye for the SQL Guy
-
Upload
warwick-rudd -
Category
Data & Analytics
-
view
109 -
download
3
description
Transcript of Performance Eye for the SQL Guy
![Page 1: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/1.jpg)
Performance Eye for the SQL Guy
Warwick RuddMicrosoft Certified Master (MCM) – SQL 2008Principal Consultant
[email protected]@Warwick_Rudd
![Page 2: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/2.jpg)
About Me : Warwick Rudd
• SQL Server Consultant• MCM – SQL Server 2008• MCSM – Data Platform• Certified Trainer• Reviewed 4 SQL Server 2012 Beta
Exams• Blogger on Simpletalk.com• Presenter at:• User Groups• SQLSaturdays• TechED Australia
![Page 3: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/3.jpg)
Contents
Buffer Pool Extension
Resource Governor for I/O
In-Memory OLTP
In-Memory DW
Managed Lock Priority
Single Partition Online Index Rebuild
![Page 4: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/4.jpg)
Buffer Pool Extension
![Page 5: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/5.jpg)
Buffer Pool Extension
SQLSSD
Buffer Pool
Dirty PagesClean Pages
Evict Clean Pages
< Max Server
Memory
• 1 : 4• 1 : 8• 1 : 16
![Page 6: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/6.jpg)
Increased Random I/O Throughput
Reduced I/O Latency
Increased Transactional Throughput
Improved Read Performance with a Larger Hybrid Buffer Pool
A Caching Architecture that can take Advantage of Present and Future Low-cost Memory
Configurable with FCI’s
BPE Benefits
![Page 7: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/7.jpg)
BPE Monitoring
DMV’s
XEvents
Performance Counters
![Page 8: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/8.jpg)
Resource Governor for
I/O
![Page 9: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/9.jpg)
Resource Governor for I/O
SQL Server 2008 Enterprise Edition
CPU & Memory I/O
SSAS
SSRS
SSIS
MaximumClassifier Function
Workload Groups
Resource PoolsMinimum
![Page 10: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/10.jpg)
In-Memory OLTP
![Page 11: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/11.jpg)
In-Memory OLTP(Hekaton)
Memory-resident data
Lock and latch free
New table and index Structures
Natively compiled stored proceduresInterop
Cross-container transactionsMemory-optimized filegroup
Durable tables
Non-durable tables
At least 1 index
Outage for all table\index changes
No Undo Logging
![Page 12: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/12.jpg)
In-Memory DW
![Page 13: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/13.jpg)
In-Memory DW
Clustered
Updateable
Improved Compression
Batch processing
NC Columnstore Indexes still useful
![Page 14: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/14.jpg)
MLP & SPOIR
![Page 15: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/15.jpg)
Managed Lock Priority
Select
DDL Select Select
GRANTWAI
T
DDLSelect Select
First in First Out
![Page 16: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/16.jpg)
Managed Lock Priority
Select
DDL
Select Select GRANT
Low Priority Lock Queue
DDL
Alter Any Connection
Wait_At_Low_Priority
Max_DurationAbort_After_Wait = [Self |
Blockers]
![Page 17: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/17.jpg)
Single Partition Online Index Rebuild
Granularity
Accessibility
Lock Priority
Availability
Resource Savings
![Page 18: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/18.jpg)
Demo
![Page 19: Performance Eye for the SQL Guy](https://reader035.fdocuments.in/reader035/viewer/2022070304/54c6763b4a7959b6298b4587/html5/thumbnails/19.jpg)
Summary
Buffer Pool Extension
Resource Governor for I/O
In-Memory OLTP
In-Memory DW
Managed Lock Priority
Single Partition Online Index Rebuild