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

Allow index sampling ratio to be configured in storage-conf

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7 beta 2
    • None
    • None

    Description

      Cassandra keeps a sample of row keys in memory to look up the right block of index entries, to look up row data with. This is kept in the SSTableReader.indexSummary field. (See Google's BigTable paper for a high-level description of how this index works; cassandra's is slightly different in the details but the idea is the same.)

      We'd like to make IndexSummary.INDEX_INTERVAL configurable in storage-conf.xml, i.e., in the DatabaseDescriptor class. For 0.6, a global setting is fine.

      Attachments

        1. 1488.txt
          5 kB
          Jon Hermes
        2. 1488-TOTRUNK.txt
          5 kB
          Jon Hermes
        3. 1488-TOTRUNK-actual_commit_this_time.txt
          8 kB
          Jon Hermes

        Activity

          People

            jhermes Jon Hermes
            jbellis Jonathan Ellis
            Jon Hermes
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: