incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorvaldsson Justus <>
Subject SV: Consequences of Cassandra key NOT unique
Date Thu, 29 Jul 2010 06:37:23 GMT
You insert 500 rows with key "x"
And 1000 rows with key "y"
You make a query getting all rows.
It will only show two rows, the ones with the latest timestamps.

Från: Rana Aich []
Skickat: den 29 juli 2010 08:23
Ä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 <<>> wrote:
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 <<>>
> Hello,
> I was wondering what may the pitfalls in Cassandra when the Key value is not
> Will it affect the range query performance?
> Thanks and regards,
> raich

View raw message