{"id":293965,"date":"2019-08-28T15:00:37","date_gmt":"2019-08-28T15:00:37","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=293965"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=293965","title":{"rendered":"Time series \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0421\u0423\u0411\u0414. \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f TimescaleDB \u0438 PipelineDB \u0434\u043b\u044f PostgreSQL"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">Time series \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u043b\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0440\u044f\u0434\u044b\u00a0\u2014 \u044d\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0432\u043e\u00a0\u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041a\u043e\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0432\u0430\u043b\u044e\u0442, \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430, \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a\u00a0\u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0438\u043b\u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430\u00a0CPU\u00a0\u2014 \u044d\u0442\u043e time series \u0434\u0430\u043d\u043d\u044b\u0435. \u0427\u0442\u043e\u0431\u044b \u0438\u0445\u00a0\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b\u00a0\u2014 \u0442\u0435\u043c\u043f\u043e\u0440\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432\u00a0\u2014 \u0434\u0435\u0441\u044f\u0442\u043a\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, InfluxDB \u0438\u043b\u0438 ClickHouse. \u041d\u043e\u00a0\u0434\u0430\u0436\u0435 \u0443\u00a0\u0441\u0430\u043c\u044b\u0445 \u043b\u0443\u0447\u0448\u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0440\u044f\u0434\u043e\u0432 \u0435\u0441\u0442\u044c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438. \u0412\u0441\u0435 time series \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0435, \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f time series \u0434\u0430\u043d\u043d\u044b\u0445, \u0430\u00a0\u043e\u0431\u043a\u0430\u0442\u043a\u0430 \u0438\u00a0\u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u0435 \u0432\u00a0\u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0441\u0442\u0435\u043a\u00a0\u2014 \u0434\u043e\u0440\u043e\u0433\u043e \u0438\u00a0\u0431\u043e\u043b\u044c\u043d\u043e.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sx\/9x\/bz\/sx9xbzv26lix6lh-frspdsopknw.jpeg\"><\/p>\n<p>  \u041d\u043e, \u0435\u0441\u043b\u0438 \u0443\u00a0\u0432\u0430\u0441 \u0441\u0442\u0435\u043a PostgreSQL, \u0442\u043e\u00a0\u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0431\u044b\u0442\u044c \u043e\u00a0InfluxDB \u0438\u00a0\u0432\u0441\u0435\u0445 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0442\u0435\u043c\u043f\u043e\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0411\u0414. \u0421\u0442\u0430\u0432\u0438\u0442\u0435 \u0441\u0435\u0431\u0435 \u0434\u0432\u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f TimescaleDB \u0438\u00a0PipelineDB \u0438\u00a0\u0445\u0440\u0430\u043d\u0438\u0442\u0435, \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0435 \u0438\u00a0\u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0435 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0443 time series \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u044f\u043c\u043e \u0432\u00a0\u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0435 PostgreSQL. \u0411\u0435\u0437 \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439, \u0431\u0435\u0437 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432 \u0442\u0435\u043c\u043f\u043e\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449 \u0438\u00a0\u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438\u0445\u00a0\u043e\u0431\u043a\u0430\u0442\u043a\u0438. \u0427\u0442\u043e \u044d\u0442\u043e \u0437\u0430\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f, \u0432\u00a0\u0447\u0435\u043c \u0438\u0445\u00a0\u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0438\u00a0\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u0442 <b>\u0418\u0432\u0430\u043d \u041c\u0443\u0440\u0430\u0442\u043e\u0432 (<a href=\"https:\/\/habr.com\/ru\/users\/binakot\/\" class=\"user_link\">binakot<\/a>)<\/b>\u00a0\u2014 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0434\u0435\u043b\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432\u00a0\u00ab\u041f\u0435\u0440\u0432\u043e\u0439 \u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u043e\u0432\u043e\u0439 \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u0438\u00bb.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<div class=\"oembed\">\n<div>\n<div style=\"left: 0; width: 100%; height: 0; position: relative; padding-bottom: 56.2493%;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/3WkNp7mllv0?rel=0&amp;showinfo=1&amp;hl=en-US\" style=\"border: 0; top: 0; left: 0; width: 100%; height: 100%; position: absolute;\" allowfullscreen scrolling=\"no\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<p>  <\/p>\n<h2>\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 time series \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u043b\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0440\u044f\u0434\u044b?<\/h2>\n<p>  <\/p>\n<blockquote><p>\u042d\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u00a0\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u0432\u00a0\u0440\u0430\u0437\u043d\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u0435\u0433\u043e \u0436\u0438\u0437\u043d\u0438.<\/p><\/blockquote>\n<p>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044f: \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c, \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b, \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043d\u0430\u00a0\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441\u00a0\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043e\u00a0\u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043d\u0430\u00a0CPU, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0438\u00a0\u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u043d\u0430\u00a0\u0434\u0438\u0441\u043a\u0430\u0445.<\/p>\n<p>  \u0412\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0440\u044f\u0434\u044b \u0438\u043c\u0435\u044e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439.<\/p>\n<ul>\n<li>\u0412<b>\u0440\u0435\u043c\u044f \u0444\u0438\u043a\u0441\u0430\u0446\u0438\u0438<\/b>. \u041b\u044e\u0431\u0430\u044f time series \u0437\u0430\u043f\u0438\u0441\u044c \u0438\u043c\u0435\u0435\u0442 \u043f\u043e\u043b\u0435 \u0441\u00a0\u043c\u0435\u0442\u043a\u043e\u0439 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0432\u00a0\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u044b\u043b\u043e \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.  <\/li>\n<li><b>\u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0443\u0440\u043e\u0432\u043d\u044f\u043c\u0438 \u0440\u044f\u0434\u0430<\/b>: \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c, \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b, \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u00a0\u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0435.  <\/li>\n<li>\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u00a0\u0442\u0430\u043a\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 <b>\u0432\u00a0append-only \u0440\u0435\u0436\u0438\u043c\u0435<\/b>. \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043d\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435\u00a0\u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0442 \u0441\u0442\u0430\u0440\u044b\u0435. \u0423\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435.  <\/li>\n<li><b>\u0417\u0430\u043f\u0438\u0441\u0438 \u043d\u0435\u00a0\u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0434\u0440\u0443\u0433 \u043e\u0442\u00a0\u0434\u0440\u0443\u0433\u0430<\/b>. \u0414\u0430\u043d\u043d\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u00a0\u0441\u043e\u0432\u043e\u043a\u0443\u043f\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u00a0\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c \u043e\u043a\u043d\u0430\u043c, \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0430\u043c \u0438\u043b\u0438 \u043f\u0435\u0440\u0438\u043e\u0434\u0430\u043c.  <\/li>\n<\/ul>\n<p>  <\/p>\n<h3>\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445<\/h3>\n<p>  \u041d\u0430\u00a0\u0433\u0440\u0430\u0444\u0438\u043a\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f\u00a0\u0432\u0437\u044f\u043b \u0441\u00a0\u0441\u0430\u0439\u0442\u0430 <a href=\"https:\/\/db-engines.com\/en\/\">db-engines.com<\/a>, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0430 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0437\u0430\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0430 \u0433\u043e\u0434\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/w2\/wf\/_u\/w2wf_uryfor_djey8enzmrskywo.jpeg\"><\/p>\n<p>  \u041b\u0438\u0434\u0438\u0440\u0443\u044e\u0449\u0443\u044e \u043f\u043e\u0437\u0438\u0446\u0438\u044e \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0442 time series \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430, \u043d\u0430\u00a0\u0432\u0442\u043e\u0440\u043e\u043c \u043c\u0435\u0441\u0442\u0435\u00a0\u2014 \u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0435\u00a0\u0411\u0414, \u0434\u0430\u043b\u044c\u0448\u0435\u00a0\u2014 key-value \u0438\u00a0\u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0431\u0430\u0437\u044b. \u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449 \u0441\u0432\u044f\u0437\u0430\u043d\u0430 \u0441\u00a0\u0438\u043d\u0442\u0435\u043d\u0441\u0438\u0432\u043d\u044b\u043c \u0440\u043e\u0441\u0442\u043e\u043c \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439: Big Data, \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0442\u0438, IoT, \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 highload-\u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b. \u041a\u0440\u043e\u043c\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u0431\u0438\u0437\u043d\u0435\u0441-\u0434\u0430\u043d\u043d\u044b\u0445, \u0434\u0430\u0436\u0435 \u043b\u043e\u0433\u0438 \u0438\u00a0\u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432.<\/p>\n<h3>\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f time series \u0434\u0430\u043d\u043d\u044b\u0445<\/h3>\n<p>  \u041d\u0430\u00a0\u0433\u0440\u0430\u0444\u0438\u043a\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u044b \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f time series \u0434\u0430\u043d\u043d\u044b\u0445. \u0428\u043a\u0430\u043b\u0430 \u043b\u043e\u0433\u0430\u0440\u0438\u0444\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ny\/bz\/6_\/nybz6_-_3ce7t0y7xre1oxkbks8.jpeg\"><\/p>\n<p>  \u0421\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u043b\u0438\u0434\u0438\u0440\u0443\u0435\u0442 InfluxDB. \u0412\u0441\u0435 \u043a\u0442\u043e \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0441\u044f \u0441\u00a0time series \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u0441\u043b\u044b\u0448\u0430\u043b\u0438 \u043f\u0440\u043e \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0434\u0443\u043a\u0442. \u041d\u043e\u00a0\u043d\u0430\u00a0\u0433\u0440\u0430\u0444\u0438\u043a\u0435 \u0437\u0430\u043c\u0435\u0442\u0435\u043d \u0434\u0435\u0441\u044f\u0442\u0438\u043a\u0440\u0430\u0442\u043d\u044b\u0439 \u0440\u043e\u0441\u0442 \u0443\u00a0TimescaleDB\u00a0\u2014 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043a\u00a0\u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0421\u0423\u0411\u0414 \u0431\u043e\u0440\u0435\u0442\u0441\u044f \u0437\u0430\u00a0\u043c\u0435\u0441\u0442\u043e \u043f\u043e\u0434 \u0441\u043e\u043b\u043d\u0446\u0435\u043c \u0441\u0440\u0435\u0434\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b\u0438\u0441\u044c \u043f\u043e\u0434 time series.<\/p>\n<blockquote><p>PostgreSQL \u044d\u0442\u043e \u043d\u0435\u00a0\u0442\u043e\u043b\u044c\u043a\u043e \u0445\u043e\u0440\u043e\u0448\u0430\u044f\u00a0\u0411\u0414, \u043d\u043e\u00a0\u0438\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u0430\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439.<\/p><\/blockquote>\n<p>  <\/p>\n<h2>Postgres, Postgis \u0438\u00a0TimescaleDB<\/h2>\n<p>  \u00ab\u041f\u0435\u0440\u0432\u0430\u044f \u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u043e\u0432\u0430\u044f \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f\u00bb \u0441\u043b\u0435\u0434\u0438\u0442 \u0437\u0430\u00a0\u043f\u0435\u0440\u0435\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435\u043c \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430 \u0441\u00a0\u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043f\u0443\u0442\u043d\u0438\u043a\u043e\u0432. \u041c\u044b\u00a0\u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u043c 20\u00a0000 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0438\u00a0\u0445\u0440\u0430\u043d\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u00a0\u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f\u0445 \u0437\u0430\u00a0\u0434\u0432\u0430 \u0433\u043e\u0434\u0430. \u0421\u0443\u043c\u043c\u0430\u0440\u043d\u043e \u0443\u00a0\u043d\u0430\u0441 10\u00a0\u0422\u0411 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0412\u00a0\u0441\u0440\u0435\u0434\u043d\u0435\u043c, \u043a\u0430\u0436\u0434\u043e\u0435 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u043e\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e \u0432\u043e\u00a0\u0432\u0440\u0435\u043c\u044f \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 5\u00a0\u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432\u00a0\u043c\u0438\u043d\u0443\u0442\u0443. \u0414\u0430\u043d\u043d\u044b\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u00a0\u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430\u00a0\u043d\u0430\u0448\u0438 \u0442\u0435\u043b\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u044b. \u0412\u00a0\u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u043e\u043d\u0438 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0442 500 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432.<\/p>\n<p>  \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u043c\u044b\u00a0\u0440\u0435\u0448\u0438\u043b\u0438 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0434\u0435\u0440\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0438\u00a0\u043f\u0435\u0440\u0435\u0435\u0445\u0430\u0442\u044c \u0441\u00a0\u043c\u043e\u043d\u043e\u043b\u0438\u0442\u0430 \u043d\u0430\u00a0\u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b. \u041d\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043c\u044b\u00a0\u043d\u0430\u0437\u0432\u0430\u043b\u0438 Waliot, \u0438\u00a0\u043e\u043d\u0430 \u0443\u0436\u0435 \u0432\u00a0\u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d\u00a0\u2014 90% \u0432\u0441\u0435\u0445 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u0430 \u043d\u0430\u00a0\u043d\u0435\u0435.<\/p>\n<p>  \u0412\u00a0\u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u043b\u043e\u0441\u044c \u043c\u043d\u043e\u0433\u043e\u0435, \u043d\u043e\u00a0\u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u0432\u0435\u043d\u043e \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c\u00a0\u2014 \u044d\u0442\u043e \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 PostgreSQL. \u0421\u0435\u0439\u0447\u0430\u0441 \u043c\u044b\u00a0\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u043d\u0430\u00a0\u0432\u0435\u0440\u0441\u0438\u0438 10\u00a0\u0438\u00a0\u0433\u043e\u0442\u043e\u0432\u0438\u043c\u0441\u044f \u043a\u00a0\u043f\u0435\u0440\u0435\u0435\u0437\u0434\u0443 \u043d\u0430\u00a011. \u041a\u0440\u043e\u043c\u0435 PostgreSQL, \u043a\u0430\u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430, \u0432\u00a0\u0441\u0442\u0435\u043a\u0435 \u043c\u044b\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c PostGIS \u0434\u043b\u044f \u0433\u0435\u043e\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439, \u0438\u00a0TimescaleDB \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430 time series \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 PostgreSQL?<\/h3>\n<p>  \u041f\u043e\u0447\u0435\u043c\u0443 \u043c\u044b\u00a0\u043f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f time series, \u0430\u00a0\u043d\u0435\u00a0<s>ClickHouse<\/s> \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u0434\u0430\u043d\u043d\u044b\u0445? \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0430\u00a0\u0444\u043e\u043d\u0435 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043d\u043e\u0439 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u0438\u0437\u044b \u0438\u00a0\u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0439 \u043e\u0442\u00a0\u0440\u0430\u0431\u043e\u0442\u044b \u0441\u00a0PostgreSQL, \u043c\u044b\u00a0\u043d\u0435\u00a0\u0445\u043e\u0442\u0438\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u00a0\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n<blockquote><p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430\u00a0\u043d\u043e\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u00a0\u2014 \u044d\u0442\u043e \u0440\u0438\u0441\u043a\u0438. <\/p><\/blockquote>\n<p>  \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0438\u00a0\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 time series \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e. \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0435\u00a0\u0432\u0441\u0435\u0433\u0434\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u0430\u00a0\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0432\u044b\u0431\u043e\u0440 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043d\u0435\u00a0\u0432\u0441\u0435\u0433\u0434\u0430 \u0445\u043e\u0440\u043e\u0448\u043e. \u041a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u0445\u043e\u0442\u044f\u0442 \u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u00a0\u043d\u0443\u043b\u044f, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432\u00a0\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u0447\u0442\u043e-\u0442\u043e \u043d\u0435\u00a0\u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0435\u00a0\u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c, \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0438\u0441\u043a\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u00a0\u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c. \u041e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0435 <a href=\"https:\/\/outlyer.com\/blog\/top10-open-source-time-series-databases\/\">\u0442\u043e\u043f\u043e\u0432<\/a>, <a href=\"https:\/\/db-engines.com\/en\/ranking\/time+series+dbms\">\u0440\u0435\u0439\u0442\u0438\u043d\u0433\u043e\u0432<\/a> \u0438\u00a0<a href=\"https:\/\/devconnected.com\/4-best-time-series-databases-to-watch-in-2019\/\">\u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439<\/a> \u0441\u043a\u043e\u0440\u0435\u0435 \u043f\u0443\u0433\u0430\u0435\u0442, \u0447\u0435\u043c \u043c\u043e\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442 \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c. \u041f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043d\u0430\u00a0\u0441\u0435\u0431\u0435. \u041c\u044b\u00a0\u043d\u0435\u00a0\u043c\u043e\u0436\u0435\u043c \u0441\u0435\u0431\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432\u00a0\u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043c\u0435\u0441\u044f\u0446\u0435\u0432. \u042d\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430, \u0430\u00a0\u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u00a0\u043e\u043a\u0443\u043f\u0438\u0442\u0441\u044f. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b\u00a0\u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0434\u043b\u044f PostgreSQL.<\/p>\n<p>  \u041d\u0430\u00a0\u044d\u0442\u0430\u043f\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b Waliot \u043c\u044b\u00a0\u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b\u0438 \u0432\u00a0\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 InfluxDB. \u041d\u043e\u00a0\u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u043d\u0430\u00a0TimescaleDB \u0438\u00a0\u043f\u0440\u043e\u0432\u0435\u043b\u0438 \u043d\u0430\u0434 \u043d\u0438\u043c \u0442\u0435\u0441\u0442\u044b, \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u043e\u00a0\u0432\u044b\u0431\u043e\u0440\u0435 \u043d\u0435\u00a0\u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c. PostgreSQL \u0441\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c TimescaleDB, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u00a0\u0440\u0430\u043c\u043a\u0430\u0445 \u043e\u0434\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 PostGIS \u0438\u043b\u0438 PipelineDB \u0438\u00a0\u0434\u0440\u0443\u0433\u0438\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f. \u041d\u0430\u043c \u043d\u0435\u00a0\u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0443 \u0438\u00a0\u043f\u0435\u0440\u0435\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u0438\u0445\u00a0\u043f\u043e\u00a0\u0441\u0435\u0442\u0438. \u0412\u0441\u0435 \u043b\u0435\u0436\u0438\u0442 \u043d\u0430\u00a0\u043e\u0434\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438\u043b\u0438 \u0432\u00a0\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435\u00a0\u2014 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435\u00a0\u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0442\u044c. \u0412\u0441\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0430\u00a0\u043e\u0434\u043d\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435.<\/p>\n<p>  \u041d\u0435\u0434\u0430\u0432\u043d\u043e <a href=\"https:\/\/twitter.com\/postgresmen\">\u041d\u0438\u043a\u043e\u043b\u0430\u0439 \u0421\u0430\u043c\u043e\u0445\u0432\u0430\u043b\u043e\u0432<\/a>, \u0430\u0432\u0442\u043e\u0440\u0430 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 postgresmen, <a href=\"https:\/\/arxiv.org\/abs\/1905.12133\">\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0441\u0441\u044b\u043b\u043a\u0443<\/a> \u043d\u0430\u00a0\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e \u043d\u0430\u00a0\u0442\u0435\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f SQL \u0434\u043b\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445. \u041f\u044f\u0442\u044c \u0438\u0437\u00a0\u0448\u0435\u0441\u0442\u0438 \u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u0441\u0442\u0430\u0442\u044c\u0438 \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u044e\u0442 \u0432\u00a0\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 Apache \u0438\u00a0\u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0441\u00a0\u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u00a0\u0441\u0442\u0430\u0442\u044c\u0435 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0442\u0441\u044f Apache Spark, Apache Flink, Apache Beam, Apache Calcite \u0438\u00a0KSQL \u043e\u0442\u00a0\u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Confluent. <\/p>\n<p>  \u041d\u043e\u00a0\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430 \u043d\u0435\u00a0\u0441\u0430\u043c\u0430 \u0441\u0442\u0430\u0442\u044c\u044f, \u0430\u00a0<a href=\"https:\/\/news.ycombinator.com\/item?id=20059006\">\u0442\u043e\u043f\u0438\u043a \u043d\u0430\u00a0Hacker News<\/a>, \u0432\u00a0\u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0435\u0451\u00a0\u043e\u0431\u0441\u0443\u0436\u0434\u0430\u044e\u0442. \u0410\u0432\u0442\u043e\u0440 \u0442\u043e\u043f\u0438\u043a\u0430 \u043f\u0438\u0448\u0435\u0442, \u0447\u0442\u043e \u043d\u0430\u00a0\u043e\u0441\u043d\u043e\u0432\u0435 \u0441\u0442\u0430\u0442\u044c\u0438, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0438\u0434\u0435\u0438 \u043d\u0430\u00a0\u0431\u0430\u0437\u0435 PostgreSQL 11. \u041e\u043d\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f CitusDB \u0434\u043b\u044f \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u00a0\u0448\u0430\u0440\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, PipelineDB \u0434\u043b\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0438\u00a0\u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439, TimescaleDB \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f time series \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u00a0\u0441\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0449\u0435 \u043e\u043d\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e Foreign Data Wrappers.<\/p>\n<blockquote><p>\u0421\u0443\u043c\u0430\u0441\u0448\u0435\u0434\u0448\u0430\u044f \u0441\u043c\u0435\u0441\u044c \u0438\u0437\u00a0PostgreSQL \u0438\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 \u043a\u00a0\u043d\u0435\u043c\u0443 \u0435\u0449\u0435 \u0440\u0430\u0437 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442, \u0447\u0442\u043e PostgreSQL \u043d\u0435\u00a0\u043f\u0440\u043e\u0441\u0442\u043e \u0421\u0423\u0411\u0414\u00a0\u2014 \u044d\u0442\u043e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430.<\/p><\/blockquote>\n<p>  \u0410\u00a0\u043a\u043e\u0433\u0434\u0430 \u0437\u0430\u0432\u0435\u0437\u0443\u0442 pluggable storage\u2026 \u0423\u0445\u0445!<\/p>\n<p>  \u0418\u0440\u043e\u043d\u0438\u0447\u043d\u043e, \u0447\u0442\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u0443\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043c\u044b\u00a0\u043d\u0430\u0448\u043b\u0438 <a href=\"https:\/\/www.outfluxdata.com\/\">Outflux<\/a>\u00a0\u2014 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u044b TimescaleDB, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043e\u043d\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438 1\u00a0\u0430\u043f\u0440\u0435\u043b\u044f. \u041a\u0430\u043a \u0434\u0443\u043c\u0430\u0435\u0442\u0435, \u0447\u0442\u043e \u043e\u043d\u0430 \u0434\u0435\u043b\u0430\u0435\u0442? \u042d\u0442\u043e \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u0434\u043b\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0438\u0437\u00a0InfluxDB \u0432\u00a0TimescaleDB \u0432\u00a0\u043e\u0434\u043d\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443\u2026<\/p>\n<h3>Postgres hype!<\/h3>\n<p>  \u041d\u0435\u043b\u044c\u0437\u044f \u043d\u0435\u0434\u043e\u043e\u0446\u0435\u043d\u0438\u0432\u0430\u0442\u044c \u0441\u0438\u043b\u0443 \u0445\u0430\u0439\u043f\u0430! \u041c\u044b\u00a0\u0447\u0430\u0441\u0442\u043e \u0448\u0443\u0442\u0438\u043c, \u0447\u0442\u043e \u00ab\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0434\u0432\u0438\u0433\u0430\u0435\u0442 \u0445\u0430\u0439\u043f\u00bb, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d\u00a0\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u043b\u0438\u044f\u043d\u0438\u0435 \u043d\u0430\u00a0\u043d\u0430\u0448\u0435 \u0432\u043e\u0441\u043f\u0440\u0438\u044f\u0442\u0438\u044f \u0442\u0443\u043b\u0438\u043d\u0433\u0430 \u0438\u00a0\u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u041d\u0430\u00a0<a href=\"https:\/\/www.highload.ru\/moscow\/2019\/\">HighLoad++<\/a> \u043c\u044b\u00a0\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0435\u043c PostgreSQL, ClickHouse, Tarantool\u00a0\u2014 \u044d\u0442\u043e \u0445\u0430\u0439\u043f\u043e\u0432\u044b\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u0422\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u00a0\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0435, \u0447\u0442\u043e \u044d\u0442\u043e \u043d\u0435\u00a0\u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430\u00a0\u0432\u0430\u0448\u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u044f \u0438\u00a0\u0432\u044b\u0431\u043e\u0440 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b\u2026 \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u044d\u0442\u043e \u043d\u0435\u00a0\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0444\u0430\u043a\u0442\u043e\u0440, \u043d\u043e\u00a0\u0432\u0435\u0434\u044c \u044d\u0444\u0444\u0435\u043a\u0442 \u0435\u0441\u0442\u044c?<\/p>\n<p>  \u042f\u00a0\u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0441\u00a0PostgreSQL 5\u00a0\u043b\u0435\u0442. \u041c\u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u044d\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435 \u043c\u043e\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043e\u043d\u00a0\u0440\u0435\u0448\u0430\u0435\u0442 \u043d\u0430\u00a0\u0443\u0440\u0430. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u0443\u00a0\u043c\u0435\u043d\u044f \u0447\u0442\u043e-\u0442\u043e \u0441\u00a0\u044d\u0442\u043e\u0439 \u0431\u0430\u0437\u043e\u0439 \u0448\u043b\u043e \u043d\u0435\u00a0\u0442\u0430\u043a, \u0431\u044b\u043b\u0438 \u0432\u0438\u043d\u043e\u0432\u0430\u0442\u044b \u043c\u043e\u0438 \u043a\u0440\u0438\u0432\u044b\u0435 \u0440\u0443\u043a\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u044b\u0431\u043e\u0440 \u0431\u044b\u043b \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d.<\/p>\n<h2>TimescaleDB VS\u00a0PipelineDB<\/h2>\n<p>  \u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c TimescaleDB \u0438\u00a0PipelineDB. \u0427\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u043e\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u0445 \u0438\u0445\u00a0\u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0438?<\/p>\n<p>  <b>TimescaleDB\u00a0\u2014 \u044d\u0442\u043e time series \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/b> \u0441\u00a0\u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0432\u0441\u0442\u0430\u0432\u043a\u0438 \u0438\u00a0\u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<\/p>\n<p>  <b>PipelineDB<\/b>\u00a0\u2014 \u044d\u0442\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0445 SQL-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 <b>\u0434\u043b\u044f time series \u0434\u0430\u043d\u043d\u044b\u0445<\/b>.<\/p>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u00a0time series \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u0443\u00a0\u043d\u0438\u0445 \u043f\u043e\u0445\u043e\u0436\u0430 \u0438\u0441\u0442\u043e\u0440\u0438\u044f. \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Timescale \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u0432\u00a02015\u00a0\u0433\u043e\u0434\u0443, \u0430\u00a0Pipeline \u0432\u00a02013. \u041f\u0435\u0440\u0432\u044b\u0435 \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0432\u00a02017 \u0438\u00a02015, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u041f\u043e\u00a0\u0434\u0432\u0430 \u0433\u043e\u0434\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c. \u041f\u0440\u043e\u0434\u0430\u043a\u0448\u043d \u0440\u0435\u043b\u0438\u0437\u044b \u043e\u0431\u043e\u0438\u0445 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 \u043f\u0440\u043e\u0448\u043b\u0438 \u0432\u00a0\u043e\u043a\u0442\u044f\u0431\u0440\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0433\u043e\u0434\u0430 \u0441\u00a0\u0440\u0430\u0437\u043d\u0438\u0446\u0435\u0439 \u0432\u00a0\u043e\u0434\u043d\u0443 \u043d\u0435\u0434\u0435\u043b\u044e. \u0412\u0438\u0434\u0438\u043c\u043e, \u0442\u043e\u0440\u043e\u043f\u0438\u043b\u0438\u0441\u044c \u0434\u0440\u0443\u0433 \u0437\u0430\u00a0\u0434\u0440\u0443\u0433\u043e\u043c.<\/p>\n<p>  \u0412\u00a0GitHub \u043a\u0443\u0447\u0430 \u0437\u0432\u0435\u0437\u0434 \u0438\u00a0\u0444\u043e\u0440\u043a\u043e\u0432, \u0432\u00a0\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0438\u00a0\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430. \u0422\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d Open Source, \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u00a0\u043f\u043e\u0434\u0435\u043b\u0430\u0435\u0448\u044c. \u041d\u043e\u00a0\u0437\u0432\u0435\u0437\u0434 \u043c\u043d\u043e\u0433\u043e, \u0443\u00a0<a href=\"https:\/\/github.com\/timescale\/timescaledb\">TimescaleDB<\/a> \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0443\u00a0<a href=\"https:\/\/github.com\/pipelinedb\/pipelinedb\">PipelineDB<\/a>, \u0438\u00a0\u0434\u0430\u0436\u0435 \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0443\u00a0\u0441\u0430\u043c\u043e\u0433\u043e PostgreSQL.<\/p>\n<p>  \u041a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u0445\u043e\u0436\u0438, \u043d\u043e\u00a0\u043e\u043d\u0438 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u0443\u044e\u0442 \u0441\u0435\u0431\u044f \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443.<\/p>\n<p>  <b>TimescaleDB<\/b> \u0437\u0430\u044f\u0432\u043b\u044f\u0435\u0442, \u0447\u0442\u043e \u0443\u00a0\u043d\u0435\u0433\u043e \u0432\u0441\u0442\u0430\u0432\u043a\u0430 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432\u00a0\u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u0438\u00a0\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0441\u043e\u0442\u043d\u0435\u0439 \u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434\u043e\u0432 \u0441\u0442\u0440\u043e\u043a \u0438\u00a0\u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u0442\u0435\u0440\u0430\u0431\u0430\u0439\u0442 \u0434\u0430\u043d\u043d\u044b\u0445. \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u0447\u0435\u043c InfluxDB, Cassandra, MongoDB \u0438\u043b\u0438 \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u044b\u0439 PostgreSQL. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u0443\u044e \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u0438\u00a0\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. TimescaleDB\u00a0\u2014 \u044d\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435, \u0430\u00a0\u043d\u0435\u00a0\u0444\u043e\u0440\u043a PostgreSQL.<\/p>\n<p>  <b>PipelineDB<\/b> \u0445\u0440\u0430\u043d\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439, \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u044b\u0440\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0438\u0445\u00a0\u0440\u0430\u0441\u0447\u0435\u0442\u043e\u0432. \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e \u043d\u0430\u00a0\u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0435 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438 \u043d\u0430\u0434 \u043f\u043e\u0442\u043e\u043a\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u00a0\u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u00a0\u043e\u0431\u044b\u0447\u043d\u044b\u043c\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u043c\u0438 \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0432\u00a0\u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438. PipelineDB\u00a0\u2014 \u044d\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435, \u0430\u00a0\u043d\u0435\u00a0\u0444\u043e\u0440\u043a, \u043d\u043e\u00a0\u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043e\u043d\u00a0\u0431\u044b\u043b \u0438\u043c\u0435\u043d\u043d\u043e \u0444\u043e\u0440\u043a\u043e\u043c.<\/p>\n<h2>TimescaleDB<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u0445. \u041d\u0430\u0447\u043d\u0435\u043c \u0441\u00a0TimescaleDB. \u0421\u00a0\u043d\u0438\u043c \u044f\u00a0\u0440\u0430\u0431\u043e\u0442\u0430\u044e \u043f\u043e\u0447\u0442\u0438 2\u00a0\u0433\u043e\u0434\u0430. \u0417\u0430\u0442\u0430\u0449\u0438\u043b \u0435\u0433\u043e \u043d\u0430\u00a0\u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d \u0435\u0449\u0435 \u0434\u043e\u00a0\u0440\u0435\u043b\u0438\u0437\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430\u00a0\u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445, \u043a\u0430\u043a \u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c.<\/p>\n<p>  <b>\u0425\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0434\u043b\u044f \u043c\u0435\u0442\u0440\u0438\u043a \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b<\/b>. \u0423\u00a0\u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 Docker-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432, \u0432\u0440\u0435\u043c\u044f \u0444\u0438\u043a\u0441\u0430\u0446\u0438\u0438 \u043c\u0435\u0442\u0440\u0438\u043a, \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0438\u00a0\u043f\u043e\u043b\u044f \u0441\u00a0\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u044c\u044e. \u041d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e\u00a0\u0432\u0441\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c \u0441\u043e\u00a0\u0441\u0440\u0435\u0434\u043d\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043e\u043a\u043d\u0430\u043c\u0438 \u043f\u043e\u00a010\u00a0\u0441\u0435\u043a\u0443\u043d\u0434. \u0417\u0430\u043f\u0440\u043e\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439\u00a0\u0412\u044b \u0432\u0438\u0434\u0438\u0442\u0435 \u0440\u0435\u0448\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u0438\u00a0TimescaleDB \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u00a0\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0434\u043b\u044f \u043c\u0435\u0442\u0440\u0438\u043a \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b.<\/p>\n<pre><code class=\"sql\">SELECT time_bucket(\u201910 seconds\u2019, time) AS\u00a0period, container_id, avg(free_mem) FROM metrics WHERE time &gt; now() - interval \u201910 minutes\u2019 GROUP BY\u00a0period, container_id ORDER BY\u00a0period DESC, container_id;<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"plaintext\">period                 | container_id | avg -----------------------+--------------+--- 2019-06-24 12:01:00+00 | 16           | 72202 2019-06-24 12:01:00+00 | 73           | 837725 2019-06-24 12:01:00+00 | 96           | 412237 2019-06-24 12:00:50+00 | 16           | 1173393 2019-06-24 12:00:50+00 | 73           | 90104 2019-06-24 12:00:50+00 | 96           | 784596<\/code><\/pre>\n<p>  <b>\u0414\u043b\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u043e\u0432<\/b>. \u041d\u0430\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0433\u0440\u0443\u0437\u043e\u0432\u044b\u0445 \u0430\u0432\u0442\u043e, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043a\u0438\u043d\u0443\u043b\u0438 \u041a\u0440\u0430\u0441\u043d\u043e\u0434\u0430\u0440 \u0438\u00a0\u0438\u0445\u00a0\u043e\u0431\u0449\u0438\u0439 \u0442\u043e\u043d\u043d\u0430\u0436 \u043f\u043e\u00a0\u0434\u043d\u044f\u043c.<\/p>\n<pre><code class=\"sql\">SELECT time_bucket(\u20191 day\u2019, time) AS\u00a0day, count(*) AS\u00a0trucks_exiting, sum(weight)\u00a0\/ 1000\u00a0AS tonnage FROM vehicles INNER JOIN cities\u00a0ON cities.name = \u2019Krasnodar\u2019 WHERE ST_Within(last_location, ST_Polygon(cities.geom, 4326)) AND NOT ST_Within(current_location, ST_Polygon(cities.geom, 4326)) GROUP BY\u00a0day ORDER BY\u00a0day DESC LIMIT 3;<\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0442\u0430\u043a\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u0437\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f PostGIS, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u043a\u0438\u043d\u0443\u043b \u0433\u043e\u0440\u043e\u0434, \u0430\u00a0\u043d\u0435\u00a0\u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0432\u0438\u0433\u0430\u043b\u0441\u044f \u0432\u00a0\u043d\u0435\u043c.<\/p>\n<p>  <b>\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u043a\u0443\u0440\u0441\u0430 \u0432\u0430\u043b\u044e\u0442\u044b<\/b>. \u0422\u0440\u0435\u0442\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043e\u00a0\u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442\u0430\u0445. \u0417\u0430\u043f\u0440\u043e\u0441 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c, \u043a\u0430\u043a \u043c\u0435\u043d\u044f\u043b\u0430\u0441\u044c \u0446\u0435\u043d\u0430 \u042d\u0444\u0438\u0440\u0438\u0443\u043c\u0430 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0411\u0438\u0442\u043a\u043e\u0438\u043d\u0430 \u0438\u00a0\u0430\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u043e\u0433\u043e \u0434\u043e\u043b\u043b\u0430\u0440\u0430 \u0437\u0430\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 2\u00a0\u043d\u0435\u0434\u0435\u043b\u0438 \u043f\u043e\u00a0\u0434\u043d\u044f\u043c.<\/p>\n<pre><code class=\"sql\">SELECT time_bucket(\u201914 days\u2019, c.time) AS\u00a0period, last(c.closing_price, c.time) AS\u00a0closing_price_btc, last(c.closing_price, c.time) * last(b.closing_price, c.time) filter (WHEREb.currency_code = \u2019USD\u2019) AS\u00a0closing_price_usd FROM crypto_prices c JOIN btc_prices b ON\u00a0time_bucket(\u20191 day\u2019, c.time) = time_bucket(\u20191 day\u2019, b.time) WHERE c.currency_code = \u2019ETH\u2019 GROUP BY\u00a0period ORDER BY\u00a0period DESC;<\/code><\/pre>\n<p>  \u042d\u0442\u043e \u0432\u0441\u0435 \u0442\u043e\u0442\u00a0\u0436\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u0438\u00a0\u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u043d\u0430\u043c SQL.<\/p>\n<h3>\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u0440\u0443\u0442\u043e\u0433\u043e \u0432\u00a0TimescaleDB?<\/h3>\n<p>  \u041f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0441\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446? \u0418\u00a0\u0437\u0430\u0447\u0435\u043c \u0432\u043e\u043e\u0431\u0449\u0435 \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u044b? \u041e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442\u00a0\u2014 \u044d\u0442\u043e <b>\u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u0441\u0442\u0430\u0432\u043a\u0438 \u0432\u00a0\u0442\u0430\u043a\u0438\u0435 \u0431\u0430\u0437\u044b<\/b>. \u041d\u0430\u00a0\u0433\u0440\u0430\u0444\u0438\u043a\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044b \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u0430\u043c\u0435\u0440\u044b \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0432\u0441\u0442\u0430\u0432\u043a\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0441\u0442\u0440\u043e\u043a \u0432\u00a0\u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u043c\u0435\u0436\u0434\u0443 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u043e\u0433\u043e PostgreSQL 10\u00a0\u0431\u0435\u0437 \u0441\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0438\u00a0\u0433\u0438\u043f\u0435\u0440\u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 TimescaleDB.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/gq\/ln\/xd\/gqlnxdxeupbqkf_i-wdeihs0zlq.jpeg\"><\/p>\n<p>  \u042d\u0442\u043e\u0442 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 1\u00a0\u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434 \u0441\u0442\u0440\u043e\u043a \u043d\u0430\u00a0\u043e\u0434\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435, \u0438\u043c\u0438\u0442\u0438\u0440\u0443\u044f \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0441\u0431\u043e\u0440\u0430 \u043c\u0435\u0442\u0440\u0438\u043a \u0441\u00a0\u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b. \u0417\u0430\u043f\u0438\u0441\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0440\u0435\u043c\u044f, \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0438\u00a010\u00a0\u043c\u0435\u0442\u0440\u0438\u043a. \u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0441\u044f \u043d\u0430\u00a0Azure VM\u00a0\u0441 8\u00a0\u044f\u0434\u0440\u0430\u043c\u0438 \u0438\u00a028\u00a0\u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043a\u0438, \u0430\u00a0\u0442\u0430\u043a\u0436\u0435 \u0441\u0435\u0442\u0435\u0432\u044b\u043c\u0438 SSD \u0434\u0438\u0441\u043a\u0430\u043c\u0438. \u0412\u0441\u0442\u0430\u0432\u043a\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0430\u0441\u044c \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438 \u043f\u043e\u00a010\u00a0\u0442\u044b\u0441\u044f\u0447 \u0437\u0430\u043f\u0438\u0441\u0435\u0439.<\/p>\n<p>  \u041e\u0442\u043a\u0443\u0434\u0430 \u0442\u0430\u043a\u0430\u044f \u0434\u0435\u0433\u0440\u0430\u0434\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 PostgreSQL? \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0440\u0438 \u0432\u0441\u0442\u0430\u0432\u043a\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0435\u0449\u0435 \u0438\u00a0\u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0442\u0430\u0431\u043b\u0438\u0446. \u041a\u043e\u0433\u0434\u0430 \u043e\u043d\u0438 \u043d\u0435\u00a0\u043f\u043e\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0432\u00a0\u043a\u044d\u0448, \u043c\u044b\u00a0\u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u043d\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0434\u0438\u0441\u043a\u0438. \u0421\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0448\u0430\u0435\u0442 \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u0435\u0441\u043b\u0438 \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0441\u0435\u043a\u0446\u0438\u0438, \u0432\u00a0\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b\u00a0\u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435, \u043f\u043e\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0432\u00a0\u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c.<\/p>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430\u00a0\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0433\u0440\u0430\u0444\u0438\u043a. \u0417\u0434\u0435\u0441\u044c \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0441\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u0432\u00a0PostgreSQL 10\u00a0\u0438\u00a0\u0433\u0438\u043f\u0435\u0440-\u0442\u0430\u0431\u043b\u0438\u0446\u0430 TimescaleDB. \u041f\u043e\u00a0\u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u043e\u0441\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0435\u043a\u0446\u0438\u0439. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/kd\/dz\/xd\/kddzxdttzspi9peoiriem7sipms.jpeg\"><\/p>\n<p>  \u0412\u00a0TimescaleDB \u0434\u0435\u0433\u0440\u0430\u0434\u0430\u0446\u0438\u044f \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u0430 \u043f\u0440\u0438 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0441\u0435\u043a\u0446\u0438\u0439. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0437\u0430\u044f\u0432\u043b\u044f\u044e\u0442, \u0447\u0442\u043e \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u00a010\u00a0000 \u0441\u0435\u043a\u0446\u0438\u0439 \u0432\u00a0\u043e\u0434\u043d\u043e\u043c \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0435 PostgreSQL.<\/p>\n<p>  \u0412\u00a0PostgreSQL \u043d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u0443\u0435\u0442 \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 3\u00a0000. \u0412\u00a0\u0446\u0435\u043b\u043e\u043c, \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0435 \u0441\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u00a0PostgreSQL \u044d\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0448\u0430\u0433 \u0432\u043f\u0435\u0440\u0435\u0434, \u043d\u043e\u00a0\u043e\u043d\u00a0\u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0442\u0430\u0431\u043b\u0438\u0446 \u0441\u00a0\u043c\u0435\u043d\u044c\u0448\u0435\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u0442\u043e\u0432\u0430\u0440\u043e\u0432, \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u0435\u0439 \u0438\u00a0\u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439 \u0434\u043e\u043c\u0435\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u044e\u0442 \u0432\u00a0\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043d\u0435\u00a0\u0442\u0430\u043a \u0438\u043d\u0442\u0435\u043d\u0441\u0438\u0432\u043d\u043e, \u043a\u0430\u043a \u043c\u0435\u0442\u0440\u0438\u043a\u0438.<\/p>\n<p>  \u0412\u00a011\u00a0\u0438\u00a012\u00a0\u0432\u0435\u0440\u0441\u0438\u044f\u0445 PostgreSQL \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0441\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u00a0\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u043d\u0430\u0442\u044c \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u044b \u0434\u043b\u044f time series \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u00a0\u043d\u043e\u0432\u044b\u043c\u0438 \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438. \u041d\u043e, \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e TimescaleDB \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043b\u0443\u0447\u0448\u0435. \u0412\u0441\u0435 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438 \u043e\u0442\u00a0TimescaleDB \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0443\u00a0\u043d\u0438\u0445 <a href=\"https:\/\/github.com\/timescale\/tsbs\">\u043d\u0430\u00a0\u0433\u0438\u0442\u0445\u0430\u0431\u0435<\/a> \u0438\u00a0\u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c.<\/p>\n<h3>\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438<\/h3>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0443\u00a0\u0432\u0430\u0441 \u0443\u0436\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u043a\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044e. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0431\u0435\u0436\u0438\u043c\u0441\u044f \u043f\u043e\u00a0\u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 TimescaleDB, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u0442\u044c \u044d\u0442\u043e \u0447\u0443\u0432\u0441\u0442\u0432\u043e.<\/p>\n<p>  <b>\u0421\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u0433\u0438\u043f\u0435\u0440\u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/b>. TimescaleDB \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0442\u0435\u0440\u043c\u0438\u043d \u00ab\u0433\u0438\u043f\u0435\u0440\u0442\u0430\u0431\u043b\u0438\u0446\u0430\u00bb \u0434\u043b\u044f \u0442\u0430\u0431\u043b\u0438\u0446, \u043a\u00a0\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u044b\u043b\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u00abcreate_hypertable()\u00bb. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441\u0442\u0430\u043d\u0435\u0442 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c\u044b\u0445 \u0441\u0435\u043a\u0446\u0438\u0439\u00a0\u2014 \u0447\u0430\u043d\u043a\u043e\u0432. \u0421\u0430\u043c\u0430 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043d\u0435\u00a0\u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0430\u00a0\u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u0447\u043a\u043e\u0439 \u0432\u0445\u043e\u0434\u0430 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0438\u00a0\u0448\u0430\u0431\u043b\u043e\u043d\u043e\u043c \u043f\u0440\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043d\u043e\u0432\u044b\u0445 \u0441\u0435\u043a\u0446\u0438\u0439. \u0412\u0441\u0435 \u0441\u0435\u043a\u0446\u0438\u0438 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u043d\u0435\u00a0\u0432\u00a0\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u0435 \u0432\u0430\u0448\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0430\u00a0\u0432\u00a0\u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u0435. \u042d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u0442\u0435\u043c, \u0447\u0442\u043e \u043c\u044b\u00a0\u043d\u0435\u00a0\u0432\u0438\u0434\u0438\u043c \u0442\u044b\u0441\u044f\u0447\u0438 \u044d\u0442\u0438\u0445 \u0441\u0435\u043a\u0446\u0438\u0438 \u0432\u00a0\u0441\u0445\u0435\u043c\u0435 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>  <b>\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0432\u00a0\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a \u0438\u00a0\u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432<\/b>. \u0427\u0435\u0440\u0435\u0437 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0445\u0443\u043a\u0438 \u0432\u00a0PostgreSQL, TimescaleDB \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442, \u043a\u043e\u0433\u0434\u0430 \u043e\u0431\u0440\u0430\u0449\u0430\u044e\u0442\u0441\u044f \u043a\u00a0\u0433\u0438\u043f\u0435\u0440\u0442\u0430\u0431\u043b\u0438\u0446\u0435. TimescaleDB \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438\u00a0\u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u00a0\u043d\u0443\u0436\u043d\u044b\u0435 \u0441\u0435\u043a\u0446\u0438\u0438 \u043d\u0430\u00a0\u043e\u0441\u043d\u043e\u0432\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u0432\u00a0\u0441\u0430\u043c\u043e\u043c SQL-\u0432\u044b\u0437\u043e\u0432\u0435. \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0430\u0441\u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438\u0432\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441\u00a0\u0441\u0435\u043a\u0446\u0438\u044f\u043c\u0438 \u0432\u043e\u00a0\u0432\u0440\u0435\u043c\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043c\u0430 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>  \u0420<b>\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043d\u0435\u00a0\u043d\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439 \u043d\u0430\u00a0SQL<\/b>. \u0421\u0432\u043e\u0431\u043e\u0434\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u0430\u0433\u0440\u0435\u0433\u0430\u0442\u044b, \u043e\u043a\u043e\u043d\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, CTE \u0438\u00a0\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u044b. \u0415\u0441\u043b\u0438 \u0432\u044b\u00a0\u0432\u0438\u0434\u0435\u043b\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0441\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0432\u0430\u0441 \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u0440\u0430\u0434\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>  <b>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/b>, \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0435 \u0434\u043b\u044f time series \u0434\u0430\u043d\u043d\u044b\u0445:<\/p>\n<ul>\n<li>\u00abtime_bucket\u00bb\u00a0\u2014 \u00abdate_trun\u0441\u00bb \u0437\u0434\u043e\u0440\u043e\u0432\u043e\u0433\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430;  <\/li>\n<li>\u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b\u00a0\u2014 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u043e\u0432 \u0441\u00a0\u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438 \u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f;  <\/li>\n<li>background worker\u2019s\u00a0\u2014 \u0441\u043b\u0443\u0436\u0431\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0444\u043e\u043d\u043e\u0432\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438: \u043e\u0447\u0438\u0441\u0442\u043a\u0443 \u0441\u0442\u0430\u0440\u044b\u0445 \u0441\u0435\u043a\u0446\u0438\u0439, \u043f\u0435\u0440\u0435\u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044e.  <\/li>\n<\/ul>\n<p>  <b>TimescaleDB \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0441\u0442\u0430\u0442\u044c\u0441\u044f \u0432\u00a0\u043c\u043e\u0449\u043d\u0435\u0439\u0448\u0435\u0439 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0435 PostgreSQL<\/b>. \u042d\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043d\u0435\u00a0\u043b\u043e\u043c\u0430\u0435\u0442 PostgreSQL, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0441\u0435 High Availability \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. TimescaleDB \u0434\u0440\u0443\u0436\u0438\u0442 \u0441\u00a0Grafana, Periscope, Prometheus, Telegraf, Zabbix, Kubernetes, Kafka, Seeq, JackDB.<\/p>\n<p>  \u0412\u00a0<b>Grafana<\/b> \u0443\u0436\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u043d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 TimescaleDB \u0432\u00a0\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445. Grafana \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u00ab\u0438\u0437\u00a0\u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb, \u0447\u0442\u043e \u0432\u00a0PostgreSQL \u0441\u0442\u043e\u0438\u0442 TimescaleDB. \u0411\u0438\u043b\u0434\u0435\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432\u00a0Grafana \u043d\u0430\u00a0\u0434\u0430\u0448\u0431\u043e\u0440\u0434\u0430\u0445 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 TimescaleDB, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a \u00abtime_bucket\u00bb, \u00abfirst\u00bb, \u00ablast\u00bb. \u041c\u043e\u0436\u043d\u043e \u043f\u0440\u044f\u043c\u043e \u0438\u0437\u00a0\u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0431\u0430\u0437\u044b \u0441\u00a0\u044d\u0442\u0438\u043c\u0438 time series \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0431\u0435\u0437 \u0433\u0438\u0433\u0430\u043d\u0442\u0441\u043a\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<\/p>\n<p>  \u0412\u00a0<b>Prometheus<\/b> \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0430\u0434\u0430\u043f\u0442\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043b\u0438\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u00a0\u043d\u0435\u0433\u043e \u0438\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c TimescaleDB \u0432\u00a0\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0430\u0434\u0430\u043f\u0442\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043d\u0435\u00a0\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u00a0Prometheus \u0434\u0430\u043d\u043d\u044b\u0435 \u0433\u043e\u0434\u0430\u043c\u0438.<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c <b>Telegraf-\u043f\u043b\u0430\u0433\u0438\u043d<\/b>. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u043e\u043e\u0431\u0449\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c Prometheus. \u0414\u0430\u043d\u043d\u044b\u0435 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0432\u00a0TimescaleDB \u0438\u00a0\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 Telegraf.<\/p>\n<h3>\u041b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 \u0438\u00a0\u043d\u043e\u0432\u043e\u0441\u0442\u0438<\/h3>\n<p>  \u041d\u0435\u00a0\u0442\u0430\u043a \u0434\u0430\u0432\u043d\u043e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0448\u043b\u0430 \u043a\u00a0\u043d\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0430 \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 Apache\u00a02.0. \u041d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430 \u0432\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438, \u043d\u043e\u00a0\u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 TSL. <\/p>\n<p>  \u0415\u0441\u0442\u044c Enterprise-\u0432\u0435\u0440\u0441\u0438\u044f \u0441\u00a0\u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0439 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439. \u041d\u0435\u00a0\u043f\u0443\u0433\u0430\u0439\u0442\u0435\u0441\u044c, \u043d\u0435\u00a0\u0432\u0441\u0435 \u0432\u043a\u0443\u0441\u043d\u044f\u0448\u043a\u0438 \u0432\u00a0Enterprise-\u0432\u0435\u0440\u0441\u0438\u0438. \u0412\u00a0\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0442\u0430\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0438\u043f\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0445 \u0447\u0430\u043d\u043a\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u00abcron\u00bb \u0438\u00a0\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0432\u0435\u0449\u0438.<\/p>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430\u0434 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043e\u043d\u043e \u043f\u043e\u043f\u0430\u0434\u0435\u0442 \u0432\u00a0Enterprise-\u0432\u0435\u0440\u0441\u0438\u044e. \u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u043e\u0431\u043b\u0430\u0447\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0434\u043b\u044f \u0441\u0442\u0430\u0440\u0442\u0430\u043f\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u044f\u0442 \u0443\u0441\u043f\u0435\u0442\u044c \u0432\u044b\u0439\u0442\u0438 \u043d\u0430\u00a0\u0440\u044b\u043d\u043e\u043a, \u043f\u043e\u043a\u0430 \u043d\u0435\u00a0\u043a\u043e\u043d\u0447\u0438\u043b\u0438\u0441\u044c \u0434\u0435\u043d\u044c\u0433\u0438 \u0438\u043d\u0432\u0435\u0441\u0442\u043e\u0440\u043e\u0432.<\/p>\n<p>  \u0418\u0437\u00a0\u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439:<\/p>\n<ul>\n<li>\u043e\u0434\u0438\u043d \u043c\u0438\u043b\u043b\u0438\u043e\u043d \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u043a \u0437\u0430\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0433\u043e\u0434\u0430;  <\/li>\n<li>31\u00a0\u043c\u043b\u043d \u0434\u043e\u043b\u043b\u0430\u0440\u043e\u0432 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u0439;  <\/li>\n<li>\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u00a0MS\u00a0Azure \u043f\u043e\u00a0\u043f\u043e\u0432\u043e\u0434\u0443 IoT-\u0440\u0435\u0448\u0435\u043d\u0438\u0439.  <\/li>\n<\/ul>\n<p>  <\/p>\n<h3>\u041f\u043e\u0434\u044b\u0442\u043e\u0436\u0438\u043c<\/h3>\n<p>  <\/p>\n<blockquote><p>TimescaleDB \u0441\u043e\u0437\u0434\u0430\u043d \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f time series \u0434\u0430\u043d\u043d\u044b\u0445. \u042d\u0442\u043e \u043c\u043e\u0449\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u00a0\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f\u043c\u0438, \u043f\u043e\u00a0\u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441\u00a0\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c\u0438 \u0432\u00a0PostgreSQL.<\/p><\/blockquote>\n<p>  \u041a\u00a0\u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043f\u043e\u043a\u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043d\u0435\u00a0\u0438\u043c\u0435\u0435\u0442 \u043c\u0443\u043b\u044c\u0442\u0438\u043d\u043e\u0434\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438. \u0415\u0441\u043b\u0438 \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0430\u0441\u0442\u0435\u0440 \u0438\u043b\u0438 \u0448\u0430\u0440\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u0442\u043e\u00a0\u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u00a0CitusDB. \u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e, \u0442\u043e\u00a0\u0431\u0443\u0434\u0435\u0442 \u0431\u043e\u043b\u044c\u043d\u043e. \u041d\u043e\u00a0\u0441\u00a0\u043d\u0435\u0439 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u043e\u043b\u044c\u043d\u043e.<\/p>\n<h2>PipelineDB<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043f\u0440\u043e \u0432\u0442\u043e\u0440\u043e\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435. \u041a\u00a0\u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0430\u043c \u043d\u0435\u00a0\u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0435\u0433\u043e \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0442 \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0432\u00a0\u0431\u043e\u044e. \u0421\u0435\u0439\u0447\u0430\u0441 \u043e\u043d\u043e \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0441\u0442\u0430\u0434\u0438\u044e \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0438 \u0432\u00a0\u043d\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u041f\u0440\u0430\u0432\u0434\u0430, \u0435\u0441\u0442\u044c \u043e\u0434\u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043e\u00a0\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f\u00a0\u0441\u043a\u0430\u0436\u0443 \u0431\u043b\u0438\u0436\u0435 \u043a\u00a0\u043a\u043e\u043d\u0446\u0443.<\/p>\n<p>  \u041a\u0430\u043a \u0438\u00a0\u0432\u00a0\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043d\u0430\u0447\u043d\u0435\u043c \u0441\u00a0\u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432. \u0422\u0430\u043a \u043f\u0440\u043e\u0449\u0435 \u043f\u043e\u043d\u044f\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u0443 \u043e\u0442\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0438\u00a0\u043c\u043e\u0442\u0438\u0432\u0430\u0446\u0438\u044e \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>  <b>\u0421\u0431\u043e\u0440 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438<\/b>. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c, \u0447\u0442\u043e \u043c\u044b\u00a0\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e\u0441\u0435\u0449\u0435\u043d\u0438\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0430. \u041d\u0430\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430 \u0441\u0430\u043c\u044b\u0445 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438\u00a0\u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u00a0\u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u0430. \u0412\u0441\u0435 \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0432\u00a0\u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041d\u043e\u00a0\u043c\u044b\u00a0\u043d\u0435\u00a0\u0445\u043e\u0442\u0438\u043c \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0442\u0440\u043e\u0433\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441\u00a0\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u00a0\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441, \u0438\u043b\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0432\u0435\u0440\u0445 \u0442\u0430\u0431\u043b\u0438\u0446\u044b.<\/p>\n<pre><code class=\"sql\">CREATE CONTINUOUS VIEW v\u00a0AS SELECT url::text, count(*) AS\u00a0total_count, count(DISTINCT cookie::text) AS\u00a0uniques, percentile_cont(0.99) WITHIN GROUP (ORDER BY\u00a0latency::integer) AS\u00a0p99_latency FROM page_views GROUP BY\u00a0url;<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"plaintext\">url        | total_count | uniques | p99_latency -----------+-------------+---------+------------ some\/url\/0 | 633         | 51      | 178 some\/url\/1 | 688         | 37      | 139 some\/url\/2 | 508         | 88      | 121 some\/url\/3 | 848         | 36      | 59 some\/url\/4 | 126         | 64      | 159<\/code><\/pre>\n<p>  \u041d\u0430\u00a0\u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 PipelineDB. \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0446\u0438\u044e \u00abCONTINUES VIEW\u00bb. \u0412\u00a0\u0440\u0443\u0441\u0441\u043a\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0437\u0432\u0443\u0447\u0430\u0442\u044c \u043a\u0430\u043a \u00ab\u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u00bb. \u042d\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0432\u0441\u0442\u0430\u0432\u043a\u0435 \u0432\u00a0\u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441\u00a0\u0437\u0430\u043f\u0438\u0441\u044f\u043c\u0438 \u043f\u043e\u0441\u0435\u0449\u0435\u043d\u0438\u0439, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u00a0\u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u043e\u0432\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0435\u00a0\u0447\u0438\u0442\u0430\u044f \u0443\u0436\u0435 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0437\u0430\u0440\u0430\u043d\u0435\u0435.<\/p>\n<p>  <b>\u041f\u043e\u0442\u043e\u043a \u0434\u0430\u043d\u043d\u044b\u0445<\/b>. PipelineDB \u043d\u0435\u00a0\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u043e\u0432\u044b\u043c \u0442\u0438\u043f\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u0447\u0442\u043e \u043c\u044b\u00a0\u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043c \u0410\/\u0411-\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u00a0\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0443 \u0432\u00a0\u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043e\u0431\u00a0\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u0431\u0438\u0437\u043d\u0435\u0441-\u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u041d\u043e\u00a0\u043c\u044b\u00a0\u043d\u0435\u00a0\u0445\u043e\u0442\u0438\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u00a0\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u00a0\u2014 \u0432\u00a0\u043a\u0430\u043a\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043d\u0432\u0435\u0440\u0441\u0438\u044f.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0441\u044b\u0440\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u0430 \u0442\u0430\u043a\u0430\u044f \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0446\u0438\u044f \u043a\u0430\u043a <b>\u0441\u0442\u0440\u0438\u043c\u044b\u00a0\u2014 \u043f\u043e\u0442\u043e\u043a \u0434\u0430\u043d\u043d\u044b\u0445<\/b>. PipelineDB \u0432\u0432\u043e\u0434\u0438\u0442 \u0442\u0430\u043a\u0443\u044e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c. \u0412\u044b\u00a0\u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u0438\u043c\u044b \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b. \u041f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c \u044d\u0442\u043e \u0431\u0443\u0434\u0443\u0442 \u00abFOREIGN TABLE\u00bb \u043d\u0430\u00a0\u0431\u0430\u0437\u0435 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 ZeroMQ, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u043e \u043e\u0442\u00a0\u043d\u0430\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435. \u0414\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u044e\u0442 \u0432\u043e\u00a0\u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c ZeroMQ \u0438\u00a0\u043f\u0440\u043e\u0432\u043e\u0446\u0438\u0440\u0443\u044e\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f.<\/p>\n<pre><code class=\"sql\">CREATE STREAM ab_event_stream ( name text, ab_group text, event_type varchar(1), cookie varchar(32) );  CREATE CONTINUOUS VIEW ab_test_monitor AS SELECT name, ab_group, sum(CASE WHENevent_type = \u2019v\u2019 THEN 1\u00a0ELSE 0\u00a0END) AS\u00a0view_count, sum(CASE WHENevent_type = \u2019c\u2019 THEN 1\u00a0ELSE 0\u00a0END) AS\u00a0conversion_count, count(DISTINCT cookie) AS\u00a0uniques FROM ab_event_stream GROUP BY\u00a0name, ab_group;<\/code><\/pre>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u043c\u044b\u00a0\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u00abCONTINUOUS VIEW\u00bb \u043d\u0430\u00a0\u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437\u00a0\u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0442\u0440\u0438\u043c\u0430. \u041a\u043e\u0433\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u0432\u00a0\u0441\u0442\u0440\u0438\u043c, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u0441\u044f \u043d\u0430\u00a0\u043e\u0441\u043d\u043e\u0432\u0435 \u044d\u0442\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f, \u043d\u0438\u0433\u0434\u0435 \u043d\u0435\u00a0\u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f\u0441\u044c \u0438\u00a0\u043d\u0435\u00a0\u0437\u0430\u043d\u0438\u043c\u0430\u044f \u043c\u0435\u0441\u0442\u043e \u043d\u0430\u00a0\u0434\u0438\u0441\u043a\u0430\u0445. \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0443 \u043d\u0430\u00a0\u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044f \u0438\u0445\u00a0\u0432\u00a0\u043f\u043e\u0442\u043e\u043a \u0434\u0430\u043d\u043d\u044b\u0445 PipelineDB \u0438\u00a0\u0447\u0438\u0442\u0430\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0438\u0437\u00a0\u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f.<\/p>\n<p>  <b>\u041f\u043e\u0442\u043e\u043a\u043e\u0432\u044b\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f<\/b>. \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b\u00a0\u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043f\u043e\u0442\u043e\u043a \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u00a0\u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u043c\u044b\u00a0\u043c\u043e\u0436\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u00a0\u043f\u043e\u0442\u043e\u043a\u043e\u0432\u044b\u043c\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f\u043c\u0438. \u042d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a.<\/p>\n<pre><code class=\"sql\">INSERT INTO ab_event_stream (name, ab_group, event_type, cookie) SELECT round(random() * 2) AS\u00a0name, round(random() * 4) AS\u00a0ab_group, (CASE WHENrandom() &gt; 0.4\u00a0THEN \u2019v\u2019 ELSE \u2019c\u2019 END) AS\u00a0event_type, md5(random()::text) AS\u00a0cookie FROM generate_series(0, 100000);  SELECT ab_group, uniques FROM ab_test_monitor;  SELECT ab_group, view_count * 100\u00a0\/ (conversion_count + view_count) AS\u00a0conversion_rate FROM ab_test_monitor;<\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0432\u044b\u0439 \u00abSELECT\u00bb \u0432\u044b\u0434\u0430\u0435\u0442 \u0433\u0440\u0443\u043f\u043f\u0443 \u00abab\u00bb \u0438\u00a0\u0447\u0438\u0441\u043b\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u0435\u0439. \u0412\u0442\u043e\u0440\u043e\u0439\u00a0\u2014 \u0432\u044b\u0434\u0430\u0435\u0442 \u0441\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438\u00a0\u2014 \u043a\u043e\u043d\u0432\u0435\u0440\u0441\u0438\u044e. \u0412\u043e\u0442 \u0438\u00a0\u0432\u0441\u0435 \u0410\/\u0411-\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430\u00a0\u043f\u044f\u0442\u0438 SQL-\u0432\u044b\u0437\u043e\u0432\u0430\u0445 \u0432\u00a0\u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0431\u0430\u0437\u0435.<\/p>\n<p>  \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438. \u041c\u043e\u0436\u043d\u043e \u043d\u0435\u00a0\u0436\u0434\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432\u0441\u0435\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u0430\u00a0\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 \u0431\u044b\u043b\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u044b. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u043a\u00a0\u0436\u0435, \u043a\u0430\u043a \u0438\u00a0\u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0432\u00a0PostgreSQL. \u0412\u044b\u00a0\u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u00a0\u0442\u0430\u0431\u043b\u0438\u0446\u0430\u043c\u0438 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438. \u041d\u0438\u043a\u0430\u043a\u0438\u0445 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439 \u043d\u0435\u0442.<\/p>\n<h3>\u0422\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u044f<\/h3>\n<p>  \u0412\u00a0Kafka \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u044f, \u0442\u043e\u043f\u0438\u043a \u0432\u00a0Kafka \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u00a0PostgreSQL, \u0438\u00a0\u043c\u044b\u00a0\u0434\u0430\u043b\u044c\u0448\u0435 \u0438\u0445\u00a0\u0430\u0433\u0440\u0435\u0433\u0438\u0440\u0443\u0435\u043c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u043c \u0441\u00a0\u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u0439 \u0438\u00a0\u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u00a0\u0441\u0442\u0440\u0438\u043c. \u0414\u0430\u043b\u044c\u0448\u0435 \u043e\u043d\u00a0\u043f\u0440\u043e\u0432\u043e\u0446\u0438\u0440\u0443\u0435\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u0438\u0437\u00a0\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u0431\u0430\u0437\u044b \u0443\u0436\u0435 \u043c\u043e\u0433\u0443\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/0e\/4p\/zb\/0e4pzbehsh35td5tdiillcaq82m.jpeg\"><\/p>\n<p>  <i>\u041f\u0440\u0438\u043c\u0435\u0440 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u0438 PipelineDB \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0432\u043d\u0443\u0442\u0440\u0438 PostgreSQL. \u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u0437\u0430\u0438\u043c\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0430 \u0438\u0437\u00a0<a href=\"https:\/\/www.slideshare.net\/imcsummit\/imc-summit-2016-innovation-derek-nelson-pipelinedb-the-streamingsql-database\">\u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a> \u0414\u0435\u0440\u0435\u043a\u0430 \u041d\u0435\u043b\u044c\u0441\u043e\u043d\u0430.<\/i><\/p>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0441\u0442\u0440\u0438\u043c\u043e\u0432 \u0438\u00a0\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439, \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0430\u043a\u0436\u0435 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0446\u0438\u044e \u00abtransform\u00bb\u00a0\u2014 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0438\u043b\u0438 \u043c\u0443\u0442\u0430\u0442\u043e\u0440\u044b. \u042d\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u043d\u043e\u00a0\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0435 \u043d\u0430\u00a0\u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u00a0\u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0432\u044b\u0445\u043e\u0434\u044f\u0449\u0438\u0439. \u0421\u00a0\u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u0438\u0445 \u043c\u0443\u0442\u0430\u0442\u043e\u0440\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u043b\u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e. \u0418\u0437\u00a0\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430 \u044d\u0442\u043e \u0432\u0441\u0435 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432\u00a0\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u00abCONTINUOUS VIEW\u00bb. \u0412\u00a0\u043d\u0435\u043c \u0443\u0436\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0434\u043b\u044f \u0431\u0438\u0437\u043d\u0435\u0441\u0430. \u041a\u0442\u043e \u0437\u043d\u0430\u043a\u043e\u043c \u0441\u00a0\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c \u0438\u0434\u0435\u044e.<\/p>\n<p>  \u0412\u00a0PipelineDB \u043c\u044b\u00a0\u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0432\u0435\u0441\u0438\u0442\u044c \u0442\u0440\u0438\u0433\u0433\u0435\u0440 \u043d\u0430\u00a0\u043d\u0430\u0448\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u00a0\u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u00abalert\u00bb. \u041f\u0440\u0438 \u0432\u0441\u0435\u0445 \u044d\u0442\u0438\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f\u0445 \u043c\u044b\u00a0\u043d\u0438\u0433\u0434\u0435 \u043d\u0435\u00a0\u0445\u0440\u0430\u043d\u0438\u043c \u0441\u0430\u043c\u0438 \u0441\u044b\u0440\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043d\u0430\u00a0\u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b\u00a0\u0432\u0441\u0435 \u044d\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0435\u043c. \u042d\u0442\u043e \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0442\u0435\u0440\u0430\u0431\u0430\u0439\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b\u00a0\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u00a0\u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u00a0\u0434\u0438\u0441\u043a\u043e\u043c \u0432\u00a0\u0441\u043e\u0442\u043d\u044e \u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442. \u0412\u0435\u0434\u044c \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0441\u0447\u0435\u0442\u043e\u0432.<\/p>\n<h3>\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438<\/h3>\n<p>  \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 PipelineDB \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0434\u043b\u044f \u043e\u0441\u0432\u043e\u0435\u043d\u0438\u044f, \u0447\u0435\u043c TimescaleDB. \u0412\u00a0TimescaleDB \u043c\u044b\u00a0\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443, \u0433\u043e\u0432\u043e\u0440\u0438\u043c\u00a0\u0435\u0439, \u0447\u0442\u043e \u043e\u043d\u0430 \u0433\u0438\u043f\u0435\u0440\u0442\u0430\u0431\u043b\u0438\u0446\u0430, \u0438\u00a0\u0440\u0430\u0434\u0443\u0435\u043c\u0441\u044f \u0436\u0438\u0437\u043d\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435.<\/p>\n<p>  <b>PipelineDB \u0440\u0435\u0448\u0430\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0432\u00a0\u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0411\u0414<\/b>. \u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0447\u0435\u043c \u0441\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u00a0\u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0438\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435\u00a0\u0443\u00a0\u0432\u0441\u0435\u0445 \u0435\u0441\u0442\u044c \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u00a0\u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434\u044b \u0441\u0442\u0440\u043e\u043a. \u0417\u0430\u0447\u0435\u043c \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0442\u044c \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c PipelineDB? \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439, \u0441\u0442\u0440\u0438\u043c\u043e\u0432, \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438\u00a0\u0430\u0433\u0440\u0435\u0433\u0430\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u041e\u043d\u00a0\u0442\u0430\u043a\u0436\u0435 <b>\u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432\u00a0\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0438\u00a0\u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432<\/b> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0432\u00a0\u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0411\u0414. <\/p>\n<p>  \u041a\u0430\u043a \u0438\u00a0TimescaleDB, \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 PipelineDB <b>\u043d\u0435\u00a0\u043d\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439 \u043d\u0430\u00a0SQL \u0432\u00a0PostgreSQL<\/b>. \u0415\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0435\u043b\u044c\u0437\u044f \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u044c \u0434\u0432\u0430 \u0441\u0442\u0440\u0438\u043c\u0430, \u043d\u043e\u00a0\u044d\u0442\u043e \u0438\u00a0\u043d\u0435\u00a0\u043d\u0443\u0436\u043d\u043e.<\/p>\n<p>  <b>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u043d\u044b\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u00a0\u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432<\/b>. \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u00ab\u0424\u0438\u043b\u044c\u0442\u0440 \u0411\u043b\u0443\u043c\u0430\u00bb \u0434\u043b\u044f \u00abSELECT DISTINCT\u00bb, HyperLogLog \u0434\u043b\u044f \u00abCOUNT (DISTINCT)\u00bb, \u0438\u00a0T-Digest \u0434\u043b\u044f \u00abpercentile_count()\u00bb \u043f\u0440\u044f\u043c\u043e \u0432\u00a0SQL. \u042d\u0442\u043e \u043f\u043e\u0432\u044b\u0448\u0430\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c. <\/p>\n<p>  <b>\u042d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0430<\/b>. \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u00a0\u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u043c\u0438 High Availability \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438, \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0438\u00a0\u0432\u0441\u0435\u043c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e \u0432\u00a0PostgreSQL.<\/p>\n<p>  \u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0443 \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439, \u0443\u00a0PipelineDB \u0435\u0441\u0442\u044c <b>\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441\u00a0Apache Kafka<\/b>, \u0438\u00a0\u0441\u00a0Amazon Kinesis\u00a0\u2014 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0438 \u0432\u00a0\u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0422\u0430\u043a \u043a\u0430\u043a PipelineDB \u044d\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u00a0\u0444\u043e\u0440\u043a, \u0430\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435, \u0442\u043e\u00a0\u0438\u00a0\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441\u00a0\u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c \u0437\u043e\u043e\u043f\u0430\u0440\u043a\u043e\u043c \u0442\u043e\u0436\u0435 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u00ab\u0438\u0437\u00a0\u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb. \u0414\u043e\u043b\u0436\u043d\u0430, \u043d\u043e\u00a0\u043c\u044b\u00a0\u0436\u0438\u0432\u0435\u043c \u043d\u0435\u00a0\u0432\u00a0\u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0438\u0440\u0435, \u0438\u00a0\u0432\u0441\u0435 \u0441\u0442\u043e\u0438\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c.<\/p>\n<h3>\u041b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 \u0438\u00a0\u043d\u043e\u0432\u043e\u0441\u0442\u0438<\/h3>\n<p>  \u0412\u0435\u0441\u044c \u043a\u043e\u0434 \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 Apache\u00a02.0. \u0415\u0441\u0442\u044c \u043f\u043b\u0430\u0442\u043d\u0430\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0430\u00a0\u0441\u0443\u043f\u043f\u043e\u0440\u0442 \u0440\u0430\u0437\u043d\u044b\u0445 \u0442\u0438\u0440\u043e\u0432, \u0430\u00a0\u0442\u0430\u043a\u0436\u0435 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0441\u00a0\u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0439 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439. \u041d\u0430\u00a0\u0431\u0430\u0437\u0435 PipelineDB \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0435\u0440\u0432\u0438\u0441 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0438 Stride.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u044f\u00a0\u043d\u0430\u0447\u0430\u043b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435, \u044f\u00a0\u0441\u043a\u0430\u0437\u0430\u043b, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043e\u0434\u043d\u043e \u00ab\u043d\u043e\u00bb. \u041d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u00a0\u043d\u0435\u043c \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c.\u00a01\u00a0\u043c\u0430\u044f 2019 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 PipelineDB \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u0430, \u0447\u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u0445\u043e\u0434\u0438\u0442 \u0432\u00a0\u0441\u043e\u0441\u0442\u0430\u0432 Confluent. \u042d\u0442\u0430 \u0442\u0430\u00a0\u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 KSQL\u00a0\u2014 \u0434\u0432\u0438\u0436\u043e\u043a \u0434\u043b\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u00a0Kafka \u0441\u00a0SQL \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c. \u0421\u0435\u0439\u0447\u0430\u0441 \u0442\u0430\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0412\u0438\u043a\u0442\u043e\u0440 \u0413\u0430\u043c\u043e\u0432, \u0441\u043e-\u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u043e\u0434\u043a\u0430\u0441\u0442\u0430 \u0420\u0430\u0437\u0431\u043e\u0440 \u041f\u043e\u043b\u0435\u0442\u043e\u0432.<\/p>\n<p>  \u0427\u0442\u043e \u0438\u0437\u00a0\u044d\u0442\u043e\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442? PipelineDB \u0437\u0430\u043c\u043e\u0440\u043e\u0437\u0438\u043b\u0438 \u043d\u0430\u00a0\u0432\u0435\u0440\u0441\u0438\u0438 1.0.0. \u041a\u0440\u043e\u043c\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0431\u0430\u0433\u043e\u0432 \u0432\u00a0\u043d\u0435\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u00a0\u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f. \u0412\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u043f\u043e\u0433\u043b\u043e\u0449\u0435\u043d\u0438\u044f \u043e\u0436\u0438\u0434\u0430\u0435\u043c \u0443\u0431\u0435\u0440-\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e Kafka \u0441\u00a0PostgreSQL. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438\u043c\u0435\u043d\u043d\u043e Confluent \u043d\u0430\u00a0\u0431\u0430\u0437\u0435 pluggable storage \u0441\u0434\u0435\u043b\u0430\u044e\u0442 \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043a\u0440\u0443\u0442\u043e\u0435.<\/p>\n<p>  \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c? \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u0432\u00a0TimescaleDB. \u0412\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0441\u0432\u043e\u0438 \u00abCONTINUOUS VIEW\u00bb \u0441\u00a0\u0431\u043b\u044d\u043a\u0434\u0436\u0435\u043a\u043e\u043c. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u0435\u0439\u0447\u0430\u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043d\u0435\u00a0\u0442\u0430\u043a\u0430\u044f \u043a\u0440\u0443\u0442\u0430\u044f, \u043a\u0430\u043a \u0432\u00a0PipelineDB, \u043d\u043e\u00a0\u044d\u0442\u043e \u0432\u043e\u043f\u0440\u043e\u0441 \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<h3>\u041f\u043e\u0434\u044b\u0442\u043e\u0436\u0438\u043c<\/h3>\n<p>  <\/p>\n<blockquote><p>PipelineDB \u0441\u043e\u0437\u0434\u0430\u043d \u0434\u043b\u044f \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445. \u041e\u043d\u00a0\u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043d\u0430\u00a0\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0441\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0435.<\/p><\/blockquote>\n<p>  \u0421\u00a0PipelineDB, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b\u00a0\u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u0442\u043e\u043a \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u00a0PostgreSQL \u0432\u00a0\u0441\u0442\u0440\u0438\u043c, \u0442\u043e\u00a0\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0438\u0445\u00a0\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438. \u041c\u044b\u00a0\u043d\u0435\u00a0\u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435, \u0430\u00a0\u0430\u0433\u0440\u0435\u0433\u0438\u0440\u0443\u0435\u043c, \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0438\u00a0\u043e\u0442\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u043c. \u041c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u00a0200 \u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442 \u0438\u00a0\u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0440\u0438\u043c\u044b \u043f\u0440\u043e\u0433\u043d\u0430\u0442\u044c \u0442\u0435\u0440\u0440\u0430\u0431\u0430\u0439\u0442\u044b \u0434\u0430\u043d\u043d\u044b\u0445. \u041c\u044b\u00a0\u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u043d\u043e\u00a0\u0441\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u0431\u0440\u043e\u0448\u0435\u043d\u044b.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043f\u043e\u00a0\u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u0432\u0430\u043c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u00abCONTINUOUS VIEW\u00bb \u0438\u0437\u00a0TimescaleDB\u00a0\u2014 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 PipelineDB. \u042d\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 Apache. \u041e\u043d\u00a0\u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435\u00a0\u0434\u0435\u043d\u0435\u0442\u0441\u044f, \u0445\u043e\u0442\u044f \u0438\u00a0\u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u00a0\u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f. \u041d\u043e\u00a0\u0432\u0441\u0435 \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0441\u044f, Confluent \u043f\u043e\u043a\u0430 \u043d\u0435\u00a0\u043f\u0438\u0441\u0430\u043b\u0438 \u043e\u00a0\u043f\u043b\u0430\u043d\u0430\u0445 \u043f\u043e\u00a0\u043f\u043e\u0432\u043e\u0434\u0443 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f.<\/p>\n<h2>\u041f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 TimescaleDB \u0438\u00a0PipelineDB<\/h2>\n<p>  \u0421\u00a0PostgreSQL \u0438\u00a0\u0434\u0432\u0443\u043c\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c\u0438 <b>\u043c\u044b\u00a0\u043c\u043e\u0436\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u00a0\u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u044b time series \u0434\u0430\u043d\u043d\u044b\u0445<\/b>. \u041f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u043e. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437\u00a0\u043c\u043e\u0435\u0439 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438\u00a0\u2014 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/mx\/_k\/ru\/mx_krumolcfgrlfrraktizshhem.jpeg\"><\/p>\n<p>  \u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u043a\u00a0\u043d\u0430\u043c \u043d\u0430\u00a0\u0441\u0435\u0440\u0432\u0435\u0440\u044b. \u041e\u043d\u0438 \u043f\u0430\u0440\u0441\u044f\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0435 \u0438\u00a0\u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b \u0432\u00a0\u043e\u0431\u0449\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0438\u00a0\u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u00a0Kafka \u0432\u00a0\u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u043e\u043f\u0438\u043a. \u041e\u0442\u0442\u0443\u0434\u0430 \u043e\u043d\u0438 \u043f\u043e\u043f\u0430\u0434\u0430\u044e\u0442 \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0441\u00a0PipelineDB \u0432\u00a0\u043f\u043e\u0442\u043e\u043a \u0434\u0430\u043d\u043d\u044b\u0445 \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 PostgreSQL. \u042d\u0442\u043e\u0442 \u043f\u043e\u0442\u043e\u043a \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0438\u00a0\u043e\u0431\u0449\u0435\u0439 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0438 \u0430\u0432\u0442\u043e\u043f\u0430\u0440\u043a\u0430, \u0430\u00a0\u043d\u0430\u00a0\u0431\u0430\u0437\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430 \u043f\u0440\u043e\u0432\u043e\u0446\u0438\u0440\u0443\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u044c \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432\u00a0\u0433\u0438\u043f\u0435\u0440\u0442\u0430\u0431\u043b\u0438\u0446\u0443 TimescaleDB.<\/p>\n<p>  \u0421\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c\u0438 \u0443\u00a0\u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0442\u0440\u0438 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430.<\/p>\n<ul>\n<li>\u0410\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430 \u0432\u00a0\u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438.  <\/li>\n<li>\u0425\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 time series \u0434\u0430\u043d\u043d\u044b\u0445.  <\/li>\n<li>\u0421\u043d\u0438\u0436\u0435\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043c\u0430 \u0445\u0440\u0430\u043d\u0438\u043c\u043e\u0439 \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u0438. \u0421\u00a0\u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430 PipelineDB \u043c\u044b\u00a0\u0430\u0433\u0440\u0435\u0433\u0438\u0440\u0443\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u00a0\u043e\u0434\u043d\u043e\u0439 \u043c\u0438\u043d\u0443\u0442\u0435, \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u044f \u0441\u0440\u0435\u0434\u043d\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.  <\/li>\n<\/ul>\n<p>  \u0412\u00a0Grafana \u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 TimescaleDB. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u043f\u043e\u00a0\u0431\u0438\u0437\u043d\u0435\u0441-\u043c\u0435\u0442\u0440\u0438\u043a\u0430\u043c \u043f\u0440\u044f\u043c\u043e \u0438\u0437-\u043a\u043e\u0440\u043e\u0431\u043a\u0438, \u0432\u043f\u043b\u043e\u0442\u044c \u0434\u043e\u00a0\u0442\u0440\u0435\u043a\u043e\u0432 \u043d\u0430\u00a0\u043a\u0430\u0440\u0442\u0435 \u043f\u043e\u00a0\u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c. \u041e\u0442\u0434\u0435\u043b \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0438 \u0431\u0443\u0434\u0435\u0442 \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u00ab\u043f\u043e\u0442\u0440\u043e\u0433\u0430\u0442\u044c\u00bb \u0432\u0441\u0435 \u0441\u0430\u043c\u043e\u043c\u0443, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <a href=\"https:\/\/github.com\/binakot\/HighLoad-2019-Siberia-Demo\">\u0434\u0435\u043c\u043e \u043d\u0430\u00a0GitHub<\/a> \u0438\u00a0\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 <a href=\"https:\/\/hub.docker.com\/r\/binakot\/postgresql-timescaledb-pipelinedb\">Docker-\u043e\u0431\u0440\u0430\u0437<\/a>\u00a0\u2014 \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0430 \u0438\u0437\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e PostgreSQL, TimescaleDB \u0438\u00a0PipelineDB.<\/p>\n<h2>\u0418\u0442\u043e\u0433\u043e<\/h2>\n<p>  PostgreSQL \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f, \u0430\u00a0\u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0432\u043e\u0438 \u0442\u0438\u043f\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u00a0\u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447. \u0412\u00a0\u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 TimescaleDB \u0438\u00a0PostGIS \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438 \u0432\u00a0\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 time series \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u00a0\u0433\u0435\u043e-\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0440\u0430\u0441\u0447\u0435\u0442\u0430\u0445. \u0421\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c PipelineDB \u043c\u044b\u00a0\u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0439 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0438 \u0438\u00a0\u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u0430\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 JSONB-\u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u00a0\u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0431\u0430\u0437\u0435 \u0441\u043b\u0430\u0431\u043e\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. Open Source \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0441\u00a0\u0433\u043e\u043b\u043e\u0432\u043e\u0439\u00a0\u2014 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043d\u0435\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c.<\/p>\n<p>  \u042d\u0442\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u00a0\u043d\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430\u00a0\u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0432\u043e\u043a\u0440\u0443\u0433 PostgreSQL, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a High Availability \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0438\u00a0\u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043b\u043e\u0433\u043e\u0432. \u041d\u0430\u043c \u043d\u0435\u00a0\u043d\u0443\u0436\u0435\u043d MongoDB, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c JSONB-\u0441\u0442\u043e\u043b\u0431\u0446\u044b, \u0438\u00a0\u043d\u0435\u00a0\u043d\u0443\u0436\u0435\u043d InfluxDB, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c TimescaleDB.<\/p>\n<blockquote><p>\u041f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043e\u0442\u00a0\u0418\u0432\u0430\u043d\u0430 \u0438\u00a0\u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0447\u0435\u043c-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c? <a href=\"https:\/\/conf.ontico.ru\/lectures\/propose\/?conference=hl2019\">\u041f\u043e\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0437\u0430\u044f\u0432\u043a\u0443<\/a> \u0434\u043e\u00a07\u00a0\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f \u043d\u0430\u00a0<a href=\"https:\/\/www.highload.ru\/moscow\/2019\">HighLoad++<\/a> \u0432\u00a0\u041c\u043e\u0441\u043a\u0432\u0435. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u043d\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f. \u041a\u0440\u043e\u043c\u0435 \u043a\u0435\u0439\u0441\u043e\u0432 \u043f\u043e\u00a0\u0411\u0414, \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u043a\u043b\u0430\u0434\u044b \u043f\u043e\u00a0\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438\u00a0\u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0432\u044b\u0441\u043e\u043a\u0438\u043c \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430\u043c. \u041f\u043e\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0434\u043e\u043a\u043b\u0430\u0434 \u0434\u043e\u00a0\u0434\u0435\u0434\u043b\u0430\u0439\u043d\u0430, \u0436\u0434\u0435\u043c \u0432\u0430\u0441 \u0441\u0440\u0435\u0434\u0438 \u0434\u043e\u043a\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u0432!<\/p><\/blockquote>\n<\/div>\n<p>               <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <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\/company\/oleg-bunin\/blog\/464303\/\"> https:\/\/habr.com\/ru\/company\/oleg-bunin\/blog\/464303\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">Time series \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u043b\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0440\u044f\u0434\u044b\u00a0\u2014 \u044d\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0432\u043e\u00a0\u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041a\u043e\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0432\u0430\u043b\u044e\u0442, \u0442\u0435\u043b\u0435\u043c\u0435\u0442\u0440\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430, \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a\u00a0\u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0438\u043b\u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430\u00a0CPU\u00a0\u2014 \u044d\u0442\u043e time series \u0434\u0430\u043d\u043d\u044b\u0435. \u0427\u0442\u043e\u0431\u044b \u0438\u0445\u00a0\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b\u00a0\u2014 \u0442\u0435\u043c\u043f\u043e\u0440\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432\u00a0\u2014 \u0434\u0435\u0441\u044f\u0442\u043a\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, InfluxDB \u0438\u043b\u0438 ClickHouse. \u041d\u043e\u00a0\u0434\u0430\u0436\u0435 \u0443\u00a0\u0441\u0430\u043c\u044b\u0445 \u043b\u0443\u0447\u0448\u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0440\u044f\u0434\u043e\u0432 \u0435\u0441\u0442\u044c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438. \u0412\u0441\u0435 time series \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0435, \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f time series \u0434\u0430\u043d\u043d\u044b\u0445, \u0430\u00a0\u043e\u0431\u043a\u0430\u0442\u043a\u0430 \u0438\u00a0\u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u0435 \u0432\u00a0\u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0441\u0442\u0435\u043a\u00a0\u2014 \u0434\u043e\u0440\u043e\u0433\u043e \u0438\u00a0\u0431\u043e\u043b\u044c\u043d\u043e.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sx\/9x\/bz\/sx9xbzv26lix6lh-frspdsopknw.jpeg\"><\/p>\n<p>  \u041d\u043e, \u0435\u0441\u043b\u0438 \u0443\u00a0\u0432\u0430\u0441 \u0441\u0442\u0435\u043a PostgreSQL, \u0442\u043e\u00a0\u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0431\u044b\u0442\u044c \u043e\u00a0InfluxDB \u0438\u00a0\u0432\u0441\u0435\u0445 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0442\u0435\u043c\u043f\u043e\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0411\u0414. \u0421\u0442\u0430\u0432\u0438\u0442\u0435 \u0441\u0435\u0431\u0435 \u0434\u0432\u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f TimescaleDB \u0438\u00a0PipelineDB \u0438\u00a0\u0445\u0440\u0430\u043d\u0438\u0442\u0435, \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0435 \u0438\u00a0\u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0435 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0443 time series \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u044f\u043c\u043e \u0432\u00a0\u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0435 PostgreSQL. \u0411\u0435\u0437 \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439, \u0431\u0435\u0437 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432 \u0442\u0435\u043c\u043f\u043e\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449 \u0438\u00a0\u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438\u0445\u00a0\u043e\u0431\u043a\u0430\u0442\u043a\u0438. \u0427\u0442\u043e \u044d\u0442\u043e \u0437\u0430\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f, \u0432\u00a0\u0447\u0435\u043c \u0438\u0445\u00a0\u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0438\u00a0\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u0442 <b>\u0418\u0432\u0430\u043d \u041c\u0443\u0440\u0430\u0442\u043e\u0432 (<a href=\"https:\/\/habr.com\/ru\/users\/binakot\/\" class=\"user_link\">binakot<\/a>)<\/b>\u00a0\u2014 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043e\u0442\u0434\u0435\u043b\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432\u00a0\u00ab\u041f\u0435\u0440\u0432\u043e\u0439 \u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u043e\u0432\u043e\u0439 \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u0438\u00bb.  <\/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-293965","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/293965","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=293965"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/293965\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=293965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=293965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=293965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}