1

I am running SonarQube 6.4 on Windows with a SQL Express database. The database has now reached the 10Gb limit of SQL Express and I would like to make it smaller.

I have remove some old projects and changed the 'Database Cleaner' settings but the database remains the same size (there isn't any free space in the files to shrink it).

Is there a way to force SonarQube to clean-up old/deleted projects?

G. Ann - SonarSource Team
  • 22,346
  • 4
  • 40
  • 76
Neil
  • 2,677
  • 1
  • 16
  • 9

1 Answers1

2

Old analysises are automatically clean up after 5 years. Consider to lower that period in Administration > General > Database Cleaner.

slartidan
  • 20,403
  • 15
  • 83
  • 131
  • I have dropped that value to 52, although we have only been using it for 6 months so that probably won't apply. I have deleted some projects that we no longer use but it still hasn't reduced the database size. – Neil Jul 24 '17 at 15:46