cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alvin UW <alvi...@gmail.com>
Subject Re: Is secondary index consistent with its base table?
Date Fri, 11 Mar 2011 00:58:28 GMT
Thanks.

Why secondary indexes are recommended for only attributes with low
cardinality and they are not very useful for high cardinality values?

2011/3/7 Jonathan Ellis <jbellis@gmail.com>

> It does, but this is an implementation detail subject to change (e.g.,
> the bitmap indexes being added do not).
>
> On Mon, Mar 7, 2011 at 10:55 AM, Alvin UW <alvinuw@gmail.com> wrote:
> > Thanks.
> >
> > Does Cassandra store secondary index with an extra CF?
> >
> > 2011/3/7 Jonathan Ellis <jbellis@gmail.com>
> >>
> >> Yes, this is guaranteed the same way single-row updates are guaranteed
> >> to be atomic (the commitlog).
> >>
> >> On Mon, Mar 7, 2011 at 10:13 AM, Alvin UW <alvinuw@gmail.com> wrote:
> >> > Hello,
> >> >
> >> > I was wondering whether Secondary Index is consistent with its base
> >> > table?
> >> > How did you guarantee the consistency?
> >> >
> >> > Thanks
> >> >
> >> > Alvin
> >> >
> >>
> >>
> >>
> >> --
> >> Jonathan Ellis
> >> Project Chair, Apache Cassandra
> >> co-founder of DataStax, the source for professional Cassandra support
> >> http://www.datastax.com
> >
> >
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>

Mime
View raw message