<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Database monitoring fundamentals on Grafana Labs</title><link>https://grafana.com/docs/learning-hub/intro-to-db-olly/01-intro/</link><description>Recent content in Database monitoring fundamentals on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/learning-hub/intro-to-db-olly/01-intro/index.xml" rel="self" type="application/rss+xml"/><item><title>Start monitoring databases</title><link>https://grafana.com/docs/learning-hub/intro-to-db-olly/01-intro/01-course-overview/</link><pubDate>Wed, 07 Oct 2026 10:00:46 -0500</pubDate><guid>https://grafana.com/docs/learning-hub/intro-to-db-olly/01-intro/01-course-overview/</guid><content><![CDATA[&lt;h1 id=&#34;welcome&#34;&gt;Welcome&lt;/h1&gt;
&lt;p&gt;Grafana Cloud gives you two ways to monitor your databases: Database Observability and database integrations.&lt;/p&gt;
&lt;p&gt;If you run MySQL or PostgreSQL and want to understand what&amp;rsquo;s happening inside a query, Database Observability gives you that visibility. If you want metrics, dashboards, and alerts across a broader set of databases, database integrations have you covered.&lt;/p&gt;
&lt;h2 id=&#34;two-monitoring-approaches&#34;&gt;Two monitoring approaches&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Database Observability:&lt;/strong&gt; query-level visibility for MySQL and PostgreSQL, so you can see how tracked queries perform, not just aggregate database metrics&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Database integrations:&lt;/strong&gt; database-level metrics, prebuilt dashboards, and alerting rules across MongoDB, Redis, Memcached, Cassandra, Oracle, and the SQL databases&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;what-this-journey-covers&#34;&gt;What this journey covers&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Database Observability:&lt;/strong&gt; what it shows, how it works, and how to set it up for MySQL or PostgreSQL&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Database integrations:&lt;/strong&gt; what they provide and how to set them up for MongoDB, Redis, Memcached, Cassandra, MySQL, PostgreSQL, and Oracle&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;supported-databases&#34;&gt;Supported databases&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Database Observability:&lt;/strong&gt; MySQL and PostgreSQL, both self-managed and on managed services (Amazon RDS, Aurora, Google Cloud SQL, and Azure Database)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Database integrations:&lt;/strong&gt; MongoDB, Redis, Memcached, Cassandra, MySQL, PostgreSQL, and Oracle&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="welcome">Welcome&lt;/h1>
&lt;p>Grafana Cloud gives you two ways to monitor your databases: Database Observability and database integrations.&lt;/p>
&lt;p>If you run MySQL or PostgreSQL and want to understand what&amp;rsquo;s happening inside a query, Database Observability gives you that visibility. If you want metrics, dashboards, and alerts across a broader set of databases, database integrations have you covered.&lt;/p></description></item><item><title>How Database Observability and integrations differ</title><link>https://grafana.com/docs/learning-hub/intro-to-db-olly/01-intro/02-db-olly-vs-integrations/</link><pubDate>Wed, 07 Oct 2026 10:00:46 -0500</pubDate><guid>https://grafana.com/docs/learning-hub/intro-to-db-olly/01-intro/02-db-olly-vs-integrations/</guid><content><![CDATA[&lt;h1 id=&#34;two-different-layers&#34;&gt;Two different layers&lt;/h1&gt;
&lt;p&gt;A database integration and Database Observability aren&amp;rsquo;t two versions of the same product, and you don&amp;rsquo;t choose one over the other. They monitor different layers of the database and answer different questions.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;differences.svg&#34;
  alt=&#34;One database, two levels of monitoring: an integration watches instance-level metrics from outside, while Database Observability looks at tracked queries&#34;/&gt;&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;&lt;/th&gt;
              &lt;th&gt;Database Observability&lt;/th&gt;
              &lt;th&gt;Database integration&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;What it monitors&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Tracked queries&lt;/td&gt;
              &lt;td&gt;The database instance as a whole&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Question it answers&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;How do tracked queries perform, and why?&lt;/td&gt;
              &lt;td&gt;Is the database healthy?&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;What you see&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Rate, errors, and duration for tracked queries, explain plans for SELECT queries, wait events, and query samples&lt;/td&gt;
              &lt;td&gt;Aggregate, instance-level metrics such as connections, throughput, and replication, with prebuilt dashboards and alerts&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Databases&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;MySQL and PostgreSQL&lt;/td&gt;
              &lt;td&gt;Many, including MongoDB, Redis, Memcached, Cassandra, Oracle, MySQL, and PostgreSQL&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;]]></content><description>&lt;h1 id="two-different-layers">Two different layers&lt;/h1>
