go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  How do I know what 'table' the keyspace currently holds?
 
Subject: How do I know what 'table' the keyspace currently holds?
Author: EricJ
In response to: How do I know what 'keyspace' the node currently hosts?
Posted on: 09/30/2015 01:54:06 AM


cqlsh> desc playlist;



 

> On 09/30/2015 01:53:03 AM EricJ wrote:


cqlsh> select * from system.schema_keyspaces;

 keyspace_name      | durable_writes | strategy_class  | strategy_options
--------------------+----------------+---------------------------------------------
        system_auth |           True | SimpleStrategy | {"replication_factor":"1"}
           playlist |           True | SimpleStrategy | {"replication_factor":"1"}
 system_distributed |           True | SimpleStrategy | {"replication_factor":"3"}
             system |           True | LocalStrategy  |                       {}
      system_traces |           True | SimpleStrategy | {"replication_factor":"2"}
(5 rows)


Here, the keyspace 'playlist' is created by user, others are system's.





References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.