explain.depesz.com

PostgreSQL's explain analyze made readable

Result: sJAT

Settings
# exclusive inclusive rows x rows loops node
1. 4.121 1,506.259 ↓ 10,000.0 20,000 1

Hash Join (cost=10,972.45..10,974.01 rows=2 width=1,419) (actual time=1,496.813..1,506.259 rows=20,000 loops=1)

  • Buffers: shared hit=1161956
2. 5.355 1,502.124 ↓ 10,000.0 20,000 1

Hash Join (cost=10,971.36..10,972.92 rows=2 width=1,414) (actual time=1,496.783..1,502.124 rows=20,000 loops=1)

  • Buffers: shared hit=1161955
3. 0.010 0.010 ↑ 1.0 39 1

Seq Scan on assettype at (cost=0..1.39 rows=39 width=12) (actual time=0.003..0.01 rows=39 loops=1)

  • Buffers: shared hit=1
4. 13.050 1,496.759 ↓ 10,000.0 20,000 1

Hash (cost=10,971.33..10,971.33 rows=2 width=1,410) (actual time=1,496.759..1,496.759 rows=20,000 loops=1)

  • Buffers: shared hit=1161954
5. 6.502 1,483.709 ↓ 10,000.0 20,000 1

Nested Loop (cost=10,954.39..10,971.33 rows=2 width=1,410) (actual time=1,367.502..1,483.709 rows=20,000 loops=1)

  • Buffers: shared hit=1161954
6. 8.019 1,377.207 ↓ 10,000.0 20,000 1

Unique (cost=10,953.69..10,953.76 rows=2 width=952) (actual time=1,367.448..1,377.207 rows=20,000 loops=1)

  • Buffers: shared hit=1042292
7. 6.203 1,369.188 ↓ 10,000.0 20,000 1

Sort (cost=10,953.69..10,953.69 rows=2 width=952) (actual time=1,367.447..1,369.188 rows=20,000 loops=1)

  • Sort Key: l.linkid, b.docker, l.assetid, l.domainid, i.contractid, cu.customerid, l.linktypeid, a.assettypeid, l.url, mr.nextcadenceid, (COALESCE(a.matchingthreshold, cu.matchingthreshold)), (trunc((((tu.hourequivalence * (cad.cadence)::numeric) / '2'::numeric) * '3600'::numeric), 0)), (to_char(mr.lastrequest, 'YYYY-MM-DD HH24:MI:SS'::text)), (COALESCE(mdc.queue, mastermdc.queue))
  • Sort Method: quicksort Memory: 6081kB
  • Buffers: shared hit=1042292
8. 1.614 1,362.985 ↓ 10,000.0 20,000 1

Append (cost=5,415.51..10,953.68 rows=2 width=952) (actual time=757.174..1,362.985 rows=20,000 loops=1)

  • Buffers: shared hit=1042292
9. 0.926 762.774 ↓ 10,000.0 10,000 1

Limit (cost=5,415.51..5,415.55 rows=1 width=300) (actual time=757.173..762.774 rows=10,000 loops=1)

  • Buffers: shared hit=752150
10. 4.164 761.848 ↓ 10,000.0 10,000 1

Unique (cost=5,415.51..5,415.55 rows=1 width=300) (actual time=757.171..761.848 rows=10,000 loops=1)

  • Buffers: shared hit=752150
11. 47.799 757.684 ↓ 10,094.0 10,094 1

Sort (cost=5,415.51..5,415.52 rows=1 width=300) (actual time=757.169..757.684 rows=10,094 loops=1)

  • Sort Key: l.linkid, b.docker, l.assetid, l.domainid, i.contractid, cu.customerid, a.assettypeid, l.url, mr.nextcadenceid, (COALESCE(a.matchingthreshold, cu.matchingthreshold)), (trunc((((tu.hourequivalence * (cad.cadence)::numeric) / '2'::numeric) * '3600'::numeric), 0)), (to_char(mr.lastrequest, 'YYYY-MM-DD HH24:MI:SS'::text)), (COALESCE(mdc.queue, mastermdc.queue))
  • Sort Method: quicksort Memory: 11249kB
  • Buffers: shared hit=752150
12. 115.999 709.885 ↓ 37,348.0 37,348 1

Nested Loop (cost=1,008.01..5,415.5 rows=1 width=300) (actual time=4.443..709.885 rows=37,348 loops=1)

  • Buffers: shared hit=752150
13. 60.656 593.886 ↓ 37,348.0 37,348 1

Nested Loop (cost=1,008.01..5,414.11 rows=1 width=197) (actual time=4.416..593.886 rows=37,348 loops=1)

  • Buffers: shared hit=714802
14. 45.765 458.534 ↓ 37,348.0 37,348 1

Nested Loop (cost=1,008.01..5,412.62 rows=1 width=193) (actual time=4.408..458.534 rows=37,348 loops=1)

  • Buffers: shared hit=677454
15. 11.142 375.421 ↓ 37,348.0 37,348 1

Nested Loop (cost=1,007.72..5,412.22 rows=1 width=168) (actual time=4.392..375.421 rows=37,348 loops=1)

  • Buffers: shared hit=565224
16. 134.602 326.931 ↓ 37,348.0 37,348 1

Nested Loop (cost=1,007.72..5,410.97 rows=1 width=176) (actual time=4.386..326.931 rows=37,348 loops=1)

  • Filter: ((cps.domainusageid = 1) OR ((cps.domainusageid = 2) AND (cpsd.domainid IS NOT NULL)) OR ((cps.domainusageid = 3) AND (cpsd.domainid IS NULL)))
  • Buffers: shared hit=527876
17. 0.000 41.761 ↓ 37,642.0 37,642 1

Gather (cost=1,007.72..5,408.43 rows=1 width=188) (actual time=4.372..41.761 rows=37,642 loops=1)

  • Workers Planned: 1
  • Workers Launched: 1
  • Buffers: shared hit=490234
18. 15.088 239.080 ↓ 18,821.0 18,821 2 / 2

Nested Loop (cost=7.72..4,408.33 rows=1 width=188) (actual time=1.969..239.08 rows=18,821 loops=2)

  • Buffers: shared hit=490234
19. 16.189 205.171 ↓ 752.8 18,821 2 / 2

Nested Loop (cost=7.57..4,403.88 rows=25 width=169) (actual time=1.954..205.171 rows=18,821 loops=2)

  • Filter: COALESCE(mdc.monitorautomation, mastermdc.monitorautomation)
  • Buffers: shared hit=414949
20. 16.453 188.982 ↓ 380.7 19,034 2 / 2

Nested Loop (cost=7.29..4,384.76 rows=50 width=139) (actual time=1.942..188.982 rows=19,034 loops=2)

  • Buffers: shared hit=414208
21. 15.507 153.495 ↓ 380.7 19,034 2 / 2

Nested Loop (cost=7.01..4,366.14 rows=50 width=107) (actual time=1.928..153.495 rows=19,034 loops=2)

  • Buffers: shared hit=300744
22. 18.450 137.988 ↓ 380.7 19,034 2 / 2

Nested Loop (cost=6.73..4,346.67 rows=50 width=107) (actual time=1.916..137.988 rows=19,034 loops=2)

  • Buffers: shared hit=300003
23. 5.724 100.503 ↓ 333.9 19,034 2 / 2

Hash Join (cost=6.45..4,329.56 rows=57 width=95) (actual time=1.9..100.503 rows=19,034 loops=2)

  • Buffers: shared hit=185795
24. 9.892 94.765 ↓ 121.1 22,896 2 / 2

Nested Loop (cost=5.31..4,327.72 rows=189 width=99) (actual time=1.366..94.765 rows=22,896 loops=2)

  • Buffers: shared hit=185764
25. 5.400 39.023 ↓ 13.7 22,925 2 / 2

Hash Join (cost=4.9..3,393.55 rows=1,668 width=44) (actual time=1.335..39.023 rows=22,925 loops=2)

  • Buffers: shared hit=1969
26. 5.229 33.605 ↓ 8.6 22,925 2 / 2

Hash Join (cost=3.04..3,382.41 rows=2,652 width=36) (actual time=1.301..33.605 rows=22,925 loops=2)

  • Buffers: shared hit=1967
27. 9.450 28.365 ↓ 2.0 22,925 2 / 2

Hash Join (cost=1.74..3,340.93 rows=11,546 width=36) (actual time=1.274..28.365 rows=22,925 loops=2)

  • Buffers: shared hit=1965
28. 18.896 18.896 ↑ 1.2 59,952 2 / 2

Seq Scan on incident i (cost=0..2,961.8 rows=70,599 width=16) (actual time=0.006..18.896 rows=59,952 loops=2)

  • Filter: ((NOT i.deleted) AND (i.incidentstatusid <> ALL ('{4,11,17}'::integer[])))
  • Buffers: shared hit=1963
29. 0.006 0.019 ↑ 1.0 21 2 / 2

Hash (cost=1.43..1.43 rows=21 width=20) (actual time=0.018..0.019 rows=21 loops=2)

  • Buffers: shared hit=2
30. 0.013 0.013 ↑ 1.0 21 2 / 2

Seq Scan on asset a (cost=0..1.43 rows=21 width=20) (actual time=0.006..0.013 rows=21 loops=2)

  • Filter: a.active
  • Buffers: shared hit=2
31. 0.005 0.011 ↑ 1.0 13 2 / 2

Hash (cost=1.13..1.13 rows=13 width=8) (actual time=0.011..0.011 rows=13 loops=2)

  • Buffers: shared hit=2
32. 0.006 0.006 ↑ 1.0 13 2 / 2

Seq Scan on customer cu (cost=0..1.13 rows=13 width=8) (actual time=0.004..0.006 rows=13 loops=2)

  • Buffers: shared hit=2
33. 0.004 0.018 ↓ 1.6 13 2 / 2

Hash (cost=1.76..1.76 rows=8 width=12) (actual time=0.018..0.018 rows=13 loops=2)

  • Buffers: shared hit=2
34. 0.014 0.014 ↓ 1.6 13 2 / 2

Seq Scan on contract_protectionservice cps (cost=0..1.76 rows=8 width=12) (actual time=0.009..0.014 rows=13 loops=2)

  • Filter: ((NOT cps.deleted) AND (cps.protectionserviceid = 2) AND ((cps.domainusageid = 1) OR (cps.domainusageid = 2) OR (cps.domainusageid = 3)))
  • Buffers: shared hit=2
35. 45.850 45.850 ↑ 1.0 1 45,850 / 2

Index Scan using uq_link_linkid_linktypeid on link l (cost=0.42..0.55 rows=1 width=67) (actual time=0.002..0.002 rows=1 loops=45,850)

  • Index Cond: ((l.linkid = i.detectionlinkid) AND (l.linktypeid = 1))
  • Filter: ((NOT l.deleted) AND (l.monitorexecutiontypeid <> 3) AND (i.assetid = l.assetid))
  • Buffers: shared hit=183795
36. 0.003 0.014 ↑ 1.0 3 2 / 2

Hash (cost=1.1..1.1 rows=3 width=4) (actual time=0.014..0.014 rows=3 loops=2)

  • Buffers: shared hit=2
37. 0.011 0.011 ↑ 1.0 3 2 / 2

Seq Scan on enforcementstatus es (cost=0..1.1 rows=3 width=4) (actual time=0.009..0.011 rows=3 loops=2)

  • Filter: es.monitorizable
  • Buffers: shared hit=2
38. 19.035 19.035 ↑ 1.0 1 38,069 / 2

Index Scan using uq_domain_domainid_domaintypeid on domain d (cost=0.28..0.3 rows=1 width=12) (actual time=0.001..0.001 rows=1 loops=38,069)

  • Index Cond: (d.domainid = l.domainid)
  • Filter: d.active
  • Buffers: shared hit=114208
39. 0.000 0.000 ↓ 0.0 0 38,068 / 2

Index Scan using uq_domain_domainid_domaintypeid on domain masterdomain (cost=0.28..0.39 rows=1 width=8) (actual time=0..0 rows=0 loops=38,068)

  • Index Cond: (d.masterdomainid = masterdomain.domainid)
  • Filter: masterdomain.active
  • Buffers: shared hit=741
40. 19.034 19.034 ↑ 1.0 1 38,068 / 2

Index Scan using pk_monitordomainconfiguration on monitordomainconfiguration mdc (cost=0.28..0.37 rows=1 width=40) (actual time=0.001..0.001 rows=1 loops=38,068)

  • Index Cond: (d.monitordomainconfigurationid = mdc.monitordomainconfigurationid)
  • Buffers: shared hit=113464
41. 0.000 0.000 ↓ 0.0 0 38,068 / 2

Index Scan using pk_monitordomainconfiguration on monitordomainconfiguration mastermdc (cost=0.28..0.37 rows=1 width=40) (actual time=0..0 rows=0 loops=38,068)

  • Index Cond: (masterdomain.monitordomainconfigurationid = mastermdc.monitordomainconfigurationid)
  • Buffers: shared hit=741
42. 18.821 18.821 ↑ 1.0 1 37,642 / 2

Index Scan using idx_bot_bottypeid_botid on bot b (cost=0.15..0.18 rows=1 width=43) (actual time=0.001..0.001 rows=1 loops=37,642)

  • Index Cond: ((COALESCE(mdc.monitorbottypeid, mastermdc.monitorbottypeid) = b.bottypeid) AND (COALESCE(mdc.monitorbotid, mastermdc.monitorbotid) = b.botid))
  • Filter: b.active
  • Buffers: shared hit=75285
43. 150.568 150.568 ↑ 1.0 44 37,642

Seq Scan on contract_protectionservice__domain cpsd (cost=0..1.44 rows=44 width=8) (actual time=0.001..0.004 rows=44 loops=37,642)

  • Filter: (NOT cpsd.deleted)
  • Buffers: shared hit=37642
44. 37.348 37.348 ↑ 2.2 5 37,348

Seq Scan on obsolescence o (cost=0..1.11 rows=11 width=4) (actual time=0..0.001 rows=5 loops=37,348)

  • Buffers: shared hit=37348
45. 37.348 37.348 ↑ 1.0 1 37,348

Index Scan using idx_uq_detectionrequest_lastsearch on monitorrequest mr (cost=0.29..0.4 rows=1 width=29) (actual time=0.001..0.001 rows=1 loops=37,348)

  • Index Cond: (l.linkid = mr.linkid)
  • Buffers: shared hit=112230
46. 74.696 74.696 ↑ 1.0 16 37,348

Seq Scan on cadence cad (cost=0..1.21 rows=16 width=20) (actual time=0..0.002 rows=16 loops=37,348)

  • Filter: (cad.cadence > 0)
  • Buffers: shared hit=37348
47. 0.000 0.000 ↑ 5.0 1 37,348

Seq Scan on timeunit tu (cost=0..1.05 rows=5 width=9) (actual time=0..0 rows=1 loops=37,348)

  • Buffers: shared hit=37348
48. 0.919 598.597 ↓ 10,000.0 10,000 1

Limit (cost=5,538.06..5,538.1 rows=1 width=300) (actual time=593.123..598.597 rows=10,000 loops=1)

  • Buffers: shared hit=290142
49. 4.054 597.678 ↓ 10,000.0 10,000 1

Unique (cost=5,538.06..5,538.1 rows=1 width=300) (actual time=593.12..597.678 rows=10,000 loops=1)

  • Buffers: shared hit=290142
50. 9.478 593.624 ↓ 10,000.0 10,000 1

Sort (cost=5,538.06..5,538.06 rows=1 width=300) (actual time=593.118..593.624 rows=10,000 loops=1)

  • Sort Key: l_1.linkid, b_1.docker, l_1.assetid, l_1.domainid, i_1.contractid, cu_1.customerid, a_1.assettypeid, l_1.url, mr_1.nextcadenceid, (COALESCE(a_1.matchingthreshold, cu_1.matchingthreshold)), (trunc((((tu_1.hourequivalence * (cad_1.cadence)::numeric) / '2'::numeric) * '3600'::numeric), 0)), (to_char(mr_1.lastrequest, 'YYYY-MM-DD HH24:MI:SS'::text)), (COALESCE(mdc_1.queue, mastermdc_1.queue))
  • Sort Method: quicksort Memory: 4712kB
  • Buffers: shared hit=290142
51. 47.498 584.146 ↓ 16,291.0 16,291 1

Nested Loop (cost=1,006.73..5,538.05 rows=1 width=300) (actual time=213.754..584.146 rows=16,291 loops=1)

  • Buffers: shared hit=290142
52. 24.641 536.648 ↓ 16,291.0 16,291 1

Nested Loop (cost=1,006.73..5,536.66 rows=1 width=197) (actual time=213.724..536.648 rows=16,291 loops=1)

  • Buffers: shared hit=273851
53. 19.212 479.425 ↓ 16,291.0 16,291 1

Nested Loop (cost=1,006.73..5,535.17 rows=1 width=193) (actual time=213.713..479.425 rows=16,291 loops=1)

  • Buffers: shared hit=257560
54. 51.379 443.922 ↓ 16,291.0 16,291 1

Nested Loop (cost=1,006.43..5,534.61 rows=1 width=168) (actual time=213.682..443.922 rows=16,291 loops=1)

  • Filter: ((cps_1.domainusageid = 1) OR ((cps_1.domainusageid = 2) AND (cpsd_1.domainid IS NOT NULL)) OR ((cps_1.domainusageid = 3) AND (cpsd_1.domainid IS NULL)))
  • Buffers: shared hit=208603
55. 22.130 327.311 ↓ 16,308.0 16,308 1

Nested Loop (cost=1,006.43..5,532.07 rows=1 width=180) (actual time=213.668..327.311 rows=16,308 loops=1)

  • Buffers: shared hit=192295
56. 29.854 239.949 ↓ 16,308.0 16,308 1

Nested Loop (cost=1,006.43..5,522.37 rows=1 width=161) (actual time=213.623..239.949 rows=16,308 loops=1)

  • Buffers: shared hit=172181
57. 0.017 0.017 ↑ 1.0 11 1

Seq Scan on obsolescence o_1 (cost=0..1.11 rows=11 width=4) (actual time=0.008..0.017 rows=11 loops=1)

  • Buffers: shared hit=1
58. 15.094 210.078 ↓ 4,077.0 16,308 11

Materialize (cost=1,006.43..5,520.61 rows=4 width=169) (actual time=3.178..19.098 rows=16,308 loops=11)

  • Buffers: shared hit=172180
59. 13.687 194.984 ↓ 4,077.0 16,308 1

Nested Loop (cost=1,006.43..5,520.59 rows=4 width=169) (actual time=34.949..194.984 rows=16,308 loops=1)

  • Filter: COALESCE(mdc_1.monitorautomation, mastermdc_1.monitorautomation)
  • Buffers: shared hit=172180
60. 15.412 181.297 ↓ 2,428.3 16,998 1

Nested Loop (cost=1,006.15..5,517.91 rows=7 width=139) (actual time=34.935..181.297 rows=16,998 loops=1)

  • Buffers: shared hit=172180
61. 12.992 148.887 ↓ 2,428.3 16,998 1

Nested Loop (cost=1,005.88..5,515.3 rows=7 width=107) (actual time=34.918..148.887 rows=16,998 loops=1)

  • Buffers: shared hit=121182
62. 17.322 135.895 ↓ 2,428.3 16,998 1

Nested Loop (cost=1,005.6..5,512.58 rows=7 width=107) (actual time=34.903..135.895 rows=16,998 loops=1)

  • Buffers: shared hit=121182
63. 10.565 101.575 ↓ 2,124.8 16,998 1

Nested Loop (cost=1,005.32..5,510.14 rows=8 width=95) (actual time=34.885..101.575 rows=16,998 loops=1)

  • Buffers: shared hit=70188
64. 24.278 91.010 ↓ 607.7 17,016 1

Gather (cost=1,005.32..5,507.84 rows=28 width=99) (actual time=34.873..91.01 rows=17,016 loops=1)

  • Workers Planned: 1
  • Workers Launched: 1
  • Buffers: shared hit=70187
65. 6.382 66.732 ↓ 531.8 8,508 2 / 2

Nested Loop (cost=5.31..4,505.04 rows=16 width=99) (actual time=17.632..66.732 rows=8,508 loops=2)

  • Buffers: shared hit=70187
66. 5.086 37.628 ↓ 13.7 22,722 2 / 2

Hash Join (cost=4.9..3,573.6 rows=1,662 width=44) (actual time=1.514..37.628 rows=22,722 loops=2)

  • Buffers: shared hit=1998
67. 4.882 32.515 ↓ 8.6 22,722 2 / 2

Hash Join (cost=3.04..3,562.49 rows=2,642 width=36) (actual time=1.437..32.515 rows=22,722 loops=2)

  • Buffers: shared hit=1967
68. 8.870 27.620 ↓ 2.0 22,722 2 / 2

Hash Join (cost=1.74..3,521.15 rows=11,504 width=36) (actual time=1.413..27.62 rows=22,722 loops=2)

  • Buffers: shared hit=1965
69. 18.728 18.728 ↑ 1.2 59,735 2 / 2

Seq Scan on incident i_1 (cost=0..3,143.4 rows=70,342 width=16) (actual time=0.008..18.728 rows=59,735 loops=2)

  • Filter: ((NOT i_1.deleted) AND (i_1.incidentstatusid <> ALL ('{4,7,11,16,17}'::integer[])))
  • Buffers: shared hit=1963
70. 0.006 0.022 ↑ 1.0 21 2 / 2

Hash (cost=1.43..1.43 rows=21 width=20) (actual time=0.022..0.022 rows=21 loops=2)

  • Buffers: shared hit=2
71. 0.016 0.016 ↑ 1.0 21 2 / 2

Seq Scan on asset a_1 (cost=0..1.43 rows=21 width=20) (actual time=0.007..0.016 rows=21 loops=2)

  • Filter: a_1.active
  • Buffers: shared hit=2
72. 0.004 0.013 ↑ 1.0 13 2 / 2

Hash (cost=1.13..1.13 rows=13 width=8) (actual time=0.013..0.013 rows=13 loops=2)

  • Buffers: shared hit=2
73. 0.009 0.009 ↑ 1.0 13 2 / 2

Seq Scan on customer cu_1 (cost=0..1.13 rows=13 width=8) (actual time=0.005..0.009 rows=13 loops=2)

  • Buffers: shared hit=2
74. 0.005 0.027 ↓ 1.6 13 2 / 2

Hash (cost=1.76..1.76 rows=8 width=12) (actual time=0.027..0.027 rows=13 loops=2)

  • Buffers: shared hit=2
75. 0.022 0.022 ↓ 1.6 13 2 / 2

Seq Scan on contract_protectionservice cps_1 (cost=0..1.76 rows=8 width=12) (actual time=0.015..0.022 rows=13 loops=2)

  • Filter: ((NOT cps_1.deleted) AND (cps_1.protectionserviceid = 2) AND ((cps_1.domainusageid = 1) OR (cps_1.domainusageid = 2) OR (cps_1.domainusageid = 3)))
  • Buffers: shared hit=2
76. 22.722 22.722 ↓ 0.0 0 45,444 / 2

Index Scan using uq_link_linkid_linktypeid on link l_1 (cost=0.42..0.55 rows=1 width=67) (actual time=0.001..0.001 rows=0 loops=45,444)

  • Index Cond: ((l_1.linkid = i_1.contentlinkid) AND (l_1.linktypeid = 2))
  • Filter: ((NOT l_1.deleted) AND (l_1.monitorexecutiontypeid <> 3) AND (i_1.assetid = l_1.assetid))
  • Buffers: shared hit=68189
77. 0.000 0.000 ↑ 1.0 3 17,016

Materialize (cost=0..1.11 rows=3 width=4) (actual time=0..0 rows=3 loops=17,016)

  • Buffers: shared hit=1
78. 0.006 0.006 ↑ 1.0 3 1

Seq Scan on enforcementstatus es_1 (cost=0..1.1 rows=3 width=4) (actual time=0.005..0.006 rows=3 loops=1)

  • Filter: es_1.monitorizable
  • Buffers: shared hit=1
79. 16.998 16.998 ↑ 1.0 1 16,998

Index Scan using uq_domain_domainid_domaintypeid on domain d_1 (cost=0.28..0.3 rows=1 width=12) (actual time=0.001..0.001 rows=1 loops=16,998)

  • Index Cond: (d_1.domainid = l_1.domainid)
  • Filter: d_1.active
  • Buffers: shared hit=50994
80. 0.000 0.000 ↓ 0.0 0 16,998

Index Scan using uq_domain_domainid_domaintypeid on domain masterdomain_1 (cost=0.28..0.39 rows=1 width=8) (actual time=0..0 rows=0 loops=16,998)

  • Index Cond: (d_1.masterdomainid = masterdomain_1.domainid)
  • Filter: masterdomain_1.active
81. 16.998 16.998 ↑ 1.0 1 16,998

Index Scan using pk_monitordomainconfiguration on monitordomainconfiguration mdc_1 (cost=0.28..0.37 rows=1 width=40) (actual time=0.001..0.001 rows=1 loops=16,998)

  • Index Cond: (d_1.monitordomainconfigurationid = mdc_1.monitordomainconfigurationid)
  • Buffers: shared hit=50998
82. 0.000 0.000 ↓ 0.0 0 16,998

Index Scan using pk_monitordomainconfiguration on monitordomainconfiguration mastermdc_1 (cost=0.28..0.37 rows=1 width=40) (actual time=0..0 rows=0 loops=16,998)

  • Index Cond: (masterdomain_1.monitordomainconfigurationid = mastermdc_1.monitordomainconfigurationid)
83. 65.232 65.232 ↑ 9.0 14 16,308

Seq Scan on bot b_1 (cost=0..7.81 rows=126 width=43) (actual time=0.001..0.004 rows=14 loops=16,308)

  • Filter: b_1.active
  • Buffers: shared hit=20114
84. 65.232 65.232 ↑ 1.0 44 16,308

Seq Scan on contract_protectionservice__domain cpsd_1 (cost=0..1.44 rows=44 width=8) (actual time=0.001..0.004 rows=44 loops=16,308)

  • Filter: (NOT cpsd_1.deleted)
  • Buffers: shared hit=16308
85. 16.291 16.291 ↑ 1.0 1 16,291

Index Scan using idx_uq_detectionrequest_lastsearch on monitorrequest mr_1 (cost=0.29..0.56 rows=1 width=29) (actual time=0.001..0.001 rows=1 loops=16,291)

  • Index Cond: (l_1.linkid = mr_1.linkid)
  • Buffers: shared hit=48957
86. 32.582 32.582 ↑ 1.0 16 16,291

Seq Scan on cadence cad_1 (cost=0..1.21 rows=16 width=20) (actual time=0..0.002 rows=16 loops=16,291)

  • Filter: (cad_1.cadence > 0)
  • Buffers: shared hit=16291
87. 0.000 0.000 ↑ 5.0 1 16,291

Seq Scan on timeunit tu_1 (cost=0..1.05 rows=5 width=9) (actual time=0..0 rows=1 loops=16,291)

  • Buffers: shared hit=16291
88. 20.000 100.000 ↑ 1.0 1 20,000

Nested Loop (cost=0.7..8.77 rows=1 width=466) (actual time=0.004..0.005 rows=1 loops=20,000)

  • Buffers: shared hit=119662
89. 40.000 80.000 ↑ 1.0 1 20,000

Nested Loop (cost=0.56..8.6 rows=1 width=216) (actual time=0.003..0.004 rows=1 loops=20,000)

  • Buffers: shared hit=99726
90. 40.000 40.000 ↑ 1.0 1 20,000

Index Scan using uq_evidence_link_evidencetype on evidence e (cost=0.42..8.44 rows=1 width=208) (actual time=0.002..0.002 rows=1 loops=20,000)

  • Index Cond: ((l.linkid = e.linkid) AND (e.evidencetypeid = 1))
  • Buffers: shared hit=79790
91. 0.000 0.000 ↑ 1.0 1 19,634

Index Scan using pk_searchkeyword on searchkeyword sk (cost=0.14..0.16 rows=1 width=8) (actual time=0..0 rows=1 loops=19,634)

  • Index Cond: (sk.searchkeywordid = e.searchkeywordid)
  • Buffers: shared hit=19936
92. 0.000 0.000 ↑ 1.0 1 19,634

Index Scan using pk_effectivesearchkeyword on effectivesearchkeyword esk (cost=0.14..0.16 rows=1 width=262) (actual time=0..0 rows=1 loops=19,634)

  • Index Cond: (esk.effectivesearchkeywordid = e.effectivesearchkeywordid)
  • Filter: (e.searchkeywordid = esk.searchkeywordid)
  • Buffers: shared hit=19936
93. 0.005 0.014 ↑ 1.0 4 1

Hash (cost=1.04..1.04 rows=4 width=13) (actual time=0.014..0.014 rows=4 loops=1)

  • Buffers: shared hit=1
94. 0.009 0.009 ↑ 1.0 4 1

Seq Scan on linktype lt (cost=0..1.04 rows=4 width=13) (actual time=0.008..0.009 rows=4 loops=1)

  • Buffers: shared hit=1
Planning time : 131.911 ms
Execution time : 1,510.591 ms