explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 3OuB

Settings
# exclusive inclusive rows x rows loops node
1. 0.003 8,197.060 ↓ 1.4 7 1

Limit (cost=1,348.22..1,895.62 rows=5 width=636) (actual time=8,196.882..8,197.060 rows=7 loops=1)

  • Buffers: shared hit=2822893
2. 0.059 8,197.057 ↓ 1.4 7 1

WindowAgg (cost=1,348.22..1,895.62 rows=5 width=636) (actual time=8,196.882..8,197.057 rows=7 loops=1)

  • Buffers: shared hit=2822893
3. 0.025 8,196.780 ↓ 1.4 7 1

Sort (cost=1,348.22..1,348.23 rows=5 width=478) (actual time=8,196.778..8,196.780 rows=7 loops=1)

  • Sort Key: a.edassnbr
  • Sort Method: quicksort Memory: 30kB
  • Buffers: shared hit=2822800
4. 0.006 8,196.755 ↓ 1.4 7 1

Nested Loop (cost=1,240.67..1,348.16 rows=5 width=478) (actual time=8,196.668..8,196.755 rows=7 loops=1)

  • Buffers: shared hit=2822800
5. 0.001 0.126 ↑ 1.0 1 1

Nested Loop Left Join (cost=2.10..47.34 rows=1 width=245) (actual time=0.116..0.126 rows=1 loops=1)

  • Join Filter: (((a.assnbri)::text = (abom.assnbri)::text) AND ((a.reg_name)::text = (abom.reg_name)::text))
  • Buffers: shared hit=22
6. 0.006 0.118 ↑ 1.0 1 1

Nested Loop Left Join (cost=2.10..46.29 rows=1 width=230) (actual time=0.108..0.118 rows=1 loops=1)

  • Join Filter: (((a.assnbri)::text = (rpt.assnbri)::text) AND ((a.reg_name)::text = (rpt.reg_name)::text))
  • Buffers: shared hit=21
7. 0.006 0.095 ↑ 1.0 1 1

Nested Loop Left Join (cost=1.69..37.84 rows=1 width=211) (actual time=0.087..0.095 rows=1 loops=1)

  • Join Filter: (((a.reg_name)::text = (au.reg_name)::text) AND ((a.assnbri)::text = (au.assnbri)::text))
  • Buffers: shared hit=17
8. 0.008 0.075 ↑ 1.0 1 1

Nested Loop Left Join (cost=1.27..33.39 rows=1 width=204) (actual time=0.069..0.075 rows=1 loops=1)

  • Join Filter: ((a.asset_type)::text = (f1a_asset_type_sc0.code_id)::text)
  • Buffers: shared hit=13
9. 0.003 0.059 ↑ 1.0 1 1

Nested Loop Left Join (cost=0.98..25.07 rows=1 width=187) (actual time=0.055..0.059 rows=1 loops=1)

  • Buffers: shared hit=10
10. 0.007 0.044 ↑ 1.0 1 1

Nested Loop Left Join (cost=0.70..16.75 rows=1 width=170) (actual time=0.041..0.044 rows=1 loops=1)

  • Buffers: shared hit=7
11. 0.024 0.024 ↑ 1.0 1 1

Index Scan using f1fara_idx1 on f1asr_reg_asset a (cost=0.41..8.44 rows=1 width=153) (actual time=0.023..0.024 rows=1 loops=1)

  • Index Cond: (((reg_name)::text = 'ASSET'::text) AND ((assnbri)::text = '0000010'::text))
  • Filter: ((asset_type)::text = 'S'::text)
  • Buffers: shared hit=4
12. 0.013 0.013 ↑ 1.0 1 1

Index Scan using f1fstc_idx1 on f1stc_code f1a_oper_asset_status_sc2 (cost=0.29..8.30 rows=1 width=21) (actual time=0.012..0.013 rows=1 loops=1)

  • Index Cond: (((code_type)::text = 'F1A_OPER_ASSET_STATUS'::text) AND ((a.operating_asset_status)::text = (code_id)::text))
  • Buffers: shared hit=3
13. 0.012 0.012 ↑ 1.0 1 1

