当前位置:网站首页>【TcaplusDB知识库】TcaplusDB-tcapulogmgr工具介绍(一)
【TcaplusDB知识库】TcaplusDB-tcapulogmgr工具介绍(一)
2022-06-13 11:37: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的序号必须连续,不连续则报错

边栏推荐
- C#/VB. Net to generate directory bookmarks when word is converted to PDF
- VSCode 如何将已编辑好的文件中的 tab 键转换成空格键
- break algorithm---multi-interface
- 面试技巧问答
- [tcapulusdb knowledge base] tcapulusdb cluster management introduction
- LVGL库入门教程01-移植到STM32(触摸屏)
- Web 3.0? High cost version of P2P
- Miidock file distribution
- Socket programming (medium)
- Auto.js 悬浮窗居中
猜你喜欢
kubernetes 部署 ActiveMQ
ue5 小知识点 geometry script modeling
【TcaplusDB知识库】TcaplusDB Tmonitor模块架构介绍
About SAP Spartacus cmsservice Possible optimization ideas for getcomponentdata
如何使用 DATAX 以 UPSERT 语义更新下游 ORACLE 数据库中的数据?
MIIdock文件分布
Anonymity in Web3 and NFT
论文翻译 | PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation
数据库连接数设置多少合适?
Miidock file distribution
随机推荐
Count the number of special subsequences (0, 1, 2) DP
(幼升小信息-04)如何用手机WPS在PDF上进行电子签名
[tcapulusdb knowledge base] tcapulusdb operation and maintenance doc introduction
ST表学习
Socket programming (medium)
Process of manually encrypting and burning the mass production firmware of ESP equipment
塔米狗知识|全面剖析国有企业并购含义及其作用
Apache apisik v2.14.1 exploratory release to expand into more fields
容斥原理(能被整除的数)
break algorithm---multi-interface
判定二分图和二分图最大匹配
VSCode 如何将已编辑好的文件中的 tab 键转换成空格键
面试题 Mysql 数据库
break algorithm---dynamic planning(dp-func)
Mac MySQL installation tutorial
Notes on the development of raspberry pie (16): Raspberry pie 4b+ install MariaDB database (MySQL open source branch) and test basic operations
Determine the maximum match between bipartite graph and bipartite graph
How camunda uses script script nodes
数位DP例题
Will it be a great opportunity for entrepreneurs for Tiktok to attach so much importance to live broadcast sales of takeout packages?