COMMAND GROUPS:
Group name: general
Commands: processlist, status, table_help, version, whoami
Group name: ddl
Commands: alter, alter_async, alter_status, clone_table_schema, create, describe,
disable, disable_all, drop, drop_all, enable, enable_all, exists,
get_table, is_disabled, is_enabled, list, list_regions, locate_region, show_filters
Group name: namespace
Commands: alter_namespace, create_namespace, describe_namespace, drop_namespace,
list_namespace, list_namespace_tables
Group name: dml
Commands: append, count, delete, deleteall, get, get_counter, get_splits, incr,
put, scan, truncate, truncate_preserve
Group name: tools
Commands: assign, balance_switch, balancer, balancer_enabled, catalogjanitor_enabled,
catalogjanitor_run, catalogjanitor_switch, cleaner_chore_enabled, cleaner_chore_run,
cleaner_chore_switch, clear_block_cache, clear_compaction_queues, clear_deadservers,
close_region, compact, compact_rs, compaction_state, flush, is_in_maintenance_mode,
list_deadservers, major_compact, merge_region, move, normalize, normalizer_enabled,
normalizer_switch, split, splitormerge_enabled, splitormerge_switch, stop_master,
stop_regionserver, trace, unassign, wal_roll, zk_dump
Group name: replication
Commands: add_peer, append_peer_namespaces, append_peer_tableCFs, disable_peer,
disable_table_replication, enable_peer, enable_table_replication, get_peer_config,
list_peer_configs, list_peers, list_replicated_tables, remove_peer,
remove_peer_namespaces, remove_peer_tableCFs, set_peer_bandwidth,
set_peer_exclude_namespaces, set_peer_exclude_tableCFs, set_peer_namespaces,
set_peer_replicate_all, set_peer_serial, set_peer_tableCFs, show_peer_tableCFs,
update_peer_config
Group name: snapshots
Commands: clone_snapshot, delete_all_snapshot, delete_snapshot, delete_table_snapshots,
list_snapshots, list_table_snapshots, restore_snapshot, snapshot
Group name: configuration
Commands: update_all_config, update_config
Group name: quotas
Commands: list_quota_snapshots, list_quota_table_sizes, list_quotas, list_snapshot_sizes, set_quota
Group name: security
Commands: grant, list_security_capabilities, revoke, user_permission
Group name: procedures
Commands: list_locks, list_procedures
Group name: visibility labels
Commands: add_labels, clear_auths, get_auths, list_labels, set_auths, set_visibility
Group name: rsgroup
Commands: add_rsgroup, balance_rsgroup, get_rsgroup, get_server_rsgroup, get_table_rsgroup,
list_rsgroups, move_namespaces_rsgroup, move_servers_namespaces_rsgroup,
move_servers_rsgroup, move_servers_tables_rsgroup, move_tables_rsgroup,
remove_rsgroup, remove_servers_rsgroup
删除表: disable 'tableName' + drop 'tableName'
清空表: truncate 'tableName'
显示所有表: list
显示表结构: describe 'tableName'
查看表是否在启用状态: is_enabled 'tableName'
扫描数据:scan 'tableName',{LIMIT=>10,COLUMN=>'XXX'}
表记录行数: count 'tableName'