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

Make index_interval be measured in kb (instead of number of keys)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Not A Problem
    • 4.1-alpha1, 4.1
    • Local/Config
    • None

    Description

      Currently, index_interval is measured in number of keys: how may keys before adding an entry to the index summary. After CASSANDRA-2319, each index entry also contains the columns index for the row, so index entry can be a bit bigger and of differing sizes. Measuring in number of keys is thus sub-optimal and difficult to tune, since you might want a different setting depending of whether your rows are big or small, but the setting is global.

      So we should move to measuring the interval in bytes.

      Attachments

        1. 4478-incomplete.txt
          9 kB
          Sylvain Lebresne

        Issue Links

          Activity

            People

              Unassigned Unassigned
              slebresne Sylvain Lebresne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: