# \#database

**URL:** https://community.grafana.com/tag/database/235.md

[Latest](https://community.grafana.com/latest.md) · [Categories](https://community.grafana.com/categories.md) · [Tags](https://community.grafana.com/tags.md)

---

## [Grafana Alloy : Oracle DB Monitoring using Alloy exporter : Issue using SID](https://community.grafana.com/t/grafana-alloy-oracle-db-monitoring-using-alloy-exporter-issue-using-sid/164691)

<div class="topic-metadata">

**Author:** [@sr53972](https://community.grafana.com/u/sr53972)\
**Replies:** 3\
**Last updated:** [October 28, 2026, 3:20pm UTC](https://community.grafana.com/t/grafana-alloy-oracle-db-monitoring-using-alloy-exporter-issue-using-sid/164691 "2026-10-28T15:20:45Z")

</div>

Team, I am using v17.x alloy agent with oracle exporter and unable to use the DB Connection string with SID, running in to issue : ORA-12514: TNS:listener does not currently know of service requested in connect descrip…

---

## [Grafana version compatibility check with Postgres SQL 18 Database](https://community.grafana.com/t/grafana-version-compatibility-check-with-postgres-sql-18-database/164453)

<div class="topic-metadata">

**Author:** [@avantikaroy](https://community.grafana.com/u/avantikaroy)\
**Replies:** 1\
**Last updated:** [September 17, 2026, 12:25pm UTC](https://community.grafana.com/t/grafana-version-compatibility-check-with-postgres-sql-18-database/164453 "2026-09-17T12:25:17Z")

</div>

Can Grafana version 13.0.1 be compatible with Postgres SQL Database 18? Is there any matrix available?

---

## [Grafana Fails to run Migration during Upgrade](https://community.grafana.com/t/grafana-fails-to-run-migration-during-upgrade/162407)

<div class="topic-metadata">

**Author:** [@jgrammenosagilitypr](https://community.grafana.com/u/jgrammenosagilitypr)\
**Replies:** 11\
**Last updated:** [April 20, 2026, 6:13pm UTC](https://community.grafana.com/t/grafana-fails-to-run-migration-during-upgrade/162407 "2026-04-20T18:13:24Z")

</div>

What Grafana version and what operating system are you using? ubuntu 22.04, grafana 11.6.7 What are you trying to achieve? upgrade grafana to version 11.6.8 How are you trying to achieve it? via ubuntu standard p…

---

## [Node Exporter Full Dashboard - Grafana Play](https://community.grafana.com/t/node-exporter-full-dashboard-grafana-play/161171)

<div class="topic-metadata">

**Author:** [@jeenamari](https://community.grafana.com/u/jeenamari)\
**Replies:** 1\
**Last updated:** [February 2, 2026, 5:56am UTC](https://community.grafana.com/t/node-exporter-full-dashboard-grafana-play/161171 "2026-02-02T05:56:53Z")

</div>

What Grafana version and what operating system are you using? I am trying to use play.grafana. What are you trying to achieve? I wanted to test a grafana dashboard - node exporter full with auto populated data alrea…

---

## [Is Grafana 12 compatible with postgres 17?](https://community.grafana.com/t/is-grafana-12-compatible-with-postgres-17/160301)

<div class="topic-metadata">

**Author:** [@nathanyangwcar](https://community.grafana.com/u/nathanyangwcar)\
**Replies:** 2\
**Last updated:** [December 17, 2025, 6:51am UTC](https://community.grafana.com/t/is-grafana-12-compatible-with-postgres-17/160301 "2025-12-17T06:51:35Z")

</div>

Hi Grafana community, I’m currently running Grafana 12 using the Docker image grafana/grafana:latest-ubuntu, connected to a PostgreSQL 15 database. I’m planning to upgrade the PostgreSQL database to version 17, but I’m…

---

## [Grafana Hanging During Start Up](https://community.grafana.com/t/grafana-hanging-during-start-up/160205)

<div class="topic-metadata">

**Author:** [@sysprog992002](https://community.grafana.com/u/sysprog992002)\
**Replies:** 2\
**Last updated:** [December 14, 2025, 3:54pm UTC](https://community.grafana.com/t/grafana-hanging-during-start-up/160205 "2025-12-14T15:54:03Z")

</div>

We are running Grafana 12.0.0 using six instances. During startup one or more of the instances will hang and never recover even if restarted. We are using MariaDB 10.3.13 running in a Galera cluster with 5 instances. Th…

---

## [Does grafana support connecting to Readwritesplit port of mariadb when it is running in maxscale mode](https://community.grafana.com/t/does-grafana-support-connecting-to-readwritesplit-port-of-mariadb-when-it-is-running-in-maxscale-mode/160210)

<div class="topic-metadata">

**Author:** [@bmsriharsha](https://community.grafana.com/u/bmsriharsha)\
**Replies:** 0\
**Last updated:** [December 14, 2025, 9:26am UTC](https://community.grafana.com/t/does-grafana-support-connecting-to-readwritesplit-port-of-mariadb-when-it-is-running-in-maxscale-mode/160210 "2025-12-14T09:26:52Z")

</div>

Grafana was configured to connect to database type mysql and it was configured to connect to Readwritesplit port of mariadb which his running in maxscale mode. Initial login was successful and also dashboards were loaded…

---

## [Duplicate entry '1' for key 'alert\_rule\_version.UQE\_alert\_rule\_version\_rule\_guid\_version'](https://community.grafana.com/t/duplicate-entry-1-for-key-alert-rule-version-uqe-alert-rule-version-rule-guid-version/159343)

<div class="topic-metadata">

**Author:** [@batuocmu](https://community.grafana.com/u/batuocmu)\
**Replies:** 0\
**Last updated:** [November 13, 2025, 6:59am UTC](https://community.grafana.com/t/duplicate-entry-1-for-key-alert-rule-version-uqe-alert-rule-version-rule-guid-version/159343 "2025-11-13T06:59:04Z")

</div>

Hello everyone, I have a problem: I am upgrading grafana version 11.5.7 to 12.2.1 and the error below occurs. grafana | logger=migrator t=2025-11-09T01:44:13.743533549+07:00 level=error msg=“Exec failed” error=“Error…

---

## [Dashboard switch with a dropdown](https://community.grafana.com/t/dashboard-switch-with-a-dropdown/147592)

<div class="topic-metadata">

**Author:** [@aximian](https://community.grafana.com/u/aximian)\
**Replies:** 1\
**Last updated:** [July 5, 2025, 8:55am UTC](https://community.grafana.com/t/dashboard-switch-with-a-dropdown/147592 "2025-07-05T08:55:27Z")

</div>

Hello new to Grafana! I was wondering if it is possible to switch between dashboards using a dropdown menu, it is for my database in postgresql

---

## [How to use xk6-sql plugin with PostgreSQL in k6?](https://community.grafana.com/t/how-to-use-xk6-sql-plugin-with-postgresql-in-k6/153575)

<div class="topic-metadata">

**Author:** [@rafiulalambracits](https://community.grafana.com/u/rafiulalambracits)\
**Replies:** 2\
**Last updated:** [July 2, 2025, 9:04am UTC](https://community.grafana.com/t/how-to-use-xk6-sql-plugin-with-postgresql-in-k6/153575 "2025-07-02T09:04:25Z")

</div>

Hi, I’m trying to run a load test using k6 and the xk6-sql extension to connect with a PostgreSQL database.

---

## [Got an error durring import of converted database](https://community.grafana.com/t/got-an-error-durring-import-of-converted-database/148106)

<div class="topic-metadata">

**Author:** [@zzozz](https://community.grafana.com/u/zzozz)\
**Replies:** 3\
**Last updated:** [April 16, 2025, 9:41am UTC](https://community.grafana.com/t/got-an-error-durring-import-of-converted-database/148106 "2025-04-16T09:41:04Z")

</div>

What Grafana version and what operating system are you using? OS Debian 12 Grafana Version 9.5.20 (commit: 1ba5cd985398b8b7d399cbcf11aaa03234d1fa42, branch: HEAD) SQLite version 3.40.1 2022-12-28 14:03:47 mysql Ver…

---

## [Enable database.instrument\_queries with SQLite](https://community.grafana.com/t/enable-database-instrument-queries-with-sqlite/147572)

<div class="topic-metadata">

**Author:** [@elenacurbelo](https://community.grafana.com/u/elenacurbelo)\
**Replies:** 0\
**Last updated:** [April 1, 2025, 11:29am UTC](https://community.grafana.com/t/enable-database-instrument-queries-with-sqlite/147572 "2025-04-01T11:29:35Z")

</div>

Hello! I have a Grafana OSS (v11.5.1) deployed in an EKS cluster with the default SQLite database using an AWS EFS volume. I wanted to check the latency of the database queries and wanted to enable instrument\_queries b…

---

## [\[database\] locking\_attempt\_timeout\_sec purpose](https://community.grafana.com/t/database-locking-attempt-timeout-sec-purpose/142001)

<div class="topic-metadata">

**Author:** [@oleksiiyuvchenko](https://community.grafana.com/u/oleksiiyuvchenko)\
**Replies:** 0\
**Last updated:** [January 31, 2025, 8:14am UTC](https://community.grafana.com/t/database-locking-attempt-timeout-sec-purpose/142001 "2025-01-31T08:14:27Z")

</div>

Hi Grafana Community, I’m seeking clarification on the purpose and expected behavior of locking\_attempt\_timeout\_sec as described in the official documentation: What I understand and expected: I’m configuring a Grafana…

---

## [Grafana filters MongoDB](https://community.grafana.com/t/grafana-filters-mongodb/141785)

<div class="topic-metadata">

**Author:** [@acenalmor](https://community.grafana.com/u/acenalmor)\
**Replies:** 0\
**Last updated:** [January 30, 2025, 11:35am UTC](https://community.grafana.com/t/grafana-filters-mongodb/141785 "2025-01-30T11:35:15Z")

</div>

I am making a query in Grafana connected to a MongoDB database, but I have doubts about how to use the variables that are generated from a Mongo query. I have created a variable in Grafana from a MongoDB query, but I don…

---

## [Alert rule version table in database too large](https://community.grafana.com/t/alert-rule-version-table-in-database-too-large/137270)

<div class="topic-metadata">

**Author:** [@dawiddebowski](https://community.grafana.com/u/dawiddebowski)\
**Replies:** 2\
**Last updated:** [December 12, 2024, 8:23pm UTC](https://community.grafana.com/t/alert-rule-version-table-in-database-too-large/137270 "2024-12-12T20:23:27Z")

</div>

Hello, Our alert\_rule\_version table in Grafana database (we’re using MySQL) is already about 10GB large. When we update Grafana’s version, the migration takes around 15-20 minutes and then throws an error (rn the error …

---

## [How to Configure Grafana to Access a Non-Default Firestore Database in the Same Project?](https://community.grafana.com/t/how-to-configure-grafana-to-access-a-non-default-firestore-database-in-the-same-project/136556)

<div class="topic-metadata">

**Author:** [@gathers2001](https://community.grafana.com/u/gathers2001)\
**Replies:** 4\
**Last updated:** [November 19, 2024, 6:45pm UTC](https://community.grafana.com/t/how-to-configure-grafana-to-access-a-non-default-firestore-database-in-the-same-project/136556 "2024-11-19T18:45:39Z")

</div>

Hello, I am a first-time user of Grafana and am currently trying to connect it with Google Firestore. I successfully connected to Firestore by providing the project ID and key. However, my Firestore project contains a …

---

## [Update my database table](https://community.grafana.com/t/update-my-database-table/134201)

<div class="topic-metadata">

**Author:** [@souhailkchaou](https://community.grafana.com/u/souhailkchaou)\
**Replies:** 0\
**Last updated:** [October 14, 2024, 2:23pm UTC](https://community.grafana.com/t/update-my-database-table/134201 "2024-10-14T14:23:01Z")

</div>

I want to be able to select points on the graph to retrieve information for the values and timestamps. I’d like to use the received timestamp to modify the corresponding value in a PostgreSQL table based on the selected …

---

## [What is a metric?](https://community.grafana.com/t/what-is-a-metric/106508)

<div class="topic-metadata">

**Author:** [@hogeschoolrgthi](https://community.grafana.com/u/hogeschoolrgthi)\
**Replies:** 4\
**Last updated:** [October 31, 2023, 10:51pm UTC](https://community.grafana.com/t/what-is-a-metric/106508 "2023-10-31T22:51:31Z")

</div>

Hi, I am a new Grafana user and I was wondering what a metric exactly is ? What do they mean by 10k metrics? Is that 10k different type of metric (temperature, light…) or 10k of any metrics (10k temperature data) ? Th…

---

## [Change column height in table](https://community.grafana.com/t/change-column-height-in-table/130352)

<div class="topic-metadata">

**Author:** [@buddyf](https://community.grafana.com/u/buddyf)\
**Replies:** 1\
**Last updated:** [September 5, 2024, 6:46am UTC](https://community.grafana.com/t/change-column-height-in-table/130352 "2024-09-05T06:46:50Z")

</div>

original topic was closed, couldnt reopen it, here is the issue: "Hello, i have a table in grafana (based on SQL query), and need to split the header display name with new lines, for example : original header name: “…

---

## [Grafana-server not starting (DB Migrations)](https://community.grafana.com/t/grafana-server-not-starting-db-migrations/127633)

<div class="topic-metadata">

**Author:** [@rob.loh](https://community.grafana.com/u/rob.loh)\
**Replies:** 1\
**Last updated:** [August 5, 2024, 8:56am UTC](https://community.grafana.com/t/grafana-server-not-starting-db-migrations/127633 "2024-08-05T08:56:46Z")

</div>

On Windows, I used to just click on grafana-server.exe and it would start with a nice console output. It’s been awhile since I’ve had to startup grafana, and I’m not exactly sure what has changed, but now when I click g…

---

## [Tracking Oracle Database User Activity with Grafana](https://community.grafana.com/t/tracking-oracle-database-user-activity-with-grafana/127586)

<div class="topic-metadata">

**Author:** [@vgpandula](https://community.grafana.com/u/vgpandula)\
**Replies:** 0\
**Last updated:** [August 1, 2024, 6:47am UTC](https://community.grafana.com/t/tracking-oracle-database-user-activity-with-grafana/127586 "2024-08-01T06:47:00Z")

</div>

I’m looking to track Oracle SQL Database user activity, including table and schema access. Can Grafana be used for this? Any guidance on setup would be greatly appreciated.

---

## [MQTT data not stored](https://community.grafana.com/t/mqtt-data-not-stored/118677)

<div class="topic-metadata">

**Author:** [@michaelw](https://community.grafana.com/u/michaelw)\
**Replies:** 11\
**Last updated:** [May 5, 2024, 6:44pm UTC](https://community.grafana.com/t/mqtt-data-not-stored/118677 "2024-05-05T18:44:47Z")

</div>

What Grafana version and what operating system are you using? Grafana v10.4.1 (d3ce857c0e) Debian GNU/Linux 12 (bookworm) Linux 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux …

---

## [I can't connect into the database influxdb](https://community.grafana.com/t/i-cant-connect-into-the-database-influxdb/120513)

<div class="topic-metadata">

**Author:** [@adnanerlansyah403](https://community.grafana.com/u/adnanerlansyah403)\
**Replies:** 4\
**Last updated:** [April 30, 2024, 1:47am UTC](https://community.grafana.com/t/i-cant-connect-into-the-database-influxdb/120513 "2024-04-30T01:47:41Z")

</div>

My Grafana which is downloaded from docker: \\ My InfluxDB, it’s also from docker:

---

## [Grafana HA on SQLite with memcached session and provisioned resources](https://community.grafana.com/t/grafana-ha-on-sqlite-with-memcached-session-and-provisioned-resources/118917)

<div class="topic-metadata">

**Author:** [@mortaelth](https://community.grafana.com/u/mortaelth)\
**Replies:** 4\
**Last updated:** [April 11, 2024, 5:09am UTC](https://community.grafana.com/t/grafana-ha-on-sqlite-with-memcached-session-and-provisioned-resources/118917 "2024-04-11T05:09:29Z")

</div>

Hello all, we are running Grafana where all the dashboards / datasources are strictly provisioned, write access is disabled. User store is external from AzureAD (EntraID). I know that for HA it says to use mysql / postgr…

---

## [Date import grafana](https://community.grafana.com/t/date-import-grafana/117858)

<div class="topic-metadata">

**Author:** [@thiagoaf19](https://community.grafana.com/u/thiagoaf19)\
**Replies:** 0\
**Last updated:** [March 25, 2024, 7:21pm UTC](https://community.grafana.com/t/date-import-grafana/117858 "2024-03-25T19:21:16Z")

</div>

\<Why when importing data from the database does grafana display 1 previous day? The time is like 22 o’clock while on the bank it is 00:00 which is correct.

---

## [Backup Grafana, what files are needed?](https://community.grafana.com/t/backup-grafana-what-files-are-needed/91528)

<div class="topic-metadata">

**Author:** [@jumbo125](https://community.grafana.com/u/jumbo125)\
**Replies:** 4\
**Last updated:** [January 30, 2024, 5:33pm UTC](https://community.grafana.com/t/backup-grafana-what-files-are-needed/91528 "2024-01-30T17:33:03Z")

</div>

Hello Is it correct that i only need to save the lib/grafana/ directory to restore grafana on a new system? i search for the correct way to safe all, if the system crash down and i need to reinstalll ubuntu Thank you

---

## [Having problem to get the data and tables from mssql](https://community.grafana.com/t/having-problem-to-get-the-data-and-tables-from-mssql/111228)

<div class="topic-metadata">

**Author:** [@gaston8](https://community.grafana.com/u/gaston8)\
**Replies:** 7\
**Last updated:** [January 8, 2024, 6:35am UTC](https://community.grafana.com/t/having-problem-to-get-the-data-and-tables-from-mssql/111228 "2024-01-08T06:35:50Z")

</div>

hi, I’m having trouble to get the data from mt DB se attach images: and while trying to get data from any DB this what im getting - need help with that thanks Gaston

---

## [Database locked](https://community.grafana.com/t/database-locked/109135)

<div class="topic-metadata">

**Author:** [@llamafilm](https://community.grafana.com/u/llamafilm)\
**Replies:** 4\
**Last updated:** [December 3, 2023, 8:27am UTC](https://community.grafana.com/t/database-locked/109135 "2023-12-03T08:27:49Z")

</div>

Today my email alerts have been going haywire and the Grafana webpage is not working well, it shows various server errors intermittently. Here are a few messages from the log: logger=sqlstore.transactions t=2023-12-02T…

---

## [Migrating grafana data to new database](https://community.grafana.com/t/migrating-grafana-data-to-new-database/2454)

<div class="topic-metadata">

**Author:** [@retzkek](https://community.grafana.com/u/retzkek)\
**Replies:** 34\
**Last updated:** [December 2, 2023, 10:27pm UTC](https://community.grafana.com/t/migrating-grafana-data-to-new-database/2454 "2023-12-02T22:27:55Z")

</div>

We’re moving our Grafana instances to new HA servers, so we need to move the data from sqlite to a MySQL/MariaDB (Galera) cluster. I’m curious if anyone has developed any handy tools for doing such a migration? Using th…

---

## [Problem with Postgres configuration](https://community.grafana.com/t/problem-with-postgres-configuration/105536)

<div class="topic-metadata">

**Author:** [@maxclac](https://community.grafana.com/u/maxclac)\
**Replies:** 0\
**Last updated:** [October 13, 2023, 12:47pm UTC](https://community.grafana.com/t/problem-with-postgres-configuration/105536 "2023-10-13T12:47:55Z")

</div>

What Grafana version and what operating system are you using? Grafana Version 10.1.4 on SLES 15 What are you trying to achieve? Set up Postgresql as a database How are you trying to achieve it? Editing the grafan…

[Next page](https://community.grafana.com/tag/database/235.md?match_all_tags=true&page=1&tags%5B%5D=database)
