I have created table in cassandra, where primary key is some column with timeuuid as datatype. I am able to identify each record uniquely with just millisecond precision timestamp value stored as bigint.
I have used java datastax driver to connect cassandra. Before inserting record into database I am converting millisecond timestamp into UUID for each record. Which is overhead and can be removed.
- Can some one explain what are the benefits of using
timeuuidinstead ofbigintconsidering records are able to identified without timeuuid's uniqueness ? - Is there any performance impact in between
timeuuidandbigintdata type ?