20
11-13 August 2016. NIMHANS Convention Centre, Bangalore, India. Understanding Your Servers All Your Servers Grant Fritchey Product Evangelist Redgate Software

Understanding Your Servers, All Your Servers

Embed Size (px)

Citation preview

Page 1: Understanding Your Servers, All Your Servers

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

Understanding Your Servers

All Your Servers

Grant Fritchey

Product Evangelist

Redgate Software

Page 2: Understanding Your Servers, All Your Servers

Get in touch

scarydba.com

[email protected]

@gfritchey

Grant Fritchey

Page 3: Understanding Your Servers, All Your Servers

Accidents Happen

3

Page 4: Understanding Your Servers, All Your Servers

Workloads Grow

4

Page 5: Understanding Your Servers, All Your Servers

Systems Evolve

5

Page 6: Understanding Your Servers, All Your Servers
Page 7: Understanding Your Servers, All Your Servers

K

Page 8: Understanding Your Servers, All Your Servers

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.

Page 9: Understanding Your Servers, All Your Servers

We Need To Know

• Server Status

• Errors & Alerts

• Database Status

• Current Behavior

• Past Behavior

• Future Behavior

– Well, possible future behavior

Page 10: Understanding Your Servers, All Your Servers

Server Status

• Prod vs Dev vs ?

• Offline

• Errors

• Performance

• Clusters

• Availability Groups

• Virtual Machines

Page 11: Understanding Your Servers, All Your Servers

Errors and Alerts

• Signal to Noise Ratio

• Alerts vs. Information

• Phones

• Email

• History

Page 12: Understanding Your Servers, All Your Servers

Database Status

• Online?

• Errors?

• Backups

• Maintenance

• Performance

• Growth

• Workload

Page 13: Understanding Your Servers, All Your Servers

Current Behavior

• What is happening right now!

• Correlation between events and status is extremely important

• Reactive instead of proactive

Page 14: Understanding Your Servers, All Your Servers

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”

Page 15: Understanding Your Servers, All Your Servers

Future Behavior

• Using trends

• Tracking growth over time

• Communicate with the business

• Understand the business

Page 16: Understanding Your Servers, All Your Servers

Tools

• Perfmon

• Dynamic Management Views/Functions

• Extended Events

• Trace Events (deprecated)

• 3rd Party

Page 17: Understanding Your Servers, All Your Servers

What We Monitor

• Wait Statistics

• In Order of Importance

– IO

– Memory

– CPU

– Other stuff

• General Performance

Page 18: Understanding Your Servers, All Your Servers

We Need To Know

• Server Status

• Errors & Alerts

• Database Status

• Current Behavior

• Past Behavior

• Future Behavior

– Well, possible future behavior

Page 19: Understanding Your Servers, All Your Servers

Get in touch

scarydba.com

[email protected]

@gfritchey

Grant Fritchey

Page 20: Understanding Your Servers, All Your Servers

Thank you

for your time!

Connect us with us:

@SQLServerGeeks

facebook.com/SQLServerGeeks

facebook.com/groups/theSQLGeeks

www.SQLServerGeeks.com

[email protected]