Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4341

Small SSTable Segments Can Hurt Leveling Process

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.2
    • None

    Description

      This concerns:

      static int MAX_COMPACTING_L0 = 32;

      Repair can create very small SSTable segments. We should consider moving to a threshold that takes into account the size of the files brought into compaction rather than the number of files for this and similar situations. Bringing the small files from L0 to L1 magnifies the issue.

      If there are too many very small files in L0 perhaps even an intermediate compaction would even reduce the magnifying effect of a L0 to L1 compaction.

      Attachments

        1. 4341.txt
          4 kB
          Jonathan Ellis
        2. 4341-fix.txt
          9 kB
          Sylvain Lebresne

        Issue Links

          Activity

            People

              jbellis Jonathan Ellis
              bcoverston Benjamin Coverston
              Jonathan Ellis
              Yuki Morishita
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: