rename keyspace and columnfamily in cassandra 1.2

前端 未结 2 1041
Happy的楠姐
Happy的楠姐 2021-01-16 13:02

How to rename keyspace and columnfamily in cassandra 1.2? I know that cassandra-cli rename api is no longer supported - How to rename keyspace in Cassandra. Maybe there are

2条回答
  •  孤城傲影
    2021-01-16 13:31

    For rename only a column family also you can follow the next instructions:

    http://mail-archives.apache.org/mod_mbox/cassandra-user/201201.mbox/%3C4EF306AC-98D5-45BE-A29C-B68187FBA9C9@thelastpickle.com%3E

    Basically is create the new CF, copy the SStables from the old column family to the one renaming the files.

提交回复
热议问题