Is there a clear equivalent of 'show keyspaces' in cqlsh 2?

后端 未结 4 1139
礼貌的吻别
礼貌的吻别 2020-12-23 16:38

What cqlsh command can I use to quickly see the keyspaces in a cluster? cqlsh does not provide show keyspaces and describe cluster isn\'t as concis

4条回答
  •  醉梦人生
    2020-12-23 17:01

    Very simple. Just enter this command in your cqlsh shell and enjoy

     select * from system.schema_keyspaces;
    

    In C*3.x, we can simply use

     describe keyspaces
    

提交回复
热议问题