taosdata/TDengine

分页查询超级表特别慢

Open

#34.193 aberto em 7 de jan. de 2026

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)C (24.849 stars) (5.002 forks)batch import
help wantedquestion

Description

使用这样的sql语句查询对主键排序特别慢,这是为什么呢,有什么解决办法吗 select * from alarm_log order by ts desc limit 0,10;

Guia do colaborador