This version of the SonarQube documentation is no longer maintained. It relates to a version of SonarQube that is not active.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Performance issues

In case of performance issues, you may try the following:

  • Review the SonarQube Server host for SonarQube Server linked to Elasticsearch usage.

  • Move the Elasticsearch storage to a storage with high IOPS and low latency: see Configure the Elasticsearch storage path in Installing from the ZIP file.

  • Set the Housekeeping with a reduced retention time, to limit the database size.

  • Configure the Analysis scope to reduce the number of files analyzed, leading to shorter analysis and smaller database footprint.

  • From the Enterprise Edition: increase the number of Compute Engine workers and/or configure the Compute Engine to enable parallel processing of pull requests and branch analyses for each project. See Improving performance.

  • For the Data Center Edition on Kubernetes: set up Setting up autoscaling.

  • If performance issues occur after a PostgreSQL database upgrade, try reindexing the following database tables: issues, rules, and components.

Last updated

Was this helpful?