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

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.2
    • 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.2-4694-populate_io_cache_v3.txt
          37 kB
          Aleksei Zotov
        2. cassandra-1.1-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.2-4694-populate_io_cache.txt
          30 kB
          Aleksei Zotov
        5. cassandra-1.2-populate_io_cache_v4.txt
          38 kB
          Aleksei Zotov

        Activity

          People

            azotcsit Aleksei Zotov
            azotcsit Aleksei Zotov
            Aleksei Zotov
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: