Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-1005

make MajorCompaction and MinorCompactions controlled by at least time of the day/day of the week

    XMLWordPrintableJSON

    Details

      Description

      MajorCompaction and Minor Compactions are strictly frequency based.
      They should be at least time of the day based.

      Ideally we should run longer compactions during low system load in background, and if the system load raises, reduce the compaction depending on the disk availability.
      Simpler first step would be to schedule "deeper" compaction at the times of the day/days of the week with typically lower load.
      i.e. set major compaction threshold to 0.4 normally, 0.6 at night/weekdays and 0.8 at night/Saturday.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ayegorov Andrey Yegorov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: