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

Make sstable format configurable per table

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Normal
    • Resolution: Unresolved
    • 5.x
    • None
    • Semantic
    • Normal
    • All
    • None
    • Hide

      ut and jvm dt

      Show
      ut and jvm dt

    Description

      Some SSTable format settings need to be configurable per table for better efficiency. This includes:

      • row_index_granularity
      • bloom_filter_fp_chance
      • crc_check_chance
      • min/max_index_interval

      Some of these are currently configurable using direct properties of tables. Having them as format properties makes better sense and should also support specifying useable combinations of settings, e.g.

      CREATE TABLE ... WITH sstable_format = "bti-fast";
      CREATE TABLE ... WITH sstable_format = "bti-small";
      

      where bti-fast and bti-small can be defined in cassandra.yaml e.g. as

      sstable.format.options:
        - bti-fast:
            row_index_granularity: 1kiB
            bloom_filter_fp_chance: 0.01
        - bti-small:
            row_index_granularity: 32kiB
            bloom_filter_fp_chance: 0.1
      

      Attachments

        Issue Links

          Activity

            People

              maxwellguo Maxwell Guo
              blambov Branimir Lambov
              Maxwell Guo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h