Start Free
Latest | Server upgrade and maintenance | Troubleshooting | Performance issues

Troubleshooting performance issues

On this page

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

  • Review the hardware recommendations 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 the SonarQube Server 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 Compute engine performance
  • For the Data Center Edition on Kubernetes: set up autoscaling.
  • If performance issues occur after a PostgreSQL database upgrade, try reindexing the following database tables: issues, rules, and components.

Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License