explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Vorc

Settings
# exclusive inclusive rows x rows loops node
1. 0.353 19.556 ↓ 19.0 19 1

Unique (cost=50.52..50.59 rows=1 width=10,372) (actual time=19.058..19.556 rows=19 loops=1)

2. 0.428 19.203 ↓ 19.0 19 1

Sort (cost=50.52..50.52 rows=1 width=10,372) (actual time=19.040..19.203 rows=19 loops=1)

  • Sort Key: c1.name, c1.id, c1."primaryPhone", c1."alternativePhone", c1.email, c1.address1, c1.address2, c1.city, c1.state, c1."zipCode", c1.recruiter, c1.worklist, c1."hiddenFromWorklist", c1."applicationDate", c1."lastUpdatedDat
  • Sort Method: quicksort Memory: 30kB
3. 9.106 18.775 ↓ 19.0 19 1

Nested Loop Semi Join (cost=0.00..50.51 rows=1 width=10,372) (actual time=1.623..18.775 rows=19 loops=1)

  • Join Filter: ((c1.id <> c2.id) AND (((c1."primaryPhone" IS NOT NULL) AND ((c1."primaryPhone")::text <> ''::text) AND (((c1."primaryPhone")::text = (c2."primaryPhone")::text) OR ((c1."primaryPhone")::text = (c2."alternativeP
  • Rows Removed by Join Filter: 859
4. 0.660 0.660 ↑ 1.0 39 1

Seq Scan on candidates c1 (cost=0.00..2.39 rows=39 width=10,368) (actual time=0.311..0.660 rows=39 loops=1)

5. 8.318 9.009 ↑ 1.7 23 39

Materialize (cost=0.00..2.58 rows=39 width=1,036) (actual time=0.017..0.231 rows=23 loops=39)

6. 0.691 0.691 ↑ 1.0 39 1

Seq Scan on candidates c2 (cost=0.00..2.39 rows=39 width=1,036) (actual time=0.313..0.691 rows=39 loops=1)

Planning time : 7.788 ms
Execution time : 19.919 ms