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

Migrate cached pages during compaction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • 1.0.0
    • None
    • None

    Description

      Post CASSANDRA-1470 there is an opportunity to migrate cached pages from a pre-compacted CF during the compaction process. This is now important since CASSANDRA-1470 caches effectively nothing.

      For example an active CF being compacted hurts reads since nothing is cached in the new SSTable.

      The purpose of this ticket then is to make sure SOME data is cached from active CFs. This can be done my monitoring which Old SSTables are in the page cache and caching active rows in the New SStable.

      A simpler yet similar approach is described here: http://insights.oetiker.ch/linux/fadvise/

      Attachments

        1. CASSANDRA-1902-v9-trunk-with-jmx.patch
          81 kB
          Pavel Yaskevich
        2. CASSANDRA-1902-v9-trunk-rebased.patch
          81 kB
          Pavel Yaskevich
        3. CASSANDRA-1902-v9-trunk.patch
          79 kB
          Pavel Yaskevich
        4. CASSANDRA-1902-v9.patch
          79 kB
          Pavel Yaskevich
        5. CASSANDRA-1902-v8.patch
          76 kB
          Pavel Yaskevich
        6. CASSANDRA-1902-v7.patch
          77 kB
          Pavel Yaskevich
        7. CASSANDRA-1902-v6.patch
          70 kB
          Pavel Yaskevich
        8. CASSANDRA-1902-v5.patch
          69 kB
          Pavel Yaskevich
        9. CASSANDRA-1902-v4.patch
          62 kB
          Pavel Yaskevich
        10. CASSANDRA-1902-v3.patch
          65 kB
          Pavel Yaskevich
        11. CASSANDRA-1902-v10-trunk-rebased.patch
          81 kB
          Pavel Yaskevich
        12. ASF.LICENSE.NOT.GRANTED--0001-CASSANDRA-1902-cache-migration-impl-with-config-option.txt
          33 kB
          T Jake Luciani
        13. 1902-per-column-migration-rebase2.txt
          69 kB
          T Jake Luciani
        14. 1902-per-column-migration.txt
          69 kB
          T Jake Luciani
        15. 1902-formatted.txt
          30 kB
          Jonathan Ellis
        16. 1902-BufferedSegmentedFile-logandsleep.txt
          3 kB
          Peter Schuller

        Activity

          People

            xedin Pavel Yaskevich
            tjake T Jake Luciani
            Pavel Yaskevich
            T Jake Luciani
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 32h Original Estimate - 32h
                32h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 56h
                56h