explain.depesz.com

PostgreSQL's explain analyze made readable

Result: W4mC

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

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

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

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

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

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

  • Buffers: shared hit=1
4. 12.887 1,750.080 ↓ 10,000.0 20,000 1

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

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

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

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

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

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

Sort (cost=10,953.69..10,953.69 rows=2 width=952) (actual time=1,623.004..1,624.689 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,618.301 ↓ 10,000.0 20,000 1

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

  • Buffers: shared hit=1042292
9. 0.937 994.984 ↓ 10,000.0 10,000 1

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

  • Buffers: shared hit=752150
10. 4.614 994.047 ↓ 10,000.0 10,000 1

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

  • Buffers: shared hit=752150
11. 48.128 989.433 ↓ 10,094.0 10,094 1

Sort (cost=5,415.51..5,415.52 rows=1 width=300) (actual time=988.836..989.433 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. 151.919 941.305 ↓ 37,348.0 37,348 1

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

  • Buffers: shared hit=752150
13. 69.316 789.386 ↓ 37,348.0 37,348 1

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

  • Buffers: shared hit=714802
14. 35.038 608.026 ↓ 37,348.0 37,348 1

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

  • Buffers: shared hit=677454
15. 27.805 498.292 ↓ 37,348.0 37,348 1

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

  • Buffers: shared hit=565224
16. 164.136 433.139 ↓ 37,348.0 37,348 1

Nested Loop (cost=1,007.72..5,410.97 rows=1 width=176) (actual time=7.05..433.139 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 43.151 ↓ 37,642.0 37,642 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • Buffers: shared hit=2
33. 0.007 0.026 ↓ 1.6 13 2 / 2

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

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

Seq Scan on contract_protectionservice cps (cost=0..1.76 rows=8 width=12) (actual time=0.011..0.019 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. 68.775 68.775 ↑ 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.003..0.003 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.004 0.018 ↑ 1.0 3 2 / 2

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

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

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

  • Filter: es.monitorizable
  • Buffers: shared hit=2
38. 38.069 38.069 ↑ 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.002..0.002 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. 38.068 38.068 ↑ 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.002..0.002 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. 37.642 37.642 ↑ 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.002..0.002 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. 225.852 225.852 ↑ 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.006 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. 74.696 74.696 ↑ 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.002..0.002 rows=1 loops=37,348)

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

Seq Scan on cadence cad (cost=0..1.21 rows=16 width=20) (actual time=0.001..0.003 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.905 621.703 ↓ 10,000.0 10,000 1

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

  • Buffers: shared hit=290142
49. 4.038 620.798 ↓ 10,000.0 10,000 1

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

  • Buffers: shared hit=290142
50. 9.413 616.760 ↓ 10,000.0 10,000 1

Sort (cost=5,538.06..5,538.06 rows=1 width=300) (actual time=616.243..616.76 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. 46.930 607.347 ↓ 16,291.0 16,291 1

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

  • Buffers: shared hit=290142
52. 24.156 560.417 ↓ 16,291.0 16,291 1

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

  • Buffers: shared hit=273851
53. 18.804 503.679 ↓ 16,291.0 16,291 1

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

  • Buffers: shared hit=257560
54. 49.167 468.584 ↓ 16,291.0 16,291 1

Nested Loop (cost=1,006.43..5,534.61 rows=1 width=168) (actual time=242.065..468.584 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. 21.079 354.185 ↓ 16,308.0 16,308 1

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

  • Buffers: shared hit=192295
56. 29.795 267.874 ↓ 16,308.0 16,308 1

Nested Loop (cost=1,006.43..5,522.37 rows=1 width=161) (actual time=242.001..267.874 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. 16.877 238.062 ↓ 4,077.0 16,308 11

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

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

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

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

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

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

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

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

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

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

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

  • Buffers: shared hit=70188
64. 0.000 86.562 ↓ 607.7 17,016 1

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

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

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

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

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

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

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

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

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

  • Buffers: shared hit=1965
69. 31.799 31.799 ↑ 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.009..31.799 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.009 0.029 ↑ 1.0 21 2 / 2

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

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

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

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

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

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

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

  • Buffers: shared hit=2
74. 0.006 0.030 ↓ 1.6 13 2 / 2

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

  • Buffers: shared hit=2
75. 0.024 0.024 ↓ 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.024 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.009 0.009 ↑ 1.0 3 1

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

  • Filter: es_1.monitorizable
  • Buffers: shared hit=1
79. 33.996 33.996 ↑ 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.002..0.002 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.006 0.015 ↑ 1.0 4 1

Hash (cost=1.04..1.04 rows=4 width=13) (actual time=0.015..0.015 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 : 130.611 ms
Execution time : 1,764.108 ms