[ https://issues.apache.org/jira/browse/CASSANDRA-5357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13870962#comment-13870962 ]
Jonathan Ellis commented on CASSANDRA-5357: ------------------------------------------- We're talking about static CFs aka partition key == primary key, right? Then there is one row per partition, so there is no need for a special "rows per partition = all" setting. The case you describe of "wanting to cache a full table" is not dependent on rows per partition but on cache size = number of partitions cached. > Query cache / partition head cache > ---------------------------------- > > Key: CASSANDRA-5357 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5357 > Project: Cassandra > Issue Type: New Feature > Reporter: Jonathan Ellis > Assignee: Marcus Eriksson > Fix For: 2.1 > > Attachments: 0001-Cache-a-configurable-amount-of-columns-v2.patch, > 0001-Cache-a-configurable-amount-of-columns.patch > > > I think that most people expect the row cache to act like a query cache, > because that's a reasonable model. Caching the entire partition is, in > retrospect, not really reasonable, so it's not surprising that it catches > people off guard, especially given the confusion we've inflicted on ourselves > as to what a "row" constitutes. > I propose replacing it with a true query cache. -- This message was sent by Atlassian JIRA (v6.1.5#6160)