explain.depesz.com

PostgreSQL's explain analyze made readable

Result: twLq

Settings
# exclusive inclusive rows x rows loops node
1. 7.478 44,446.747 ↑ 4.9 26,216 1

Finalize GroupAggregate (cost=7,155,849.90..7,179,235.75 rows=128,392 width=28) (actual time=44,408.291..44,446.747 rows=26,216 loops=1)

  • Group Key: person_id
  • Buffers: shared hit=2 read=995854
2. 0.000 44,439.269 ↑ 3.6 48,024 1

Gather Merge (cost=7,155,849.90..7,177,091.73 rows=172,020 width=24) (actual time=44,408.287..44,439.269 rows=48,024 loops=1)

  • Workers Planned: 4
  • Workers Launched: 4
  • Buffers: shared hit=216 read=4968523
3. 30.565 221,919.155 ↑ 4.5 9,605 5

Partial GroupAggregate (cost=7,154,849.84..7,155,602.43 rows=43,005 width=24) (actual time=44,374.271..44,383.831 rows=9,605 loops=5)

  • Group Key: person_id
  • Buffers: shared hit=216 read=4968523
4. 203.820 221,888.590 ↑ 1.3 33,922 5

Sort (cost=7,154,849.84..7,154,957.35 rows=43,005 width=24) (actual time=44,374.265..44,377.718 rows=33,922 loops=5)

  • Sort Key: person_id
  • Sort Method: quicksort Memory: 4185kB
  • Buffers: shared hit=216 read=4968523
5. 221,684.770 221,684.770 ↑ 1.3 33,922 5

Parallel Seq Scan on max_test_click_2018_3 o (cost=0.00..7,151,540.13 rows=43,005 width=24) (actual time=66.340..44,336.954 rows=33,922 loops=5)

  • Filter: ((timestamp_ >= '2018-01-01 07:00:00'::timestamp without time zone) AND (timestamp_ <= '2018-05-01 05:59:59.999'::timestamp without time zone) AND ((location_path)::text ~~ '/tax-calculator%'::text))
  • Rows Removed by Filter: 8908475
  • Buffers: shared hit=4 read=4968523
Planning time : 1.861 ms
Execution time : 44,449.523 ms