Re: Consequences of Cassandra key NOT unique

2010-07-29 Thread Benjamin Black
o rows, the ones with the latest timestamps. > > /Justus > > > > Från: Rana Aich [mailto:aichr...@gmail.com] > Skickat: den 29 juli 2010 08:23 > Till: user@cassandra.apache.org > Ämne: Re: Consequences of Cassandra key NOT unique > > > > Thanks for your reply!

SV: Consequences of Cassandra key NOT unique

2010-07-28 Thread Thorvaldsson Justus
.apache.org Ämne: Re: Consequences of Cassandra key NOT unique Thanks for your reply! I thought in that case a new row would be inserted with a new timestamp and cassandra will report the new row. But how this will affect my range query? It would not affect it. On Wed, Jul 28, 2010 at 7:03 PM, Benjamin Black

Re: Consequences of Cassandra key NOT unique

2010-07-28 Thread Rana Aich
Thanks for your reply! I thought in that case a new row would be inserted with a new timestamp and cassandra will report the new row. But how this will affect my range query? On Wed, Jul 28, 2010 at 7:03 PM, Benjamin Black wrote: > If you write new data with a key that is already present, the ex

Re: Consequences of Cassandra key NOT unique

2010-07-28 Thread Benjamin Black
If you write new data with a key that is already present, the existing columns are overwritten or new columns are added. There is no way to cause a duplicate key to be inserted. On Wed, Jul 28, 2010 at 6:16 PM, Rana Aich wrote: > Hello, > I was wondering what may the pitfalls in Cassandra when t

Consequences of Cassandra key NOT unique

2010-07-28 Thread Rana Aich
Hello, I was wondering what may the pitfalls in Cassandra when the Key value is not UNIQUE? Will it affect the range query performance? Thanks and regards, raich