explain.depesz.com

A tool for finding a real cause for slow queries.

Result: 423

options
Did it help? Consider supporting us - Bitcoin address: 12v2hUztAk2LgzQ9H9LMwuU32urHMjZQnq
# exclusive inclusive rows x rows loops node
1. 13,696.925 15,894.903 ↓ 1.1 1,000,000 1

Sort (cost=1,404,052.20..1,406,332.11 rows=911,963 width=599) (actual time=15,345.765..15,894.903 rows=1,000,000 loops=1)

  • Sort Key: fs_agrperson.fs_party
  • Sort Method: external sort Disk: 371464kB
2. 635.242 2,197.978 ↓ 1.1 1,000,000 1

Hash Join (cost=93,996.64..341,250.18 rows=911,963 width=599) (actual time=556.266..2,197.978 rows=1,000,000 loops=1)

  • Hash Cond: ((cm_ledgeritem.salesteam)::text = (fs_agrperson.tril_gid)::text)
3. 1,006.507 1,006.507 ↑ 1.0 1,000,000 1

Seq Scan on cm_ledgeritem (cost=0.00..99,075.00 rows=1,004,333 width=500) (actual time=0.016..1,006.507 rows=1,000,000 loops=1)

  • Filter: (fs_batchid = 1)
4. 26.304 556.229 ↓ 1.1 45,351 1

Hash (cost=92,676.89..92,676.89 rows=41,180 width=132) (actual time=556.229..556.229 rows=45,351 loops=1)

5. 53.138 529.925 ↓ 1.1 45,351 1

Hash Join (cost=2,886.40..92,676.89 rows=41,180 width=132) (actual time=55.407..529.925 rows=45,351 loops=1)

  • Hash Cond: ((fs_debtitem.fs_party)::text = (fs_agrperson.fs_party)::text)
6. 421.506 421.506 ↓ 1.1 45,351 1

Seq Scan on fs_debtitem (cost=0.00..87,468.89 rows=41,180 width=66) (actual time=0.008..421.506 rows=45,351 loops=1)

  • Filter: (fs_annualize = 0)
7. 19.954 55.281 ↑ 1.0 45,351 1

Hash (cost=1,787.51..1,787.51 rows=45,351 width=66) (actual time=55.281..55.281 rows=45,351 loops=1)

8. 35.327 35.327 ↑ 1.0 45,351 1

Seq Scan on fs_agrperson (cost=0.00..1,787.51 rows=45,351 width=66) (actual time=0.008..35.327 rows=45,351 loops=1)