Cassandra UUID vs TimeUUID benefits and disadvantages

UUID and TIMEUUID are stored the same way in Cassandra, and they only really represent two different sorting implementations. TIMEUUID columns are sorted by their time components first, and then by their raw bytes, whereas UUID columns are sorted by their version first, then if both are version 1 by their time component, and finally … Read more

How to get current timestamp with CQL while using Command Line?

You can use the timeuuid functions now() and dateof() (or in later versions of Cassandra, toTimestamp()), e.g., INSERT INTO TEST (ID, NAME, VALUE, LAST_MODIFIED_DATE) VALUES (‘2’, ‘elephant’, ‘SOME_VALUE’, dateof(now())); The now function takes no arguments and generates a new unique timeuuid (at the time where the statement using it is executed). The dateOf function takes … Read more

Cassandra cqlsh – connection refused

You need to edit cassandra.yaml on the node you are trying to connect to and set the node ip address for rpc_address and listen_address and restart Cassandra. rpc_address is the address on which Cassandra listens to the client calls. listen_address is the address on which Cassandra listens to the other Cassandra nodes.

what is the recommend cassandra gui client for cassandra-1.1.2 [closed]

Dbeaver in its free enterprise version (not open source) is good GUI client for Cassandra. No need of installation. Its portable. Also this client supports more than 20 databases. Community Edition of Dbeaver doesn’t have support for Cassandra, but we can use third party drivers for like Cdata to connect. Try the following GUI client … Read more

Why many refer to Cassandra as a Column oriented database?

If you take a look at the Readme file at Apache Cassandra git repo, it says that, Cassandra is a partitioned row store. Rows are organized into tables with a required primary key. Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are … Read more