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. 13696.925 15894.903 ↓ 1.1 1000000 1

Sort (cost=1404052.20..1406332.11 rows=911963 width=599) (actual time=15345.765..15894.903 rows=1000000 loops=1)

  • Sort Key: fs_agrperson.fs_party
  • Sort Method: external sort Disk: 371464kB
2. 635.242 2197.978 ↓ 1.1 1000000 1

Hash Join (cost=93996.64..341250.18 rows=911963 width=599) (actual time=556.266..2197.978 rows=1000000 loops=1)

  • Hash Cond: ((cm_ledgeritem.salesteam)::text = (fs_agrperson.tril_gid)::text)
3. 1006.507 1006.507 ↑ 1.0 1000000 1

Seq Scan on cm_ledgeritem (cost=0.00..99075.00 rows=1004333 width=500) (actual time=0.016..1006.507 rows=1000000 loops=1)

  • Filter: (fs_batchid = 1)
4. 26.304 556.229 ↓ 1.1 45351 1

Hash (cost=92676.89..92676.89 rows=41180 width=132) (actual time=556.229..556.229 rows=45351 loops=1)

5. 53.138 529.925 ↓ 1.1 45351 1

Hash Join (cost=2886.40..92676.89 rows=41180 width=132) (actual time=55.407..529.925 rows=45351 loops=1)

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

Seq Scan on fs_debtitem (cost=0.00..87468.89 rows=41180 width=66) (actual time=0.008..421.506 rows=45351 loops=1)

  • Filter: (fs_annualize = 0)
7. 19.954 55.281 ↑ 1.0 45351 1

Hash (cost=1787.51..1787.51 rows=45351 width=66) (actual time=55.281..55.281 rows=45351 loops=1)

8. 35.327 35.327 ↑ 1.0 45351 1

Seq Scan on fs_agrperson (cost=0.00..1787.51 rows=45351 width=66) (actual time=0.008..35.327 rows=45351 loops=1)