当前位置:网站首页>[tcapulusdb knowledge base] manually view the online operation of tcapulusdb
[tcapulusdb knowledge base] manually view the online operation of tcapulusdb
2022-06-24 02:18:00 【Tcapulus Jun】
[TcaplusDB The knowledge base ] View manually TcaplusDB Online operation
As an operator , One of my daily tasks is to check the overall situation of the database , Ensure that the background is running normally , Now let's briefly introduce how to check the situation .
Find one tcapsvr machine , Get into tcapsvr Of control Pattern ( Such as :/data/tcaplus/tcaplus_service/bin/*_*_*_*/tcapsvr --id=*.*.*.* control), here *.*.*.* yes tcapsvr The process of id,
Then input StatusX, enter , View Book tcapsvr All that's managed shard Information ( You can see appid zoneid tablename shardid, Record number ), And then use PrintEngineStat Appid Zoneid TableName Shardid, enter , You can see the output of the following screenshot
The following represents the use of tofu pieces , Such as
KeyNums[0] = 368951, On behalf of 368951 Bar record Key Part of it takes up 1 A piece of tofu , Subscript from 0 Start
valNums[1] = 60332, On behalf of 60332 Bar record Value Part of it takes up 2 A piece of tofu , Subscript from 0 Start
valNums[2]=52272, On behalf of 52272 Bar record Value Part of it takes up 3 A piece of tofu , Subscript from 0 Start
By analogy
The optimization idea is to make Key Value Every time I read and write, I use the least io operation , But don't just increase the index to make all key value Just one piece of tofu , Will cause memory 、 Disk resource waste , Like a piece of tofu 4K, But the average size of the record is only 256 byte , Every record stored is wasted 3.75KB
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 .
边栏推荐
- What is the industrial Internet? What is the industrial Internet platform?
- How to use annotations to record operation logs gracefully
- Mainstay of network detection - nping User Guide
- Network engineers must know the 10 technical points of IPv6. It is recommended to collect them!
- How to build your own website? Is it difficult?
- The cloud game is rendered by the server. How much broadband does the server need
- Using robot framework to realize multi platform automated testing
- Grp: implement GRP timeout interceptor
- Review of AI hotspots this week: the Gan compression method consumes less than 1/9 of the computing power, and the open source generator turns your photos into hand drawn photos
- Analysis of ESIM short text matching model
猜你喜欢

Review of AI hotspots this week: the Gan compression method consumes less than 1/9 of the computing power, and the open source generator turns your photos into hand drawn photos

Leetcode969: pancake sorting (medium, dynamic programming)

163 mailbox login portal display, enterprise mailbox computer version login portal

BIM model example

layer 3 switch

Advanced BOM tool intelligent packaging function

Stm32g474 infrared receiving based on irtim peripherals

application. Yaml configuring multiple running environments

If there are enumerations in the entity object, the conversion of enumerations can be carried out with @jsonvalue and @enumvalue annotations

2020 language and intelligent technology competition was launched, and Baidu provided the largest Chinese data set
随机推荐
SQL Server database recovery case analysis
Why do cloud desktops use rack servers? What are the functions of cloud desktop?
The whole procurement process of the procurement mall website in the transportation industry is electronic to reduce the procurement cost
Echo framework: add tracing Middleware
Easycvr connects with Huawei IVS platform to query the foreign domain list interface definition and use sharing
Stm32g474 infrared receiving based on irtim peripherals
Why does the path obtained by the remote server echo%temp% have a number of 1, 2, 3, etc
BIM model example
Is the trademark registered domain name legal? How do trademarks register domain names?
Global and Chinese micro focus X-ray tube industry competitiveness analysis and Investment Strategy Research Report 2022-2028
How to formulate a domain name trademark registration scheme? What if the plan is rejected?
How to query the cloud desktop server address? What are the advantages of using cloud desktop?
What information should be provided for enterprise trademark registration? Is it difficult to register a trademark?
The new purchased machines with large customized images are slow to enter the system
How to calculate the trademark registration fee? How much does it cost to register a trademark?
Frequent screen flashing after VNC login - abnormal system time
How to set up a cloud desktop server? What are the advantages of cloud desktop?
Analysis report on development trends and prospects of China's pyrolytic boron nitride (PBN) component industry 2022-2028
Gin framework: implementing service end flow limiting Middleware
How to use annotations to record operation logs gracefully