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

populate_io_cache_on_flush option should be configurable for each column family independently

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.2.2
    • Component/s: None

      Description

      I suggest to configure populate_io_cache_on_flush option for each column family. It should be configurable from cassandra-cli and should be stored in System keyspace.

      That could be useful if you have a few column families inside single keyspace and you need to fit in memory only one of them.

      Patch has been attached. I've been testing it on pseudo-cluster using ccm. So I don't have fully confidence about lack of bugs. Please carefully review that code.

        Attachments

        1. cassandra-1.1-4694-populate_io_cache.txt
          30 kB
          Aleksei Zotov
        2. cassandra-1.2-4694-populate_io_cache.txt
          30 kB
          Aleksei Zotov
        3. cassandra-1.2-4694-populate_io_cache_v2.txt
          30 kB
          Aleksei Zotov
        4. cassandra-1.1.2-4694-populate_io_cache_v3.txt
          37 kB
          Aleksei Zotov
        5. cassandra-1.2-populate_io_cache_v4.txt
          38 kB
          Aleksei Zotov

          Activity

            People

            • Assignee:
              azotcsit Aleksei Zotov
              Reporter:
              azotcsit Aleksei Zotov
              Authors:
              Aleksei Zotov
              Reviewers:
              Brandon Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: