当前位置:网站首页>Taosi TDengine 2.6+ optimization parameters
Taosi TDengine 2.6+ optimization parameters
2022-07-30 09:20:00 【cousin code money】
taosBenchmark -I stmt -n 200000 -t 100000time dd if=/dev/vdb of=/dev/null bs=4kiostat -d -k 1 100000
Query related:
parameters | Meaning | Default value |
---|---|---|
queryBufferSize | Amount of memory reserved for all concurrent query usage.Unit M | No default value |
ratioOfQueryCores | Sets the maximum number of query threads. | The default value is 1, the default number of query threads is the same as the number of CPUs |
ratioOfQueryThreads | Set the maximum number of query threads | 1: Indicates the maximum number of query threads equal to the number of CPU cores |
compressColData | Query result compression transmission threshold, in bytes | -1, no compression |
Storage related:
parameters | Meaning | Default value |
---|---|---|
cache | The size of the memory block, in M | 16M |
blocks | How many cache-sized memory blocks are in each vnode (tsdb) | 6 |
maxRows | Maximum number of records in file block | 4096 |
maxVgroupsPerDb | Each Database can create a fixed number of vgroups, the default is the same as the number of CPU cores | |
Write related:
parameters | Meaning | Default value |
---|---|---|
numOfCommitThreads | Set the maximum number of write threads | none |
Stores the INT type, which is faster than storing the Double type.Adjusted to int, indicator single table=9716 seconds, multi-table=
Stock index calculation, storage performance comparison
A. Computing server 32 cores (vCPU) 32 GiB
Project | Data level | Number of table columns | taos service 1 | Performance Metrics | taos service 2 | Performance Metrics |
---|---|---|---|---|---|---|
Day K write, including read source data file | 12 million | 17 | 4 cores (vCPU) 16 GiB, PL0 200GiB (4200 IOPS) | 700 seconds | 32 cores (vCPU) 32 GiB, 200GiB (11800 IOPS) | 331 seconds |
Indicators Write | 12 million | 94 columns, split into 8 tables | 1754 seconds, 200IPOS | 1629 seconds |
B, computing server 4 cores (vCPU) 8GiB
Project | Data level | Number of table columns | taos service 1 | Performance Metrics | taos service 2 | Performance Metrics |
---|---|---|---|---|---|---|
Day K write, including read source data file | 12 million | 17 | 4 cores (vCPU) 16 GiB, PL0 200GiB (4200 IOPS) | 737 seconds | 32 cores (vCPU) 32 GiB, 200GiB (11800 IOPS) | |
Indicators Write | 12 million | 94 columns, split into 8 tables | 5370 seconds | |||
Indicators Write | 12 million | 94 columns, one table | 11335 seconds |
Server1
Server2
Compute Server
边栏推荐
- 电路分析:运放和三极管组成的恒流源电路
- Lenovo Notebook How to Change Windows 10 Boot Logo Icon
- Farthest Point Sampling - D-FPS vs F-FPS
- C语言力扣第46题之全排列。回溯法
- 用示波器揭示以太网传输机制
- ant-design form表单校验upload组件(附个人封装的上传组件)
- 【WeChat Mini Program】Page Events
- One article to understand twenty kinds of switching power supply topologies
- 积分专题笔记-与路径无关条件
- 【网络攻防】常见的网络攻防技术——黑客攻防(通俗易懂版)
猜你喜欢
One article to understand twenty kinds of switching power supply topologies
蓝牙技术|了解蓝牙LE Audio的Auracast广播音频
What convenience does the RFID fixed asset inventory system bring to enterprises?
[Mini Program Column] Summarize the development specifications of uniapp to develop small programs
Detailed explanation of 4D words: C language three-point chess advanced + N-piece chess recursive dynamic judgment of winning or losing
HashSet和LinkedHashSet
Leetcode - 990: equations of satisfiability
The difference between typescript3-ts and js
负电压电路(原理分析)
英语语法-名词性从句
随机推荐
2022杭电多校第二场
英语语法-名词性从句
剖析SGI STL空间配置器(_S_refill内存块填充函数)
test4
leetcode力扣——一篇文章解决多数之和问题
【蓝桥杯选拔赛真题45】Scratch猫鼠游戏 少儿编程scratch蓝桥杯选拔赛真题讲解
信号完整性测试
如何组装一个注册中心
ant-design form表单校验upload组件(附个人封装的上传组件)
Circuit analysis: constant current source circuit composed of op amp and triode
注解开发相关
Thinking about digital transformation of construction enterprises in 2022, the road to digital transformation of construction enterprises
test111
How to implement Golang DES encryption and decryption?
硬件工程师
JS中对事件流的理解
研发人员的悲剧——“庞氏骗局”
剖析SGI STL空间配置器(allocate内存分配函数)
蓝牙技术|了解蓝牙LE Audio的Auracast广播音频
ES报错处理-mapper [xx.xx] of different type, current_type [text], merged_type [keyword]