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

Make prepared statement cache size configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.6
    • Legacy/CQL
    • None
    • 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

            snazy Robert Stupp
            snazy Robert Stupp
            Robert Stupp
            Benjamin Lerer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: