explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 23kO

Settings
# exclusive inclusive rows x rows loops node
1. 0.019 0.085 ↑ 1.2 10 1

Sort (cost=47.48..47.51 rows=12 width=1,331) (actual time=0.084..0.085 rows=10 loops=1)

  • Sort Key: induscommcontrollersdata.icd_timestamp
  • Sort Method: quicksort Memory: 35kB
2. 0.007 0.066 ↑ 1.2 10 1

Nested Loop (cost=4.63..47.27 rows=12 width=1,331) (actual time=0.049..0.066 rows=10 loops=1)

3. 0.031 0.051 ↑ 1.0 2 1

Nested Loop (cost=0.43..21.52 rows=2 width=1,267) (actual time=0.040..0.051 rows=2 loops=1)

4. 0.001 0.018 ↑ 1.0 2 1

Nested Loop (cost=0.29..17.79 rows=2 width=1,635) (actual time=0.014..0.018 rows=2 loops=1)

5. 0.004 0.013 ↑ 1.0 2 1

Nested Loop (cost=0.15..17.38 rows=2 width=1,615) (actual time=0.010..0.013 rows=2 loops=1)

6. 0.003 0.003 ↑ 1.0 2 1

Seq Scan on induscommcontrollers (cost=0.00..1.02 rows=2 width=1,607) (actual time=0.003..0.003 rows=2 loops=1)

7. 0.006 0.006 ↑ 1.0 1 2

Index Scan using ports_pkey on ports (cost=0.15..8.17 rows=1 width=12) (actual time=0.002..0.003 rows=1 loops=2)

  • Index Cond: (p_id = induscommcontrollers.ic_p_id)
8. 0.004 0.004 ↑ 1.0 1 2

Index Scan using nodeslogical_pkey on nodeslogical (cost=0.14..0.20 rows=1 width=28) (actual time=0.002..0.002 rows=1 loops=2)

  • Index Cond: (nl_id = ports.p_nl_id)
9. 0.002 0.002 ↑ 1.0 1 2

Index Scan using nodesphysical_pkey on nodesphysical (cost=0.14..1.55 rows=1 width=17) (actual time=0.001..0.001 rows=1 loops=2)

  • Index Cond: (np_id = nodeslogical.nl_np_id)
10. 0.004 0.008 ↑ 1.2 5 2

Bitmap Heap Scan on induscommcontrollersdata (cost=4.20..12.68 rows=6 width=38) (actual time=0.004..0.004 rows=5 loops=2)

  • Recheck Cond: (icd_p_id = induscommcontrollers.ic_p_id)
  • Heap Blocks: exact=2
11. 0.004 0.004 ↑ 1.2 5 2

Bitmap Index Scan on icd_pkey (cost=0.00..4.20 rows=6 width=0) (actual time=0.002..0.002 rows=5 loops=2)

  • Index Cond: (icd_p_id = induscommcontrollers.ic_p_id)
Planning time : 0.499 ms