Re: Row cache functionality - Some confusion

2018-03-13 Thread Rahul Singh
It’s pretty clear to me that the only thing that gets put into the caches are the top N rows. https://github.com/apache/cassandra/blob/0db88242c66d3a7193a9ad836f9a515b3ac7f9fa/src/java/org/apache/cassandra/db/SinglePartitionReadCommand.java#L523 It may fetch more, but it doesn’t cache it. It

Re: Row cache functionality - Some confusion

2018-03-12 Thread Hannu Kröger
> On 12 Mar 2018, at 14:45, Rahul Singh wrote: > > I may be wrong, but what I’ve read and used in the past assumes that the > “first” N rows are cached and the clustering key design is how I change what > N rows are put into memory. Looking at the code, it seems

Re: Row cache functionality - Some confusion

2018-03-12 Thread Rahul Singh
I may be wrong, but what I’ve read and used in the past assumes that the “first” N rows are cached and the clustering key design is how I change what N rows are put into memory. Looking at the code, it seems that’s the case. The language of the comment basically says that it holds in cache what

Re: Row cache functionality - Some confusion

2018-03-12 Thread Hannu Kröger
Hi, My goal is to make sure that I understand functionality correctly and that the documentation is accurate. The question in other words: Is the documentation or the comment in the code wrong (or inaccurate). Hannu > On 12 Mar 2018, at 13:00, Rahul Singh

Re: Row cache functionality - Some confusion

2018-03-12 Thread Rahul Singh
What’s the goal? How big are your partitions , size in MB and in rows? -- Rahul Singh rahul.si...@anant.us Anant Corporation On Mar 12, 2018, 6:37 AM -0400, Hannu Kröger , wrote: > Anyone? > > > On 4 Mar 2018, at 20:45, Hannu Kröger wrote: > > > > Hello, >

Re: Row cache functionality - Some confusion

2018-03-12 Thread Hannu Kröger
Anyone? > On 4 Mar 2018, at 20:45, Hannu Kröger wrote: > > Hello, > > I am trying to verify and understand fully the functionality of row cache in > Cassandra. > > I have been using mainly two different sources for information: >

Row cache functionality - Some confusion

2018-03-04 Thread Hannu Kröger
Hello, I am trying to verify and understand fully the functionality of row cache in Cassandra. I have been using mainly two different sources for information: