# Performance issues

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

* Review the [server-host](https://docs.sonarsource.com/sonarqube-server/2025.1/setup-and-upgrade/installation-requirements/server-host "mention") 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](https://docs.sonarsource.com/sonarqube-server/2025.1/setup-and-upgrade/install-the-server/installing-sonarqube-from-zip-file#configure-the-elasticsearch-storage-path "mention") for more details.
* Set the [housekeeping](https://docs.sonarsource.com/sonarqube-server/2025.1/instance-administration/system-functions/housekeeping "mention") with a reduced retention time, to limit the database size.
* Configure the [analysis-scope](https://docs.sonarsource.com/sonarqube-server/2025.1/project-administration/analysis-scope "mention") to reduce the number of files analyzed, leading to shorter analysis and smaller database footprint.
* From the [Enterprise Edition](https://www.sonarsource.com/plans-and-pricing/enterprise/), 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](https://docs.sonarsource.com/sonarqube-server/2025.1/server-update-and-maintenance/maintenance/improving-performance "mention").
* For the Data Center Edition on Kubernetes, set up autoscaling. See [setting-up-autoscaling](https://docs.sonarsource.com/sonarqube-server/2025.1/setup-and-upgrade/deploy-on-kubernetes/setting-up-autoscaling "mention") for more details.
* If performance issues occur after a PostgreSQL database upgrade, try reindexing the following database tables: issues, rules, and components.

## Related pages <a href="#related-pages" id="related-pages"></a>

* [checking-server-logs](https://docs.sonarsource.com/sonarqube-server/2025.1/server-update-and-maintenance/troubleshooting/checking-server-logs "mention")
* [database-related-issues](https://docs.sonarsource.com/sonarqube-server/2025.1/server-update-and-maintenance/troubleshooting/database-related-issues "mention")
* [elasticsearch](https://docs.sonarsource.com/sonarqube-server/2025.1/server-update-and-maintenance/troubleshooting/elasticsearch "mention")
* [other-issues](https://docs.sonarsource.com/sonarqube-server/2025.1/server-update-and-maintenance/troubleshooting/other-issues "mention")
* [improving-performance](https://docs.sonarsource.com/sonarqube-server/2025.1/server-update-and-maintenance/maintenance/improving-performance "mention")
