explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Y95p

Settings
# exclusive inclusive rows x rows loops node
1. 0.000 0.000 ↓ 0.0

Subquery Scan on results (cost=351,824.23..351,828.42 rows=335 width=560) (actual rows= loops=)

2.          

CTE arhiv_tmp

3. 0.000 0.000 ↓ 0.0

Unique (cost=91,998.79..92,029.54 rows=434 width=36) (actual rows= loops=)

4. 0.000 0.000 ↓ 0.0

Sort (cost=91,998.79..92,006.48 rows=3,075 width=36) (actual rows= loops=)

  • Sort Key: arh.pr_id, arh."DateValue
5. 0.000 0.000 ↓ 0.0

Hash Semi Join (cost=91,566.30..91,820.65 rows=3,075 width=36) (actual rows= loops=)

  • Hash Cond: (arh.pr_id = p.prp_id)
6. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=91,344.60..91,549.37 rows=4,331 width=36) (actual rows= loops=)

  • Merge Cond: (arh.pr_id = arangcontract3.prp_id)
7. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=91,185.64..91,325.76 rows=4,331 width=32) (actual rows= loops=)

  • Merge Cond: (arh.pr_id = aranguser3.prp_id)
8. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=91,026.68..91,102.15 rows=4,331 width=28) (actual rows= loops=)

  • Merge Cond: (arh.pr_id = arangmetrol3.prp_id)
9. 0.000 0.000 ↓ 0.0

Sort (cost=90,867.71..90,878.54 rows=4,331 width=24) (actual rows= loops=)

  • Sort Key: arh.pr_id
10. 0.000 0.000 ↓ 0.0

Seq Scan on "Arhiv_cnt" arh (cost=0.00..90,606.11 rows=4,331 width=24) (actual rows= loops=)

  • Filter: (("DateValue" >= '2019-06-23 00:00:00'::timestamp without time zone) AND ("DateValue" <= '2019-07-01 00:00:00'::timestamp without time zone) AND (typ_arh = 2))
11. 0.000 0.000 ↓ 0.0

Sort (cost=158.96..164.31 rows=2,140 width=8) (actual rows= loops=)

  • Sort Key: arangmetrol3.prp_id
12. 0.000 0.000 ↓ 0.0

Hash Left Join (cost=1.05..40.58 rows=2,140 width=8) (actual rows= loops=)

  • Hash Cond: (arangmetrol3.range_id = arang033.range_id)
13. 0.000 0.000 ↓ 0.0

Seq Scan on "RangesToParam" arangmetrol3 (cost=0.00..31.40 rows=2,140 width=8) (actual rows= loops=)

14. 0.000 0.000 ↓ 0.0

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

15. 0.000 0.000 ↓ 0.0

Seq Scan on "AnalyticRanges" arang033 (cost=0.00..1.04 rows=1 width=4) (actual rows= loops=)

  • Filter: (range_typ = 2)
16. 0.000 0.000 ↓ 0.0

Sort (cost=158.96..164.31 rows=2,140 width=8) (actual rows= loops=)

  • Sort Key: aranguser3.prp_id
17. 0.000 0.000 ↓ 0.0

Hash Left Join (cost=1.05..40.58 rows=2,140 width=8) (actual rows= loops=)

  • Hash Cond: (aranguser3.range_id = arang023.range_id)
18. 0.000 0.000 ↓ 0.0

Seq Scan on "RangesToParam" aranguser3 (cost=0.00..31.40 rows=2,140 width=8) (actual rows= loops=)

19. 0.000 0.000 ↓ 0.0

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

20. 0.000 0.000 ↓ 0.0

Seq Scan on "AnalyticRanges" arang023 (cost=0.00..1.04 rows=1 width=4) (actual rows= loops=)

  • Filter: (range_typ = 1)
21. 0.000 0.000 ↓ 0.0

Sort (cost=158.96..164.31 rows=2,140 width=8) (actual rows= loops=)

  • Sort Key: arangcontract3.prp_id
22. 0.000 0.000 ↓ 0.0

Hash Left Join (cost=1.05..40.58 rows=2,140 width=8) (actual rows= loops=)

  • Hash Cond: (arangcontract3.range_id = arang013.range_id)
23. 0.000 0.000 ↓ 0.0

Seq Scan on "RangesToParam" arangcontract3 (cost=0.00..31.40 rows=2,140 width=8) (actual rows= loops=)

24. 0.000 0.000 ↓ 0.0

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

25. 0.000 0.000 ↓ 0.0

Seq Scan on "AnalyticRanges" arang013 (cost=0.00..1.04 rows=1 width=4) (actual rows= loops=)

  • Filter: (range_typ = 0)
26. 0.000 0.000 ↓ 0.0

Hash (cost=198.78..198.78 rows=1,834 width=4) (actual rows= loops=)

27. 0.000 0.000 ↓ 0.0

Hash Semi Join (cost=12.36..198.78 rows=1,834 width=4) (actual rows= loops=)

  • Hash Cond: (p.plc_id = "Places_cnt".plc_id)
28. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" p (cost=0.00..161.08 rows=1,878 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = ANY ('{0,2,995,44,999,377,1003,1,955,308,959,310,963}'::integer[]))
29. 0.000 0.000 ↓ 0.0

Hash (cost=8.18..8.18 rows=335 width=4) (actual rows= loops=)

30. 0.000 0.000 ↓ 0.0

Seq Scan on "Places_cnt" (cost=0.00..8.18 rows=335 width=4) (actual rows= loops=)

  • Filter: ((place_id = 338) OR (plc_id = 338))
31. 0.000 0.000 ↓ 0.0

Sort (cost=259,794.69..259,795.52 rows=335 width=393) (actual rows= loops=)

  • Sort Key: (max(((pt."Name" || ' '::text) || p."Name")))
32. 0.000 0.000 ↓ 0.0

HashAggregate (cost=259,777.29..259,780.64 rows=335 width=393) (actual rows= loops=)

33. 0.000 0.000 ↓ 0.0

Hash Left Join (cost=110,478.02..196,964.79 rows=335,000 width=393) (actual rows= loops=)

  • Hash Cond: (prp24.prp_id = a24.pr_id)
34. 0.000 0.000 ↓ 0.0

Hash Left Join (cost=110,463.92..177,801.81 rows=335,000 width=373) (actual rows= loops=)

  • Hash Cond: (prp21.prp_id = pr21.prp_id)
35. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=110,204.94..171,262.29 rows=335,000 width=370) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp24.plc_id)
36. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=110,109.32..170,256.34 rows=335,000 width=366) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp22.plc_id)
37. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=110,003.32..169,240.02 rows=335,000 width=358) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp23.plc_id)
38. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=109,897.32..168,223.69 rows=335,000 width=334) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp21.plc_id)
39. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=109,801.70..167,217.75 rows=335,000 width=330) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp18.plc_id)
40. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=109,683.30..162,809.90 rows=335,000 width=322) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp19.plc_id)
41. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=109,564.90..158,402.05 rows=335,000 width=298) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp20.plc_id)
42. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=109,446.50..153,994.20 rows=335,000 width=278) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp16.plc_id)
43. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=109,322.08..148,152.93 rows=335,000 width=254) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp17.plc_id)
44. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=109,074.79..143,616.18 rows=335,000 width=247) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp15.plc_id)
45. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=108,950.31..137,760.29 rows=335,000 width=223) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp14.plc_id)
46. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=108,825.83..131,904.39 rows=335,000 width=215) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp12.plc_id)
47. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=108,719.83..130,888.07 rows=335,000 width=191) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp13.plc_id)
48. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=108,463.33..124,900.15 rows=335,000 width=184) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp10.plc_id)
49. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=108,357.33..123,883.83 rows=335,000 width=176) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp11.plc_id)
50. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=108,251.33..122,867.50 rows=335,000 width=152) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp9.plc_id)
51. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=108,112.82..121,818.67 rows=335,000 width=145) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp6.plc_id)
52. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=107,994.42..117,410.82 rows=335,000 width=137) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp7.plc_id)
53. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=107,876.02..113,002.97 rows=335,000 width=113) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp8.plc_id)
54. 0.000 0.000 ↓ 0.0

Sort (cost=107,760.42..108,597.92 rows=335,000 width=89) (actual rows= loops=)

  • Sort Key: p.plc_id
55. 0.000 0.000 ↓ 0.0

Hash Left Join (cost=32,194.04..42,661.80 rows=335,000 width=89) (actual rows= loops=)

  • Hash Cond: (pr5.dev_id = d5.dev_id)
56. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=32,139.72..37,582.48 rows=335,000 width=86) (actual rows= loops=)

  • Hash Cond: (a2.pr_id = prp2.prp_id)
57. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a2 (cost=0.00..8.68 rows=434 width=12) (actual rows= loops=)

58. 0.000 0.000 ↓ 0.0

Hash (cost=23,371.22..23,371.22 rows=335,000 width=82) (actual rows= loops=)

59. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=791.31..23,371.22 rows=335,000 width=82) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp5.plc_id)
60. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=589.56..18,880.02 rows=335,000 width=78) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp3.plc_id)
61. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=465.08..13,024.13 rows=335,000 width=54) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp4.plc_id)
62. 0.000 0.000 ↓ 0.0

Nested Loop (cost=340.67..7,182.86 rows=335,000 width=30) (actual rows= loops=)

63. 0.000 0.000 ↓ 0.0

Nested Loop Left Join (cost=340.42..482.61 rows=335 width=30) (actual rows= loops=)

64. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=340.42..383.08 rows=335 width=27) (actual rows= loops=)

  • Merge Cond: (p.plc_id = pchild.place_id)
65. 0.000 0.000 ↓ 0.0

Merge Left Join (cost=340.42..347.03 rows=335 width=27) (actual rows= loops=)

  • Merge Cond: (p.plc_id = prp2.plc_id)
66. 0.000 0.000 ↓ 0.0

Sort (cost=230.75..231.59 rows=335 width=23) (actual rows= loops=)

  • Sort Key: p.plc_id
67. 0.000 0.000 ↓ 0.0

Hash Join (cost=112.71..216.70 rows=335 width=23) (actual rows= loops=)

  • Hash Cond: (p.typ_id = pt.typ_id)
68. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=111.26..210.65 rows=335 width=16) (actual rows= loops=)

  • Hash Cond: (prp1.plc_id = p.plc_id)
69. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=99.76..194.63 rows=336 width=8) (actual rows= loops=)

  • Hash Cond: (pr1.prp_id = prp1.prp_id)
70. 0.000 0.000 ↓ 0.0

Seq Scan on "PointRead" pr1 (cost=0.00..73.64 rows=4,764 width=8) (actual rows= loops=)

71. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=336 width=8) (actual rows= loops=)

72. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp1 (cost=0.00..95.56 rows=336 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 2)
73. 0.000 0.000 ↓ 0.0

Hash (cost=7.31..7.31 rows=335 width=12) (actual rows= loops=)

74. 0.000 0.000 ↓ 0.0

Seq Scan on "Places_cnt" p (cost=0.00..7.31 rows=335 width=12) (actual rows= loops=)

  • Filter: (place_id = 338)
75. 0.000 0.000 ↓ 0.0

Hash (cost=1.20..1.20 rows=20 width=15) (actual rows= loops=)

76. 0.000 0.000 ↓ 0.0

Seq Scan on "PlaceTyp_cnt" pt (cost=0.00..1.20 rows=20 width=15) (actual rows= loops=)

77. 0.000 0.000 ↓ 0.0

Sort (cost=109.66..110.50 rows=336 width=8) (actual rows= loops=)

  • Sort Key: prp2.plc_id
78. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp2 (cost=0.00..95.56 rows=336 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 2)
79. 0.000 0.000 ↓ 0.0

