Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9218

Purge rows in CE_SCANNER_CONTEXT DB table after 4 weeks instead of 6 months currently

    XMLWordPrintable

    Details

      Description

      Currently, up to 6 months of data is kept in table CE_SCANNER_CONTEXT.
      This 6 months purge actually applies to all data related to historical background tasks.

      Given that CE_SCANNER_CONTEXT stores scanner context as file data, the size of this table can grow quite big on disk depending on how many projects are processed, how frequently they are processed and how big the projects are.

      Given that scanner context is only used for diagnosis (ie. they are seldom used when everything goes right), it may be appropriate to drop this information sooner than 6 months or according to another criteria (eg. keep only the XX most recent contexts for a given project).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              sebastien.lesaint Sebastien Lesaint
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: