Performance issues

Steps to consider when addressing performance issues.

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

  • Review the SonarQube Server host requirements 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 for more details.

  • 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 autoscaling. See Setting up autoscaling for more details.

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

Last updated

Was this helpful?