-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
help wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
sql语句:select last(ts) as ts, last(value) as val from test_260 where ts >= '2025-08-01 00:00:00' and ts <= '2025-08-31 23:59:59' INTERVAL (1d) SLIDING (1d) FILL(prev);
test_260是子表,一个月内数据量大于50w条,快时几百ms就出结果,慢时会出现60s以上,查询的时候可能有服务在往时序库写数据,也观察过cpu和内存占用百分比不是很多。测试环境也模拟这样的数据量,测试不同表的查询一直无法复现超时的问题。目前不清楚怎么分析出现这种情况的具体原因,是否有其他工具或者命令分析出在查询这种sql语句时,数据交换或者其他原因的
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested