TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

count performance issue

Open wsyummy opened this issue 1 year ago • 1 comments

Bug Description 机器配置:16核CPU 2.42 内存32GB,磁盘占用率17% 目前数据库实际使用1个PS_COLLECTION,超级表3个, ps_data_history_stable
energy_data_history_stable
sta_data_history_stable
执行其中一个count(
) select count(*) from sta_data_history_stable; 等待时间非常长,最终提示DB error: Database is starting up(457.778132s); 重新执行结果一样只是括号内时间长短不一样 如图:

企业微信截图_17047638004501 其他超级表也一样情况

执行过程CPU100%

wsyummy avatar Jan 09 '24 01:01 wsyummy

当前没有 3.2.7 版本的数据库,麻烦再确认一下

yu285 avatar Jan 21 '24 15:01 yu285