我在一个有900万行的表中使用postgres进行慢查询。查询:EXPLAIN (ANALYZE, BUFFERS) SELECT date_point, geo, alarms, status FROM tracking_master WHERE id_asset'2017-07-21 19:20:05' AND date_point <= '2017-07-21 19:25:05' ORDER BY date_point asc LIMIT 1000
这里的查询<
我想在postgres中优化以下查询
SELECT(MIN("products"."shipping") AS minimal FROM "products" WHERE "products"."几乎每次都会同时查询几个标记,但是postgres使用的索引products (shipping DESC)非常慢。我能做些什么来加快查询速度?