Lesson 2 of 6 · Monitoring & Observability

Why It Matters, and How It Has Changed

Why monitoring and observability matter to DBA teams, and how they've moved from scripts to fleet-wide observability.

Beginner 3 sections 3 min read

Why it matters for DBA teams

Databases sit underneath almost every application, so when they're slow or down, everything is. Monitoring and observability let DBA teams find problems before users do, fix them faster, plan ahead, and prove, with data, that the databases are meeting their promises.

Find problems before users do
A tablespace filling up, replication falling behind, or a backup failing can be fixed quietly if it's spotted early. Found by users, the same problem becomes an outage.
Fix problems faster
Good observability turns "the database is slow" into "this statement, since this release, waiting on this lock" in minutes, cutting the time to restore service (MTTR).
Make changes safely
Watching key measures before and after every release shows immediately whether a change made things worse, which is what lets teams release often.
Plan capacity
Trends in storage, CPU, and transactions show when more capacity will be needed, months before it runs out.
Control cost
In the cloud, utilization data shows where databases are oversized and money is being wasted, as covered in Cloud Cost Optimization.
Security and compliance
Audit logs and alerts on unusual activity, such as failed logins or privilege changes, catch attacks and satisfy auditors.
Prove reliability
SLOs and their measurements show the business, in numbers, how reliable the databases are, as covered in the next lesson.

How monitoring has changed for DBA teams

SCRIPTSVENDOR CONSOLESCLOUD AND SAAS OBSERVABILITY cron jobs and shellscripts per serveremails to the DBAfixed thresholdsone server at a time Oracle EnterpriseManager and similardashboards, alertsAWR reportsper database cloud metricsSaaS platformswhole fleetsapp and databaselinked together OpenTelemetrymetrics, logs, tracesalerts based on SLOsanomaly detectiondashboards as code
ThenNow
A few large databases, each watched individuallyHundreds or thousands of databases across clouds, watched as a fleet
Home-grown scripts emailing the DBACollectors, central platforms, and on-call tools that page the right person
Fixed thresholds on server measures, such as "CPU over 90%"Alerts on what users experience, such as response time and errors, tied to SLOs
Database tools separate from application toolsOne view, from the user's click to the SQL statement
Dashboards built by hand in a consoleDashboards and alerts defined as code, in Git
Monitoring as the DBA team's jobObservability shared by developers, SREs, and DBAs
Thresholds set by experienceBaselines and machine learning that learn what "normal" looks like

Three forces drove the change: scale, since no team can watch thousands of databases one at a time; the cloud, which made metrics available through APIs and services like CloudWatch and Azure Monitor; and DevOps and SRE, which made reliability a shared, measured responsibility.

Key takeaways

  • Monitoring and observability find problems before users do, cut the time to fix them, make changes safe, and support capacity, cost, security, and reliability.
  • Database monitoring has moved from scripts and per-database consoles to fleet-wide platforms and full observability.
  • Modern teams alert on what users experience, link application and database data, keep dashboards as code, and share observability across roles.
  • OpenTelemetry is the open standard for collecting telemetry once and sending it to any tool.