当前位置:网站首页>[tcapulusdb knowledge base] tcapulusdb viewing online operation
[tcapulusdb knowledge base] tcapulusdb viewing online operation
2022-06-10 22:30:00 【Database master】
Find one tcapsvr machine , Get into tcapsvr Of control Pattern ( Such as :/data/tcaplus/tcaplusservice/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

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 .
边栏推荐
- Array move 0
- Icml2022 | sharp maml: model independent meta learning for sharpness perception
- [problem] solve the problem of websocket string length limitation. The single packet is too large
- Use of C language qsort() function (detailed explanation)
- Model construction of mmdetection
- oc swift 混编
- Bitwise and shift operators
- 【MySQL】表的约束
- 【TcaplusDB知识库】TcaplusDB推送配置介绍
- Apple zoom! It's done so well
猜你喜欢

ICML2022 | Sharp-MAML:锐度感知的模型无关元学习

【TcaplusDB知识库】TcaplusDB刷新tbus通道介绍

KDD2022 | 基于对抗性知识蒸馏的深度图神经网络压缩

Mysql 什么是聚集索引和非聚集索引?

C语言-排序中的快速排序(简称快排)

【Debug】could not find ref wiht poc XXX解决

datagrip 报错 “The specified database user/password combination is rejected...”的解决方法

【Xpath】使用following-sibling获取后面的同级节点

中小型会议如何进行数字化升级?

【MySQL】表结构的增删查改操作(DDL)
随机推荐
Several Apache related security vulnerability fixes
Array union set
Solution to "XXX has broken path" error in idea
Array rotates the array from bits of the specified length
leetcode 130. Surrounded Regions 被围绕的区域(中等)
datagrip 报错 “The specified database user/password combination is rejected...”的解决方法
Add, delete, query and modify MySQL table structure (DDL)
手机号码更新不出来,怎么处理
鲸会务会议分享:大会难办怎么办?
Has the samesite cookie problem occurred when using identityserver?
C语言-排序中的快速排序(简称快排)
【TcaplusDB知识库】TcaplusDB日常巡检介绍
鯨會務智慧景區管理解决方案
Simply Untyped Lambda Calculus的实现
Exec function of PHP
Modify frontsortinglayer variable of spritemask
数组 求上升区间的高度和
C use s7 Net connected to Siemens s1200plc, C # directly connected to Siemens PLC
【TcaplusDB知识库】TcaplusDB进程启动介绍
Mysql中创建4种索引的不同方式

