Performance Eye for the SQL Guy

20
Performance Eye for the SQL Guy Warwick Rudd Microsoft Certified Master (MCM) – SQL 2008 Principal Consultant [email protected] @Warwick_Rudd

description

With the release of SQL Server 2014, there are some features available that you can utilise to help improve the performance in your SQL Server environments. In this session Warwick will give you a high level introduction into the following 6 features that you can look at implementing and utilising in your environment to help with you over performance: The Buffer Pool Extension Resource Governor for IO InMemory OLTP InMemory DW Managed Lock Priority Single Partition Online Index Rebuild

Transcript of Performance Eye for the SQL Guy

Page 1: Performance Eye for the SQL Guy

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

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

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

Buffer Pool Extension

Page 5: Performance Eye for the SQL Guy

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

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

BPE Monitoring

DMV’s

XEvents

Performance Counters

Page 8: Performance Eye for the SQL Guy

Resource Governor for

I/O

Page 9: Performance Eye for the SQL Guy

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

In-Memory OLTP

Page 11: Performance Eye for the SQL Guy

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

In-Memory DW

Page 13: Performance Eye for the SQL Guy

In-Memory DW

Clustered

Updateable

Improved Compression

Batch processing

NC Columnstore Indexes still useful

Page 14: Performance Eye for the SQL Guy

MLP & SPOIR

Page 15: Performance Eye for the SQL Guy

Managed Lock Priority

Select

DDL Select Select

GRANTWAI

T

DDLSelect Select

First in First Out

Page 16: Performance Eye for the SQL Guy

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

Single Partition Online Index Rebuild

Granularity

Accessibility

Lock Priority

Availability

Resource Savings

Page 18: Performance Eye for the SQL Guy

Demo

Page 19: Performance Eye for the SQL Guy

Summary

Buffer Pool Extension

Resource Governor for I/O

In-Memory OLTP

In-Memory DW

Managed Lock Priority

Single Partition Online Index Rebuild

Page 20: Performance Eye for the SQL Guy

Questions ?

www.sqlmastersconsulting.com.au

Thank You