TcaplusDB Client - show命令
TcaplusDB Client的使用方法参见文档。
1. 功能说明
show tables可查询当前连接的TcaplusDB中的所有数据表名。
show status可查询当前的连接状态,目录服务器信息以及接入层信息。
2. 启始版本
3.40.0
3. 命令语法
show [tables/status];
参数说明:
参数 | 说明 |
---|---|
tables | 查询当前连接的TcaplusDB中的所有数据表名 |
status | 查询当前服务端状态及配置信息 |
4. 命令示例
tcaplus> show tables;
----------------------------------------------------------
| Table Name Type Protocol |
----------------------------------------------------------
| test_table GENERIC TDR |
| tbMailTest LIST PROTOBUF |
| pb_generic_index_shardingkey GENERIC PROTOBUF |
| pb_generic_index_noshardkey GENERIC PROTOBUF |
| pb_generic_noindex_noshardkey GENERIC PROTOBUF |
| pb_list LIST PROTOBUF |
| pb_list2 LIST PROTOBUF |
| pb_sortedlist LIST PROTOBUF |
| aes_info GENERIC TDR |
| auth_info GENERIC TDR |
| depend_me_services GENERIC TDR |
| host_info GENERIC TDR |
| instance_info GENERIC TDR |
| node_info GENERIC TDR |
| service_depends GENERIC TDR |
| service_info GENERIC TDR |
| token_info GENERIC TDR |
| cl_list LIST PROTOBUF |
| cl_generic GENERIC PROTOBUF |
| table_generic GENERIC TDR |
----------------------------------------------------------
tcaplus> show status;
------------------------------------------------------------------
Access_id(app_id) = 2
------------------------------------------------------------------
TableGroup_id(zone_id) = 3
------------------------------------------------------------------
[dir_server_url]
dir_server_url[0]: 9.135.8.93:9999
------------------------------------------------------------------
[Proxys]
proxy[0]:tcp://9.135.8.93:13755 CONNECTED Authened
proxy[1]:tcp://9.135.8.93:13756 CONNECTED Authened
------------------------------------------------------------------
[The connected dir server]
tcp://9.135.8.93:9999
------------------------------------------------------------------