# \#database

**URL:** https://community.sonarsource.com/tag/database/50.md

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

---

## [Consider adding SONAR\_JDBC\_PASSWORD\_FILE environment variable for Docker](https://community.sonarsource.com/t/consider-adding-sonar-jdbc-password-file-environment-variable-for-docker/186733)

<div class="topic-metadata">

**Author:** [@delfuego](https://community.sonarsource.com/u/delfuego)\
**Replies:** 1\
**Last updated:** [July 29, 2026, 3:02pm UTC](https://community.sonarsource.com/t/consider-adding-sonar-jdbc-password-file-environment-variable-for-docker/186733 "2026-07-29T15:02:00Z")

</div>

Must-share information (formatted with Markdown): which versions are you using: 26.7.0.124771-community how is SonarQube deployed: Docker what are you trying to achieve: be able to deploy with the JDBC password secured…

---

## [Database Migration from Oracle 12c to 19c](https://community.sonarsource.com/t/database-migration-from-oracle-12c-to-19c/62448)

<div class="topic-metadata">

**Author:** [@vk3536](https://community.sonarsource.com/u/vk3536)\
**Replies:** 2\
**Last updated:** [May 2, 2022, 5:36pm UTC](https://community.sonarsource.com/t/database-migration-from-oracle-12c-to-19c/62448 "2022-05-02T17:36:33Z")

</div>

Sonarqube version: 8.9.7 We are planning on database migration from 12c to 19c. I’ve come across DB-copy tool. Is this tool applicable only if we are migrating between different vendors? Apart from changing the db conn…

---

## [Change in UUID Pattern mid 2024 breaks Scans with 2026.3.0.123014 due to UUID Check](https://community.sonarsource.com/t/change-in-uuid-pattern-mid-2024-breaks-scans-with-2026-3-0-123014-due-to-uuid-check/182941)

<div class="topic-metadata">

**Author:** [@mstockhammer](https://community.sonarsource.com/u/mstockhammer)\
**Replies:** 6\
**Last updated:** [June 2, 2026, 7:25pm UTC](https://community.sonarsource.com/t/change-in-uuid-pattern-mid-2024-breaks-scans-with-2026-3-0-123014-due-to-uuid-check/182941 "2026-06-02T19:25:21Z")

</div>

Must-share information (formatted with Markdown): SonarQube Server Enterprise, Version 2026.3.0.123014 how is SonarQube deployed: zip SCA Scans of old projects what have you tried so far to achieve this Do not share s…

---

## [Upgrade to 26.5: Database connection cannot be established](https://community.sonarsource.com/t/upgrade-to-26-5-database-connection-cannot-be-established/182616)

<div class="topic-metadata">

**Author:** [@gian1200](https://community.sonarsource.com/u/gian1200)\
**Replies:** 6\
**Last updated:** [May 29, 2026, 3:29pm UTC](https://community.sonarsource.com/t/upgrade-to-26-5-database-connection-cannot-be-established/182616 "2026-05-29T15:29:52Z")

</div>

which versions are you using: Community Build: 26.5.0.122743-community Plugins: sonar-checkstyle sonar-cnes-report dependency-check-sonar-plugin how is SonarQube deployed: Helm what are you trying to achieve: upgr…

---

## [CE fails to insert data to issue\_stats\_by\_rule\_key table after upgrade to v2026.1](https://community.sonarsource.com/t/ce-fails-to-insert-data-to-issue-stats-by-rule-key-table-after-upgrade-to-v2026-1/177574)

<div class="topic-metadata">

**Author:** [@Tadas\_Butkevicius](https://community.sonarsource.com/u/Tadas_Butkevicius)\
**Replies:** 5\
**Last updated:** [March 2, 2026, 1:43pm UTC](https://community.sonarsource.com/t/ce-fails-to-insert-data-to-issue-stats-by-rule-key-table-after-upgrade-to-v2026-1/177574 "2026-03-02T13:43:39Z")

</div>

Issue Summary After upgrading from Enterprise Edition v2025.5 (113872) to Enterprise Edition v2026.1 (119033) we noticed issue with CE inserting data to database. Environment Details Platform: OpenShift Database: O…

---

## [Does SQ server cache tokens?](https://community.sonarsource.com/t/does-sq-server-cache-tokens/172651)

<div class="topic-metadata">

**Author:** [@MisterPi](https://community.sonarsource.com/u/MisterPi)\
**Replies:** 2\
**Last updated:** [January 23, 2026, 6:00pm UTC](https://community.sonarsource.com/t/does-sq-server-cache-tokens/172651 "2026-01-23T18:00:40Z")

</div>

Last year I asked about the SQ server interacting with AD (Do revoked tokens persist in SonarQube?). I have a followup question as we’re trying to diagnose some network issues. Basically, the previous discussion told m…

---

## [SonarQube Server 8.9.10 → 9.9 LTA Upgrade Failure: “Migration history table is missing”](https://community.sonarsource.com/t/sonarqube-server-8-9-10-9-9-lta-upgrade-failure-migration-history-table-is-missing/150080)

<div class="topic-metadata">

**Author:** [@demirfurkan](https://community.sonarsource.com/u/demirfurkan)\
**Replies:** 3\
**Last updated:** [October 14, 2025, 11:12am UTC](https://community.sonarsource.com/t/sonarqube-server-8-9-10-9-9-lta-upgrade-failure-migration-history-table-is-missing/150080 "2025-10-14T11:12:10Z")

</div>

Hello everyone, I have successfully upgraded my SonarQube Server instance from v8.6.1 to v8.9.10 Developer Edition. During this upgrade, both the database migration and Elasticsearch reindexing processes completed succ…

---

## [SonarQube Upgrade Issue: Background Task Failure (Compute Engine)](https://community.sonarsource.com/t/sonarqube-upgrade-issue-background-task-failure-compute-engine/138086)

<div class="topic-metadata">

**Author:** [@Tadas\_Butkevicius](https://community.sonarsource.com/u/Tadas_Butkevicius)\
**Replies:** 6\
**Last updated:** [September 23, 2025, 3:08pm UTC](https://community.sonarsource.com/t/sonarqube-upgrade-issue-background-task-failure-compute-engine/138086 "2025-09-23T15:08:54Z")

</div>

Issue Summary After upgrading from SonarQube 9.9.4-enterprise to v2025.1.1 (104738) Enterprise, we are experiencing issues with background tasks for analysis (Compute Engine). Environment Details Platform: OpenShift Da…

---

## [How to estimate upgrade time (database migration)](https://community.sonarsource.com/t/how-to-estimate-upgrade-time-database-migration/142806)

<div class="topic-metadata">

**Author:** [@Eidil](https://community.sonarsource.com/u/Eidil)\
**Replies:** 1\
**Last updated:** [June 16, 2025, 9:35am UTC](https://community.sonarsource.com/t/how-to-estimate-upgrade-time-database-migration/142806 "2025-06-16T09:35:09Z")

</div>

Must-share information (formatted with Markdown): which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension): → 2 SonarQube Server 9.9 LTA instances, planning to mo…

---

## [DB is bloated and cleanup doesn't help](https://community.sonarsource.com/t/db-is-bloated-and-cleanup-doesnt-help/141462)

<div class="topic-metadata">

**Author:** [@cindy-rahbani](https://community.sonarsource.com/u/cindy-rahbani)\
**Replies:** 1\
**Last updated:** [May 19, 2025, 11:41pm UTC](https://community.sonarsource.com/t/db-is-bloated-and-cleanup-doesnt-help/141462 "2025-05-19T23:41:38Z")

</div>

Hello, We have a bloated database (we are using postgresql) of 500Gb. We tried cleaning up manually all old branches and PRs and analyses (and they were a lot , more than 500..) from all projects on the instance using …

---

## [SonarQube community edition support for SQL Azure database and SQL Server Managed Instance](https://community.sonarsource.com/t/sonarqube-community-edition-support-for-sql-azure-database-and-sql-server-managed-instance/138664)

<div class="topic-metadata">

**Author:** [@sschavan96](https://community.sonarsource.com/u/sschavan96)\
**Replies:** 1\
**Last updated:** [April 14, 2025, 1:04pm UTC](https://community.sonarsource.com/t/sonarqube-community-edition-support-for-sql-azure-database-and-sql-server-managed-instance/138664 "2025-04-14T13:04:34Z")

</div>

We are using SonarQube Community Build version 8.6 deployed using zip with SQL Sever 2017 On-Prem. We are looking to migrate the SQL server to either Azure SQL database or SQL Server Managed instance on Azure. Please l…

---

## [Add new key for jdbc username in helm values.yml](https://community.sonarsource.com/t/add-new-key-for-jdbc-username-in-helm-values-yml/136858)

<div class="topic-metadata">

**Author:** [@gian1200](https://community.sonarsource.com/u/gian1200)\
**Replies:** 2\
**Last updated:** [March 17, 2025, 12:26pm UTC](https://community.sonarsource.com/t/add-new-key-for-jdbc-username-in-helm-values-yml/136858 "2025-03-17T12:26:51Z")

</div>

Currently, values.yml does offer some properties to avoid writing the DB password in the file (jdbcSecretName and jdbcSecretPasswordKey). However, it is not the same for the username. Could it be possible to create a ne…

---

## [SELECT Security Hotspot from DB](https://community.sonarsource.com/t/select-security-hotspot-from-db/61694)

<div class="topic-metadata">

**Author:** [@Massimiliano](https://community.sonarsource.com/u/Massimiliano)\
**Replies:** 2\
**Last updated:** [March 14, 2025, 4:43pm UTC](https://community.sonarsource.com/t/select-security-hotspot-from-db/61694 "2025-03-14T16:43:06Z")

</div>

Hi, i have a “simple” question :smiley: Is there a method to read (select) security hotspots regading a specific project directly from sonarqube database? I found how read about issue (simply, there is a table named “i…

---

## [Database Migration Issue Upgrading from 10.6 to 10.8.1 (24.12.0.100206-community)](https://community.sonarsource.com/t/database-migration-issue-upgrading-from-10-6-to-10-8-1-24-12-0-100206-community/135747)

<div class="topic-metadata">

**Author:** [@kevin-vuong99](https://community.sonarsource.com/u/kevin-vuong99)\
**Replies:** 3\
**Last updated:** [March 10, 2025, 1:38pm UTC](https://community.sonarsource.com/t/database-migration-issue-upgrading-from-10-6-to-10-8-1-24-12-0-100206-community/135747 "2025-03-10T13:38:27Z")

</div>

Hello, We are currently on version 10.6 of SonarQube and tried upgrading to 24.12.0.100206-community (10.8.1) but have encountered an error with the database. We’ve tested it on our dev environment and it has worked, so…

---

## [New database tables created after server migration from 8.9.2 to 8.9.10](https://community.sonarsource.com/t/new-database-tables-created-after-server-migration-from-8-9-2-to-8-9-10/135875)

<div class="topic-metadata">

**Author:** [@arabenstein](https://community.sonarsource.com/u/arabenstein)\
**Replies:** 1\
**Last updated:** [February 27, 2025, 9:58am UTC](https://community.sonarsource.com/t/new-database-tables-created-after-server-migration-from-8-9-2-to-8-9-10/135875 "2025-02-27T09:58:32Z")

</div>

I’m running SonarQube Developer Edition version 8.9.2 on a Windows Server, where the database is stored in a local MSSQL 2017 instance. Now I needed to migrate to a new server, so I copied the database to the new MSSQL …

---

## [Sonar database size growth](https://community.sonarsource.com/t/sonar-database-size-growth/134758)

<div class="topic-metadata">

**Author:** [@Anjali\_Bhat](https://community.sonarsource.com/u/Anjali_Bhat)\
**Replies:** 3\
**Last updated:** [February 19, 2025, 8:02am UTC](https://community.sonarsource.com/t/sonar-database-size-growth/134758 "2025-02-19T08:02:44Z")

</div>

Hi, We are facing issues with database size growth. From the beginning of the January 2025 our database size is growing rapidly. We have tried to modify existing SonarQube housekeeping settings, we saw kind of improveme…

---

## [Problem migrating Sonar DB from sql express to sql developer](https://community.sonarsource.com/t/problem-migrating-sonar-db-from-sql-express-to-sql-developer/134545)

<div class="topic-metadata">

**Author:** [@jbruno](https://community.sonarsource.com/u/jbruno)\
**Replies:** 3\
**Last updated:** [February 5, 2025, 6:53pm UTC](https://community.sonarsource.com/t/problem-migrating-sonar-db-from-sql-express-to-sql-developer/134545 "2025-02-05T18:53:32Z")

</div>

Must-share information (formatted with Markdown): using SonarQube 9.9 developer license deployed with zip I’m trying to migrate the sonar DB from a sql server express edition to sql server developer edition. I …

---

## [Project Data Reload Background issues after upgrading to Developer 10.8](https://community.sonarsource.com/t/project-data-reload-background-issues-after-upgrading-to-developer-10-8/133458)

<div class="topic-metadata">

**Author:** [@giturr14](https://community.sonarsource.com/u/giturr14)\
**Replies:** 4\
**Last updated:** [January 24, 2025, 5:25pm UTC](https://community.sonarsource.com/t/project-data-reload-background-issues-after-upgrading-to-developer-10-8/133458 "2025-01-24T17:25:10Z")

</div>

Hi All, I have recently upgraded my SonarQube instance from Community version 10.6 to Developer version 10.8 (Previously i upgraded from Community version 10.3 → Community version 10.6). After the upgrade i started gett…

---

## [How to reduce the number of database connections](https://community.sonarsource.com/t/how-to-reduce-the-number-of-database-connections/133839)

<div class="topic-metadata">

**Author:** [@y0anfa](https://community.sonarsource.com/u/y0anfa)\
**Replies:** 1\
**Last updated:** [January 23, 2025, 2:27pm UTC](https://community.sonarsource.com/t/how-to-reduce-the-number-of-database-connections/133839 "2025-01-23T14:27:33Z")

</div>

Hi, We are currently using SonarQube Server Community Edition 10.7.0, deployed using Helm, and we are trying to reduce the number of database connections (we use RDS with Postgres) using environment variables. We tried…

---

## [Database not releasing space after project deletion](https://community.sonarsource.com/t/database-not-releasing-space-after-project-deletion/133079)

<div class="topic-metadata">

**Author:** [@abhimankhutia](https://community.sonarsource.com/u/abhimankhutia)\
**Replies:** 1\
**Last updated:** [January 8, 2025, 12:08pm UTC](https://community.sonarsource.com/t/database-not-releasing-space-after-project-deletion/133079 "2025-01-08T12:08:01Z")

</div>

Setup I’m having an issue with SonarQube CE 9.9.1 deployed through zip/.jar. SonarQube is connected to a Oracle 19C ADB database. Goal Recover database storage by deleting stale projects in SonarQube through UI/API Call…

---

## [How much database storage is needed to a new comunity build instalation?](https://community.sonarsource.com/t/how-much-database-storage-is-needed-to-a-new-comunity-build-instalation/130975)

<div class="topic-metadata">

**Author:** [@Hazael\_Dorantes\_Libe](https://community.sonarsource.com/u/Hazael_Dorantes_Libe)\
**Replies:** 2\
**Last updated:** [November 26, 2024, 1:00pm UTC](https://community.sonarsource.com/t/how-much-database-storage-is-needed-to-a-new-comunity-build-instalation/130975 "2024-11-26T13:00:30Z")

</div>

SonarQube Server Community Build I downloaded a zip file. I want to make a new instalation. Hi. I want to install the comunity build, and i need to know how much storage is needed. I will use a PostgresSQL database. W…

---

## [Not able to configure SonarQube with Azure SQL with authentication=ActiveDirectoryManagedIdentity](https://community.sonarsource.com/t/not-able-to-configure-sonarqube-with-azure-sql-with-authentication-activedirectorymanagedidentity/95808)

<div class="topic-metadata">

**Author:** [@sen.mithun.383](https://community.sonarsource.com/u/sen.mithun.383)\
**Replies:** 5\
**Last updated:** [November 18, 2024, 2:43pm UTC](https://community.sonarsource.com/t/not-able-to-configure-sonarqube-with-azure-sql-with-authentication-activedirectorymanagedidentity/95808 "2024-11-18T14:43:23Z")

</div>

which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) =\> SonarQube 10.1.0 (evaluation version) how is SonarQube deployed: zip, Docker, Helm =\> via. zip (from SonarQube) what are you tryin…

---

## [Issue with Upgrade from Version 10.6.92116 to 10.7.0.96327](https://community.sonarsource.com/t/issue-with-upgrade-from-version-10-6-92116-to-10-7-0-96327/129287)

<div class="topic-metadata">

**Author:** [@Marco\_Stronati](https://community.sonarsource.com/u/Marco_Stronati)\
**Replies:** 13\
**Last updated:** [November 14, 2024, 6:18pm UTC](https://community.sonarsource.com/t/issue-with-upgrade-from-version-10-6-92116-to-10-7-0-96327/129287 "2024-11-14T18:18:01Z")

</div>

Hello everyone, We recently upgraded SonarQube on our server from version 10.6.92116 to 10.7.0.96327. After the upgrade, we were prompted to update the database, so we navigated to \<SERVER\_URL\>/setup and clicked on “Up…

---

## [Connection reset by peer while persisting analysis data into Database](https://community.sonarsource.com/t/connection-reset-by-peer-while-persisting-analysis-data-into-database/120403)

<div class="topic-metadata">

**Author:** [@mvillanueva](https://community.sonarsource.com/u/mvillanueva)\
**Replies:** 13\
**Last updated:** [November 14, 2024, 10:57am UTC](https://community.sonarsource.com/t/connection-reset-by-peer-while-persisting-analysis-data-into-database/120403 "2024-11-14T10:57:59Z")

</div>

Dear all, I am using SonarQube Server 9.9.6 Enterprise Edition and Oracle Database 19c. I have a specific project that I cannot analyze in SonarQube because in the step to persist data, it rises the error “Connection r…

---

## [How to release the space of the embedded h2 database](https://community.sonarsource.com/t/how-to-release-the-space-of-the-embedded-h2-database/129939)

<div class="topic-metadata">

**Author:** [@gulvxingren](https://community.sonarsource.com/u/gulvxingren)\
**Replies:** 2\
**Last updated:** [November 7, 2024, 9:23am UTC](https://community.sonarsource.com/t/how-to-release-the-space-of-the-embedded-h2-database/129939 "2024-11-07T09:23:02Z")

</div>

I am using the embedded h2 database to store the project information, and as a feature, embedded h2 database won’t release the space even if the corresponding project has been deleted, making the size of sonar.mv.db larg…

---

## [Error querying database](https://community.sonarsource.com/t/error-querying-database/124595)

<div class="topic-metadata">

**Author:** [@AlexBijlsma](https://community.sonarsource.com/u/AlexBijlsma)\
**Replies:** 2\
**Last updated:** [September 9, 2024, 8:34am UTC](https://community.sonarsource.com/t/error-querying-database/124595 "2024-09-09T08:34:27Z")

</div>

Using versions: SonarQube: 10.4.0.87286 SonarScanner: 6.1.0.4477-linux-x64 How is SonarQube deployed Docker via build step in Jenkins pipeline What am I trying to achieve Enable iterative builds for C++ project (…

---

## [TABLE sqlplus\_product\_profile is not present in the DESTINATION database](https://community.sonarsource.com/t/table-sqlplus-product-profile-is-not-present-in-the-destination-database/119787)

<div class="topic-metadata">

**Author:** [@Pascal\_GUINET](https://community.sonarsource.com/u/Pascal_GUINET)\
**Replies:** 5\
**Last updated:** [July 29, 2024, 8:46am UTC](https://community.sonarsource.com/t/table-sqlplus-product-profile-is-not-present-in-the-destination-database/119787 "2024-07-29T08:46:37Z")

</div>

Hello there, I have a Sonarqube installation from zip (10.5) with an Oracle database that I’d like to transfer to a Docker installation with a Postgresql database. I did the following operations : start from scratch…

---

## [Sonarqube is not starting after change of SQL DB server change to 2022](https://community.sonarsource.com/t/sonarqube-is-not-starting-after-change-of-sql-db-server-change-to-2022/116185)

<div class="topic-metadata">

**Author:** [@subramadluru](https://community.sonarsource.com/u/subramadluru)\
**Replies:** 5\
**Last updated:** [June 2, 2024, 5:24am UTC](https://community.sonarsource.com/t/sonarqube-is-not-starting-after-change-of-sql-db-server-change-to-2022/116185 "2024-06-02T05:24:02Z")

</div>

Must-share information (formatted with Markdown): which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension):9.9.4 how is SonarQube deployed: zip, Docker, Helm: zip what are you trying to ach…

---

## [Problems with postgres datebase migration (11 to 15) during SonarQube upgrade (8.9.9 to 9.9.4)](https://community.sonarsource.com/t/problems-with-postgres-datebase-migration-11-to-15-during-sonarqube-upgrade-8-9-9-to-9-9-4/112651)

<div class="topic-metadata">

**Author:** [@matthias.goetz](https://community.sonarsource.com/u/matthias.goetz)\
**Replies:** 2\
**Last updated:** [April 9, 2024, 5:50am UTC](https://community.sonarsource.com/t/problems-with-postgres-datebase-migration-11-to-15-during-sonarqube-upgrade-8-9-9-to-9-9-4/112651 "2024-04-09T05:50:18Z")

</div>

In our project we want to update SonarQube (Developer Edition) from version 8.9.9 to version 9.9.4. For this it is necessary to update the Postgres 11 database (runs in a Docker container) to Postgres 15. We used this gu…

---

## [Migrate SonarQube Scan History from 8.9 to 10.4](https://community.sonarsource.com/t/migrate-sonarqube-scan-history-from-8-9-to-10-4/112279)

<div class="topic-metadata">

**Author:** [@sonarprincipal](https://community.sonarsource.com/u/sonarprincipal)\
**Replies:** 1\
**Last updated:** [March 29, 2024, 3:11pm UTC](https://community.sonarsource.com/t/migrate-sonarqube-scan-history-from-8-9-to-10-4/112279 "2024-03-29T15:11:39Z")

</div>

Hi all, We currently have SonarQube Community 8.9 installed on an Azure based VM and we’re currently building out a new SonarQube environment based on 10.4 in AKS using Helm. Both environments are using SQL based databa…

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