当前位置:网站首页>【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的序号必须连续,不连续则报错

边栏推荐
- Count the number of special subsequences (0, 1, 2) DP
- [tcapulusdb knowledge base] Introduction to tcapulusdb general documents
- 『忘了再学』Shell基础 — 30、sed命令的使用
- To avoid letting the transformation enterprises go astray, it is time to re understand the integration of xiahu warehouse| Q recommendation
- 判定二分图和二分图最大匹配
- (small information for children to children-03) batch template production of basic information collection folder for children (including PDF, word and certificate folder)
- Four methods of finding combinatorial numbers
- 数位DP例题
- (一)爬取Best Sellers的所有分类信息:爬取流程
- [tcapulusdb knowledge base] tcapulusdb tmonitor module architecture introduction
猜你喜欢

手动加密 ESP 设备量产固件并烧录的流程

查询当前电脑cpu核心数

How vscode converts a tab key in an edited file into a spacebar

MIIdock文件分布

St table learning

The leader said he would go online tomorrow, but he didn't know the development process at all

CPU的分支预测

【TcaplusDB知识库】TcaplusDB单据受理-创建业务介绍
![[tcapulusdb knowledge base] tcapulusdb doc acceptance - create business introduction](/img/a4/c3255ce17516348f703f7f21511555.png)
[tcapulusdb knowledge base] tcapulusdb doc acceptance - create business introduction

ue5 小知识点 random point in Bounding Boxf From Stream
随机推荐
状态压缩DP例题(旅行商问题和填矩形问题)
docker Dockerfile安装mysql5.7
论文翻译 | PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation
[tcapulusdb knowledge base] Introduction to tcapulusdb general documents
【TcaplusDB知识库】Tmonitor单机安装指引介绍(二)
Ipdu handling caused by mode change of COM
(一)爬取Best Sellers的所有分类信息:爬取流程
Miidock file distribution
银行业务系统数据库设计与实现
Ue5 random point in bounding boxf from stream
fastapi 如何响应文件下载
About SAP Spartacus cmsservice Possible optimization ideas for getcomponentdata
Meta universe land: what makes digital real estate valuable
Show/exec and close/hide of QT form are not executed when calling the close destructor
我是如何解决码云图床失效问题?
C#/VB.NET 在Word转PDF时生成目录书签
Performance monster on arm64: installation and performance test of API gateway Apache APIs IX on AWS graviton3
ARM64 上的性能怪兽:API 网关 Apache APISIX 在 AWS Graviton3 上的安装和性能测试
MCDF实验2
数位DP例题