Understanding Your Servers, All Your Servers

Post on 18-Feb-2017

193 views 2 download

transcript

11-13 August 2016. NIMHANS Convention Centre, Bangalore, India.

Understanding Your Servers

All Your Servers

Grant Fritchey

Product Evangelist

Redgate Software

Get in touch

scarydba.com

grant@scarydba.com

@gfritchey

Grant Fritchey

Accidents Happen

3

Workloads Grow

4

Systems Evolve

5

K

Goals

• Understand approaching monitoring as an enterprise-wide undertaking.

• Learn the core aspects of SQL Server that must be monitored.

• Gain some knowledge of what to do about common issues.

We Need To Know

• Server Status

• Errors & Alerts

• Database Status

• Current Behavior

• Past Behavior

• Future Behavior

– Well, possible future behavior

Server Status

• Prod vs Dev vs ?

• Offline

• Errors

• Performance

• Clusters

• Availability Groups

• Virtual Machines

Errors and Alerts

• Signal to Noise Ratio

• Alerts vs. Information

• Phones

• Email

• History

Database Status

• Online?

• Errors?

• Backups

• Maintenance

• Performance

• Growth

• Workload

Current Behavior

• What is happening right now!

• Correlation between events and status is extremely important

• Reactive instead of proactive

Past Behavior

• What happened yesterday/last week/last month

• Baselines

• Trends

• “Those who do not learn from history are doomed to repeat it”

• “History never repeats itself, but it does rhyme”

Future Behavior

• Using trends

• Tracking growth over time

• Communicate with the business

• Understand the business

Tools

• Perfmon

• Dynamic Management Views/Functions

• Extended Events

• Trace Events (deprecated)

• 3rd Party

What We Monitor

• Wait Statistics

• In Order of Importance

– IO

– Memory

– CPU

– Other stuff

• General Performance

We Need To Know

• Server Status

• Errors & Alerts

• Database Status

• Current Behavior

• Past Behavior

• Future Behavior

– Well, possible future behavior

Get in touch

scarydba.com

grant@scarydba.com

@gfritchey

Grant Fritchey

Thank you

for your time!

Connect us with us:

@SQLServerGeeks

facebook.com/SQLServerGeeks

facebook.com/groups/theSQLGeeks

www.SQLServerGeeks.com

admin@SQLServerGeeks.com