当前位置:网站首页>[tcaplusdb knowledge base] Introduction to tcaplusdb tcaplusadmin tool
[tcaplusdb knowledge base] Introduction to tcaplusdb tcaplusadmin tool
2022-06-13 11:47:00 【InfoQ】
【TcaplusDB The knowledge base 】TcaplusDB-tcaplusadmin Tool is introduced
- Enter the tool Directory , perform ./tcaplusadmin help You can get the introduction and usage of each sub command ,tcaplusadmin The tools mainly have the following commands :
- analysehashbuckets
- validatedatafile
- statshm、createshm、rmshm
- compressengine、decompressengine
- analytic_data_dump
- Be careful :
- 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. analysehashbuckets
- This command is used to analyze the statistics of binary trees in each hash bucket in the specified engine file , Including the number of nodes 、 Depth and other information , The command format is ./tcaplusadmin analysehashbuckets -f engfile, among ,engfile For the engine file to be analyzed .
- Example :./tcaplusadmin analysehashbuckets -f /data1/1.2.2.1/AppID_2_ZoneID_3/test_table_1.txh
- 2. validatedatafile
- This command is used to verify the validity of the engine file , The command format is ./tcaplusadmin validatedatafile -f engfile [--validate-type= ], The specific meanings of parameters are as follows :
- engfile Represents the engine file used to validate
- --validate-type Indicates the content to be verified , Yes head、stat、lru、freeblock、datablock_offsetiter、datablock_hashiter Optional
- Example :./tcaplusadmin validatedatafile -f /data1/1.2.2.1/AppID_2_ZoneID_3/test_table_1.txh --validate-type=head
- 3. statshm、createshm、rmshm
- These three commands are used to view 、 establish 、 Delete shared memory belonging to the current user , The command format and its meaning are as follows :
- ./tcaplusadmin statshm: List all shared memory belonging to the current user
- ./tcaplusadmin createshm: Create a piece of shared memory belonging to the current user
- ./tcaplusadmin rmshm --shmid=x [--force]: Delete shmid by x Shared memory for ,--force Is an optional parameter , Indicates forced deletion
- 4. compressengine、decompressengine
- These two commands are used to compress and decompress the engine files respectively , The command format and its meaning are as follows :
- ./tcaplusadmin compressengine -f engfile -c dir: Use LZO The algorithm compresses the specified engine file ,engfile For the engine file to be compressed ,dir Save directory for compressed engine files
- ./tcaplusadmin decompressengine -f flzo -c dir: To use LZO Algorithm decompress the compressed engine file ,flzo For the use of LZO Algorithm compressed engine file ,dir Save directory for unzipped engine files
- 5. analytic_data_dump
- This command is used to export the specified records in the engine file in the specified format , The command format is ./tcaplusadmin analytic_data_dump type so_name enginefileName appFlag zoneFlag tableName tdr_name, The specific meanings of the seven parameters are as follows :
- type: Usually it is “so”, Said the use of so File for data export (so The function interfaces to be implemented in and their related descriptions)
- so_name: User generated so file
- enginefileName: A text file that records the engine file name , In this file , Each line corresponds to an engine file
- appFlag: The business where the data table is located ID
- zoneFlag: The server where the data table is located ID
- tableName: Data table name
- tdr_name: Data table tdr file
- Example :./tcaplusadmin analytic_data_dump so mylib.so engfile.txt 2 3 test_table 2.3.test_table.tdr

边栏推荐
- Interview questions MySQL database
- [tcapulusdb knowledge base] tcapulusdb doc acceptance - table creation approval introduction
- 【TcaplusDB知识库】Tmonitor单机安装指引介绍(一)
- [tcapulusdb knowledge base] tcapulusdb cluster management introduction
- [tcapulusdb knowledge base] tcapulusdb Model Management Introduction
- 论文翻译 | PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation
- break algorithm---dynamic planning(dp-arr)
- [tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (II)
- LVGL库入门教程01-移植到STM32(触摸屏)
- 22. Class E power amplifier design of ads usage record (Part 2)
猜你喜欢

UE4, ue5 phantom engine, command console command, parameter set

Digital DP example

Lvgl Library Tutorial 01- porting to STM32 (touch screen)
![[tcapulusdb knowledge base] Introduction to tcapulusdb general documents](/img/d4/b1a2b217f80b532ed1640a948fcca6.png)
[tcapulusdb knowledge base] Introduction to tcapulusdb general documents

Tamidog knowledge | a comprehensive analysis of the meaning and role of mergers and acquisitions of state-owned enterprises

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

【TcaplusDB知识库】TcaplusDB-tcapsvrmgr工具介绍(二)

MIIdock文件分布

What is the appropriate setting for the number of database connections?

Audio and video technology development weekly 𞓜 249
随机推荐
Will it be a great opportunity for entrepreneurs for Tiktok to attach so much importance to live broadcast sales of takeout packages?
Mac MySQL installation tutorial
如何使用 DATAX 以 UPSERT 语义更新下游 ORACLE 数据库中的数据?
MFC custom button to realize color control
【Verilog向SystemVerilog过渡遇到的问题】~ 信号变量类型的转变、 == 和 ===的区别
[tcapulusdb knowledge base] tcapulusdb doc acceptance - create business introduction
【TcaplusDB知识库】TcaplusDB机型管理介绍
TS进阶之keyof
7.5.4:Spire Office for . NET New Version
(small information for children to children-03) batch template production of basic information collection folder for children (including PDF, word and certificate folder)
14、wpf之Border装饰器使用小记
Adaptation of multi system docking and application of packaging mode
MCDF Experiment 2
fitfi运动赚钱链游系统开发模式详情
web开发者,web开发后台开发
C#/VB.NET 在Word转PDF时生成目录书签
[tcapulusdb knowledge base] tcapulusdb operation and maintenance doc introduction
2021ccpc online competition list
Socket programming (Part 1)
Lvgl Library Tutorial 01- porting to STM32 (touch screen)