Index Scan using "Places_cnt_place_id_plc_id_typ_id_idx" on "Places_cnt" pchild (cost=0.00..31.00 rows=345 width=4) (actual rows= loops=)

80. 0.000 0.000 ↓ 0.0

Index Scan using "Device_cnt_pkey" on "Device_cnt" d1 (cost=0.00..0.28 rows=1 width=11) (actual rows= loops=)

  • Index Cond: (pr1.dev_id = dev_id)
81. 0.000 0.000 ↓ 0.0

Function Scan on "GetDateRange" dts (cost=0.25..10.25 rows=1,000 width=0) (actual rows= loops=)

82. 0.000 0.000 ↓ 0.0

Sort (cost=124.42..125.25 rows=335 width=28) (actual rows= loops=)

  • Sort Key: prp4.plc_id
83. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=99.75..110.37 rows=335 width=28) (actual rows= loops=)

  • Hash Cond: (a4.pr_id = prp4.prp_id)
84. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a4 (cost=0.00..8.68 rows=434 width=24) (actual rows= loops=)

85. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=335 width=8) (actual rows= loops=)

86. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp4 (cost=0.00..95.56 rows=335 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 995)
87. 0.000 0.000 ↓ 0.0

Sort (cost=124.48..125.32 rows=336 width=28) (actual rows= loops=)

  • Sort Key: prp3.plc_id
88. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=99.76..110.38 rows=336 width=28) (actual rows= loops=)

  • Hash Cond: (a3.pr_id = prp3.prp_id)
89. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a3 (cost=0.00..8.68 rows=434 width=24) (actual rows= loops=)

90. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=336 width=8) (actual rows= loops=)

91. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp3 (cost=0.00..95.56 rows=336 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 2)
92. 0.000 0.000 ↓ 0.0

Sort (cost=201.75..202.34 rows=237 width=8) (actual rows= loops=)

  • Sort Key: prp5.plc_id
93. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=98.53..192.40 rows=237 width=8) (actual rows= loops=)

  • Hash Cond: (pr5.prp_id = prp5.prp_id)
94. 0.000 0.000 ↓ 0.0

Seq Scan on "PointRead" pr5 (cost=0.00..73.64 rows=4,764 width=8) (actual rows= loops=)

95. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=237 width=8) (actual rows= loops=)

96. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp5 (cost=0.00..95.56 rows=237 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 44)
97. 0.000 0.000 ↓ 0.0

Hash (cost=30.81..30.81 rows=1,881 width=11) (actual rows= loops=)

98. 0.000 0.000 ↓ 0.0

Seq Scan on "Device_cnt" d5 (cost=0.00..30.81 rows=1,881 width=11) (actual rows= loops=)

99. 0.000 0.000 ↓ 0.0

Sort (cost=115.60..116.19 rows=237 width=28) (actual rows= loops=)

  • Sort Key: prp8.plc_id
100. 0.000 0.000 ↓ 0.0

Hash Left Join (cost=9.79..106.25 rows=237 width=28) (actual rows= loops=)

  • Hash Cond: (prp8.prp_id = a8.pr_id)
101. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp8 (cost=0.00..95.56 rows=237 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 999)
102. 0.000 0.000 ↓ 0.0

Hash (cost=9.76..9.76 rows=2 width=24) (actual rows= loops=)

103. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a8 (cost=0.00..9.76 rows=2 width=24) (actual rows= loops=)

  • Filter: (typ_arh = 2)
104. 0.000 0.000 ↓ 0.0

Sort (cost=118.40..118.99 rows=237 width=28) (actual rows= loops=)

  • Sort Key: prp7.plc_id
105. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=98.53..109.05 rows=237 width=28) (actual rows= loops=)

  • Hash Cond: (a7.pr_id = prp7.prp_id)
106. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a7 (cost=0.00..8.68 rows=434 width=24) (actual rows= loops=)

107. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=237 width=8) (actual rows= loops=)

108. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp7 (cost=0.00..95.56 rows=237 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 44)
109. 0.000 0.000 ↓ 0.0

Sort (cost=118.40..118.99 rows=237 width=12) (actual rows= loops=)

  • Sort Key: prp6.plc_id
110. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=98.53..109.05 rows=237 width=12) (actual rows= loops=)

  • Hash Cond: (a6.pr_id = prp6.prp_id)
111. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a6 (cost=0.00..8.68 rows=434 width=12) (actual rows= loops=)

112. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=237 width=8) (actual rows= loops=)

113. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp6 (cost=0.00..95.56 rows=237 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 44)
114. 0.000 0.000 ↓ 0.0

Sort (cost=138.51..138.52 rows=5 width=11) (actual rows= loops=)

  • Sort Key: prp9.plc_id
115. 0.000 0.000 ↓ 0.0

Nested Loop Left Join (cost=0.00..138.45 rows=5 width=11) (actual rows= loops=)

116. 0.000 0.000 ↓ 0.0

Nested Loop Left Join (cost=0.00..136.97 rows=5 width=8) (actual rows= loops=)

117. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp9 (cost=0.00..95.56 rows=5 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 377)
118. 0.000 0.000 ↓ 0.0

Index Scan using "PointIndex" on "PointRead" pr9 (cost=0.00..8.27 rows=1 width=8) (actual rows= loops=)

  • Index Cond: (prp9.prp_id = prp_id)
119. 0.000 0.000 ↓ 0.0

Index Scan using "Device_cnt_pkey" on "Device_cnt" d9 (cost=0.00..0.28 rows=1 width=11) (actual rows= loops=)

  • Index Cond: (pr9.dev_id = dev_id)
120. 0.000 0.000 ↓ 0.0

Sort (cost=106.00..106.01 rows=5 width=28) (actual rows= loops=)

  • Sort Key: prp11.plc_id
121. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=95.63..105.94 rows=5 width=28) (actual rows= loops=)

  • Hash Cond: (a11.pr_id = prp11.prp_id)
122. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a11 (cost=0.00..8.68 rows=434 width=24) (actual rows= loops=)

123. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=5 width=8) (actual rows= loops=)

124. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp11 (cost=0.00..95.56 rows=5 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 377)
125. 0.000 0.000 ↓ 0.0

Sort (cost=106.00..106.01 rows=5 width=12) (actual rows= loops=)

  • Sort Key: prp10.plc_id
126. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=95.63..105.94 rows=5 width=12) (actual rows= loops=)

  • Hash Cond: (a10.pr_id = prp10.prp_id)
127. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a10 (cost=0.00..8.68 rows=434 width=12) (actual rows= loops=)

128. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=5 width=8) (actual rows= loops=)

129. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp10 (cost=0.00..95.56 rows=5 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 377)
130. 0.000 0.000 ↓ 0.0

Sort (cost=256.50..257.34 rows=336 width=11) (actual rows= loops=)

  • Sort Key: prp13.plc_id
131. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=198.83..242.40 rows=336 width=11) (actual rows= loops=)

  • Hash Cond: (d13.dev_id = pr13.dev_id)
132. 0.000 0.000 ↓ 0.0

Seq Scan on "Device_cnt" d13 (cost=0.00..30.81 rows=1,881 width=11) (actual rows= loops=)

133. 0.000 0.000 ↓ 0.0

Hash (cost=194.63..194.63 rows=336 width=8) (actual rows= loops=)

134. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=99.76..194.63 rows=336 width=8) (actual rows= loops=)

  • Hash Cond: (pr13.prp_id = prp13.prp_id)
135. 0.000 0.000 ↓ 0.0

Seq Scan on "PointRead" pr13 (cost=0.00..73.64 rows=4,764 width=8) (actual rows= loops=)

136. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=336 width=8) (actual rows= loops=)

137. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp13 (cost=0.00..95.56 rows=336 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 1)
138. 0.000 0.000 ↓ 0.0

