incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Golick <jamesgol...@gmail.com>
Subject Re: Reading thousands of columns
Date Wed, 14 Apr 2010 15:50:59 GMT
Right - that make sense. I'm only fetching one row. I'll give it a try with
get_slice().

Thanks,

-James

On Wed, Apr 14, 2010 at 7:45 AM, Jonathan Ellis <jbellis@gmail.com> wrote:

> 35-50ms for how many rows of 1000 columns each?
>
> get_range_slices does not use the row cache, for the same reason that
> oracle doesn't cache tuples from sequential scans -- blowing away
> 1000s of rows worth of recently used rows queried by key, for a swath
> of rows from the scan, is the wrong call more often than it is the
> right one.
>
> On Tue, Apr 13, 2010 at 1:00 PM, James Golick <jamesgolick@gmail.com>
> wrote:
> > Hi All,
> > I'm seeing about 35-50ms to read 1000 columns from a CF using
> > get_range_slices. The columns are TimeUUIDType with empty values.
> > The row cache is enabled and I'm running the query 500 times in a row, so
> I
> > can only assume the row is cached.
> > Is that about what's expected or am I doing something wrong? (It's from
> java
> > this time, so it's not ruby thrift being slow).
> > - James
>

Mime
View raw message