当前位置:网站首页>【TcaplusDB知识库】TcaplusDB-tcapulogmgr工具介绍(一)
【TcaplusDB知识库】TcaplusDB-tcapulogmgr工具介绍(一)
2022-06-27 12:24:00 【InfoQ】
【TcaplusDB知识库】TcaplusDB-tcapulogmgr工具介绍(一)
- query
- listfile
- restorealldatafiles
- updatefields
- 在使用工具时,工具的版本必须和svr的版本一致
- 在复制或备份引擎文件时,必须先正确停止对应的svr进程
- 在使用工具对引擎文件或ulog文件进行操作前,请注意备份
- 建议将命令需要的文件与工具置于同一目录下,或使用绝对路径的方式指定文件
1. query
- -d 表示binlog文件所在的目录
- -f 表示要查询的binlog文件
- -b 表示tbus id,实际上就是生成该binlog文件的tcapsvr进程的进程id, 如1.2.2.1
- -a 表示业务id
- -z 表示区服id
- -t 表示数据表名
- -s 表示shard id
- --keyonly 表示只查询key字段
- --startseq 表示起始的binlog记录序列号
- --endseq 表示结束的binlog记录序列号
- --starttime 表示binlog记录起始时间,格式为YYYYMMDDHHMMSS
- --endtime 表示binlog记录结束时间,格式为YYYYMMDDHHMMSS
2. listfile
3. restorealldatafiles
- --directory 表示ulog所在的目录
- --tbusid 表示要执行回档操作的svr_id,用于从directory中过滤出对应的ulog文件
- --engine-directory 表示冷备文件存放的目录
- --endtime 表示要回档到的时间点,格式为YYYYMMDDHHMMSSmmm,mmm表示毫秒
- --seqcontinuous 表示binlog的序号必须连续,不连续则报错

边栏推荐
- Convn-n dimensional convolution
- How to find the movie and TV clips with the same lines? These 8 movies search for artifact, and find the corresponding segment in one line
- build. Gradle configuration
- Interview shock 60: what will cause MySQL index invalidation?
- Thymeleaf的配置
- What is the next step in the recommendation system? Alispacetime aggregates GNN, and the effect is to sling lightgcn!
- 数据库系列:MySQL索引优化与性能提升总结(综合版)
- 自定义多线程基类threading.Event
- 解除百度文库VIP、语雀、知乎付费限制,原来这么简单
- Dm8: Dameng database - lock timeout
猜你喜欢

Topic37——64. Minimum path sum

uniapp下拉弹层选择框效果demo(整理)

xxl-job学习梳理

Operators are also important if you want to learn the C language well

ACL 2022 | TAMT proposed by Chinese Academy of Sciences: TAMT: search for a portable Bert subnet through downstream task independent mask training

如何下载带有超链接的图片

全球最强截图软件 Snipaste

解除百度文库VIP、语雀、知乎付费限制,原来这么简单

Secyun won the "2022 AI analysis · it operation and maintenance vendor panorama report" as the representative vendor of intelligent operation and maintenance aiops Market

大小端字节序
随机推荐
二叉树的三种遍历方式
Hands on API development
Three traversal methods of binary tree
hibernate操作oracle数据库 主键自增
How to participate in openharmony code contribution
Comment modifier Node Fichiers dans les modules
自定义多线程基类threading.Event
printf不定长参数原理
Convn-n dimensional convolution
树莓派 3b+ 学习
socket阻塞和非阻塞模式
mysql学习1:安装mysql
MySQL高阶语句(一)
TiDB 6.0:让 TSO 更高效丨TiDB Book Rush
Talk about go language and cloud native technology
和动态规划的第一次相遇
Unzip log. GZ file
私藏干货分享:关于企业架构中如何进行平台化
全球最强截图软件 Snipaste
PyCharm汉化