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

Use allocator information to improve memtable memory usage estimate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.12, 1.2.5
    • None
    • None
    • Low

    Description

      A user reported that Cassandra's estimate of memtable space used was off by a factor of between 3 and 10 for his counter columnfamilies.

      We may or may not be able to fix the counter estimate (counter merging is a cranky best, and unlike normal merging can involve allocating new objects), but we can definitely use the SlabAllocator information to cap the error in our estimate at a fairly low amount.

      Attachments

        1. 5497-v2.txt
          3 kB
          Jonathan Ellis
        2. 5497.txt
          2 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            jbellis Jonathan Ellis
            Jonathan Ellis
            Jason Brown
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: