The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring...

12
The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds

Transcript of The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring...

Page 1: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

The new rules of SQL Server

monitoring

Eelco Drost & William Durkin

Data Masterminds

Page 2: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

“We mind your data while you mind your business”

Microsoft Data Platform specialists

Page 3: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

GDPR & Operational IT

GDPR: Paragraphs, rules, scary fines

Operational IT: boring, expensive, often opaque

What do they have to do with each other?

Page 4: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

Traditional monitoring of Operational IT

CPU

Memory

Disk

……

Page 5: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

Custom metrics

Bridges the gap to GDPR in Operational IT

Page 6: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

Custom Metrics

• run T-SQL queries against your SQL Servers to collect

specific data you care about

• Analysis and alerting possibilities

• find metrics online: http://sqlmonitormetrics.red-gate.com/category/custom-metric/

Page 7: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

Default trace

Built-in Server / Database Audits

MSDB

Custom Metrics: Build your ownObjects Object:AlteredObjects Object:CreatedObjects Object:DeletedSecurity Audit Audit Add DB User EventSecurity Audit Audit Add Login to Server Role EventSecurity Audit Audit Add Member to DB Role EventSecurity Audit Audit Add Role EventSecurity Audit Audit Addlogin EventSecurity Audit Audit Backup/Restore EventSecurity Audit Audit Change Audit EventSecurity Audit Audit Change Database OwnerSecurity Audit Audit Database Scope GDR EventSecurity Audit Audit DBCC EventSecurity Audit Audit Login Change Property EventSecurity Audit Audit Login FailedSecurity Audit Audit Login GDR EventSecurity Audit Audit Schema Object GDR EventSecurity Audit Audit Schema Object Take Ownership EventSecurity Audit Audit Server Alter Trace EventSecurity Audit Audit Server Starts And Stops

Page 8: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

LogTable

Custom Metrics: Think outside the (SQL) Box!

Page 9: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

Custom Metrics: Think outside the (SQL) Box!

• Local firewall status

• Successful RDP logins

• Newly created AD user suddenly becomes active

• DBA-Tools / DBA-Checks

Page 10: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

Time for a demo!

Page 11: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

Thank you for your time

datamasterminds.io

[email protected]

Page 12: The new rules of SQL Server monitoring - Redgate … · The new rules of SQL Server monitoring Eelco Drost & William Durkin Data Masterminds “We mind your data while you mind your

Anyquestions?