{"id":314474,"date":"2020-12-07T15:02:01","date_gmt":"2020-12-07T15:02:01","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=314474"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=314474","title":{"rendered":"One Tool to Analyze Them All"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\u041c\u044b \u0440\u0430\u0434\u044b \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430 <a href=\"https:\/\/explain.tensor.ru\/\">explain.tensor.ru<\/a> \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043b\u0430\u043d\u043e\u0432, \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0445 <b>\u0434\u043b\u044f PostgreSQL-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439<\/b>: <a href=\"https:\/\/www.timescale.com\/\">Timescale<\/a>, <a href=\"https:\/\/www.citusdata.com\/\">Citus<\/a>, <a href=\"https:\/\/greenplum.org\/\">Greenplum<\/a> \u0438 <a href=\"https:\/\/aws.amazon.com\/ru\/redshift\/\">Redshift<\/a>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ux\/5y\/oj\/ux5yojqetzgeoetalxavx52yhtg.png\"><\/div>\n<p>  \u0422\u0430\u043a \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u0432\u0430\u043c \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442\u0441\u044f \u043f\u043b\u0430\u043d, \u043f\u043e\u0445\u043e\u0436\u0438\u0439 \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e <code>EXPLAIN<\/code>, \u043d\u043e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u043c\u0438 \u0443\u0437\u043b\u0430\u043c\u0438 \u2014 \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435, \u043a\u0443\u0434\u0430 \u0438\u0434\u0442\u0438.<\/p>\n<h2>EXPLAIN &lt;-&gt; SQL<\/h2>\n<p>  \u0412 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0442\u0435\u043c\u044b <a href=\"https:\/\/habr.com\/ru\/post\/517652\/\">\u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u0437\u043b\u043e\u0432 \u043f\u043b\u0430\u043d\u0430 \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/a> \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/gp\/wf\/cf\/gpwfcf4rysl5pxdq9-rztczxjme.gif\"><\/div>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<h2><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ub\/no\/tw\/ubnotw7ipnhuhes8yyf2m5n57me.png\" width=\"250\"><\/h2>\n<p>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0443\u0437\u043b\u043e\u0432 <code>[Parallel] Custom Scan (ChunkAppend)<\/code>:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/i8\/cx\/au\/i8cxauy8t5mur021kn5ekvngmku.png\"><\/p>\n<h2><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/kd\/qq\/lj\/kdqqljpoqx6v_ptfrtsnyqfw6ww.png\" width=\"250\"><\/h2>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f <code>Task<\/code>-\u0443\u0437\u043b\u043e\u0432, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0445\u0441\u044f \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043d\u043e\u0434\u0430\u0445 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e <code>Execution Time<\/code>:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/bu\/1z\/76\/bu1z76opwuzoapyodhkc4bzgepk.png\"><\/p>\n<p>  \u0412\u0440\u0435\u043c\u044f \u00ab\u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044f\u00bb <code>Custom Scan (Citus Adaptive)<\/code> \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e, \u0434\u0430\u0436\u0435 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f <code>Task<\/code> \u0441\u0440\u0430\u0437\u0443 \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0443\u0437\u043b\u0430\u0445 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/0d\/2g\/by\/0d2gbyzldynus53seda86wfrl7c.png\">  <\/p>\n<blockquote><p>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0431 \u0430\u043d\u0430\u043b\u0438\u0437\u0435 <code>EXPLAIN<\/code> \u0432 <a href=\"https:\/\/www.citusdata.com\/blog\/2020\/09\/05\/citus-9-4-whats-new\/\">Citus<\/a>.<\/p><\/blockquote>\n<p>  <\/p>\n<h2><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/yf\/_n\/pj\/yf_npjaybiwsusawjf2vok5byqw.png\" width=\"250\"><\/h2>\n<p>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0435 \u0443\u0437\u043b\u044b \u0432\u0440\u043e\u0434\u0435 <code>Broadcast Motion, Redistribute Motion, Gather Motion, Partition Selector, Sequence<\/code>:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/3v\/yp\/yj\/3vypyjxorklwy76tqm8ryvvd-ha.png\">  <\/p>\n<blockquote><p>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0431 \u0430\u043d\u0430\u043b\u0438\u0437\u0435 <code>EXPLAIN<\/code> \u0432 <a href=\"https:\/\/gpdb.docs.pivotal.io\/510\/best_practices\/tuning_queries.html\">Greenplum<\/a>.<\/p><\/blockquote>\n<p>  <\/p>\n<h2><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sd\/kh\/fb\/sdkhfbslfqxc_zovj7rezbe_ctw.png\" width=\"250\"><\/h2>\n<p>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 <code>XN<\/code>-\u0443\u0437\u043b\u0430\u043c\u0438, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0435 <code>XN Network, XN Merge, XN Window<\/code> \u0438 data redistribution \u0443 <code>Join<\/code>-\u0443\u0437\u043b\u043e\u0432:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ab\/mx\/ep\/abmxepi-taj6quwwj0e_kcr26uk.png\"><\/p>\n<blockquote><p>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0431 \u0430\u043d\u0430\u043b\u0438\u0437\u0435 <code>EXPLAIN<\/code> \u0432 <a href=\"https:\/\/docs.aws.amazon.com\/redshift\/latest\/dg\/c-the-query-plan.html\">Redshift<\/a>.<\/p><\/blockquote>\n<p>  <\/p>\n<hr>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u0432\u044b \u043d\u0430\u0448\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e, \u0447\u0442\u043e \u043c\u044b \u043f\u043e\u043a\u0430 \u043d\u0435 \u0443\u0447\u043b\u0438 \u2014 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.<\/div>\n<p> \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\/company\/tensor\/blog\/531620\/\"> https:\/\/habr.com\/ru\/company\/tensor\/blog\/531620\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\u041c\u044b \u0440\u0430\u0434\u044b \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430 <a href=\"https:\/\/explain.tensor.ru\/\">explain.tensor.ru<\/a> \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043b\u0430\u043d\u043e\u0432, \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0445 <b>\u0434\u043b\u044f PostgreSQL-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439<\/b>: <a href=\"https:\/\/www.timescale.com\/\">Timescale<\/a>, <a href=\"https:\/\/www.citusdata.com\/\">Citus<\/a>, <a href=\"https:\/\/greenplum.org\/\">Greenplum<\/a> \u0438 <a href=\"https:\/\/aws.amazon.com\/ru\/redshift\/\">Redshift<\/a>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ux\/5y\/oj\/ux5yojqetzgeoetalxavx52yhtg.png\"><\/div>\n<p>  \u0422\u0430\u043a \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u0432\u0430\u043c \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442\u0441\u044f \u043f\u043b\u0430\u043d, \u043f\u043e\u0445\u043e\u0436\u0438\u0439 \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e <code>EXPLAIN<\/code>, \u043d\u043e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u043c\u0438 \u0443\u0437\u043b\u0430\u043c\u0438 \u2014 \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435, \u043a\u0443\u0434\u0430 \u0438\u0434\u0442\u0438.<\/p>\n<h2>EXPLAIN &lt;-&gt; SQL<\/h2>\n<p>  \u0412 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0442\u0435\u043c\u044b <a href=\"https:\/\/habr.com\/ru\/post\/517652\/\">\u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u0437\u043b\u043e\u0432 \u043f\u043b\u0430\u043d\u0430 \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/a> \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/gp\/wf\/cf\/gpwfcf4rysl5pxdq9-rztczxjme.gif\"><\/div>\n<p>  <\/p>\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-314474","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/314474","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=314474"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/314474\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=314474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=314474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=314474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}