Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use admin-cli and pegic to replace origin c++ shell #962

Open
foreverneverer opened this issue Apr 29, 2022 · 3 comments
Open

Use admin-cli and pegic to replace origin c++ shell #962

foreverneverer opened this issue Apr 29, 2022 · 3 comments

Comments

@foreverneverer
Copy link
Contributor

foreverneverer commented Apr 29, 2022

Related-Doc

Google:PegasusShell

@neverchanje
Copy link
Contributor

Please change the privilege settings of the doc and allow it to be publicly readable. :)

@foreverneverer
Copy link
Contributor Author

Please change the privilege settings of the doc and allow it to be publicly readable. :)

try again?

@acelyc111
Copy link
Member

acelyc111 commented May 9, 2022

Copied to github:

命令 C++ shell AdminShell(AdminCli) UserShell(Pegic) 备注
帮助 help help help  
版本 version version -  
退出 exit exit -  
         
更换连接集群 cc 不再支持 不再支持  
指定表 use use use  
指定超时时间 timeout 不再支持 不再支持  
         
集群信息 cluster_info cluster-info -  
节点信息 nodes nodes -  
服务器信息 server_info server-info -  
服务器指标 server_stat node-stat -  
远程命令 remote_command remote-command    
         
列出所有表 ls ls    
表分片信息 app table-partition    
表指标信息 app_stat table-stat    
强制刷LOG flush_log 待讨论    
创建表 create create    
删除表 drop drop    
恢复表 recall recall    
获取环境变量 get_app_env table-env    
设置环境变量 set_app_env      
删除环境变量 del_app_env      
清空环境变量 clear_app_env      
         
设置集群状态 set_meta_level meta-level    
查看表状态 get_meta_level      
分片变更 propose 待支持    
分片迁移 balance 待支持    
         
数据恢复 recover 待支持    
分片诊断 ddd_diagnose 待支持    
         
冷备份 add_backup_policy 删除policy概念,仅支持一次性冷备份:backup    
ls_backup_policy        
modify_backup_policy        
disable_backup_policy        
enable_backup_policy        
query_backup_policy        
         
备份恢复恢复进度 restore_app restore    
query_restore_status 待支持      
         
sst文件dump sst_dump 待支持    
wal文件dump mlog_dump 待支持    
         
磁盘分片 不支持 disk_replica    
磁盘容量 disk_capacity      
磁盘迁移 disk_migrate      
磁盘均衡 disk_balance      
         
节点替换 不支持 node_migrate    
节点均衡 不支持 在开发    
         
数据读写 get   get  
  set   set  
  del   del  
  multi_get   待讨论  
  multi_set   待讨论  
  multi_del   待讨论  
  hash_scan   scan  
  full_scan   待讨论  
  copy_data   待支持  
  clear_data   重新实现  
  cout_data   待支持  
         
         

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants