taosdata/TDengine

group by times out when querying large amounts of data from a single table

開放

#28,744 建立於 2024年11月12日

 (2 則留言) (0 個反應) (1 位負責人)C (5,002 個分叉)batch import
help wanted

倉庫指標

星標
 (24,849 顆星)
PR 合併指標
 (平均合併 1天 1小時) (30 天內合併 4 個 PR)

描述

问题描述:单张主表1.7亿左右数据,针对单个字段使用group by分组查询,结合last_row获取最新值,查询出现超时;如果加上时间(ts)过滤条件,1月查询耗时1.3秒左右; 服务器资源:内存、cpu很充裕 docker镜像版本3.3.3.0

貢獻者指南