Sonarqube Database cleaner settings not working as expected

Hi,

The default settings: Keep only one analysis a day after: 24 hours is expected to delete all the analysis for a project other than a recent one. However I could still find the different versions of analysis in the activity section for the same day.

  1. Database cleaner settings: Keep only one analysis a day after: 24 hours
    We are still seeing the more than one analysis for a day (Each analysis has different versions. Is it because different versions of analysis on same day will not be deleted as part of db cleaner?)

  2. I am having a project in sonar, which is having more analysis which are done two months back and currently the project is not configured to analyse. As part of DB Cleaner it is configured that ’ Keep only one analysis a month after: 4 weeks’. So now, automatically will it delete the 2 months old data of my project which is currently inactive.

Is my understanding right? or Am I missing any DBCleaner setup

Sonarqube Version: v7.0
DB: PostgreSQL : v9.2.18