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

Make prepared statement cache size configurable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 3.6
    • Component/s: Legacy/CQL
    • Labels:
      None
    • Impacts:
      Docs

      Description

      The prepared statement caches in org.apache.cassandra.cql3.QueryProcessor are configured using the formula Runtime.getRuntime().maxMemory() / 256. Sometimes applications may need more than that. Proposal is to make that value configurable - probably also distinguish thrift and native CQL3 queries (new applications don't need the thrift stuff).

        Attachments

          Activity

            People

            • Assignee:
              snazy Robert Stupp
              Reporter:
              snazy Robert Stupp
              Authors:
              Robert Stupp
              Reviewers:
              Benjamin Lerer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: