当前位置:网站首页>[tcaplusdb knowledge base] Introduction to tcaplusdb tcapulogmgr tool (I)
[tcaplusdb knowledge base] Introduction to tcaplusdb tcapulogmgr tool (I)
2022-06-27 12:54:00 【InfoQ】
【TcaplusDB The knowledge base 】TcaplusDB-tcapulogmgr Tool is introduced ( One )
- query
- listfile
- restorealldatafiles
- updatefields
- When using tools , The version of the tool must be the same as svr Consistent versions of
- When copying or backing up engine files , The corresponding... Must be stopped correctly first svr process
- When using tools on engine files or ulog Before file operation , Please pay attention to the backup
- It is recommended to put the files and tools required by the command in the same directory , Or use the absolute path to specify the file
1. query
- -d Express binlog Directory of files
- -f Indicates the... To be queried binlog file
- -b Express tbus id, In fact, it is generated binlog Of documents tcapsvr Process of process id, Such as 1.2.2.1
- -a It means business id
- -z Represent regional service id
- -t Represents the data table name
- -s Express shard id
- --keyonly Means only query key Field
- --startseq Indicates the beginning of binlog Record serial number
- --endseq Signify the end of binlog Record serial number
- --starttime Express binlog Record the start time , The format is YYYYMMDDHHMMSS
- --endtime Express binlog Record the end time , The format is YYYYMMDDHHMMSS
2. listfile
3. restorealldatafiles
- --directory Express ulog directory
- --tbusid Indicates that you want to perform a gear return operation svr_id, For from directory Filter out the corresponding ulog file
- --engine-directory Indicates the directory where the cold standby file is stored
- --endtime Indicates the time point to return to the gear , The format is YYYYMMDDHHMMSSmmm,mmm Represents milliseconds
- --seqcontinuous Express binlog The serial number of must be continuous , If it is not continuous, an error will be reported

边栏推荐
- Self taught ADT and OOP
- Airbnb double disk microservice
- Industry insight - how should brand e-commerce reshape growth under the new retail format?
- Browser cookie to selenium cookie login
- How to open an account for CSI 500 stock index futures, what are the regular domestic stock index futures platforms, and where is the safest place to open an account?
- printf不定长参数原理
- Failed to execute NPM instruction, prompting ssh: Permission denied
- 清楚的自我定位
- log4j.properties的配置详解
- Win10彻底永久关闭自动更新的步骤
猜你喜欢
Raspberry pie 3b+ learning
script defer async模式
What's the matter with Amazon's evaluation dropping and failing to stay? How to deal with it?
Convn-n dimensional convolution
【医学分割】unet3+
Cloud native (30) | kubernetes' app store Helm
Ali an interview question: use two threads to output letters and numbers alternately
nmcli team bridge 基本配置
昨天访问量破记录
这是什么空调?
随机推荐
Pycharm in Chinese
Raspberry pie 3b+ learning
Failed to execute NPM instruction, prompting ssh: Permission denied
How to close windows defender Security Center
Esp32s3 iperf routine test esp32s3 throughput test
阿里一个面试题:使用两个线程,交替输出字母和数字
大小端字节序
数据库系列:MySQL索引优化与性能提升总结(综合版)
Introduce you to ldbc SNB, a powerful tool for database performance and scenario testing
Uni app sends request instructions using the escook / request miniprogram plug-in
C语言 函数指针与回调函数
log4j. Detailed configuration of properties
行业洞察 | 新零售业态下,品牌电商应如何重塑增长?
JMETER连接DM8
Steps for win10 to completely and permanently turn off automatic updates
Airbnb double disk microservice
Hibernate operation Oracle database primary key auto increment
ThreadLocal 源码全详解(ThreadLocalMap)
阿胖的操作记录
[fans' welfare] today, I'd like to introduce a method to collect money for nothing - convertible bonds. I personally verified that each person can earn 1500 yuan a year