cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamar Fraenkel <ta...@tok-media.com>
Subject key sorting question
Date Wed, 07 Mar 2012 06:51:36 GMT
Hi!
I am currently experimenting with Cassandra 1.0.7, but while reading
http://www.datastax.com/dev/blog/schema-in-cassandra-1-1
something caught my eye:
"Cassandra orders version 1
UUIDs<http://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_.28MAC_address.29>
by
their time component"
Is this true?
If I have for example USER_CF where key is randomly generated
java.util.UUID (UUID.randomUUID()), will the rows be sorted by the
generation time?
I use random partitioner if that makes any difference.
Thanks,



*Tamar Fraenkel *
Senior Software Engineer, TOK Media

[image: Inline image 1]

tamar@tok-media.com
Tel:   +972 2 6409736
Mob:  +972 54 8356490
Fax:   +972 2 5612956

Mime
View raw message