Perfect Performance Platter - SQL Server 2014

Post on 08-Feb-2017

56 views 0 download

Transcript of Perfect Performance Platter - SQL Server 2014

MCT Summit 2014 Bucharest

Perfect Performance Platter with SQL Server 2014

Platinum Sponsors

Sponsors

Please thank our sponsors

ABOUT ME

Dr. SubraMANI ParamasivamCEO, Principal Consultant & Trainer @ Your SQL Man (UK) Ltd Email: mani@yoursqlman.com

FacebookYouTubeTwitter

LinkedIn

https://www.facebook.com/pages/YOUR-SQL-MAN-LTD/http://www.youtube.com/user/YourSQLMAN

https://twitter.com/YourSQLMAN

http://www.linkedin.com/pub/yoursqlman-ltd/78/972/172

Information

Duration• 45 Min Any Questions?

You know where it is

Please silence your mobile phones and

other devices

Pre - Requisites

Basic Idea about CPU, Memory & I/O

Locks, Blocks & Latches

Storage T-SQL

Objectives

On completion of this session, attendees will be able to better understand & have knowledge in

Performance Problems

Locks CPU / IO

Understand Poor Performing Queries

Tackle the Problems by

yourself

Admin Tools

More About Databases

Agenda

Performance Related Issues Admin Tools

DBAs & Developers in a ring

Addressing the Performance Issues

Cheat Chart

Agenda

Performance Related Issues Admin Tools

DBAs & Developers in a ring

Addressing the Performance Issues

Cheat Chart

Understanding Performance Issues

System Resources

RAM

I/O CPU

MemoryDISK

Fix Baseline

Performance Areas

Resource Limit

Index

Statistics

Execution Plan

Understanding Performance Issues

SQL Queries Network

Locks/Blocks Application Load

TempDB Database Design

Agenda

Performance Related Issues Admin Tools

DBAs & Developers in a ring

Addressing the Performance Issues

Cheat Chart

Administration Tools

SQL Server Management

Studio

Configuration Manager

SQL Server Profiler

Database Engine Tuning Advisor

Connectivity Components

Data Quality Client

SQL Server Data Tools

SQL Server 2005SQL Server 2008 & 2008R2

SQL Server 2012 & 2014

Top Level Tools in Different Versions

Administration Tools

SQL Server Enterprise & Business Intelligence EditionsDTA

DBCC

Extended Events

Built-In Functions

Administration Tools

SQL Server Enterprise & Business Intelligence Editions

Stored Procedures SQL Server Change Tracking

Managed Backup

SQL Profiler

DB MailDistributed Replay Admin/Client Tools

Administration Tools

SQL Server Enterprise & Business Intelligence Editions

Activity Monitor Resource Governor

Security SP_WHO2 DMV DAC

Administration Tools

SQL Server Enterprise & Business Intelligence Editions

Execution Plans

Tracesdeclare @on bitset @on = 1exec sp_trace_setevent @TraceID, 14, 1, @onexec sp_trace_setevent @TraceID, 14, 9, @onexec sp_trace_setevent @TraceID, 14, 6, @onexec sp_trace_setevent @TraceID, 14, 10, @onexec sp_trace_setevent @TraceID, 14, 14, @onexec sp_trace_setevent @TraceID, 14, 11, @onexec sp_trace_setevent @TraceID, 14, 12, @on

Performance Monitor

Administration Tools

SQL Server Enterprise & Business Intelligence Editions

Data Collector Replication Monitor

Administration Tools

SQL Server Express

SQL Server Standard

SQL Profiler

Activity Monitor

Built-In Functions

Distributed Replay - Client

DBCC Graphical Show Plan

DMV TracesSP

DTA

Extended Events

DB Mail

Performance Data Collector

SQL Agent

Replication Monitor

SP_WHO2

PerfmonSecurity

Administration Tools

SQL Server 2014 Editions

SQL Express SQL Standard

SQL Business IntelligenceSQL Enterprise

Agenda

Performance Related Issues Admin Tools

DBAs & Developers in a ring

Addressing the Performance Issues

Cheat Chart

Identifying Performance Related Problems

Non-UpdatedStatistics Bad SQL Queries

High Cost Optimizer Plans Excess Indexes

Resource Bottleneck

Locks Comparison AnalysisWith Baseline

Addressing the Performance Issues - Demos

Log Full Mail Alert SQL ProfilerLong Running Queries

Statistics IOOutdated Statistics

More resource Utilization

Resource Governor

Query Performance Issue DTA

Locks

Addressing the Performance Issues - Demos

Performance issue with UDF’s

Execution Plan

Extended Event

Activity Monitor

Functions

TempDBExpensive Queries

No Proper Index

Agenda

Performance Related Issues Admin Tools

DBAs & Developers in a ring

Addressing the Performance Issues

Cheat Chart

Enlightening Developers to Understand DBA

Consistency

Uptime

Performance Challenges Process

DBA Values

Proper Communication

Importance of Documentation

Process

Enlightening DBAs to Understand Developers

Understand the Developers EnvironmentEducate the Developing

Application Layers

Experience on Developer Field Understand the

Codes

Proper Communication

Agenda

Performance Related Issues Admin Tools

DBAs & Developers in a ring

Addressing the Performance Issues

Cheat Chart

Cheat Chart

Summary

Performance Areas Understand DBAs

Different Performance Scenarios

Addressed Performance Issues

Admin Tools Understand Developers

Questions?

Q & A

THANKYOU