当前位置:网站首页>[tcaplusdb knowledge base] Introduction to tcaplusdb tcaplusadmin tool
[tcaplusdb knowledge base] Introduction to tcaplusdb tcaplusadmin tool
2022-06-29 03:32:00 【Database master】
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
For more information, please pay attention to TcaplusDB WeChat official account , In the wind and rain , We've been waiting for you !

TcaplusDB It's a distributed product of Tencent NoSQL database , The code for storage and scheduling is completely self-developed . With cache + Landing fusion architecture 、PB Levels of storage 、 Millisecond delay 、 Lossless horizontal expansion and complex data structure . At the same time, it has rich ecological environment 、 Easy migration 、 Extremely low operation and maintenance costs and five nine high availability features . Customer coverage game 、 Internet 、 government affairs 、 Finance 、 Manufacturing and the Internet of things .
边栏推荐
- Farrowtech's wireless sensor adopts the nanobeacon Bluetooth beacon technology of orange group Microelectronics
- 图论的基本概念
- 【TcaplusDB知识库】修改业务修改集群cluster
- Solve the problem that the cursor flashes after clicking a point when measuring the distance in Allegro
- Unable to locate program input point [email protected]
- Shell script to count files, then remove oldest files
- How to understand MySQL indexes?
- Grafana Getting Started tutorial
- 不同的二叉搜索樹[自下而上回溯生成樹+記憶搜索--空間換時間]
- Movement state change of monitoring device of Jerry's watch [chapter]
猜你喜欢

19.03 vessel description and simple application examples continued

Web GIS 航拍实现的智慧园区数字孪生应用

【TcaplusDB】祝大家端午安康!

88.(cesium篇)cesium聚合图

【雲原生】這麼火,你不來了解下?

Gartner“客户之声”最高分,用户体验成中国数据库一大突破口

Web APIs high order functions - dark horse programmers

Counter analysis of the parameter anti content in the backstage of the # yyds dry goods inventory # knife fight shop

The four traversal methods of the map set can be seen at a glance

2022-2028 global pneumatic test probe industry survey and trend analysis report
随机推荐
【面试指南】AI算法面试
2022-2028 global low carbon concrete industry research and trend analysis report
go-redsync分布式锁源码解析
迅为i.MX8M开发板yocto系统使用Gstarwmr视频转换
初探元宇宙存储,数据存储市场下一个爆点?
django model生成docx数据库设计文档
2D human posture estimation deeppose
Input input box click with border
SSH无密码登陆
The method of exporting packages of all components from existing PCBs in Altium Designer
迅为龙芯开发板pmon下Ejtag-设置硬件断点指令
Web APIs 高阶函数 丨黑马程序员
Set up nexus service
Etcd tutorial - Chapter 6 etcd core API V3
Open source demo| you draw and I guess -- make your life more interesting
Ugui slider minimum control
Jerry's watch stops moving [chapter]
Restore the binary search tree [simulate according to the meaning of the question - > find the problem - > analyze the problem - > see the bidding]
Is the account opening of GF Securities really safe and reliable
An internal error occurred during: 'Retrieving archetypes:'.