当前位置:网站首页>[tcapulusdb knowledge base] Introduction to tcapulusdb engine parameter adjustment
[tcapulusdb knowledge base] Introduction to tcapulusdb engine parameter adjustment
2022-06-10 22:38:00 【Database master】
Tcaplus Engine parameter adjustment is mostly used for performance tuning and data reorganization , This section mainly enables readers to understand the respective functions of engine parameters , Engine parameter adjustment is essentially a kind of data relocation , The operation of the relocation bill of lading will not be repeated .



" Adjust engine parameters ” You can also not move , Keep the original value , then “ modify Shard Distribution ” choice “ Manual ”, In this way, the engine parameters are not changed Shard Data relocation (Shard The total remains unchanged , But adjustable Shard stay Svr The distribution on )
Engine parameter resolution :bnum=7500000#xmsiz=1000000000#lnum=7300000#xikmsiz=475000000#kfapow=6#kmapow=6#vfapow=6#vmapow=6
bnum,hash Barrel size ,Tcaplus rely on hash Bucket to reach O(1) Access efficiency , here hash The length of the barrel is bnum, Too long will waste , Too small hash More conflicts lead to higher binary tree height , The default configuration is recommended
xmsiz, How many before GB The file is mapped in memory , It is recommended that the default 1GB, If you need more data in memory , It is suggested to expand the capacity horizontally , That is, divide more shard come out
lnum,LRU Number of nodes , This is LRU Third party nodes needed to exchange hot and cold data , The default value is recommended
xikmsiz, In memory key The size of the occupation , In order to make the best of key Put it in memory , Here, some areas are set in the memory to store key, Cannot be stored value, here xmsiz That's the parameter , It's a waste of time , Too small can lead to key Put it in SSD On the disk , Generally, the default value
kfapow,key stay SSD The size of tofu pieces cut on the plate , such as 2^6 = 64B
kmapow, key The size of tofu cut in memory , such as 2^6 = 64B
vfapow,value stay SSD The size of tofu pieces cut on the plate , such as 2^6 = 64B
vmapow, value The size of tofu cut in memory , such as 2^6 = 64B
there kmapow、vmapow Be sure to design reasonably , It will not lead to the waste of data in memory ,cache High hit rate ,kfapow、vfapow This needs to be reasonable , It leads to waste or multiple disks IO Affect performance
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 .
边栏推荐
- 《暗黑破坏神不朽》数据库资料站地址 暗黑不朽资料库网址
- 【TcaplusDB知识库】TcaplusDB TcapDB扩缩容介绍
- [applet] the vant wearp radio radio radio component cannot trigger the bind:change event
- 【问题】解决Websocket字符串长度限制问题单包过大
- 【TcaplusDB知识库】TcaplusDB TcapProxy扩缩容介绍
- C语言内功修炼【整型在内存中的存储】
- 【TcaplusDB知识库】TcaplusDB机器初始化和上架介绍
- [tcapulusdb knowledge base] Introduction to the machine where the tcapulusdb viewing process is located
- (十一)TableView
- [XPath] use following sibling to obtain the following peer nodes
猜你喜欢

【TcaplusDB知识库】TcaplusDB TcapDB扩缩容介绍

Sealem finance builds Web3 decentralized financial platform infrastructure

Tcapulusdb Jun · industry news collection (III)

TcaplusDB君 · 行业新闻汇编(五)

Latex error: file ‘xxx.sty‘ not found

Model construction of mmdetection

What about the popular state management library mobx?

Web3生态去中心化金融平台——Sealem Finance

Management solution for whale conference smart scenic spot
![[XPath] use following sibling to obtain the following peer nodes](/img/f6/a30bdde45b3dcbf1fec796e4a48b23.png)
[XPath] use following sibling to obtain the following peer nodes
随机推荐
Shell基础概念
【phpstorm】 No data sources are configured to run this SQL and provide advanced c
【TcaplusDB知识库】TcaplusDB TcapProxy扩缩容介绍
Tcapulusdb Jun · industry news collection (VI)
IDEA出现“XXX has broken path”报错解决方法
Is it safe for BOC securities to open an account? What is its relationship with the Bank of China?
进阶高级程序员必知必会. 要不然,蠢材吗
[tcapulusdb knowledge base] Introduction to tcapulusdb push configuration
Typescript - declaration files and built-in objects
1.Tornado简介&&本专栏搭建tornado项目简介
SQL Server查询区分大小写
Tcapulusdb Jun · industry news collection (III)
CCF CSP 202109-3 impulse neural network
QT custom delegation
CCF CSP 202109-1数组推导
CCF CSP 202109-4 collect cards
Web3生态去中心化金融平台——Sealem Finance
What are MySQL clustered indexes and nonclustered indexes?
GMPNN:Drug-drug interaction prediction with learnable size-adaptive molecular substructures.
Innovation and exploration are added layer by layer, and the field model of intelligent process mining tends to be mature


