cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " Brian Hess (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6060) Remove internal use of Strings for ks/cf names
Date Tue, 03 Mar 2015 16:04:05 GMT


 Brian Hess commented on CASSANDRA-6060:

I know this ticket is closed, but there is another use case that might make this more useful.
 Namely, with the advent of CTAS (CASSANDRA-8234), you could want to change the primary key
of a table.  To do that, you could create a new table with the new primary key and select
the old data into it.  The last step, for cleanliness, might be to drop the original table
alter the name of the new table to the original table name - thereby completing the change
of the primary key.

> Remove internal use of Strings for ks/cf names
> ----------------------------------------------
>                 Key: CASSANDRA-6060
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Ariel Weisberg
>              Labels: performance
> We toss a lot of Strings around internally, including across the network.  Once a request
has been Prepared, we ought to be able to encode these as int ids.
> Unfortuntely, we moved from int to uuid in CASSANDRA-3794, which was a reasonable move
at the time, but a uuid is a lot bigger than an int.  Now that we have CAS we can allow concurrent
schema updates while still using sequential int IDs.

This message was sent by Atlassian JIRA

View raw message