explain.depesz.com

PostgreSQL's explain analyze made readable

Result: urwn

Settings
# exclusive inclusive rows x rows loops node
1. 0.067 59,745.871 ↓ 10.0 10 1

Nested Loop (cost=8.97..17.01 rows=1 width=45) (actual time=59,689.754..59,745.871 rows=10 loops=1)

  • Buffers: shared hit=30 read=1231269
2. 0.008 59,665.344 ↓ 10.0 10 1

Limit (cost=8.54..8.55 rows=1 width=16) (actual time=59,665.310..59,665.344 rows=10 loops=1)

  • Buffers: shared hit=3 read=1231256
3. 0.022 59,665.336 ↓ 10.0 10 1

Unique (cost=8.54..8.55 rows=1 width=16) (actual time=59,665.308..59,665.336 rows=10 loops=1)

  • Buffers: shared hit=3 read=1231256
4. 1,489.991 59,665.314 ↓ 10.0 10 1

Sort (cost=8.54..8.54 rows=1 width=16) (actual time=59,665.305..59,665.314 rows=10 loops=1)

  • Sort Key: entity_detail.entity_id
  • Sort Method: quicksort Memory: 238930kB
  • Buffers: shared hit=3 read=1231256
5. 58,175.323 58,175.323 ↓ 3,000,000.0 3,000,000 1

Index Scan using entity_detail_detail_type_name_value_idx on entity_detail (cost=0.70..8.53 rows=1 width=16) (actual time=36.607..58,175.323 rows=3,000,000 loops=1)

  • Index Cond: ((detail_type = 'BacNetProperty'::text) AND (name = 'BACnet Property 1'::text) AND (value = 'BACnet Property 1 value'::text))
  • Buffers: shared read=1231256
6. 80.460 80.460 ↑ 1.0 1 10

Index Scan using entity_pkey on entity e (cost=0.43..8.45 rows=1 width=45) (actual time=8.046..8.046 rows=1 loops=10)

  • Index Cond: (id = entity_detail.entity_id)
  • Buffers: shared hit=27 read=13