Index Scan using f1fstc_idx1 on f1stc_code f1a_asset_status_sc1 (cost=0.29..8.30 rows=1 width=21) (actual time=0.011..0.012 rows=1 loops=1)

  • Index Cond: (((code_type)::text = 'F1A_ASSET_STATUS'::text) AND ((a.asset_status)::text = (code_id)::text))
  • Buffers: shared hit=3
14. 0.008 0.008 ↑ 1.0 1 1

Index Scan using f1fstc_idx1 on f1stc_code f1a_asset_type_sc0 (cost=0.29..8.30 rows=1 width=21) (actual time=0.008..0.008 rows=1 loops=1)

  • Index Cond: (((code_type)::text = 'F1A_ASSET_TYPE'::text) AND ((code_id)::text = 'S'::text))
  • Buffers: shared hit=3
15. 0.014 0.014 ↑ 1.0 1 1

Index Only Scan using f1farauf_idx1 on f1asr_reg_asset_uf au (cost=0.41..4.43 rows=1 width=15) (actual time=0.013..0.014 rows=1 loops=1)

  • Index Cond: ((reg_name = 'ASSET'::text) AND (assnbri = '0000010'::text))
  • Heap Fetches: 0
  • Buffers: shared hit=4
16. 0.017 0.017 ↑ 1.0 1 1

Index Scan using amrpt_a_idx1 on amrpt_asset rpt (cost=0.41..8.43 rows=1 width=35) (actual time=0.016..0.017 rows=1 loops=1)

  • Index Cond: (((reg_name)::text = 'ASSET'::text) AND ((assnbri)::text = '0000010'::text))
  • Buffers: shared hit=4
17. 0.007 0.007 ↓ 0.0 0 1

Seq Scan on f1asr_reg_asset_bom abom (cost=0.00..1.03 rows=1 width=29) (actual time=0.007..0.007 rows=0 loops=1)

  • Filter: (((assnbri)::text = '0000010'::text) AND (seqnbr = 1) AND ((reg_name)::text = 'ASSET'::text))
  • Rows Removed by Filter: 2
  • Buffers: shared hit=1
18. 0.016 8,196.623 ↓ 1.4 7 1

Nested Loop Left Join (cost=1,238.57..1,300.77 rows=5 width=233) (actual time=8,196.548..8,196.623 rows=7 loops=1)

  • Join Filter: (((msal3.reg_name)::text = (msal.reg_name)::text) AND ((msal3.assnbri)::text = (msal.assnbri)::text) AND ((msal3.mnt_shd_code)::text = (msal.mnt_shd_code)::text))
  • Rows Removed by Join Filter: 24
  • Buffers: shared hit=2822778
19. 0.010 0.146 ↓ 1.4 7 1

Nested Loop Left Join (cost=3.77..57.81 rows=5 width=217) (actual time=0.099..0.146 rows=7 loops=1)

  • Join Filter: ((msd.mnt_shd_basis_optn)::text = (aso_mnt_shd_basis_sc7.code_id)::text)
  • Rows Removed by Join Filter: 7
  • Buffers: shared hit=22
20. 0.006 0.122 ↓ 1.4 7 1

Nested Loop Left Join (cost=3.48..43.15 rows=5 width=200) (actual time=0.084..0.122 rows=7 loops=1)

  • Join Filter: ((msd.mnt_shd_type)::text = (aso_mnt_shd_type_sc6.code_id)::text)
  • Rows Removed by Join Filter: 21
  • Buffers: shared hit=19
21. 0.012 0.095 ↓ 1.4 7 1

Nested Loop Left Join (cost=3.20..28.49 rows=5 width=183) (actual time=0.069..0.095 rows=7 loops=1)

  • Join Filter: ((msal.mnt_shd_asset_link_status)::text = (aso_mnt_shd_asset_link44f21c76.code_id)::text)
  • Buffers: shared hit=14
22. 0.021 0.069 ↓ 1.4 7 1

Hash Join (cost=2.91..20.11 rows=5 width=166) (actual time=0.052..0.069 rows=7 loops=1)

  • Hash Cond: ((msal.mnt_shd_code)::text = (msd.mnt_shd_code)::text)
  • Buffers: shared hit=11
23. 0.022 0.022 ↓ 1.2 7 1

