当前位置:网站首页>【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 在Word转PDF时生成目录书签
- 『忘了再學』Shell基礎 — 30、sed命令的使用
- TS進階之條件類型
- 2020 ICPC Asia Taiwan Online Programming Contest C Circles
- Mac 安装 MySQL 教程
- TS advanced keyof
- Web3 system construction: principles, models and methods of decentralization (Part I)
- Socket programming (Part 1)
- (small information for children to children-03) batch template production of basic information collection folder for children (including PDF, word and certificate folder)
- Camunda定时器事件示例Demo(Timer Events)
猜你喜欢
[ROS] moveit rviz seven DOF Manipulator Simulation
【TcaplusDB知识库】TcaplusDB常规单据介绍
Auto. JS floating window centered
7.5.4:Spire Office for .NET New Version
Meta universe land: what makes digital real estate valuable
Digital DP example
如何使用 DATAX 以 UPSERT 语义更新下游 ORACLE 数据库中的数据?
C#/VB.NET 在Word转PDF时生成目录书签
ARM64 上的性能怪兽:API 网关 Apache APISIX 在 AWS Graviton3 上的安装和性能测试
Performance monster on arm64: installation and performance test of API gateway Apache APIs IX on AWS graviton3
随机推荐
[tcapulusdb knowledge base] tcapulusdb tmonitor module architecture introduction
塔米狗知识|全面剖析国有企业并购含义及其作用
TS advanced keyof
[tcapulusdb knowledge base] Introduction to tmonitor system upgrade
Based on vue+nest Js+mysql cross platform open source community operation management system
关于 SAP Spartacus CmsService.getComponentData 可能的优化思路
(一)爬取Best Sellers的所有分类信息:爬取流程
State compression DP example (traveling salesman problem and rectangle filling problem)
抖音如此重视直播销售外卖套餐,会不会是创业者巨大机会?
Multiplicative inverse action
【TcaplusDB知识库】Tmonitor单机安装指引介绍(二)
Digital DP example
手动加密 ESP 设备量产固件并烧录的流程
Model building process 1==miidock
Apache apisik v2.14.1 exploratory release to expand into more fields
Text error correction -- crisp model
IDEA 使用
kubernetes 部署 ActiveMQ
统计特殊子序列数目(0,1,2)DP
Base du Shell - 30, utilisation de la commande sed