Upgrading SonarServer from 9.9.1 to 9.9.6 is very slow the first time server start

We are actually testing migration from VM-based deployment to Kubernetes deployment.
And we faced performance issues when the new server started with test data imported from the original DB.

  • What version are you upgrading from?

    • 9.9.1to 9.9.6
    • maybe also some plugin upgrade, like rust plugin from 0.1.0 to 2.1.0
  • System information (Operating system, Java version, Database provider/version)

    • Docker image “sonarqube:9.9.6-enterprise”
    • Database PostgreSQL 12.0 on Cloud
  • What’s the issue you’re facing?

Best Regards
Johnie

Hey there.

I suggest you run a VACUUM FULL ANALYZE