Metrics Take too long to show

Hello everyone,

When we click on the Lines To Cover metric it takes about five minutes to show the files.
The project has about 51.000 lines.

We are using sonarqube community 8.9 and it is installed on a Linux Red Hat 7.4

wrapper.java.initmemory=8
wrapper.java.maxmemory=32

Do you guys have any idea if that’s the expected behaviour, a bug or if there is anything we can do to improve performance?

Thanks!

Hey there.

The performance here is going to be all in the database engine you’ve connected to SonarQube. What database engine are you using (Postgres, Oracle, SQL Server…) and have you checked how your database is performing? Is it under load while these requests are being made?

Hey Colin,

Thanks for the quick response!

We are using oracle. I am going to check with the database team if there’s any problems.

Thanks!