explain.depesz.com

PostgreSQL's explain analyze made readable

Result: BmlF

Settings
# exclusive inclusive rows x rows loops node
1. 0.668 3.185 ↓ 2.3 1,768 1

HashAggregate (cost=73.22..80.77 rows=755 width=8) (actual time=2.950..3.185 rows=1,768 loops=1)

  • Group Key: table_0_2.c_documentid
2. 1.074 2.517 ↓ 2.3 1,768 1

Hash Left Join (cost=2.31..71.34 rows=755 width=8) (actual time=0.065..2.517 rows=1,768 loops=1)

  • Hash Cond: (table_0_2.c_datasetid = table_0_1.c_datasetsid)
  • Filter: ((lower((table_0_1.c_datasetname)::text) <> 'ds00001'::text) OR (table_0_1.c_datasetname IS NULL))
  • Rows Removed by Filter: 270
3. 0.212 1.419 ↓ 2.6 2,038 1

Nested Loop (cost=0.28..67.00 rows=772 width=16) (actual time=0.033..1.419 rows=2,038 loops=1)

4. 0.012 0.012 ↑ 1.0 1 1

Seq Scan on t_e20so1_custodian table_0 (cost=0.00..1.04 rows=1 width=8) (actual time=0.010..0.012 rows=1 loops=1)

  • Filter: (lower((c_custodianname)::text) = 'no custodian'::text)
  • Rows Removed by Filter: 2
5. 0.158 1.195 ↓ 2.6 2,038 1

Append (cost=0.28..58.24 rows=772 width=24) (actual time=0.022..1.195 rows=2,038 loops=1)

6. 1.037 1.037 ↓ 2.6 2,038 1

Index Scan using t_e20so1_document_datastore_11_c_custodianid_idx on t_e20so1_document_datastore_11 table_0_2 (cost=0.28..54.38 rows=772 width=24) (actual time=0.020..1.037 rows=2,038 loops=1)

  • Index Cond: (c_custodianid = table_0.c_custodianid)
  • Filter: ((c_docoriginalid IS NULL) AND (c_datastoresid = 11))
7. 0.010 0.024 ↓ 1.1 50 1

Hash (cost=1.46..1.46 rows=46 width=16) (actual time=0.024..0.024 rows=50 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 11kB
8. 0.014 0.014 ↓ 1.1 50 1

Seq Scan on t_e20so1_datasets table_0_1 (cost=0.00..1.46 rows=46 width=16) (actual time=0.005..0.014 rows=50 loops=1)