explain.depesz.com

PostgreSQL's explain analyze made readable

Result: vdDQ

Settings
# exclusive inclusive rows x rows loops node
1. 153.778 202.240 ↑ 1.0 137,702 1

Sort (cost=22,904.72..23,248.97 rows=137,702 width=81) (actual time=171.999..202.240 rows=137,702 loops=1)

  • Sort Key: sku_id, active_at DESC, store_id
  • Sort Method: external merge Disk: 14296kB
2. 48.462 48.462 ↑ 1.0 137,702 1

Seq Scan on sku_catalog_price_caches (cost=0.00..4,560.53 rows=137,702 width=81) (actual time=0.012..48.462 rows=137,702 loops=1)

  • Filter: ((store_id IS NULL) AND (active_at <= '2019-03-11 02:28:22.994349'::timestamp without time zone) AND ((currency_code)::text = 'HKD'::text))