&lt;p>A database integration and Database Observability aren&amp;rsquo;t two versions of the same product, and you don&amp;rsquo;t choose one over the other. They monitor different layers of the database and answer different questions.&lt;/p></description></item><item><title>Prerequisites</title><link>https://grafana.com/docs/learning-hub/intro-to-db-olly/01-intro/03-prerequisites/</link><pubDate>Wed, 07 Oct 2026 10:00:46 -0500</pubDate><guid>https://grafana.com/docs/learning-hub/intro-to-db-olly/01-intro/03-prerequisites/</guid><content><![CDATA[&lt;h1 id=&#34;for-hands-on-exercises&#34;&gt;For hands-on exercises&lt;/h1&gt;
&lt;p&gt;Both approaches need a free Grafana Cloud account (&lt;a href=&#34;/signup/cloud/connect-account&#34;&gt;sign up free&lt;/a&gt;) and Grafana Alloy, which collects data and sends it to Grafana Cloud. What you need beyond that depends on which approach you&amp;rsquo;re setting up.&lt;/p&gt;
&lt;h2 id=&#34;database-integration-requirements&#34;&gt;Database integration requirements&lt;/h2&gt;
&lt;p&gt;For a database integration you need a running instance of a supported database: MongoDB, Redis, Memcached, Cassandra, Oracle, MySQL, or PostgreSQL. You configure an exporter for that database as part of setup.&lt;/p&gt;
&lt;h2 id=&#34;database-observability-version-requirements&#34;&gt;Database Observability version requirements&lt;/h2&gt;
&lt;p&gt;For Database Observability, you need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A running MySQL 8.0 or later or PostgreSQL 14 or later database&lt;/li&gt;
&lt;li&gt;A database user with monitoring privileges&lt;/li&gt;
&lt;li&gt;Versions shown in the following table&lt;/li&gt;
&lt;/ul&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Requirement&lt;/th&gt;
              &lt;th&gt;Details&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Grafana Alloy&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Version 1.17.0 or later&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;MySQL&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Version 8.0 or later (MySQL 5.7 and MariaDB aren&amp;rsquo;t supported)&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;PostgreSQL&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Version 14 or later, with the &lt;code&gt;pg_stat_statements&lt;/code&gt; extension enabled in each database you monitor&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Database Observability is available on the Grafana Cloud free tier and needs the Editor or Admin role. It is billed as a per-host hourly fee for each connected database, plus metrics and logs usage. On the free tier, metrics and logs, including query samples, are retained for 14 days. See &lt;a href=&#34;/docs/grafana-cloud/platform/pricing-and-usage/database-observability/&#34;&gt;Database Observability pricing&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The monitoring user needs two kinds of access. Query statistics need the base privileges: for MySQL, &lt;code&gt;PROCESS&lt;/code&gt;, &lt;code&gt;REPLICATION CLIENT&lt;/code&gt;, and &lt;code&gt;SELECT&lt;/code&gt; on &lt;code&gt;performance_schema&lt;/code&gt;; for PostgreSQL, the &lt;code&gt;pg_monitor&lt;/code&gt; and &lt;code&gt;pg_read_all_stats&lt;/code&gt; roles. Schema details and explain plans also need access to the tables you want to see. Grant &lt;code&gt;SELECT&lt;/code&gt; and &lt;code&gt;SHOW VIEW&lt;/code&gt; on each MySQL schema you monitor, or on all schemas if you want every schema. For PostgreSQL, grant &lt;code&gt;USAGE&lt;/code&gt; on each schema and &lt;code&gt;SELECT&lt;/code&gt; on all tables in that schema, or grant &lt;code&gt;pg_read_all_data&lt;/code&gt; if you want every object.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re running MySQL 5.7, MariaDB, or an older PostgreSQL version, Database Observability isn&amp;rsquo;t available for those.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&#34;/docs/learning-hub/intro-to-integrations/&#34;&gt;database integration&lt;/a&gt; can still monitor the database instance&amp;rsquo;s overall health, such as connections, throughput, and replication status. However, that&amp;rsquo;s a different capability, not a substitute. An integration reports aggregate, instance-level metrics, not the per-query explain plans, wait events, and query samples that Database Observability provides.&lt;/p&gt;
&lt;h2 id=&#34;recommended-prior-knowledge&#34;&gt;Recommended prior knowledge&lt;/h2&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Topic&lt;/th&gt;
              &lt;th&gt;Why it helps&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Basic Grafana navigation&lt;/td&gt;
              &lt;td&gt;You&amp;rsquo;ll use dashboards and the Configuration page.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Terminal or command line basics&lt;/td&gt;
              &lt;td&gt;Alloy installation uses the CLI.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Basic database administration&lt;/td&gt;
              &lt;td&gt;You&amp;rsquo;ll create a monitoring user and configure permissions.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;&lt;strong&gt;Just exploring?&lt;/strong&gt; You can complete the journey without hands-on practice. The concepts are valuable on their own.&lt;/p&gt;
]]></content><description>&lt;h1 id="for-hands-on-exercises">For hands-on exercises&lt;/h1>
&lt;p>Both approaches need a free Grafana Cloud account (&lt;a href="/signup/cloud/connect-account">sign up free&lt;/a>) and Grafana Alloy, which collects data and sends it to Grafana Cloud. What you need beyond that depends on which approach you&amp;rsquo;re setting up.&lt;/p></description></item></channel></rss>