How to optimize queries on hypertables with thousands of partitions | TigerData