Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 1.2.10, 2.0.1
    • Component/s: None
    • Labels:
      None

      Description

      Arena allocation (CASSANDRA-2252) dramatically improves garbage collection performance, but it can limit the number of tables that can be practically defined in the schema since you have a minimum of 1MB of heap per table.

      Although having more than dozens or hundreds of tables defined is almost certainly a Bad Idea (just as it is a design smell in a relational database), it's relatively straightforward to allow disabling the SlabAllocator.

      1. 5935.txt
        6 kB
        Jonathan Ellis
      2. 5935-v2.txt
        7 kB
        Jonathan Ellis

        Activity

        Hide
        jbellis Jonathan Ellis added a comment -

        Note that I've deliberately omitted this setting from cassandra.yaml; see above on "almost certainly a Bad Idea."

        Show
        jbellis Jonathan Ellis added a comment - Note that I've deliberately omitted this setting from cassandra.yaml; see above on "almost certainly a Bad Idea."
        Hide
        jbellis Jonathan Ellis added a comment -

        v2 fixes constructor visibility

        Show
        jbellis Jonathan Ellis added a comment - v2 fixes constructor visibility
        Hide
        jasobrown Jason Brown added a comment -

        lgtm.

        Show
        jasobrown Jason Brown added a comment - lgtm.
        Hide
        jbellis Jonathan Ellis added a comment -

        Committed to 1.2.10 and 2.0.1 (but not 2.0.0).

        Show
        jbellis Jonathan Ellis added a comment - Committed to 1.2.10 and 2.0.1 (but not 2.0.0).

          People

          • Assignee:
            jbellis Jonathan Ellis
            Reporter:
            jbellis Jonathan Ellis
            Reviewer:
            Jason Brown
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development