explain.depesz.com

PostgreSQL's explain analyze made readable

Result: bPl2

Settings
# exclusive inclusive rows x rows loops node
1. 34.584 229.493 ↑ 1.0 137,702 1

Unique (cost=22,560.46..23,248.97 rows=137,702 width=81) (actual time=161.689..229.493 rows=137,702 loops=1)

2. 150.736 194.909 ↑ 1.0 137,702 1

Sort (cost=22,560.46..22,904.72 rows=137,702 width=81) (actual time=161.688..194.909 rows=137,702 loops=1)

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

Seq Scan on sku_catalog_price_caches (cost=0.00..4,216.27 rows=137,702 width=81) (actual time=0.014..44.173 rows=137,702 loops=1)

  • Filter: ((store_id IS NULL) AND ((currency_code)::text = 'HKD'::text))