{"id":461921,"date":"2025-06-03T15:02:40","date_gmt":"2025-06-03T15:02:40","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=461921"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=461921","title":{"rendered":"<span>\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (\u0447.12).\u00a0 \u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0432 1C: \u041f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0435 \u043d\u0430 PostgreSQL. \u041f\u043e\u0447\u0435\u043c\u0443 \u0436\u0435 \u0442\u0430\u043a \u0434\u043e\u043b\u0433\u043e?<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u042d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435 \u0443\u0436\u0435 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 15 \u043b\u0435\u0442.<\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u2013 \u0431\u0430\u0437\u0430 \u043d\u0430 PostgreSQL, \u0431\u043e\u043b\u044c\u0448\u0430\u044f. \u0412\u043f\u043e\u043b\u043d\u0435 \u0441\u0435\u0431\u0435 \u0442\u0438\u043f\u043e\u0432\u044b\u0435 \u043e\u0442\u0447\u0435\u0442\u044b \u0441 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0442\u0438\u043f\u043e\u0432\u044b\u043c\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 1C, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 <strong>\u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/strong> \u043a\u0430\u043a\u043e\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0442\u0440\u043e\u043a, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0435\u043f\u0440\u0438\u043b\u0438\u0447\u043d\u043e \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f. \u0412\u043f\u043b\u043e\u0442\u044c \u0434\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0447\u0430\u0441\u043e\u0432.<\/p>\n<p>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u2013 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440 \u0441\u0442\u0440\u043e\u0438\u0442 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u041f\u0440\u0438\u0447\u0435\u043c \u0442\u043e\u0442 \u0436\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 MS SQL \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440 \u043d\u0435 \u043e\u0448\u0438\u0431\u0430\u0435\u0442\u0441\u044f. \u041f\u0440\u044f\u043c \u043e\u0431\u0438\u0434\u043d\u043e.<\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0432 \u0447\u0435\u043c \u043e\u0448\u0438\u0431\u0430\u0435\u0442\u0441\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440 \u0438 \u043a\u0430\u043a\u0438\u0435 \u043f\u0443\u0442\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0442\u0443\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b.<\/p>\n<h2>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h2>\n<p>\u0421\u0440\u0430\u0437\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u044e\u0441\u044c, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u0431\u043b\u0438\u0446 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0442\u0440\u043e\u043a. \u0427\u0438\u0441\u0442\u043e \u044d\u043c\u043f\u0438\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u044f \u0431\u044b \u044d\u0442\u0443 \u0433\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0432 \u0440\u0430\u0439\u043e\u043d\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 1 \u043c\u043b\u043d. \u0441\u0442\u0440\u043e\u043a. \u041d\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e \u043d\u0430\u0448\u0438\u043c \u0437\u0430\u043c\u0435\u0440\u0430\u043c \u0438 \u043e\u043f\u044b\u0442\u0443 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u0442\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c\u0441\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u043c\u0438 (\u0434\u043e 10 \u0441\u0435\u043a.), \u0438 \u043e\u043d\u0430 \u0443\u0441\u043b\u043e\u0432\u043d\u043e \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0430\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u044e, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0435\u0439 \u043c\u043e\u0433\u043b\u0438 \u0438 \u043d\u0435 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439.<\/p>\n<p>\u0414\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0431\u0443\u0434\u0443\u0442 \u043a\u0430\u0441\u0430\u0442\u044c\u0441\u044f \u0442\u0430\u0431\u043b\u0438\u0446 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432 \u0441 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0442\u0440\u043e\u043a, \u0438 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c\u0441\u044f \u0443\u0436\u0435 \u043d\u0435 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u043c\u0438, \u0430 \u0434\u0435\u0441\u044f\u0442\u043a\u0430\u043c\u0438 \u043c\u0438\u043d\u0443\u0442 \u0438 \u0434\u0430\u0436\u0435 \u0447\u0430\u0441\u0430\u043c\u0438.<\/p>\n<p>\u041d\u0430\u043f\u043e\u043c\u043d\u044e, <em>\u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/em> \u2013 \u044d\u0442\u043e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0432 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 1\u0421 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0443 \u0437\u0430\u043f\u0438\u0441\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 (\u0441\u0430\u043c\u043e\u0439 &#171;\u0441\u0432\u0435\u0436\u0435\u0439&#187;) \u043d\u0430 \u0437\u0430\u0434\u0430\u043d\u043d\u0443\u044e \u0434\u0430\u0442\u0443 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0421 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0421\u0423\u0411\u0414, <em>\u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/em> \u2013 \u044d\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0441 \u0441 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 \u0438 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043a\u0430\u043c\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u043c \u043f\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u043c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f\u043c. \u0417\u0432\u0443\u0447\u0438\u0442 \u043f\u0440\u043e\u0441\u0442\u043e. \u041d\u043e \u0432\u043e\u0442 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 PostgreSQL \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u043b\u0430\u043d \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0435\u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c, \u0438\u0437-\u0437\u0430 \u0447\u0435\u0433\u043e \u043e\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u043b\u0433\u043e.<\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u043c\u0441\u044f \u043a \u0432\u0435\u043d\u0434\u043e\u0440\u0443 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b 1\u0421. \u0415\u0449\u0435 \u0432 2010 \u0433\u043e\u0434\u0443 \u043d\u0430 \u0418\u0422\u0421 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e \u043e\u0437\u0432\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435:<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b41\/edc\/a23\/b41edca23942822b4d5fccf9fef740b8.png\" width=\"841\" height=\"423\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/b41\/edc\/a23\/b41edca23942822b4d5fccf9fef740b8.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b41\/edc\/a23\/b41edca23942822b4d5fccf9fef740b8.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041e \u043d\u0435\u0439 \u043d\u0435 \u043f\u0438\u0441\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u043d\u0438\u0432\u044b\u0439, \u0438 \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u043c \u0441\u0432\u043e\u0438 \u043f\u044f\u0442\u044c \u043a\u043e\u043f\u0435\u0435\u043a. \u0420\u0430\u0437\u0431\u043e\u0440 \u043f\u043e\u0439\u0434\u0435\u0442 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0421\u0423\u0411\u0414 PostgreSQL. \u0412\u0435\u0440\u0441\u0438\u044f PG \u043d\u0435 \u0432\u0430\u0436\u043d\u0430 \u2013 \u0437\u0430 15 \u043b\u0435\u0442 \u0442\u0443\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043d\u0435\u0442, \u0432\u0441\u0451 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e. \u0410 \u0442\u0430\u043a\u0436\u0435 \u0441\u0440\u0430\u0432\u043d\u0438\u043c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0441 MS SQL, \u0433\u0434\u0435 \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043d\u0435\u0442.<\/p>\n<h2>\u0410\u043d\u0430\u043b\u0438\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/h2>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u044b \u0432\u0437\u044f\u043b\u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 MS SQL (20+ \u0422\u0431), \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u0440\u044f\u043c \u0432\u043e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u043b\u0438 \u043d\u0430 PostgreSQL, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0434\u0432\u0443\u0445 \u0421\u0423\u0411\u0414.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 <a href=\"https:\/\/softpoint.ru\/catalog\/monitoring\/perfexpert\/\" rel=\"noopener noreferrer nofollow\">Perfexpert<\/a> \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0432 \u0442\u0440\u0430\u0441\u0441\u0430\u0445 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445, \u0438 \u043f\u043b\u0430\u043d\u0430 \u0438\u0445 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. \u0410 \u0442\u0430\u043a\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0438 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043b\u0430\u043d\u043e\u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 <a href=\"https:\/\/explain.tensor.ru\/\" rel=\"noopener noreferrer nofollow\">Explain PostgreSQL<\/a> \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0422\u0435\u043d\u0437\u043e\u0440. <\/p>\n<p>\u0411\u0435\u0440\u0435\u043c \u043e\u0434\u0438\u043d \u0438\u0437 \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0435\u043c\u0443 \u0430\u043d\u0430\u043b\u043e\u0433 \u0432 \u0442\u0440\u0430\u0441\u0441\u0435 MS \u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u043f\u043b\u0430\u043d\u044b. \u041f\u043e\u0435\u0445\u0430\u043b\u0438.<\/p>\n<p><strong><u>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/u><\/strong><\/p>\n<ul>\n<li>\n<p>\u0420\u0435\u0433\u0438\u0441\u0442\u0440 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439: _InfoRg44326<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043b-\u0432\u043e \u0441\u0442\u0440\u043e\u043a: 250+ \u043c\u043b\u043d.;<\/p>\n<\/li>\n<li>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u043c\u0438: 63 \u0413\u0431.<\/p>\n<\/li>\n<li>\n<p>\u0422\u0435\u043a\u0441\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 (\u0438 \u0434\u043b\u044f PG, \u0438 \u0434\u043b\u044f MS)<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430 (\u0438 \u0434\u043b\u044f PG, \u0438 \u0434\u043b\u044f MS)<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0441\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u0442\u0430\u043a \u0432\u0430\u0436\u043d\u044b. \u041c\u044b \u043d\u0430 \u043f\u0430\u043b\u044c\u0446\u0430\u0445 \u043f\u043e\u043a\u0430\u0436\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0438 \u043a\u0430\u043a \u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0440\u0435\u0448\u0438\u0442\u044c, \u043d\u0435 \u043f\u0440\u0438\u0431\u0435\u0433\u0430\u044f \u043a \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044e \u043a\u043e\u0434\u0430.<\/p>\n<h2>\u041f\u0440\u0438\u043c\u0435\u0440 sql-\u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0441 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 \u043d\u0430 200+ \u043c\u043b\u043d \u0441\u0442\u0440\u043e\u043a \u0432 PG \u0438 \u0432 MS<\/h2>\n<p>\u041d\u0430\u0434\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e 200 \u043c\u043b\u043d. \u0441\u0442\u0440\u043e\u043a \u0434\u043b\u044f \u0441\u0440\u0435\u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0432 PostgreSQL \u2013 \u044d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0442\u044f\u0436\u0435\u043b\u043e. \u041d\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u0435\u0442 \u0438 \u043d\u0435 \u0437\u043d\u0430\u0442\u044c (\u0445\u043e\u0442\u044f \u0447\u0442\u043e-\u0442\u043e \u0442\u0430\u043a\u043e\u0435, \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430, \u043f\u043e\u0434\u043e\u0437\u0440\u0435\u0432\u0430\u0435\u0442, \u0438 \u0433\u0434\u0435-\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u0441\u043b\u044b\u0448\u0430\u043b) \u0438 \u043d\u0430\u043f\u0438\u0448\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0442\u0438\u043f\u0430 \u044d\u0442\u043e\u0433\u043e:<\/p>\n<pre><code class=\"1c\">\u0412\u042b\u0411\u0420\u0410\u0422\u042c \u041d\u043e\u043c\u0435\u043d\u043a\u043b\u0430\u0442\u0443\u0440\u0430, \u0426\u0435\u043d\u0430 \u0418\u0417 \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0421\u0432\u0435\u0434\u0435\u043d\u0438\u0439.\u0426\u0435\u043d\u044b\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u0438.\u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445(&amp;\u0412\u044b\u0431\u0414\u0430\u0442\u0430, \u0422\u0438\u043f\u0426\u0435\u043d=&amp;\u0412\u044b\u0431\u0422\u0438\u043f\u0426\u0435\u043d, \u041d\u043e\u043c\u0435\u043d\u043a\u043b\u0430\u0442\u0443\u0440\u0430=&amp;\u041d\u043e\u043c\u0435\u043d\u043a\u043b\u0430\u0442\u0443\u0440\u0430);<\/code><\/pre>\n<p>\u042d\u0442\u043e \u043d\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u043a\u043e\u0434\u0430 \u0438\u0437 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0447\u044c\u0438 sql-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0431\u0443\u0434\u0443\u0442 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u2013 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043a\u043e\u0434\u0430 1\u0421 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0447\u043a\u0443 \u043a \u0441\u0440\u0435\u0437\u0443 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0432\u044b\u0431\u043e\u0440\u043a\u0443 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418\u043d\u043e\u0433\u0434\u0430 \u0431\u044b\u0441\u0442\u0440\u043e, \u0438\u043d\u043e\u0433\u0434\u0430 \u0434\u043e\u043b\u0433\u043e, \u0438\u043d\u043e\u0433\u0434\u0430 \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e. \u041f\u0440\u0438\u0447\u0435\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u0440\u043e\u043a \u043d\u0435 \u0432\u0430\u0436\u043d\u043e. \u0410 \u0432\u043e\u0442 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0421\u0423\u0411\u0414 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0446\u0435\u043b\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u043e. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u043f\u043b\u0430\u043d \u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0432 PostgreSQL, \u0437\u0430\u0442\u0435\u043c \u0432 MSSQL.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440 \u0442\u0435\u043a\u0441\u0442\u0430 \u0442\u044f\u0436\u0435\u043b\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 PostgreSQL, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"pgsql\">insert into pg_temp.tt115 (_Q_000_F_000_TYPE, _Q_000_F_000_RTRef, _Q_000_F_000_RRRef) select T1.Fld44327_TYPE, T1.Fld44327_RTRef, T1.Fld44327_RRRef from ( select T6._Fld44327_TYPE as Fld44327_TYPE, T6._Fld44327_RTRef as Fld44327_RTRef, T6._Fld44327_RRRef as Fld44327_RRRef, T6._Fld44329 as Fld44329_ from ( select T3.Fld44327_TYPE as Fld44327_TYPE, T3.Fld44327_RTRef as Fld44327_RTRef, T3.Fld44327_RRRef as Fld44327_RRRef, T3.Fld44328RRef as Fld44328RRef, T3.Fld44329_ as Fld44329_, T3.Fld44330_ as Fld44330_, T3.Fld44331RRef as Fld44331RRef, T3.Fld44332RRef as Fld44332RRef, T3.MAXPERIOD_ as MAXPERIOD_, SUBSTR(MAX(T5._RecorderTRef || T5._RecorderRRef), 1, 4) as MAXRECORDERTRef, SUBSTR(MAX(T5._RecorderTRef || T5._RecorderRRef), 5, 16) as MAXRECORDERRRef from ( select T4._Fld44327_TYPE as Fld44327_TYPE, T4._Fld44327_RTRef as Fld44327_RTRef, T4._Fld44327_RRRef as Fld44327_RRRef, T4._Fld44328RRef as Fld44328RRef, T4._Fld44329 as Fld44329_, T4._Fld44330 as Fld44330_, T4._Fld44331RRef as Fld44331RRef, T4._Fld44332RRef as Fld44332RRef, MAX(T4._Period) as MAXPERIOD_ from _InfoRg44326 T4 where ((T4._Fld2507 = cast(0 as numeric))) and (T4._Active = true) group by T4._Fld44327_TYPE, T4._Fld44327_RTRef, T4._Fld44327_RRRef, T4._Fld44328RRef, T4._Fld44329, T4._Fld44330, T4._Fld44331RRef, T4._Fld44332RRef) T3 inner join _InfoRg44326 T5 on T3.Fld44327_TYPE = T5._Fld44327_TYPE and T3.Fld44327_RTRef = T5._Fld44327_RTRef and T3.Fld44327_RRRef = T5._Fld44327_RRRef and T3.Fld44328RRef = T5._Fld44328RRef and T3.Fld44329_ = T5._Fld44329 and T3.Fld44330_ = T5._Fld44330 and T3.Fld44331RRef = T5._Fld44331RRef and T3.Fld44332RRef = T5._Fld44332RRef and T3.MAXPERIOD_ = T5._Period where ((T5._Fld2507 = cast(0 as numeric))) and (T5._Active = true) group by T3.Fld44327_TYPE, T3.Fld44327_RTRef, T3.Fld44327_RRRef, T3.Fld44328RRef, T3.Fld44329_, T3.Fld44330_, T3.Fld44331RRef, T3.Fld44332RRef, T3.MAXPERIOD_) T2 inner join _InfoRg44326 T6 on T2.Fld44327_TYPE = T6._Fld44327_TYPE and T2.Fld44327_RTRef = T6._Fld44327_RTRef and T2.Fld44327_RRRef = T6._Fld44327_RRRef and T2.Fld44328RRef = T6._Fld44328RRef and T2.Fld44329_ = T6._Fld44329 and T2.Fld44330_ = T6._Fld44330 and T2.Fld44331RRef = T6._Fld44331RRef and T2.Fld44332RRef = T6._Fld44332RRef and T2.MAXPERIOD_ = T6._Period and T2.MAXRECORDERTRef = T6._RecorderTRef and T2.MAXRECORDERRRef = T6._RecorderRRef where (T6._Fld2507 = cast(0 as numeric))) T1 where (T1.Fld44327_TYPE = '\\\\\\\\010'::bytea and T1.Fld44327_RTRef = '\\\\\\\\000\\\\\\\\000\\\\\\\\004\\\\\\\\313'::bytea) and exists(select 1 from pg_temp.tt135 T7 where (T1.Fld44327_TYPE = T7._Q_001_F_000_TYPE and T1.Fld44327_RTRef = T7._Q_001_F_000_RTRef and T1.Fld44327_RRRef = T7._Q_001_F_000_RRRef)) group by T1.Fld44327_TYPE, T1.Fld44327_RTRef, T1.Fld44327_RRRef<\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u041f\u043b\u0430\u043d \u0437\u0430\u043f\u0440\u043e\u0441\u0430 PG (\u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u0441\u0435 \u043f\u043b\u0430\u043d\u044b \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0432\u044b \u043c\u043e\u0433\u043b\u0438 \u0438\u0445 \u0441\u0430\u043c\u0438 \u043f\u043e\u043a\u043e\u0432\u044b\u0440\u044f\u0442\u044c) \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/540\/462\/82e\/54046282e52ebab0e1d8e896c894f243.png\" width=\"1004\" height=\"571\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/540\/462\/82e\/54046282e52ebab0e1d8e896c894f243.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/540\/462\/82e\/54046282e52ebab0e1d8e896c894f243.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/77e\/f7c\/496\/77ef7c49605218ef36aeffdbaba8ae68.png\" width=\"1004\" height=\"538\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/77e\/f7c\/496\/77ef7c49605218ef36aeffdbaba8ae68.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/77e\/f7c\/496\/77ef7c49605218ef36aeffdbaba8ae68.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u043b\u0430\u043d \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u043e\u043c Perfexpert \u0438\u0437 \u0431\u043e\u0435\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<p>\u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043c\u044b \u0432\u0438\u0434\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0434\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043a\u0438 \u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446 \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c (T4, T5, T6), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e \u0444\u0430\u043a\u0442\u0443 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043e\u0434\u043d\u043e\u0439 \u0438 \u0442\u043e\u0439 \u0436\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 <strong>_InfoRg44326<\/strong>. \u041d\u043e \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0441 \u043e\u0442\u0431\u043e\u0440\u0430\u043c\u0438, \u0447\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0432 \u0441\u0430\u043c\u043e\u043c \u043a\u043e\u043d\u0446\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 (\u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 \u0441 \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c\u043e\u043c T7), \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0441\u0430\u043c\u044b\u043c \u00ab\u0432\u043d\u0435\u0448\u043d\u0438\u043c\u00bb \u0432 \u0434\u0435\u0440\u0435\u0432\u0435 SELECT, \u0433\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 T6. \u042f \u043e\u0431\u0432\u0435\u043b \u043d\u0430 \u043f\u043b\u0430\u043d\u0435 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u0438\u043d\u0438\u043c. \u0410 \u0441\u0430\u043c\u044b\u0439 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043f\u043e\u0434\u0437\u0430\u043f\u0440\u043e\u0441 \u0441 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 T4 \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0432\u0430\u0436\u043d\u043e\u0433\u043e \u0444\u0438\u043b\u044c\u0442\u0440\u0430, \u0438 \u043f\u043e \u0438\u0442\u043e\u0433\u0430\u043c \u043e\u043d \u0432\u044b\u0433\u0440\u0435\u0431\u0430\u0435\u0442 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432\u0441\u0435 200+ \u043c\u043b\u043d. \u0441\u0442\u0440\u043e\u043a, \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u0443\u0435\u0442, \u0442\u0440\u0430\u0442\u0438\u0442 \u043d\u0430 \u044d\u0442\u043e 267\u00a0430 \u043c\u0441 (~4,5 \u043c\u0438\u043d.). \u041f\u043e\u0442\u043e\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0433\u043e\u043c \u043e\u043d \u0434\u0435\u043b\u0430\u0435\u0442 INNER JOIN \u0441\u0430\u043c \u0441 \u0441\u043e\u0431\u043e\u0439 (\u0442\u0430\u0431\u043b\u0438\u0446\u0430 T5), \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0432 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c 1\u00a0584\u00a0102 \u043c\u0441 (26 \u043c\u0438\u043d.) \u043d\u0430 \u043f\u043e\u0438\u0441\u043a \u043f\u043b\u044e\u0441 101\u00a0414 \u043c\u0441 (1,7 \u043c\u0438\u043d.) \u043d\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0438 947\u00a0127 \u043c\u0441 (15,7 \u043c\u0438\u043d) \u043d\u0430 \u0435\u0449\u0451 \u043e\u0434\u043d\u0443 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043a\u0443. \u042d\u0442\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u0442\u0440\u0430\u0442\u044b.<\/p>\n<p>\u0412 \u0441\u0443\u043c\u043c\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0441\u044f \u0437\u0430 <strong>2\u00a0968\u00a0714 \u043c\u0441 (49 \u043c\u0438\u043d\u0443\u0442)<\/strong> \u0438 \u0432\u0435\u0440\u043d\u0443\u043b \u0430\u0436 32 \u0441\u0442\u0440\u043e\u043a\u0438, \u043f\u0435\u0440\u0435\u043b\u043e\u043f\u0430\u0442\u0438\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0432\u0435\u0441\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0432 MS SQL. <\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440 \u0442\u0435\u043a\u0441\u0442\u0430 \u0442\u044f\u0436\u0435\u043b\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 MS SQL, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"sql\">(@P1 numeric(10),@P2 numeric(10),@P3 numeric(10),@P4 datetime2(3)) INSERT INTO #tt66 WITH(TABLOCK) (_Q_001_F_000_TYPE, _Q_001_F_000_RTRef, _Q_001_F_000_RRRef)  SELECT T1.Fld44327_TYPE, T1.Fld44327_RTRef, T1.Fld44327_RRRef FROM (SELECT T6._Fld44327_TYPE AS Fld44327_TYPE, T6._Fld44327_RTRef AS Fld44327_RTRef, T6._Fld44327_RRRef AS Fld44327_RRRef, T6._Fld44329 AS Fld44329_ FROM (SELECT T3.Fld44327_TYPE AS Fld44327_TYPE, T3.Fld44327_RTRef AS Fld44327_RTRef, T3.Fld44327_RRRef AS Fld44327_RRRef, T3.Fld44328RRef AS Fld44328RRef, T3.Fld44329_ AS Fld44329_, T3.Fld44330_ AS Fld44330_, T3.Fld44331RRef AS Fld44331RRef, T3.Fld44332RRef AS Fld44332RRef, T3.MAXPERIOD_ AS MAXPERIOD_, SUBSTRING(MAX(T5._RecorderTRef + T5._RecorderRRef),1,4) AS MAXRECORDERTRef, SUBSTRING(MAX(T5._RecorderTRef + T5._RecorderRRef),5,16) AS MAXRECORDERRRef FROM (SELECT T4._Fld44327_TYPE AS Fld44327_TYPE, T4._Fld44327_RTRef AS Fld44327_RTRef, T4._Fld44327_RRRef AS Fld44327_RRRef, T4._Fld44328RRef AS Fld44328RRef, T4._Fld44329 AS Fld44329_, T4._Fld44330 AS Fld44330_, T4._Fld44331RRef AS Fld44331RRef, T4._Fld44332RRef AS Fld44332RRef, MAX(T4._Period) AS MAXPERIOD_ FROM dbo._InfoRg44326 T4 WHERE ((T4._Fld2507 = @P1)) AND (T4._Active = 0x01) GROUP BY T4._Fld44327_TYPE, T4._Fld44327_RTRef, T4._Fld44327_RRRef, T4._Fld44328RRef, T4._Fld44329, T4._Fld44330, T4._Fld44331RRef, T4._Fld44332RRef) T3 INNER JOIN dbo._InfoRg44326 T5 ON T3.Fld44327_TYPE = T5._Fld44327_TYPE AND T3.Fld44327_RTRef = T5._Fld44327_RTRef AND T3.Fld44327_RRRef = T5._Fld44327_RRRef AND T3.Fld44328RRef = T5._Fld44328RRef AND T3.Fld44329_ = T5._Fld44329 AND T3.Fld44330_ = T5._Fld44330 AND T3.Fld44331RRef = T5._Fld44331RRef AND T3.Fld44332RRef = T5._Fld44332RRef AND T3.MAXPERIOD_ = T5._Period WHERE ((T5._Fld2507 = @P2)) AND (T5._Active = 0x01) GROUP BY T3.Fld44327_TYPE, T3.Fld44327_RTRef, T3.Fld44327_RRRef, T3.Fld44328RRef, T3.Fld44329_, T3.Fld44330_, T3.Fld44331RRef, T3.Fld44332RRef, T3.MAXPERIOD_) T2 INNER JOIN dbo._InfoRg44326 T6 ON T2.Fld44327_TYPE = T6._Fld44327_TYPE AND T2.Fld44327_RTRef = T6._Fld44327_RTRef AND T2.Fld44327_RRRef = T6._Fld44327_RRRef AND T2.Fld44328RRef = T6._Fld44328RRef AND T2.Fld44329_ = T6._Fld44329 AND T2.Fld44330_ = T6._Fld44330 AND T2.Fld44331RRef = T6._Fld44331RRef AND T2.Fld44332RRef = T6._Fld44332RRef AND T2.MAXPERIOD_ = T6._Period AND T2.MAXRECORDERTRef = T6._RecorderTRef AND T2.MAXRECORDERRRef = T6._RecorderRRef WHERE (T6._Fld2507 = @P3)) T1 WHERE (T1.Fld44327_TYPE = 0x08 AND T1.Fld44327_RTRef = 0x000004CB) AND EXISTS(SELECT 1 FROM #tt62 T7 WITH(NOLOCK) WHERE (T1.Fld44327_TYPE = T7._Q_001_F_000_TYPE AND T1.Fld44327_RTRef = T7._Q_001_F_000_RTRef AND T1.Fld44327_RRRef = T7._Q_001_F_000_RRRef)) AND (T1.Fld44329_ &lt;= @P4) GROUP BY T1.Fld44327_TYPE, T1.Fld44327_RTRef, T1.Fld44327_RRRef  <\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u0439. \u0420\u0435\u0433\u0438\u0441\u0442\u0440 \u0442\u043e\u0442 \u0436\u0435, \u0441\u0442\u0440\u043e\u043a \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0436\u0435 (\u0440\u0430\u0437\u0432\u0435 \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u043f\u043e\u043c\u0435\u043d\u044c\u0448\u0435, \u0442.\u043a. \u0437\u0430\u043c\u0435\u0440\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u044b \u0434\u043e \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043d\u0430 PostgreSQL), \u043d\u043e \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0438 \u0431\u044b\u0441\u0442\u0440\u0435\u0435.<\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u043a\u0430\u0436\u0435\u043c \u043f\u043e\u0447\u0435\u043c\u0443. \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043b\u0430\u043d \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u041e\u043d \u043e\u0446\u0435\u043d\u043e\u0447\u043d\u044b\u0439, \u0432\u0437\u044f\u0442\u044b\u0439 \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 Perfexpert, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043a\u0430\u0436\u0434\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043c\u044b \u043d\u0435 \u0443\u0432\u0438\u0434\u0438\u043c, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u0432\u0430\u0436\u043d\u043e, \u0442.\u043a. \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u0441\u0435\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u2013 1,7 \u0441\u0435\u043a.<\/p>\n<p>\u041e\u0442\u0432\u0435\u0442 \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 \u00ab\u043f\u043e\u0447\u0435\u043c\u0443\u00bb \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0447\u0435\u0432\u0438\u0434\u0435\u043d \u0438 \u0410\u043c\u0435\u0440\u0438\u043a\u0443 \u043c\u044b \u0442\u0443\u0442 \u043d\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c. \u041d\u0430 \u0444\u043e\u0440\u0443\u043c\u0430\u0445 \u044d\u0442\u043e \u0443\u0436\u0435 \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u043b\u043e\u0441\u044c \u0438 \u043d\u0435 \u0440\u0430\u0437.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a35\/9c4\/925\/a359c4925f02f8ec067085d86035e21c.png\" width=\"1004\" height=\"685\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/a35\/9c4\/925\/a359c4925f02f8ec067085d86035e21c.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a35\/9c4\/925\/a359c4925f02f8ec067085d86035e21c.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0432\u0441\u0451 \u0442\u0435\u0445 \u0436\u0435 \u0442\u0430\u0431\u043b\u0438\u0446 T4 \u0438 T5, \u0442\u043e \u0443\u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u043a\u0438\u043d\u0443\u043b \u0432\u043d\u0443\u0442\u0440\u044c \u044d\u0442\u0438\u0445 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0434\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432\u043d\u0435\u0448\u043d\u0435\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0438 \u0443\u043a\u0430\u0437\u0430\u043b \u0435\u0433\u043e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u043e\u0432, \u0447\u0435\u0433\u043e \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0445\u043e\u0442\u0435\u043b \u0434\u0435\u043b\u0430\u0442\u044c PG. \u0412\u044b\u0434\u0435\u043b\u0438\u043b \u0437\u0435\u043b\u0435\u043d\u044b\u043c \u043d\u0430 \u0440\u0438\u0441\u0443\u043d\u043a\u0435 \u0432\u044b\u0448\u0435. \u0418 \u0442\u0435\u043f\u0435\u0440\u044c \u044d\u0442\u0438 \u0443\u0447\u0430\u0441\u0442\u043a\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e, \u0442.\u043a. \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u043a\u0438\u043d\u0443\u0442\u043e \u0441\u0440\u0430\u0437\u0443 \u043d\u0430 \u0432\u0441\u0435 \u043f\u043e\u0434\u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u0438 \u043e\u043d\u0438 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u0442\u044f\u0436\u0435\u043b\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u043e\u0438\u0441\u043a\u0430, \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 \u0438 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043e\u043a \u0441 \u0434\u0432\u0443\u043c\u044f\u0441\u0442\u0430\u043c\u0438 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u0430\u043c\u0438 \u0441\u0442\u0440\u043e\u043a.<\/p>\n<hr\/>\n<p>\u0423 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0435\u0439 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u043c\u044b, \u043c\u043e\u043b, \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0432\u043e\u0442 \u0442\u0443\u0442 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e, \u0430 \u0432\u043e\u0442 \u0442\u0443\u0442 \u0431\u044b\u0441\u0442\u0440\u043e. \u041d\u043e \u0437\u0432\u0443\u0447\u0438\u0442 \u043a\u0430\u043a-\u0442\u043e \u043d\u0435\u0443\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0441\u0435\u043c \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u044b. \u0421\u043a\u0440\u0438\u043f\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u044b \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438, \u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0438\u0436\u0435.<\/p>\n<h2>\u0421\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0442\u0435\u0441\u0442 sql-\u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0434\u043b\u044f \u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/h2>\n<p>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<ol>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 <strong>test_gr<\/strong> 100 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u0430\u043c\u0438 \u0441\u0442\u0440\u043e\u043a (\u0430\u043d\u0430\u043b\u043e\u0433 _InfoRg). \u0412 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0442\u0440\u0438 \u043a\u043e\u043b\u043e\u043d\u043a\u0438. \u041f\u0435\u0440\u0432\u0430\u044f <strong>Col1<\/strong> \u2013 \u043a\u0430\u043a \u0431\u044b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435, \u0432\u0442\u043e\u0440\u0430\u044f <strong>Col2<\/strong>\u2013 \u043a\u0430\u043a \u0431\u044b \u0440\u0435\u0441\u0443\u0440\u0441 \u0438 \u0442\u0440\u0435\u0442\u044c\u044f <strong>Per<\/strong> \u2013 \u043a\u0430\u043a \u0431\u044b \u0434\u0430\u0442\u0430. \u0412\u0441\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0446\u0435\u043b\u044b\u0435 \u0447\u0438\u0441\u043b\u0430, \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u0435 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0440 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u0442\u0430\u043b 5,3 \u0413\u0431.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432\u0441\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0435, \u0442\u043e \u0432 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u00ab11111\u00bb \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043a\u043e\u043b\u043e\u043d\u043a\u0443, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043e\u0442\u0431\u043e\u0440. \u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439.<\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043d\u0434\u0435\u043a\u0441 \u043f\u043e \u043f\u0435\u0440\u0432\u043e\u0439 \u0438 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0435.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 <strong>pg_temp.Cols<\/strong> (\u0430\u043d\u0430\u043b\u043e\u0433 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b pg_temp.tt135), \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0434\u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u043a\u0430 \u0438 \u043e\u0434\u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u00ab11111\u00bb, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0442\u044c\u0441\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u044b.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u0430, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0439\u0441\u044f \u043a \u0441\u0440\u0435\u0437\u0443 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445, \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0435\u0433\u043e:<br \/>\u0430)  \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441 \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438, \u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043d\u0430\u0440\u0443\u0436\u0438, \u0442.\u0435. \u043a\u0430\u043a \u0435\u0441\u0442\u044c;<br \/>\u0431)  \u0434\u0430\u043b\u0435\u0435 \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c\u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438, \u043f\u0440\u043e\u043a\u0438\u043d\u0443\u0442\u044b\u043c\u0438 \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 SELECT (\u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u043d\u0438\u0436\u0435 \u043e\u043d\u0438 \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b).<\/p>\n<\/li>\n<\/ol>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f56\/e7a\/a77\/f56e7aa77c16867c036d462113b3450e.png\" width=\"1004\" height=\"589\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/f56\/e7a\/a77\/f56e7aa77c16867c036d462113b3450e.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f56\/e7a\/a77\/f56e7aa77c16867c036d462113b3450e.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u0435 (\u0434\u043b\u044f \u0441\u0442\u0435\u043d\u0434\u0430 \u0431\u044b\u043b\u0430 \u0432\u0437\u044f\u0442\u0430 \u0434\u043e\u0445\u043b\u0435\u043d\u044c\u043a\u0430\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0430, \u043d\u043e \u0442\u0435\u043c \u0434\u0430\u0436\u0435 \u043b\u0443\u0447\u0448\u0435):<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">\u2116<\/p>\n<\/td>\n<td data-colwidth=\"501\" width=\"501\">\n<p align=\"left\">\u0423\u0441\u043b\u043e\u0432\u0438\u0435<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0412\u0440\u0435\u043c\u044f,   \u0441\u0435\u043a<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">1<\/p>\n<\/td>\n<td data-colwidth=\"501\" width=\"501\">\n<p align=\"left\">\u0417\u0430\u043f\u0440\u043e\u0441 \u043a\u0430\u043a \u0435\u0441\u0442\u044c, \u0441 \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c \u0432 \u043a\u043e\u043d\u0446\u0435<\/p>\n<\/td>\n<td>\n<p align=\"right\">45<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">2<\/p>\n<\/td>\n<td data-colwidth=\"501\" width=\"501\">\n<p align=\"left\">\u0417\u0430\u043f\u0440\u043e\u0441 \u0441 \u043e\u0434\u043d\u0438\u043c \u0434\u043e\u043f. \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c (\u0433\u0434\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 T4)<\/p>\n<\/td>\n<td>\n<p align=\"right\">21<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">3<\/p>\n<\/td>\n<td data-colwidth=\"501\" width=\"501\">\n<p align=\"left\">\u0417\u0430\u043f\u0440\u043e\u0441 \u043e\u0434\u043d\u0438\u043c \u0434\u043e\u043f. \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c (\u0433\u0434\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 T5)<\/p>\n<\/td>\n<td>\n<p align=\"right\">14<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"50\" width=\"50\">\n<p align=\"left\">4<\/p>\n<\/td>\n<td data-colwidth=\"501\" width=\"501\">\n<p align=\"left\">\u0417\u0430\u043f\u0440\u043e\u0441 \u0441 \u0434\u0432\u0443\u043c\u044f \u0434\u043e\u043f. \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c\u0438 (\u0434\u043b\u044f \u0442\u0430\u0431\u043b\u0438\u0446 T4 \u0438 T5)<\/p>\n<\/td>\n<td>\n<p align=\"right\">0,010<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0421\u0440\u0430\u0432\u043d\u0438\u043c \u043f\u043b\u0430\u043d\u044b. \u0412\u0437\u044f\u043b 1, 2 \u0438 4 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/aa4\/985\/866\/aa49858665030c124adb4a7c7bf5cae4.png\" width=\"1004\" height=\"918\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/aa4\/985\/866\/aa49858665030c124adb4a7c7bf5cae4.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/aa4\/985\/866\/aa49858665030c124adb4a7c7bf5cae4.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0427\u0442\u043e \u0432\u0438\u0434\u0438\u043c? PostgreSQL \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u043f\u0440\u043e\u043a\u0438\u0434\u044b\u0432\u0430\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u043f\u043e\u0434\u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u0445\u043e\u0442\u044f \u0442\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u0430 \u0438 \u0442\u0430 \u0436\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0438 \u0435\u0435, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443, \u0430 \u043d\u0435 \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043e\u043a. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f, \u043f\u043e\u0438\u0441\u043a \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445 (T4 \u0438\u043b\u0438 T5) \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p>\u0414\u043b\u044f \u0447\u0438\u0441\u0442\u043e\u0442\u044b \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0435\u043c \u044d\u0442\u043e \u0432 MSSQL<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/524\/39f\/156\/52439f156b3af8bbb320d9aeb3c09a89.png\" width=\"940\" height=\"434\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/524\/39f\/156\/52439f156b3af8bbb320d9aeb3c09a89.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/524\/39f\/156\/52439f156b3af8bbb320d9aeb3c09a89.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0414\u0430\u0436\u0435 \u0441 \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c (where exists(select 1 from\u2026.) \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c SELECT \u0437\u0430\u043f\u0440\u043e\u0441 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e, \u0437\u0430 \u0434\u043e\u043b\u0438 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u0418 \u0432 \u043f\u043b\u0430\u043d\u0435 \u0445\u043e\u0440\u043e\u0448\u043e \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u043a\u0438\u043d\u0443\u043b \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0432\u043e \u0432\u0441\u0435 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 SELECT\u2019\u044b.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/08b\/048\/88a\/08b04888abe0b2b455e19e518b1cdc91.png\" width=\"1004\" height=\"585\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/08b\/048\/88a\/08b04888abe0b2b455e19e518b1cdc91.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/08b\/048\/88a\/08b04888abe0b2b455e19e518b1cdc91.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<h2>\u0418\u0442\u043e\u0433\u043e<\/h2>\n<p>\u041a\u0430\u043a\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u044b \u043d\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0438\u0437 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432?<\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043f\u043e\u043d\u044f\u0442\u043d\u0430 \u0438 \u0434\u0430\u0436\u0435 \u0440\u0435\u0448\u0430\u0435\u043c\u0430. \u041d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0443\u0440\u043e\u0432\u043d\u044f\u0445. \u0412\u0435\u043d\u0434\u043e\u0440 1\u0421 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0434\u043e\u043b\u0433\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f <em>\u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/em> \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u0432\u044b\u043d\u043e\u0441\u044f \u0437\u0430\u043f\u0440\u043e\u0441 \u043a \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e, \u0438 \u0434\u0430\u043b\u0435\u0435 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u0437\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0443\u0436\u0435 \u043a \u043d\u0435\u0439. \u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0430\u0431\u043e\u0447\u0438\u0439, \u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442 \u043a\u043e\u0434 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435\u043c \u0441\u043e \u0441\u0440\u0435\u0437\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445. \u0410 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043a\u0430\u043a \u0432 MS SQL.<\/p>\n<p>\u041c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u043d\u0435 \u0434\u043e\u0436\u0438\u0434\u0430\u0442\u044c\u0441\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043e\u0442 \u0432\u0435\u043d\u0434\u043e\u0440\u043e\u0432 \u0438 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0441\u0432\u043e\u0435. \u0422\u043e\u0447\u043d\u0435\u0435, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0443\u0436\u0435 \u0431\u044b\u043b\u043e, \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043e\u0434 \u043d\u043e\u0432\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u2013 <a href=\"https:\/\/softpoint.ru\/catalog\/acceleration\/qprocessing\/\" rel=\"noopener noreferrer nofollow\">QProcessing<\/a>. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043e\u0447\u0435\u043d\u044c \u0433\u0438\u0431\u043a\u0438\u0439, \u043c\u044b \u0443\u0436\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0438 \u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 <a href=\"https:\/\/habr.com\/ru\/search\/?q=%23qprocessing&amp;target_type=posts&amp;order=relevance\" rel=\"noopener noreferrer nofollow\">\u043d\u0438 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a> \u0434\u043b\u044f \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0440\u0430\u0437\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447. \u0412\u043e\u0442 \u0438 <em>\u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/em> \u0434\u043e\u0436\u0434\u0430\u043b\u0441\u044f \u0441\u0432\u043e\u0435\u0439 \u043e\u0447\u0435\u0440\u0435\u0434\u0438.<\/p>\n<p>\u0411\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043f\u0430\u0440\u0443 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e QProcessing, \u0448\u0438\u0440\u043e\u043a\u0438\u043c\u0438 \u043c\u0430\u0437\u043a\u0430\u043c\u0438, \u0447\u0442\u043e\u0431\u044b \u0432\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u043b\u0438\u0441\u044c \u0438 \u043d\u0435 \u0431\u0435\u0433\u0430\u043b\u0438 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0430\u043c. QProsessing \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440, \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 1C:\u041f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0435 \u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445. \u041c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435, \u0430 \u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0421\u0423\u0411\u0414, \u0435\u0441\u043b\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/1a1\/cfc\/1c1\/1a1cfc1c1331fcb78b900c56587c6bd2.png\" width=\"676\" height=\"311\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/1a1\/cfc\/1c1\/1a1cfc1c1331fcb78b900c56587c6bd2.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/1a1\/cfc\/1c1\/1a1cfc1c1331fcb78b900c56587c6bd2.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e\u0435 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0440\u0430\u0444\u0438\u043a\u0430 sql-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438 <u>\u0432\u044b\u0431\u043e\u0440\u043e\u0447\u043d\u043e<\/u> \u043c\u0435\u043d\u044f\u0435\u0442 \u0442\u0435\u043a\u0441\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 sql-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u0414\u043b\u044f \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u043b\u043e\u0433\u0438\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0440\u0430\u0432\u0438\u043b \u043d\u0430 \u0431\u0430\u0437\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439. \u0415\u0441\u043b\u0438 \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u043e\u043f\u0430\u043b \u043f\u043e\u0434 \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0442\u043e \u043e\u043d \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u0427\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u2013 \u044d\u0442\u043e \u0445\u0438\u043d\u0442\u044b (\u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438) \u0438 \u043c\u0435\u0442\u043e\u0434\u044b \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 (Hash JOIN, Merge JOIN \u0438 \u0442.\u043f.). \u041d\u043e \u043c\u043e\u0436\u043d\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0446\u0435\u043b\u044b\u0435 \u043a\u0443\u0441\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u0430. \u0415\u0441\u043b\u0438 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0435 \u043f\u043e\u043f\u0430\u043b \u043f\u043e\u0434 \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0442\u043e \u043e\u043d \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 QProcessing \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u0421\u0423\u0411\u0414 \u043a\u0430\u043a \u0435\u0441\u0442\u044c.<\/p>\n<p>\u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u0438\u0434\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u0430 \u0441 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 <em>\u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/em>, <strong>\u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0445\u0441\u044f \u043f\u043e 50-60 \u043c\u0438\u043d\u0443\u0442<\/strong>, \u043c\u044b \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0430\u0432\u0438\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u043a\u0438\u043d\u0443\u043b\u0438 \u0432\u043d\u0435\u0448\u043d\u0435\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0432 \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u043f\u043e\u0434\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u2013 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u043e, \u0447\u0442\u043e \u0432\u044b \u0432\u0438\u0434\u0435\u043b\u0438 \u0432 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0442\u0435\u0441\u0442\u0435. \u041f\u043e\u0441\u043b\u0435 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0441\u0442\u0430\u043b\u0430 \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043e\u043a\u043e\u043b\u043e \u043d\u0443\u043b\u0435\u0432\u043e\u0439.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/447\/89e\/f0c\/44789ef0ca044aa86edf5dcec1087b6a.png\" width=\"1004\" height=\"521\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/447\/89e\/f0c\/44789ef0ca044aa86edf5dcec1087b6a.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/447\/89e\/f0c\/44789ef0ca044aa86edf5dcec1087b6a.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0432\u044b \u0434\u043e\u0447\u0438\u0442\u0430\u043b\u0438 \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430, \u0438 \u0441\u0442\u0430\u0442\u044c\u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439.<\/p>\n<p>\u041a\u0430\u043a \u0438 \u043e\u0431\u0435\u0449\u0430\u043b, \u0432\u043e\u0442 \u043f\u0435\u0440\u0435\u0447\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043f\u043b\u0430\u043d\u043e\u0432 \u0438\u0445 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0434\u043b\u044f \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0438 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f:<\/p>\n<ol>\n<li>\n<p><a href=\"https:\/\/softpoint.ru\/upload\/PostFiles\/SrezPoslednih\/01.PG_Qiuery_Plan.7z\" rel=\"noopener noreferrer nofollow\">\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u0442\u044f\u0436\u0435\u043b\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0432 PG<\/a> (49 \u043c\u0438\u043d.) + \u043f\u043b\u0430\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/softpoint.ru\/upload\/PostFiles\/SrezPoslednih\/02.MSSQL_Query_Plan.7z\" rel=\"noopener noreferrer nofollow\">\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u0442\u044f\u0436\u0435\u043b\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0432 MS<\/a> (1,7 \u0441\u0435\u043a) + \u043f\u043b\u0430\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/softpoint.ru\/upload\/PostFiles\/SrezPoslednih\/03.Scripts_for_model.7z\" rel=\"noopener noreferrer nofollow\">\u0421\u043a\u0440\u0438\u043f\u0442\u044b<\/a> \u0434\u043b\u044f \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430 \u0432 PG \u0438 MS.<\/p>\n<\/li>\n<\/ol>\n<p>\u0421\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0447\u0430\u0441\u0442\u0438\u00a0<strong>\u0417\u0430\u043f\u0438\u0441\u043e\u043a \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421<\/strong>:<\/p>\n<ol>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/739112\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (\u0447.1). \u0421\u0442\u0440\u0430\u043d\u043d\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 MS SQL Server 2019: \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 TRUNCATE<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/753848\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/739112\/\" rel=\"noopener noreferrer nofollow\">\u0447.<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/753848\/\" rel=\"noopener noreferrer nofollow\">2). \u041f\u043e\u043b\u043d\u043e\u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441 \u0438\u043b\u0438 \u043a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u043f\u043e \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0435<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/765774\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/739112\/\" rel=\"noopener noreferrer nofollow\">\u0447.<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/765774\/\" rel=\"noopener noreferrer nofollow\">3). \u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 \u0432 1\u0421 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/773516\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/739112\/\" rel=\"noopener noreferrer nofollow\">\u0447.<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/773516\/\" rel=\"noopener noreferrer nofollow\">4). \u041f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438\u0437\u043c \u0432 1\u0421, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f CXPACKET<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/780340\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/739112\/\" rel=\"noopener noreferrer nofollow\">\u0447.<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/780340\/\" rel=\"noopener noreferrer nofollow\">5). \u0423\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 RLS-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 1\u0421 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/814111\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/739112\/\" rel=\"noopener noreferrer nofollow\">\u0447.<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/814111\/\" rel=\"noopener noreferrer nofollow\">6). \u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 MS SQL Server \u0432 1\u0421: \u041f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0435<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/823250\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/739112\/\" rel=\"noopener noreferrer nofollow\">\u0447.<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/823250\/\" rel=\"noopener noreferrer nofollow\">7). \u00ab\u041d\u0435\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435\u00bb \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 MS SQL \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c 1\u0421 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u044f<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/845654\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/739112\/\" rel=\"noopener noreferrer nofollow\">\u0447.<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/845654\/\" rel=\"noopener noreferrer nofollow\">8). \u041d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 \u0434\u0438\u0441\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0411\u0414 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 1\u0421. \u041f\u043e\u0440\u0430 \u043b\u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043f\u0433\u0440\u0435\u0439\u0434?<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/877674\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/739112\/\" rel=\"noopener noreferrer nofollow\">\u0447.<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/877674\/\" rel=\"noopener noreferrer nofollow\">9). \u0412\u043b\u0438\u044f\u043d\u0438\u0435 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0441\u043e\u043a\u043e\u043d\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 \u0418\u0422-\u0441\u0438\u0441\u0442\u0435\u043c<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/891640\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/739112\/\" rel=\"noopener noreferrer nofollow\">\u0447.<\/a><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/891640\/\" rel=\"noopener noreferrer nofollow\">10): \u041a\u0430\u043a \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u2014 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0431\u043e\u043b\u044c \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 MS SQL Server?<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/905380\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (\u0447.11). \u041d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445 1\u0421<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/companies\/softpoint\/articles\/914956\/\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043f\u0438\u0441\u043a\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440\u0430 1\u0421 (\u0447.12).\u00a0 \u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0432 1C:\u041f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0435 \u043d\u0430 PostgreSQL. \u041f\u043e\u0447\u0435\u043c\u0443 \u0436\u0435 \u0442\u0430\u043a \u0434\u043e\u043b\u0433\u043e?<\/a><\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/914956\/\"> https:\/\/habr.com\/ru\/articles\/914956\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u042d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435 \u0443\u0436\u0435 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 15 \u043b\u0435\u0442.<\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u2013 \u0431\u0430\u0437\u0430 \u043d\u0430 PostgreSQL, \u0431\u043e\u043b\u044c\u0448\u0430\u044f. \u0412\u043f\u043e\u043b\u043d\u0435 \u0441\u0435\u0431\u0435 \u0442\u0438\u043f\u043e\u0432\u044b\u0435 \u043e\u0442\u0447\u0435\u0442\u044b \u0441 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0442\u0438\u043f\u043e\u0432\u044b\u043c\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 1C, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 <strong>\u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/strong> \u043a\u0430\u043a\u043e\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0442\u0440\u043e\u043a, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0435\u043f\u0440\u0438\u043b\u0438\u0447\u043d\u043e \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f. \u0412\u043f\u043b\u043e\u0442\u044c \u0434\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0447\u0430\u0441\u043e\u0432.<\/p>\n<p>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u2013 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440 \u0441\u0442\u0440\u043e\u0438\u0442 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u041f\u0440\u0438\u0447\u0435\u043c \u0442\u043e\u0442 \u0436\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 MS SQL \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440 \u043d\u0435 \u043e\u0448\u0438\u0431\u0430\u0435\u0442\u0441\u044f. \u041f\u0440\u044f\u043c \u043e\u0431\u0438\u0434\u043d\u043e.<\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0432 \u0447\u0435\u043c \u043e\u0448\u0438\u0431\u0430\u0435\u0442\u0441\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440 \u0438 \u043a\u0430\u043a\u0438\u0435 \u043f\u0443\u0442\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0442\u0443\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b.<\/p>\n<h2>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h2>\n<p>\u0421\u0440\u0430\u0437\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u044e\u0441\u044c, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u0431\u043b\u0438\u0446 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0442\u0440\u043e\u043a. \u0427\u0438\u0441\u0442\u043e \u044d\u043c\u043f\u0438\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u044f \u0431\u044b \u044d\u0442\u0443 \u0433\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0432 \u0440\u0430\u0439\u043e\u043d\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 1 \u043c\u043b\u043d. \u0441\u0442\u0440\u043e\u043a. \u041d\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e \u043d\u0430\u0448\u0438\u043c \u0437\u0430\u043c\u0435\u0440\u0430\u043c \u0438 \u043e\u043f\u044b\u0442\u0443 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u0442\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c\u0441\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u043c\u0438 (\u0434\u043e 10 \u0441\u0435\u043a.), \u0438 \u043e\u043d\u0430 \u0443\u0441\u043b\u043e\u0432\u043d\u043e \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0430\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u044e, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0435\u0439 \u043c\u043e\u0433\u043b\u0438 \u0438 \u043d\u0435 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439.<\/p>\n<p>\u0414\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0431\u0443\u0434\u0443\u0442 \u043a\u0430\u0441\u0430\u0442\u044c\u0441\u044f \u0442\u0430\u0431\u043b\u0438\u0446 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432 \u0441 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0442\u0440\u043e\u043a, \u0438 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c\u0441\u044f \u0443\u0436\u0435 \u043d\u0435 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u043c\u0438, \u0430 \u0434\u0435\u0441\u044f\u0442\u043a\u0430\u043c\u0438 \u043c\u0438\u043d\u0443\u0442 \u0438 \u0434\u0430\u0436\u0435 \u0447\u0430\u0441\u0430\u043c\u0438.<\/p>\n<p>\u041d\u0430\u043f\u043e\u043c\u043d\u044e, <em>\u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/em> \u2013 \u044d\u0442\u043e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0432 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 1\u0421 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0443 \u0437\u0430\u043f\u0438\u0441\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 (\u0441\u0430\u043c\u043e\u0439 &#171;\u0441\u0432\u0435\u0436\u0435\u0439&#187;) \u043d\u0430 \u0437\u0430\u0434\u0430\u043d\u043d\u0443\u044e \u0434\u0430\u0442\u0443 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0421 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0421\u0423\u0411\u0414, <em>\u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/em> \u2013 \u044d\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0441 \u0441 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 \u0438 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043a\u0430\u043c\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u043c \u043f\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u043c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f\u043c. \u0417\u0432\u0443\u0447\u0438\u0442 \u043f\u0440\u043e\u0441\u0442\u043e. \u041d\u043e \u0432\u043e\u0442 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0442\u043e\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 PostgreSQL \u0434\u0435\u043b\u0430\u0435\u0442 \u043f\u043b\u0430\u043d \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0435\u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c, \u0438\u0437-\u0437\u0430 \u0447\u0435\u0433\u043e \u043e\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u043b\u0433\u043e.<\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u043c\u0441\u044f \u043a \u0432\u0435\u043d\u0434\u043e\u0440\u0443 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b 1\u0421. \u0415\u0449\u0435 \u0432 2010 \u0433\u043e\u0434\u0443 \u043d\u0430 \u0418\u0422\u0421 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e \u043e\u0437\u0432\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435:<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041e \u043d\u0435\u0439 \u043d\u0435 \u043f\u0438\u0441\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u043d\u0438\u0432\u044b\u0439, \u0438 \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u043c \u0441\u0432\u043e\u0438 \u043f\u044f\u0442\u044c \u043a\u043e\u043f\u0435\u0435\u043a. \u0420\u0430\u0437\u0431\u043e\u0440 \u043f\u043e\u0439\u0434\u0435\u0442 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0421\u0423\u0411\u0414 PostgreSQL. \u0412\u0435\u0440\u0441\u0438\u044f PG \u043d\u0435 \u0432\u0430\u0436\u043d\u0430 \u2013 \u0437\u0430 15 \u043b\u0435\u0442 \u0442\u0443\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043d\u0435\u0442, \u0432\u0441\u0451 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e. \u0410 \u0442\u0430\u043a\u0436\u0435 \u0441\u0440\u0430\u0432\u043d\u0438\u043c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0441 MS SQL, \u0433\u0434\u0435 \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043d\u0435\u0442.<\/p>\n<h2>\u0410\u043d\u0430\u043b\u0438\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/h2>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u044b \u0432\u0437\u044f\u043b\u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 MS SQL (20+ \u0422\u0431), \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u0440\u044f\u043c \u0432\u043e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u043b\u0438 \u043d\u0430 PostgreSQL, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0434\u0432\u0443\u0445 \u0421\u0423\u0411\u0414.<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 <a href=\"https:\/\/softpoint.ru\/catalog\/monitoring\/perfexpert\/\" rel=\"noopener noreferrer nofollow\">Perfexpert<\/a> \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0432 \u0442\u0440\u0430\u0441\u0441\u0430\u0445 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445, \u0438 \u043f\u043b\u0430\u043d\u0430 \u0438\u0445 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. \u0410 \u0442\u0430\u043a\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0438 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043b\u0430\u043d\u043e\u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 <a href=\"https:\/\/explain.tensor.ru\/\" rel=\"noopener noreferrer nofollow\">Explain PostgreSQL<\/a> \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0422\u0435\u043d\u0437\u043e\u0440. <\/p>\n<p>\u0411\u0435\u0440\u0435\u043c \u043e\u0434\u0438\u043d \u0438\u0437 \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0435\u043c\u0443 \u0430\u043d\u0430\u043b\u043e\u0433 \u0432 \u0442\u0440\u0430\u0441\u0441\u0435 MS \u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u043f\u043b\u0430\u043d\u044b. \u041f\u043e\u0435\u0445\u0430\u043b\u0438.<\/p>\n<p><strong><u>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/u><\/strong><\/p>\n<ul>\n<li>\n<p>\u0420\u0435\u0433\u0438\u0441\u0442\u0440 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439: _InfoRg44326<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043b-\u0432\u043e \u0441\u0442\u0440\u043e\u043a: 250+ \u043c\u043b\u043d.;<\/p>\n<\/li>\n<li>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u043c\u0438: 63 \u0413\u0431.<\/p>\n<\/li>\n<li>\n<p>\u0422\u0435\u043a\u0441\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 (\u0438 \u0434\u043b\u044f PG, \u0438 \u0434\u043b\u044f MS)<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430 (\u0438 \u0434\u043b\u044f PG, \u0438 \u0434\u043b\u044f MS)<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0441\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u0442\u0430\u043a \u0432\u0430\u0436\u043d\u044b. \u041c\u044b \u043d\u0430 \u043f\u0430\u043b\u044c\u0446\u0430\u0445 \u043f\u043e\u043a\u0430\u0436\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0438 \u043a\u0430\u043a \u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0440\u0435\u0448\u0438\u0442\u044c, \u043d\u0435 \u043f\u0440\u0438\u0431\u0435\u0433\u0430\u044f \u043a \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044e \u043a\u043e\u0434\u0430.<\/p>\n<h2>\u041f\u0440\u0438\u043c\u0435\u0440 sql-\u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0441 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 \u043d\u0430 200+ \u043c\u043b\u043d \u0441\u0442\u0440\u043e\u043a \u0432 PG \u0438 \u0432 MS<\/h2>\n<p>\u041d\u0430\u0434\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e 200 \u043c\u043b\u043d. \u0441\u0442\u0440\u043e\u043a \u0434\u043b\u044f \u0441\u0440\u0435\u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0432 PostgreSQL \u2013 \u044d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0442\u044f\u0436\u0435\u043b\u043e. \u041d\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u0435\u0442 \u0438 \u043d\u0435 \u0437\u043d\u0430\u0442\u044c (\u0445\u043e\u0442\u044f \u0447\u0442\u043e-\u0442\u043e \u0442\u0430\u043a\u043e\u0435, \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430, \u043f\u043e\u0434\u043e\u0437\u0440\u0435\u0432\u0430\u0435\u0442, \u0438 \u0433\u0434\u0435-\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u0441\u043b\u044b\u0448\u0430\u043b) \u0438 \u043d\u0430\u043f\u0438\u0448\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0442\u0438\u043f\u0430 \u044d\u0442\u043e\u0433\u043e:<\/p>\n<pre><code class=\"1c\">\u0412\u042b\u0411\u0420\u0410\u0422\u042c \u041d\u043e\u043c\u0435\u043d\u043a\u043b\u0430\u0442\u0443\u0440\u0430, \u0426\u0435\u043d\u0430 \u0418\u0417 \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0421\u0432\u0435\u0434\u0435\u043d\u0438\u0439.\u0426\u0435\u043d\u044b\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u0438.\u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445(&amp;\u0412\u044b\u0431\u0414\u0430\u0442\u0430, \u0422\u0438\u043f\u0426\u0435\u043d=&amp;\u0412\u044b\u0431\u0422\u0438\u043f\u0426\u0435\u043d, \u041d\u043e\u043c\u0435\u043d\u043a\u043b\u0430\u0442\u0443\u0440\u0430=&amp;\u041d\u043e\u043c\u0435\u043d\u043a\u043b\u0430\u0442\u0443\u0440\u0430);<\/code><\/pre>\n<p>\u042d\u0442\u043e \u043d\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u043a\u043e\u0434\u0430 \u0438\u0437 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0447\u044c\u0438 sql-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0431\u0443\u0434\u0443\u0442 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u2013 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043a\u043e\u0434\u0430 1\u0421 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0447\u043a\u0443 \u043a \u0441\u0440\u0435\u0437\u0443 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0432\u044b\u0431\u043e\u0440\u043a\u0443 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418\u043d\u043e\u0433\u0434\u0430 \u0431\u044b\u0441\u0442\u0440\u043e, \u0438\u043d\u043e\u0433\u0434\u0430 \u0434\u043e\u043b\u0433\u043e, \u0438\u043d\u043e\u0433\u0434\u0430 \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e. \u041f\u0440\u0438\u0447\u0435\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u0440\u043e\u043a \u043d\u0435 \u0432\u0430\u0436\u043d\u043e. \u0410 \u0432\u043e\u0442 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0421\u0423\u0411\u0414 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0446\u0435\u043b\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u043e. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u043f\u043b\u0430\u043d \u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0432 PostgreSQL, \u0437\u0430\u0442\u0435\u043c \u0432 MSSQL.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440 \u0442\u0435\u043a\u0441\u0442\u0430 \u0442\u044f\u0436\u0435\u043b\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 PostgreSQL, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"pgsql\">insert into pg_temp.tt115 (_Q_000_F_000_TYPE, _Q_000_F_000_RTRef, _Q_000_F_000_RRRef) select T1.Fld44327_TYPE, T1.Fld44327_RTRef, T1.Fld44327_RRRef from ( select T6._Fld44327_TYPE as Fld44327_TYPE, T6._Fld44327_RTRef as Fld44327_RTRef, T6._Fld44327_RRRef as Fld44327_RRRef, T6._Fld44329 as Fld44329_ from ( select T3.Fld44327_TYPE as Fld44327_TYPE, T3.Fld44327_RTRef as Fld44327_RTRef, T3.Fld44327_RRRef as Fld44327_RRRef, T3.Fld44328RRef as Fld44328RRef, T3.Fld44329_ as Fld44329_, T3.Fld44330_ as Fld44330_, T3.Fld44331RRef as Fld44331RRef, T3.Fld44332RRef as Fld44332RRef, T3.MAXPERIOD_ as MAXPERIOD_, SUBSTR(MAX(T5._RecorderTRef || T5._RecorderRRef), 1, 4) as MAXRECORDERTRef, SUBSTR(MAX(T5._RecorderTRef || T5._RecorderRRef), 5, 16) as MAXRECORDERRRef from ( select T4._Fld44327_TYPE as Fld44327_TYPE, T4._Fld44327_RTRef as Fld44327_RTRef, T4._Fld44327_RRRef as Fld44327_RRRef, T4._Fld44328RRef as Fld44328RRef, T4._Fld44329 as Fld44329_, T4._Fld44330 as Fld44330_, T4._Fld44331RRef as Fld44331RRef, T4._Fld44332RRef as Fld44332RRef, MAX(T4._Period) as MAXPERIOD_ from _InfoRg44326 T4 where ((T4._Fld2507 = cast(0 as numeric))) and (T4._Active = true) group by T4._Fld44327_TYPE, T4._Fld44327_RTRef, T4._Fld44327_RRRef, T4._Fld44328RRef, T4._Fld44329, T4._Fld44330, T4._Fld44331RRef, T4._Fld44332RRef) T3 inner join _InfoRg44326 T5 on T3.Fld44327_TYPE = T5._Fld44327_TYPE and T3.Fld44327_RTRef = T5._Fld44327_RTRef and T3.Fld44327_RRRef = T5._Fld44327_RRRef and T3.Fld44328RRef = T5._Fld44328RRef and T3.Fld44329_ = T5._Fld44329 and T3.Fld44330_ = T5._Fld44330 and T3.Fld44331RRef = T5._Fld44331RRef and T3.Fld44332RRef = T5._Fld44332RRef and T3.MAXPERIOD_ = T5._Period where ((T5._Fld2507 = cast(0 as numeric))) and (T5._Active = true) group by T3.Fld44327_TYPE, T3.Fld44327_RTRef, T3.Fld44327_RRRef, T3.Fld44328RRef, T3.Fld44329_, T3.Fld44330_, T3.Fld44331RRef, T3.Fld44332RRef, T3.MAXPERIOD_) T2 inner join _InfoRg44326 T6 on T2.Fld44327_TYPE = T6._Fld44327_TYPE and T2.Fld44327_RTRef = T6._Fld44327_RTRef and T2.Fld44327_RRRef = T6._Fld44327_RRRef and T2.Fld44328RRef = T6._Fld44328RRef and T2.Fld44329_ = T6._Fld44329 and T2.Fld44330_ = T6._Fld44330 and T2.Fld44331RRef = T6._Fld44331RRef and T2.Fld44332RRef = T6._Fld44332RRef and T2.MAXPERIOD_ = T6._Period and T2.MAXRECORDERTRef = T6._RecorderTRef and T2.MAXRECORDERRRef = T6._RecorderRRef where (T6._Fld2507 = cast(0 as numeric))) T1 where (T1.Fld44327_TYPE = '\\\\\\\\010'::bytea and T1.Fld44327_RTRef = '\\\\\\\\000\\\\\\\\000\\\\\\\\004\\\\\\\\313'::bytea) and exists(select 1 from pg_temp.tt135 T7 where (T1.Fld44327_TYPE = T7._Q_001_F_000_TYPE and T1.Fld44327_RTRef = T7._Q_001_F_000_RTRef and T1.Fld44327_RRRef = T7._Q_001_F_000_RRRef)) group by T1.Fld44327_TYPE, T1.Fld44327_RTRef, T1.Fld44327_RRRef<\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u041f\u043b\u0430\u043d \u0437\u0430\u043f\u0440\u043e\u0441\u0430 PG (\u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u0441\u0435 \u043f\u043b\u0430\u043d\u044b \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0432\u044b \u043c\u043e\u0433\u043b\u0438 \u0438\u0445 \u0441\u0430\u043c\u0438 \u043f\u043e\u043a\u043e\u0432\u044b\u0440\u044f\u0442\u044c) \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><\/figure>\n<figure class=\"full-width\"><\/figure>\n<p>\u041f\u043b\u0430\u043d \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u043e\u043c Perfexpert \u0438\u0437 \u0431\u043e\u0435\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<p>\u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043c\u044b \u0432\u0438\u0434\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0434\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043a\u0438 \u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446 \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c (T4, T5, T6), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e \u0444\u0430\u043a\u0442\u0443 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043e\u0434\u043d\u043e\u0439 \u0438 \u0442\u043e\u0439 \u0436\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 <strong>_InfoRg44326<\/strong>. \u041d\u043e \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0441 \u043e\u0442\u0431\u043e\u0440\u0430\u043c\u0438, \u0447\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0432 \u0441\u0430\u043c\u043e\u043c \u043a\u043e\u043d\u0446\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 (\u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 \u0441 \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c\u043e\u043c T7), \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0441\u0430\u043c\u044b\u043c \u00ab\u0432\u043d\u0435\u0448\u043d\u0438\u043c\u00bb \u0432 \u0434\u0435\u0440\u0435\u0432\u0435 SELECT, \u0433\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 T6. \u042f \u043e\u0431\u0432\u0435\u043b \u043d\u0430 \u043f\u043b\u0430\u043d\u0435 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u0438\u043d\u0438\u043c. \u0410 \u0441\u0430\u043c\u044b\u0439 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043f\u043e\u0434\u0437\u0430\u043f\u0440\u043e\u0441 \u0441 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 T4 \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0432\u0430\u0436\u043d\u043e\u0433\u043e \u0444\u0438\u043b\u044c\u0442\u0440\u0430, \u0438 \u043f\u043e \u0438\u0442\u043e\u0433\u0430\u043c \u043e\u043d \u0432\u044b\u0433\u0440\u0435\u0431\u0430\u0435\u0442 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432\u0441\u0435 200+ \u043c\u043b\u043d. \u0441\u0442\u0440\u043e\u043a, \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u0443\u0435\u0442, \u0442\u0440\u0430\u0442\u0438\u0442 \u043d\u0430 \u044d\u0442\u043e 267\u00a0430 \u043c\u0441 (~4,5 \u043c\u0438\u043d.). \u041f\u043e\u0442\u043e\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0433\u043e\u043c \u043e\u043d \u0434\u0435\u043b\u0430\u0435\u0442 INNER JOIN \u0441\u0430\u043c \u0441 \u0441\u043e\u0431\u043e\u0439 (\u0442\u0430\u0431\u043b\u0438\u0446\u0430 T5), \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0432 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c 1\u00a0584\u00a0102 \u043c\u0441 (26 \u043c\u0438\u043d.) \u043d\u0430 \u043f\u043e\u0438\u0441\u043a \u043f\u043b\u044e\u0441 101\u00a0414 \u043c\u0441 (1,7 \u043c\u0438\u043d.) \u043d\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0438 947\u00a0127 \u043c\u0441 (15,7 \u043c\u0438\u043d) \u043d\u0430 \u0435\u0449\u0451 \u043e\u0434\u043d\u0443 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043a\u0443. \u042d\u0442\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u0442\u0440\u0430\u0442\u044b.<\/p>\n<p>\u0412 \u0441\u0443\u043c\u043c\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0441\u044f \u0437\u0430 <strong>2\u00a0968\u00a0714 \u043c\u0441 (49 \u043c\u0438\u043d\u0443\u0442)<\/strong> \u0438 \u0432\u0435\u0440\u043d\u0443\u043b \u0430\u0436 32 \u0441\u0442\u0440\u043e\u043a\u0438, \u043f\u0435\u0440\u0435\u043b\u043e\u043f\u0430\u0442\u0438\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0432\u0435\u0441\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0432 MS SQL. <\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440 \u0442\u0435\u043a\u0441\u0442\u0430 \u0442\u044f\u0436\u0435\u043b\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 MS SQL, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0421\u0440\u0435\u0437\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"sql\">(@P1 numeric(10),@P2 numeric(10),@P3 numeric(10),@P4 datetime2(3)) INSERT INTO #tt66 WITH(TABLOCK) (_Q_001_F_000_TYPE, _Q_001_F_000_RTRef, _Q_001_F_000_RRRef)  SELECT T1.Fld44327_TYPE, T1.Fld44327_RTRef, T1.Fld44327_RRRef FROM (SELECT T6._Fld44327_TYPE AS Fld44327_TYPE, T6._Fld44327_RTRef AS Fld44327_RTRef, T6._Fld44327_RRRef AS Fld44327_RRRef, T6._Fld44329 AS Fld44329_ FROM (SELECT T3.Fld44327_TYPE AS Fld44327_TYPE, T3.Fld44327_RTRef AS Fld44327_RTRef, T3.Fld44327_RRRef AS Fld44327_RRRef, T3.Fld44328RRef AS Fld44328RRef, T3.Fld44329_ AS Fld44329_, T3.Fld44330_ AS Fld44330_, T3.Fld44331RRef AS Fld44331RRef, T3.Fld44332RRef AS Fld44332RRef, T3.MAXPERIOD_ AS MAXPERIOD_, SUBSTRING(MAX(T5._RecorderTRef + T5._RecorderRRef),1,4) AS MAXRECORDERTRef, SUBSTRING(MAX(T5._RecorderTRef + T5._RecorderRRef),5,16) AS MAXRECORDERRRef FROM (SELECT T4._Fld44327_TYPE AS Fld44327_TYPE, T4._Fld44327_RTRef AS Fld44327_RTRef, T4._Fld44327_RRRef AS Fld44327_RRRef, T4._Fld44328RRef AS Fld44328RRef, T4._Fld44329 AS Fld44329_, T4._Fld44330 AS Fld44330_, T4._Fld44331RRef AS Fld44331RRef, T4._Fld44332RRef AS Fld44332RRef, MAX(T4._Period) AS MAXPERIOD_ FROM dbo._InfoRg44326 T4 WHERE ((T4._Fld2507 = @P1)) AND (T4._Active = 0x01) GROUP BY T4._Fld44327_TYPE, T4._Fld44327_RTRef, T4._Fld44327_RRRef, T4._Fld44328RRef, T4._Fld44329, T4._Fld44330, T4._Fld44331RRef, T4._Fld44332RRef) T3 INNER JOIN dbo._InfoRg44326 T5 ON T3.Fld44327_TYPE = T5._Fld44327_TYPE AND T3.Fld44327_RTRef = T5._Fld44327_RTRef AND T3.Fld44327_RRRef = T5._Fld44327_RRRef AND T3.Fld44328RRef = T5._Fld44328RRef AND T3.Fld44329_ = T5._Fld44329 AND T3.Fld44330_ = T5._Fld44330 AND T3.Fld44331RRef = T5._Fld44331RRef AND T3.Fld44332RRef = T5._Fld44332RRef AND T3.MAXPERIOD_ = T5._Period WHERE ((T5._Fld2507 = @P2)) AND (T5._Active = 0x01) GROUP BY T3.Fld44327_TYPE, T3.Fld44327_RTRef, T3.Fld44327_RRRef, T3.Fld44328RRef, T3.Fld44329_, T3.Fld44330_, T3.Fld44331RRef, T3.Fld44332RRef, T3.MAXPERIOD_) T2 INNER JOIN dbo._InfoRg44326 T6 ON <\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-461921","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/461921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=461921"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/461921\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=461921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=461921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=461921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}