cassandra

cqlsh 10.1xx.1xx.11 9041
desc keyspaces;
"drop keyspace key_space_1;"

 describe tables;
 Keyspace config_db_uuid
-----------------------
obj_shared_table  obj_uuid_table  obj_fq_name_table


select * from config_db_uuid.obj_fq_name_table;

select * from config_db_uuid.obj_uuid_table;

select value from config_db_uuid.obj_uuid_table where value = "c7f3ba0f-d270-45c3-8ce8-81ad6c4c70d5";


select * from config_db_uuid.obj_uuid_table limit 10;
select * from config_db_uuid.obj_uuid_table where key = 0x61363034623936312d353036312d346438642d396366662d393733303066623265366334 and column1 = 0x66715f6e616d65;

 key                                                                        | column1          | value
----------------------------------------------------------------------------+------------------+----------
 0x61363034623936312d353036312d346438642d396366662d393733303066623265366334 | 0x66715f6e616d65 | "vgw123"

(1 rows)


delete from config_db_uuid.obj_uuid_table where key = 0x61363034623936312d353036312d346438642d396366662d393733303066623265366334 and column1 = 0x66715f6e616d65;

 

你可能感兴趣的:(Linux,命令,cloud,虚拟网络)