Sort (cost=106.00..106.01 rows=5 width=28) (actual rows= loops=)

  • Sort Key: prp12.plc_id
139. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=95.63..105.94 rows=5 width=28) (actual rows= loops=)

  • Hash Cond: (a12.pr_id = prp12.prp_id)
140. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a12 (cost=0.00..8.68 rows=434 width=24) (actual rows= loops=)

141. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=5 width=8) (actual rows= loops=)

142. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp12 (cost=0.00..95.56 rows=5 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 1003)
143. 0.000 0.000 ↓ 0.0

Sort (cost=124.48..125.32 rows=336 width=12) (actual rows= loops=)

  • Sort Key: prp14.plc_id
144. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=99.76..110.38 rows=336 width=12) (actual rows= loops=)

  • Hash Cond: (a14.pr_id = prp14.prp_id)
145. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a14 (cost=0.00..8.68 rows=434 width=12) (actual rows= loops=)

146. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=336 width=8) (actual rows= loops=)

147. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp14 (cost=0.00..95.56 rows=336 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 1)
148. 0.000 0.000 ↓ 0.0

Sort (cost=124.48..125.32 rows=336 width=28) (actual rows= loops=)

  • Sort Key: prp15.plc_id
149. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=99.76..110.38 rows=336 width=28) (actual rows= loops=)

  • Hash Cond: (a15.pr_id = prp15.prp_id)
150. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a15 (cost=0.00..8.68 rows=434 width=24) (actual rows= loops=)

151. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=336 width=8) (actual rows= loops=)

152. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp15 (cost=0.00..95.56 rows=336 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 1)
153. 0.000 0.000 ↓ 0.0

Sort (cost=247.30..247.89 rows=237 width=11) (actual rows= loops=)

  • Sort Key: prp17.plc_id
154. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=195.36..237.95 rows=237 width=11) (actual rows= loops=)

  • Hash Cond: (d17.dev_id = pr17.dev_id)
155. 0.000 0.000 ↓ 0.0

Seq Scan on "Device_cnt" d17 (cost=0.00..30.81 rows=1,881 width=11) (actual rows= loops=)

156. 0.000 0.000 ↓ 0.0

Hash (cost=192.40..192.40 rows=237 width=8) (actual rows= loops=)

157. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=98.53..192.40 rows=237 width=8) (actual rows= loops=)

  • Hash Cond: (pr17.prp_id = prp17.prp_id)
158. 0.000 0.000 ↓ 0.0

Seq Scan on "PointRead" pr17 (cost=0.00..73.64 rows=4,764 width=8) (actual rows= loops=)

159. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=237 width=8) (actual rows= loops=)

160. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp17 (cost=0.00..95.56 rows=237 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 308)
161. 0.000 0.000 ↓ 0.0

Sort (cost=124.42..125.25 rows=335 width=28) (actual rows= loops=)

  • Sort Key: prp16.plc_id
162. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=99.75..110.37 rows=335 width=28) (actual rows= loops=)

  • Hash Cond: (a16.pr_id = prp16.prp_id)
163. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a16 (cost=0.00..8.68 rows=434 width=24) (actual rows= loops=)

164. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=335 width=8) (actual rows= loops=)

165. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp16 (cost=0.00..95.56 rows=335 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 955)
166. 0.000 0.000 ↓ 0.0

Sort (cost=118.40..118.99 rows=237 width=24) (actual rows= loops=)

  • Sort Key: prp20.plc_id
167. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=98.53..109.05 rows=237 width=24) (actual rows= loops=)

  • Hash Cond: (a20.pr_id = prp20.prp_id)
168. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a20 (cost=0.00..8.68 rows=434 width=20) (actual rows= loops=)

169. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=237 width=8) (actual rows= loops=)

170. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp20 (cost=0.00..95.56 rows=237 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 959)
171. 0.000 0.000 ↓ 0.0

Sort (cost=118.40..118.99 rows=237 width=28) (actual rows= loops=)

  • Sort Key: prp19.plc_id
172. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=98.53..109.05 rows=237 width=28) (actual rows= loops=)

  • Hash Cond: (a19.pr_id = prp19.prp_id)
173. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a19 (cost=0.00..8.68 rows=434 width=24) (actual rows= loops=)

174. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=237 width=8) (actual rows= loops=)

175. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp19 (cost=0.00..95.56 rows=237 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 308)
176. 0.000 0.000 ↓ 0.0

Sort (cost=118.40..118.99 rows=237 width=12) (actual rows= loops=)

  • Sort Key: prp18.plc_id
177. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=98.53..109.05 rows=237 width=12) (actual rows= loops=)

  • Hash Cond: (a18.pr_id = prp18.prp_id)
178. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a18 (cost=0.00..8.68 rows=434 width=12) (actual rows= loops=)

179. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=237 width=8) (actual rows= loops=)

180. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp18 (cost=0.00..95.56 rows=237 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 308)
181. 0.000 0.000 ↓ 0.0

Sort (cost=95.62..95.63 rows=5 width=8) (actual rows= loops=)

  • Sort Key: prp21.plc_id
182. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp21 (cost=0.00..95.56 rows=5 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 310)
183. 0.000 0.000 ↓ 0.0

Sort (cost=106.00..106.01 rows=5 width=28) (actual rows= loops=)

  • Sort Key: prp23.plc_id
184. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=95.63..105.94 rows=5 width=28) (actual rows= loops=)

  • Hash Cond: (a23.pr_id = prp23.prp_id)
185. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a23 (cost=0.00..8.68 rows=434 width=24) (actual rows= loops=)

186. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=5 width=8) (actual rows= loops=)

187. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp23 (cost=0.00..95.56 rows=5 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 310)
188. 0.000 0.000 ↓ 0.0

Sort (cost=106.00..106.01 rows=5 width=12) (actual rows= loops=)

  • Sort Key: prp22.plc_id
189. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=95.63..105.94 rows=5 width=12) (actual rows= loops=)

  • Hash Cond: (a22.pr_id = prp22.prp_id)
190. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a22 (cost=0.00..8.68 rows=434 width=12) (actual rows= loops=)

191. 0.000 0.000 ↓ 0.0

Hash (cost=95.56..95.56 rows=5 width=8) (actual rows= loops=)

192. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp22 (cost=0.00..95.56 rows=5 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 310)
193. 0.000 0.000 ↓ 0.0

Sort (cost=95.62..95.63 rows=5 width=8) (actual rows= loops=)

  • Sort Key: prp24.plc_id
194. 0.000 0.000 ↓ 0.0

Seq Scan on "ParamResPlc_cnt" prp24 (cost=0.00..95.56 rows=5 width=8) (actual rows= loops=)

  • Filter: ("ParamRes_id" = 963)
195. 0.000 0.000 ↓ 0.0

Hash (cost=199.42..199.42 rows=4,764 width=11) (actual rows= loops=)

196. 0.000 0.000 ↓ 0.0

Hash Left Join (cost=54.32..199.42 rows=4,764 width=11) (actual rows= loops=)

  • Hash Cond: (pr21.dev_id = d21.dev_id)
197. 0.000 0.000 ↓ 0.0

Seq Scan on "PointRead" pr21 (cost=0.00..73.64 rows=4,764 width=8) (actual rows= loops=)

198. 0.000 0.000 ↓ 0.0

Hash (cost=30.81..30.81 rows=1,881 width=11) (actual rows= loops=)

199. 0.000 0.000 ↓ 0.0

Seq Scan on "Device_cnt" d21 (cost=0.00..30.81 rows=1,881 width=11) (actual rows= loops=)

200. 0.000 0.000 ↓ 0.0

Hash (cost=8.68..8.68 rows=434 width=24) (actual rows= loops=)

201. 0.000 0.000 ↓ 0.0

CTE Scan on arhiv_tmp a24 (cost=0.00..8.68 rows=434 width=24) (actual rows= loops=)