Index Scan using f1asomsal_idx1 on f1aso_mnt_shd_asset_link msal (cost=0.28..17.40 rows=6 width=131) (actual time=0.014..0.022 rows=7 loops=1)

  • Index Cond: (((reg_name)::text = 'ASSET'::text) AND ((assnbri)::text = '0000010'::text))
  • Filter: ((mnt_shd_asset_link_status)::text = 'A'::text)
  • Buffers: shared hit=9
24. 0.011 0.026 ↑ 1.2 18 1

Hash (cost=2.36..2.36 rows=22 width=35) (actual time=0.026..0.026 rows=18 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 10kB
  • Buffers: shared hit=2
25. 0.015 0.015 ↑ 1.2 18 1

Seq Scan on f1aso_mnt_shd_ctl msd (cost=0.00..2.36 rows=22 width=35) (actual time=0.005..0.015 rows=18 loops=1)

  • Filter: ((reg_name)::text = 'ASSET'::text)
  • Rows Removed by Filter: 6
  • Buffers: shared hit=2
26. 0.002 0.014 ↑ 1.0 1 7

Materialize (cost=0.29..8.31 rows=1 width=21) (actual time=0.002..0.002 rows=1 loops=7)

  • Buffers: shared hit=3
27. 0.012 0.012 ↑ 1.0 1 1

Index Scan using f1fstc_idx1 on f1stc_code aso_mnt_shd_asset_link44f21c76 (cost=0.29..8.30 rows=1 width=21) (actual time=0.011..0.012 rows=1 loops=1)

  • Index Cond: (((code_type)::text = 'ASO_MNT_SHD_ASSET_LINK_STATUS'::text) AND ((code_id)::text = 'A'::text))
  • Buffers: shared hit=3
28. 0.008 0.021 ↑ 1.0 4 7

Materialize (cost=0.29..14.37 rows=4 width=21) (actual time=0.002..0.003 rows=4 loops=7)

  • Buffers: shared hit=5
29. 0.013 0.013 ↑ 1.0 4 1

Index Scan using f1fstc_idx1 on f1stc_code aso_mnt_shd_type_sc6 (cost=0.29..14.35 rows=4 width=21) (actual time=0.010..0.013 rows=4 loops=1)

  • Index Cond: ((code_type)::text = 'ASO_MNT_SHD_TYPE'::text)
  • Buffers: shared hit=5
30. 0.004 0.014 ↑ 2.0 2 7

Materialize (cost=0.29..14.37 rows=4 width=21) (actual time=0.002..0.002 rows=2 loops=7)

  • Buffers: shared hit=3
31. 0.010 0.010 ↑ 2.0 2 1

Index Scan using f1fstc_idx1 on f1stc_code aso_mnt_shd_basis_sc7 (cost=0.29..14.35 rows=4 width=21) (actual time=0.009..0.010 rows=2 loops=1)

  • Index Cond: ((code_type)::text = 'ASO_MNT_SHD_BASIS'::text)
  • Buffers: shared hit=3
32. 0.003 8,196.461 ↓ 4.0 4 7

Materialize (cost=1,234.80..1,242.87 rows=1 width=37) (actual time=1,170.920..1,170.923 rows=4 loops=7)

  • Buffers: shared hit=2822756
33. 0.005 8,196.458 ↓ 4.0 4 1

Nested Loop Left Join (cost=1,234.80..1,242.86 rows=1 width=37) (actual time=8,196.440..8,196.458 rows=4 loops=1)

  • Buffers: shared hit=2822756
34. 0.003 8,196.441 ↓ 4.0 4 1

GroupAggregate (cost=1,234.52..1,234.55 rows=1 width=29) (actual time=8,196.434..8,196.441 rows=4 loops=1)

  • Group Key: msal3.reg_name, msal3.assnbri, msal3.mnt_shd_code
  • Buffers: shared hit=2822744
35. 0.022 8,196.438 ↓ 4.0 4 1

Sort (cost=1,234.52..1,234.53 rows=1 width=29) (actual time=8,196.431..8,196.438 rows=4 loops=1)

  • Sort Key: msal3.mnt_shd_code
  • Sort Method: quicksort Memory: 25kB
  • Buffers: shared hit=2822744
36. 3.151 8,196.416 ↓ 4.0 4 1

Nested Loop (cost=82.11..1,234.51 rows=1 width=29) (actual time=11.499..8,196.416 rows=4 loops=1)

  • Join Filter: ((SubPlan 7) = tc2.est_start_datei)
  • Rows Removed by Join Filter: 448
  • Buffers: shared hit=2822744
37. 1.190 4.381 ↓ 21.5 452 1

Hash Join (cost=81.84..132.31 rows=21 width=39) (actual time=2.277..4.381 rows=452 loops=1)

  • Hash Cond: (ta2.mnt_hist_unique_id = mh2.unique_id)
  • Buffers: shared hit=64
38. 1.055 1.055 ↓ 1.0 756 1

Seq Scan on f1wrk_task_ctl_ass ta2 (cost=0.00..47.51 rows=735 width=38) (actual time=0.014..1.055 rows=756 loops=1)

  • Filter: (((reg_name)::text = 'ASSET'::text) AND ((assnbri)::text = '0000010'::text))
  • Rows Removed by Filter: 485
  • Buffers: shared hit=29
39. 0.208 2.136 ↓ 41.4 455 1

Hash (cost=81.70..81.70 rows=11 width=45) (actual time=2.136..2.136 rows=455 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 47kB
  • Buffers: shared hit=35
40. 1.266 1.928 ↓ 41.4 455 1

Nested Loop (cost=2.91..81.70 rows=11 width=45) (actual time=0.079..1.928 rows=455 loops=1)

  • Join Filter: ((CASE WHEN ((msc2.mnt_shd_type)::text = 'N'::text) THEN mh2.aso_nest_mnt_shd_code ELSE mh2.aso_mnt_shd_code END)::text = (msc2.mnt_shd_code)::text)
  • Rows Removed by Join Filter: 2632
  • Buffers: shared hit=35
41. 0.221 0.221 ↓ 1.0 441 1

Seq Scan on f1asr_reg_asset_mh mh2 (cost=0.00..37.74 rows=421 width=35) (actual time=0.031..0.221 rows=441 loops=1)

  • Filter: (((reg_name)::text = 'ASSET'::text) AND ((assnbri)::text = '0000010'::text))
  • Rows Removed by Filter: 91
  • Buffers: shared hit=30
42. 0.399 0.441 ↓ 1.4 7 441

Materialize (cost=2.91..7.13 rows=5 width=32) (actual time=0.000..0.001 rows=7 loops=441)

  • Buffers: shared hit=5
43. 0.010 0.042 ↓ 1.4 7 1

Hash Join (cost=2.91..7.11 rows=5 width=32) (actual time=0.037..0.042 rows=7 loops=1)

  • Hash Cond: ((msal3.mnt_shd_code)::text = (msc2.mnt_shd_code)::text)
  • Buffers: shared hit=5
44. 0.012 0.012 ↓ 1.2 7 1

Index Only Scan using f1asomsal_idx1 on f1aso_mnt_shd_asset_link msal3 (cost=0.28..4.40 rows=6 width=21) (actual time=0.009..0.012 rows=7 loops=1)

  • Index Cond: ((reg_name = 'ASSET'::text) AND (assnbri = '0000010'::text))
  • Heap Fetches: 0
  • Buffers: shared hit=3
45. 0.007 0.020 ↑ 1.2 18 1

Hash (cost=2.36..2.36 rows=22 width=17) (actual time=0.020..0.020 rows=18 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
  • Buffers: shared hit=2
46. 0.013 0.013 ↑ 1.2 18 1

Seq Scan on f1aso_mnt_shd_ctl msc2 (cost=0.00..2.36 rows=22 width=17) (actual time=0.005..0.013 rows=18 loops=1)

  • Filter: ((reg_name)::text = 'ASSET'::text)
  • Rows Removed by Filter: 6
  • Buffers: shared hit=2
47. 4.520 4.520 ↑ 1.0 1 452

Index Scan using f1wtc_idx1 on f1wrk_task_ctl tc2 (cost=0.28..2.60 rows=1 width=33) (actual time=0.010..0.010 rows=1 loops=452)

  • Index Cond: (((work_sys_name)::text = (ta2.work_sys_name)::text) AND ((task_nbri)::text = (ta2.task_nbri)::text))
  • Buffers: shared hit=1364
48.          

SubPlan (for Nested Loop)

49. 0.000 8,184.364 ↑ 1.0 1 452

Aggregate (cost=49.86..49.87 rows=1 width=8) (actual time=18.107..18.107 rows=1 loops=452)

  • Buffers: shared hit=2821316
50.          

Initplan (for Aggregate)

51. 2.712 4,055.796 ↑ 1.0 1 452

Aggregate (cost=24.92..24.94 rows=1 width=8) (actual time=8.973..8.973 rows=1 loops=452)

  • Buffers: shared hit=1410658
52. 58.770 4,053.084 ↓ 0.0 0 452

Nested Loop (cost=0.83..24.92 rows=1 width=8) (actual time=8.927..8.967 rows=0 loops=452)

  • Buffers: shared hit=1410658
53. 289.280 2,160.108 ↓ 369.0 369 452

Nested Loop (cost=0.55..16.61 rows=1 width=16) (actual time=0.523..4.779 rows=369 loops=452)

  • Buffers: shared hit=907164
54. 162.268 162.268 ↓ 756.0 756 452

Index Scan using f1wtcass_idx2 on f1wrk_task_ctl_ass ta4 (cost=0.28..8.30 rows=1 width=38) (actual time=0.034..0.359 rows=756 loops=452)

  • Index Cond: (((reg_name)::text = (msal3.reg_name)::text) AND ((assnbri)::text = (msal3.assnbri)::text))
  • Buffers: shared hit=21244
55. 1,708.560 1,708.560 ↓ 0.0 0 341,712

Index Scan using f1faramh_idx1 on f1asr_reg_asset_mh mh3 (cost=0.28..8.30 rows=1 width=22) (actual time=0.005..0.005 rows=0 loops=341,712)

  • Index Cond: (((reg_name)::text = (msal3.reg_name)::text) AND ((assnbri)::text = (msal3.assnbri)::text) AND (unique_id = ta4.mnt_hist_unique_id))
  • Filter: ((msal3.mnt_shd_code)::text = (CASE WHEN ((msc2.mnt_shd_type)::text = 'N'::text) THEN aso_nest_mnt_shd_code ELSE aso_mnt_shd_code END)::text)
  • Rows Removed by Filter: 0
  • Buffers: shared hit=885920
56. 1,834.206 1,834.206 ↓ 0.0 0 166,746

Index Scan using f1wtc_idx1 on f1wrk_task_ctl tc4 (cost=0.28..8.30 rows=1 width=25) (actual time=0.011..0.011 rows=0 loops=166,746)

  • Index Cond: (((work_sys_name)::text = (ta4.work_sys_name)::text) AND ((task_nbri)::text = (ta4.task_nbri)::text))
  • Filter: ((task_stage)::text = ANY ('{W,C,R}'::text[]))
  • Rows Removed by Filter: 1
  • Buffers: shared hit=503494
57. 120.346 8,157.696 ↓ 367.0 367 452

Nested Loop (cost=0.83..24.92 rows=1 width=8) (actual time=9.558..18.048 rows=367 loops=452)

  • Buffers: shared hit=2821316
58. 316.852 2,201.240 ↓ 369.0 369 452

Nested Loop (cost=0.55..16.61 rows=1 width=16) (actual time=0.567..4.870 rows=369 loops=452)

  • Buffers: shared hit=907164
59. 175.828 175.828 ↓ 756.0 756 452

Index Scan using f1wtcass_idx2 on f1wrk_task_ctl_ass ta3 (cost=0.28..8.30 rows=1 width=38) (actual time=0.033..0.389 rows=756 loops=452)

  • Index Cond: (((reg_name)::text = (msal3.reg_name)::text) AND ((assnbri)::text = (msal3.assnbri)::text))
  • Buffers: shared hit=21244
60. 1,708.560 1,708.560 ↓ 0.0 0 341,712

Index Scan using f1faramh_idx1 on f1asr_reg_asset_mh mh2_1 (cost=0.28..8.30 rows=1 width=22) (actual time=0.005..0.005 rows=0 loops=341,712)

  • Index Cond: (((reg_name)::text = (msal3.reg_name)::text) AND ((assnbri)::text = (msal3.assnbri)::text) AND (unique_id = ta3.mnt_hist_unique_id))
  • Filter: ((msal3.mnt_shd_code)::text = (CASE WHEN ((msc2.mnt_shd_type)::text = 'N'::text) THEN aso_nest_mnt_shd_code ELSE aso_mnt_shd_code END)::text)
  • Rows Removed by Filter: 0
  • Buffers: shared hit=885920
61. 5,836.110 5,836.110 ↑ 1.0 1 166,746

Index Scan using f1wtc_idx1 on f1wrk_task_ctl tc3 (cost=0.28..8.30 rows=1 width=25) (actual time=0.035..0.035 rows=1 loops=166,746)

  • Index Cond: (((work_sys_name)::text = (ta3.work_sys_name)::text) AND ((task_nbri)::text = (ta3.task_nbri)::text))
  • Filter: (((task_stage)::text = ANY ('{A,D}'::text[])) AND (est_start_datei > $20))
  • Rows Removed by Filter: 0
  • Buffers: shared hit=1914152
62. 0.012 0.012 ↑ 1.0 1 4

Index Scan using f1wtc_idx5 on f1wrk_task_ctl next_wo (cost=0.28..8.29 rows=1 width=24) (actual time=0.003..0.003 rows=1 loops=4)

  • Index Cond: (task_rid = (min(tc2.task_rid)))
  • Buffers: shared hit=12
63.          

SubPlan (for WindowAgg)

64. 0.035 0.035 ↑ 1.0 1 7

Seq Scan on f1aso_mnt_shd_ctl msc1 (cost=0.00..2.44 rows=1 width=2) (actual time=0.003..0.005 rows=1 loops=7)

  • Filter: (((reg_name)::text = (msal.reg_name)::text) AND ((mnt_shd_code)::text = (msal.mnt_shd_code)::text))
  • Rows Removed by Filter: 23
  • Buffers: shared hit=14
65. 0.001 0.017 ↑ 1.0 1 1

Aggregate (cost=45.69..45.70 rows=1 width=8) (actual time=0.017..0.017 rows=1 loops=1)

  • Buffers: shared hit=3
66. 0.001 0.016 ↓ 0.0 0 1

Nested Loop Anti Join (cost=8.73..45.69 rows=1 width=0) (actual time=0.016..0.016 rows=0 loops=1)

  • Join Filter: (((mh.reg_name)::text = (al.reg_name)::text) AND ((mh.assnbri)::text = (al.assnbri)::text) AND ((mh.aso_mnt_shd_code)::text = (n.sub_mnt_shd_code)::text))
  • Buffers: shared hit=3
67. 0.003 0.015 ↓ 0.0 0 1

Nested Loop (cost=0.28..9.39 rows=1 width=20) (actual time=0.015..0.015 rows=0 loops=1)

  • Buffers: shared hit=3
68. 0.012 0.012 ↓ 0.0 0 1

Index Scan using f1asomsal_idx1 on f1aso_mnt_shd_asset_link al (cost=0.28..8.30 rows=1 width=21) (actual time=0.011..0.012 rows=0 loops=1)

  • Index Cond: (((reg_name)::text = (msal.reg_name)::text) AND ((assnbri)::text = (msal.assnbri)::text) AND ((mnt_shd_code)::text = (msal.mnt_shd_code)::text))
  • Filter: (mnt_shd_start_date = to_timestamp('1900-01-01 00:00:00'::text, 'YYYY-MM-DD hh24:mi:ss'::text))
  • Rows Removed by Filter: 1
  • Buffers: shared hit=3
69. 0.000 0.000 ↓ 0.0 0

Seq Scan on f1aso_mnt_shd_ctl_nest n (cost=0.00..1.07 rows=1 width=21) (never executed)

  • Filter: (((reg_name)::text = (msal.reg_name)::text) AND ((mnt_shd_code)::text = (msal.mnt_shd_code)::text))
70. 0.000 0.000 ↓ 0.0 0

Bitmap Heap Scan on f1asr_reg_asset_mh mh (cost=8.45..36.01 rows=17 width=26) (never executed)

  • Recheck Cond: (((reg_name)::text = (msal.reg_name)::text) AND ((assnbri)::text = (msal.assnbri)::text))
71. 0.000 0.000 ↓ 0.0 0

Bitmap Index Scan on f1faramh_idx2 (cost=0.00..8.45 rows=17 width=0) (never executed)

  • Index Cond: (((reg_name)::text = (msal.reg_name)::text) AND ((assnbri)::text = (msal.assnbri)::text))
72. 0.006 0.054 ↑ 1.0 1 6

Aggregate (cost=44.38..44.39 rows=1 width=8) (actual time=0.009..0.009 rows=1 loops=6)

  • Buffers: shared hit=18
73. 0.000 0.048 ↓ 0.0 0 6

Nested Loop Anti Join (cost=8.72..44.38 rows=1 width=0) (actual time=0.008..0.008 rows=0 loops=6)

  • Join Filter: (((mh_1.reg_name)::text = (al_1.reg_name)::text) AND ((mh_1.assnbri)::text = (al_1.assnbri)::text) AND ((mh_1.aso_mnt_shd_code)::text = (al_1.mnt_shd_code)::text))
  • Buffers: shared hit=18
74. 0.048 0.048 ↓ 0.0 0 6

Index Scan using f1asomsal_idx1 on f1aso_mnt_shd_asset_link al_1 (cost=0.28..8.30 rows=1 width=21) (actual time=0.008..0.008 rows=0 loops=6)

  • Index Cond: (((reg_name)::text = (msal.reg_name)::text) AND ((assnbri)::text = (msal.assnbri)::text) AND ((mnt_shd_code)::text = (msal.mnt_shd_code)::text))
  • Filter: (mnt_shd_start_date = to_timestamp('1900-01-01 00:00:00'::text, 'YYYY-MM-DD hh24:mi:ss'::text))
  • Rows Removed by Filter: 1
  • Buffers: shared hit=18
75. 0.000 0.000 ↓ 0.0 0

Bitmap Heap Scan on f1asr_reg_asset_mh mh_1 (cost=8.45..36.05 rows=2 width=26) (never executed)

  • Recheck Cond: (((reg_name)::text = (msal.reg_name)::text) AND ((assnbri)::text = (msal.assnbri)::text))
  • Filter: ((aso_mnt_shd_code)::text = (msal.mnt_shd_code)::text)
76. 0.000 0.000 ↓ 0.0 0

Bitmap Index Scan on f1faramh_idx2 (cost=0.00..8.45 rows=17 width=0) (never executed)

  • Index Cond: (((reg_name)::text = (msal.reg_name)::text) AND ((assnbri)::text = (msal.assnbri)::text))
77. 0.007 0.077 ↑ 1.0 1 7

Aggregate (cost=12.59..12.60 rows=1 width=8) (actual time=0.011..0.011 rows=1 loops=7)

  • Buffers: shared hit=43
78. 0.021 0.070 ↓ 7.0 7 7

Nested Loop (cost=0.54..12.59 rows=1 width=0) (actual time=0.008..0.010 rows=7 loops=7)

  • Buffers: shared hit=43
79. 0.028 0.028 ↑ 1.0 1 7

Index Scan using tbfatc_idx4 on tbatt_attchmts_ctl attc (cost=0.27..8.29 rows=1 width=8) (actual time=0.004..0.004 rows=1 loops=7)

  • Index Cond: (((entity_type)::text = 'F1ASSNBR'::text) AND ((entity_key_1)::text = (a.reg_name)::text) AND ((entity_key_2)::text = (a.assnbri)::text))
  • Buffers: shared hit=21
80. 0.021 0.021 ↓ 7.0 7 7

Index Only Scan using tbfatd_idx1 on tbatt_attchmts_dtl attd (cost=0.27..4.29 rows=1 width=8) (actual time=0.002..0.003 rows=7 loops=7)

  • Index Cond: (unique_nbr = attc.unique_nbr)
  • Heap Fetches: 14
  • Buffers: shared hit=22
81. 0.007 0.035 ↑ 1.0 1 7

Aggregate (cost=4.29..4.30 rows=1 width=8) (actual time=0.005..0.005 rows=1 loops=7)

  • Buffers: shared hit=15
82. 0.028 0.028 ↑ 1.0 1 7

Index Only Scan using tbfatc_idx4 on tbatt_attchmts_ctl (cost=0.27..4.29 rows=1 width=0) (actual time=0.004..0.004 rows=1 loops=7)

  • Index Cond: ((entity_type = 'F1ASSNBR'::text) AND (entity_key_1 = (a.reg_name)::text) AND (entity_key_2 = (a.assnbri)::text))
  • Heap Fetches: 0
  • Buffers: shared hit=15
Planning time : 13.773 ms
Execution time : 8,198.504 ms