cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcasandra <mohitanch...@gmail.com>
Subject Re: Understanding Indexes
Date Thu, 24 Feb 2011 19:18:38 GMT

Thanks! I am thinking more in terms where you have millions of keys (rows).
For eg: UUID as a row key. or there could millions of users. 

So are we saying that we should NOT create column families with these many
keys? What are the other options in such cases?

UserProfile = { // this is a ColumnFamily
>    1 {   // this is the key to this Row inside the CF
>        // now we have an infinite # of columns in this row
>        username: "phatduckk",
>        email: "[hidden email]",
>        phone: "(900) 976-6666"
>    }, // end row
>    2 {   // this is the key to another row in the CF
>        // now we have another infinite # of columns in this row
>        username: "ieure",
>        email: "[hidden email]",
>        phone: "(888) 555-1212"
>        age: "66",
>        gender: "undecided"
>    },
> }

-- 
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Understanding-Indexes-tp6058238p6061574.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message