信息收集
系统信息
IoTDB 版本:
JDK:
操作系统:
- CPU核数
- 系统内存
IoTDB 启动时间
IoTDB 配置及日志文件
conf/iotdb-engine.properties
conf/iotdb-env.sh(bat)
logs 文件夹
系统架构
数据流图,涉及的进程,各个进程描述(线程数)
负载和建模
存储组数
设备数量
时间序列数量
数据目录大小(顺序、乱序)
TsFile文件数(顺序、乱序)
线程数
各种后台任务的线程数:
写入负载
写入接口:
写入线程数:
查询负载
应急处理方法
OOM
内存较小 16G以下 可dump 内存jmap -dump:live,format=b,file=heap.hprof pid
内存较大 jprofiler连接查看内存对象
操作卡住
间隔10秒执行两次
jstack -l pid > jstack1.log
jstack -l pid > jstack2.log