Database monitoring in Dynatrace centers on the database instance, the running database engine. The host it runs on is a separate infrastructure layer that you monitor to complete the picture. This page explains both and how they fit together.
A database instance represents the running database engine you want to monitor, for example, an Oracle SID, a SQL Server named instance, or a PostgreSQL cluster. When you add a database through the Add DB instance wizard, Dynatrace creates a vendor-specific database instance entity DB_INSTANCE_*, for example DB_INSTANCE_POSTGRES, that tracks connection counts, buffer pool usage, active sessions, top queries, and execution plans for that engine.
A host is the physical or virtual machine where your database process runs. When OneAgent is installed on the host where the database runs, Dynatrace creates a HOST entity that represents the underlying infrastructure, including CPU utilization, memory consumption, disk I/O, and network throughput. Use the HOST entity to determine whether a performance issue originates from the database engine or the underlying host resources.
Enable a database extension for a DB_INSTANCE_* entity to collect engine-level data over a remote connection and view it in
Databases. You can also use this data in dashboards, alerts, and notebooks.
Database monitoring provides:
Dynatrace stores this data in the default_database_monitoring Grail bucket and retains it for 35 days by default. For the metrics available per vendor, see Data collected with Dynatrace database monitoring.
Host monitoring covers the infrastructure the database runs on, not the database engine. It reports OS-level metrics, including CPU, memory, disk, and network for that machine, and doesn't require polling the database itself:
HOST entity and reports its OS-level metrics.Use host monitoring for on-premises or self-managed databases where you want visibility into the underlying infrastructure alongside the database engine.
We recommend combining database monitoring with host monitoring, or cloud monitoring for cloud-hosted databases, to gain a complete view of your databases and the infrastructure they run on. For example, you can install OneAgent on a self-managed PostgreSQL host to enable full-stack observability and configure a database instance through the extension to collect additional engine metrics and query insights.
When both are configured,
Databases displays the DB_INSTANCE_* and HOST entities together. This view helps you correlate database engine health with the underlying infrastructure and determine whether a performance issue originates from the database engine or the host resources.
Databases