Sonarqube database size does not shrink even after all projects are deleted

Hello team,
We are currently facing an issue with sonarqube. We want to clean up some old data from the database and we are doing it from sonar UI using below steps.
Administration > Projects > Management, selected the projects we wanted to delete, and click the “Delete” button.

Although we have deleted almost 90% of the projects completely but there is no change on the database side. Not even single GB space has been restored. In total we had 1900 projects initially with 148GB space occupied on database. We have now deleted 1650 projects and sonarqube is still using 148 GB space.

Could you please suggest why this not reflecting on the database also or what needs to be done to clean up the database.

Hey there.

For most DBs, you need to reclaim unused space.