当前位置:网站首页>涛思 TDengine 2.6+优化参数
涛思 TDengine 2.6+优化参数
2022-07-30 07:58:00 【堂哥码财】
taosBenchmark -I stmt -n 200000 -t 100000
time dd if=/dev/vdb of=/dev/null bs=4k
iostat -d -k 1 100000
查询相关:
| 参数 | 含义 | 缺省值 |
|---|---|---|
| queryBufferSize | 为所有并发查询占用保留的内存大小。单位M | 无缺省值 |
| ratioOfQueryCores | 设置查询线程的最大数量。 | 缺省值1,默认查询线程数为与CPU个数相同 |
| ratioOfQueryThreads | 设置查询线程的最大数量 | 1:表示最大和 CPU 核数相等的查询线程 |
| compressColData | 查询结果压缩传输阈值,单位bytes | -1,不压缩 |
存储相关:
| 参数 | 含义 | 缺省值 |
|---|---|---|
| cache | 内存块的大小,单位M | 16M |
| blocks | 每个 vnode(tsdb)中有多少 cache 大小的内存块 | 6 |
| maxRows | 文件块中记录的最大条数 | 4096 |
| maxVgroupsPerDb | 每个 Database 可以创建固定数目的 vgroup,默认与 CPU 核数相同 | |
写入相关:
| 参数 | 含义 | 缺省值 |
|---|---|---|
| numOfCommitThreads | 设置写入线程的最大数量 | 无 |
存储INT类型,比存储Double类型快。调整成int ,指标单表=9716秒 ,多表=
股票指标计算、入库性能对比
A、计算服务器 32核(vCPU) 32 GiB
| 项目 | 数据量级 | 表列数 | taos服务1 | 性能指标 | taos服务2 | 性能指标 |
|---|---|---|---|---|---|---|
| 日K写入,包含读源数据文件 | 1200万条 | 17 | 4核(vCPU) 16 GiB、PL0 200GiB (4200 IOPS) | 700秒 | 32核(vCPU) 32 GiB、200GiB (11800 IOPS) | 331秒 |
| 指标写入 | 1200万条 | 94列,拆分为8张表 | 1754秒、200IPOS | 1629秒 |
B、计算服务器 4核(vCPU) 8GiB
| 项目 | 数据量级 | 表列数 | taos服务1 | 性能指标 | taos服务2 | 性能指标 |
|---|---|---|---|---|---|---|
| 日K写入,包含读源数据文件 | 1200万条 | 17 | 4核(vCPU) 16 GiB、PL0 200GiB (4200 IOPS) | 737秒 | 32核(vCPU) 32 GiB、200GiB (11800 IOPS) | |
| 指标写入 | 1200万条 | 94列,拆分为8张表 | 5370秒 | |||
| 指标写入 | 1200万条 | 94列,一张表 | 11335秒 |
服务器1
服务器2

计算服务器

边栏推荐
猜你喜欢

看完这100个客户需求,我终于知道企业文档管理的秘密

【小程序专栏】总结uniapp开发小程序的开发规范

hcip 第14天学习笔记

ACL 2022 | Introduce angular margin to construct comparative learning objectives and enhance text semantic discrimination ability

JS中对事件流的理解

硬件工程师

RFID固定资产盘点系统给企业带来哪些便利?

浅论各种调试接口(JTAG、SWD、RDI、Jlink、Ulink、STlink)的区别

Hands-on teaching OneOS FOTA upgrade

Kubernetes 在科技革命中的演变
随机推荐
Detailed explanation of 4D words: C language three-point chess advanced + N-piece chess recursive dynamic judgment of winning or losing
typescript7-typescript常用类型
test3
ant-design form form verification upload component (with personal packaged upload component)
Judging from the Internet:
The difference between DDR, GDDR, QDR
C13—使用innosetup工具制作软件安装向导2022-07-23
基于SSM开发实现校园疫情防控管理系统
回板后,处理器不启动,怎么办?
[Fun BLDC series with zero basics] Taking GD32F30x as an example, the timer related functions are explained in detail
ES报错处理-mapper [xx.xx] of different type, current_type [text], merged_type [keyword]
The blockbuster IP that has been popular in the world for 25 years, the new work has become a script paradise
npm指令
【愚公系列】2022年07月 Go教学课程 021-Go容器之切片操作
OA项目之待开会议&历史会议&所有会议
function (1)
hcip 第14天学习笔记
20个电路能懂5个以上,足以证明你在电子行业混过!
typescript3-ts对比js的差别
Why does typescript2-typescript add type support to js