如标题,我不知道怎么样写性能才会好,在我的场景,需要复合查询的两次查询的范围差距很大,比如可能一个范围很大,一个范围很小,甚至两次使用的shape都不一定一样
Translation: As the title suggests, I'm unsure how to write a performance-efficient query. In my scenario, the ranges of the two queries in a compound query differ significantly—for example, one range might be very large while the other is very small, and even the shapes used in the two queries might not be the same.
如标题,我不知道怎么样写性能才会好,在我的场景,需要复合查询的两次查询的范围差距很大,比如可能一个范围很大,一个范围很小,甚至两次使用的shape都不一定一样
Translation: As the title suggests, I'm unsure how to write a performance-efficient query. In my scenario, the ranges of the two queries in a compound query differ significantly—for example, one range might be very large while the other is very small, and even the shapes used in the two queries might not be the same.