{"id":316,"date":"2023-10-05T13:44:51","date_gmt":"2023-10-05T10:44:51","guid":{"rendered":"https:\/\/aristov.tech\/blog\/?p=316"},"modified":"2025-06-22T13:41:05","modified_gmt":"2025-06-22T10:41:05","slug":"caveats-refresh-mat-view-concurrently","status":"publish","type":"post","link":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/","title":{"rendered":"Caveats Refresh Materialized View Concurrently PostgreSQL"},"content":{"rendered":"\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043e\u0431\u0441\u0443\u0434\u0438\u043c, \u043a\u0430\u043a\u0438\u0435 \u0435\u0441\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043b\u0438 MV (<a href=\"https:\/\/www.postgresql.org\/docs\/current\/rules-materializedviews.html\">Materialized View<\/a>) \u0438 \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<\/p>\n\n\n\n<p>\u041e\u0433\u0440\u043e\u043c\u043d\u044b\u043c \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u043c MV \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430 &#8212; \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043d\u043e\u0432\u043e \u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043e\u0449\u0443\u0442\u0438\u043c\u043e \u044d\u0442\u043e \u0434\u0430\u0435\u0442 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u0422\u0430\u043a\u0436\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u043d\u0430 \u043d\u0430\u0448\u0438 MV. <\/p>\n\n\n\n<p>\u041d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0435\u0441\u0442\u044c \u0438 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a &#8212; \u043f\u0440\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u043d\u043e\u0432\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043d\u0430\u0431\u043e\u0440\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 &#8212; \u044d\u0442\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0435 \u043e\u0442\u0440\u0430\u0437\u044f\u0442\u0441\u044f \u0432 MV, \u0442\u0430\u043a \u043a\u0430\u043a \u0442\u0430\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430, \u0441\u043e\u0437\u0434\u0430\u044e\u0449\u0438\u0439 \u043d\u0430\u0431\u043e\u0440 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n\n\n\n<p>\u0414\u043b\u044f \u0430\u043a\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <a href=\"https:\/\/www.postgresql.org\/docs\/current\/sql-refreshmaterializedview.html\">REFRESH MATERIALIZED VIEW <\/a>\u0438 \u0443 \u043d\u0435\u0439 \u0435\u0441\u0442\u044c \u0440\u044f\u0434 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e:<\/p>\n\n\n\n<p><strong>[NO] DATA<\/strong> &#8212; \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043b\u0438 \u0441\u0442\u0430\u0440\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 MV \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435. \u0422\u0443\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043e\u0442\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043e\u0442 \u0434\u043e\u043a\u0438 &#8212; \u0438 \u043f\u0440\u0438 NO DATA \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c MV \u0432 unscannable \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 &#8212; \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0442\u0443\u0434\u0430 \u043d\u0435\u0442, \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043b\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/p>\n\n\n\n<p><strong>CONCURRENTLY<\/strong> &#8212; \u0447\u0442\u043e\u0431\u044b \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u043d\u0435 \u044d\u043a\u0441\u043a\u043b\u044e\u0437\u0438\u0432\u043d\u043e \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c MV \u0438 \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d, \u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0438\u0437 \u043d\u0435\u0433\u043e \u0441\u0442\u0430\u0440\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0430\u043a\u0442\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441 \u043a\u043e\u0440\u0440\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0438\u043d\u0434\u0435\u043a\u0441\u043e\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0437\u0430\u043f\u0440\u043e\u0441, \u0447\u0442\u043e\u0431\u044b PostgreSQL \u043c\u043e\u0433 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0435 \u0438\u043b\u0438 \u043d\u043e\u0432\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438.<\/p>\n\n\n\n<p>\u0412\u043e\u0442 \u0437\u0434\u0435\u0441\u044c \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435.<\/p>\n\n\n\n<p>\u0414\u043b\u044f \u0442\u0435\u0441\u0442\u043e\u0432 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0412\u041c 4 \u044f\u0434\u0440\u0430 16 \u041e\u0417\u0423 100 \u0413\u0431 \u0421\u0421\u0414<\/p>\n\n\n\n<p>\u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u043c\u043e\u0438\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e <a href=\"https:\/\/github.com\/aeuge\/postgres16book\/tree\/main\/database\">\u043f\u0435\u0440\u0435\u0432\u043e\u0437\u043a\u0430\u043c \u0432 \u0422\u0430\u0439\u043b\u0430\u043d\u0434\u0435<\/a> \u0438 \u0437\u0430\u043b\u044c\u0435\u043c 60 \u043c\u043b\u043d.\u0437\u0430\u043f\u0438\u0441\u0435\u0439:<\/p>\n\n\n\n<p><code><a href=\"https:\/\/github.com\/aeuge\/postgres16book\/tree\/main\/database#wget-httpsstoragegoogleapiscomthaibusthai_mediumtargz--tar--xf-thai_mediumtargz--psql--thaisql\">wget <\/a><a href=\"https:\/\/storage.googleapis.com\/thaibus\/thai_medium.tar.gz\">https:\/\/storage.googleapis.com\/thaibus\/thai_medium.tar.gz<\/a> &amp;&amp; tar -xf thai_medium.tar.gz &amp;&amp; psql &lt; thai.sql<\/code><\/p>\n\n\n\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c\u0441\u044f \u043a \u0411\u0414:<\/p>\n\n\n\n<p><code>psql -d thai<\/code><\/p>\n\n\n\n<p>\u0412\u043a\u043b\u044e\u0447\u0438\u043c \u043f\u043e\u0434\u0441\u0447\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f:<\/p>\n\n\n\n<p><code>\\timing<\/code><\/p>\n\n\n\n<p>\u0418 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c MV \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043b\u043d\u0443\u044e \u0432\u044b\u0431\u043e\u0440\u043a\u0443 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0431\u0438\u043b\u0435\u0442\u043e\u0432 &#8212; 60 \u043c\u043b\u043d. \u0437\u0430\u043f\u0438\u0441\u0435\u0439:<\/p>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p>thai=# create materialized view ms as select * from book.tickets;<\/p>\n\n\n\n<p><code>SELECT 53997475<br>Time: 73514.510 ms (01:13.515)<\/code><\/p>\n\n\n\n<p>\u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0432\u044b\u0431\u043e\u0440\u043a\u0443 1 \u0437\u0430\u043f\u0438\u0441\u0438:<\/p>\n\n\n\n<p><code>thai=# select * from ms limit 1;<br>id | fkride | fio | contact | fkseat<br>----+--------+--------------------+---------------------------+--------<br>1 | 310552 | AFANASEVA SVETLANA | {\"phone\": \"+79298378114\"} | 1<br>(1 row)<\/code><\/p>\n\n\n\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0438\u043d\u0434\u0435\u043a\u0441 \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f MV:<\/p>\n\n\n\n<p><code>thai=# CREATE UNIQUE INDEX ui ON ms(id);<br>CREATE INDEX<br>Time: 48958.914 ms (00:48.959)<\/code><\/p>\n\n\n\n<p>\u0418 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u043d\u043e:<\/p>\n\n\n\n<p><code>thai=# refresh materialized view CONCURRENTLY ms WITH DATA;<br>REFRESH MATERIALIZED VIEW<br>Time: 383257.527 ms (06:23.258)<\/code><\/p>\n<\/div>\n\n\n\n<p>\u041c\u044b \u0432\u0438\u0434\u0438\u043c \u043a\u0430\u043a \u0444\u0430\u043d\u0442\u0430\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f, \u0442\u0430\u043a \u0438 \u0442\u043e, \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0441 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 1 !!! \u043f\u043e\u0442\u043e\u043a:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"118\" src=\"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image-1024x118.png\" alt=\"\" class=\"wp-image-1798\" srcset=\"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image-1024x118.png 1024w, https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image-300x35.png 300w, https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image-768x88.png 768w, https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image-1536x177.png 1536w, https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image-2048x236.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u041a\u0430\u043a\u0438\u0435 \u0436\u0435 \u0435\u0441\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b, \u0447\u0442\u043e\u0431\u044b \u0438 \u0447\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443?<\/p>\n\n\n\n<p><code>refresh materialized view ms WITH DATA;<\/code><\/p>\n\n\n\n<p>\u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 &#8212; \u0432\u0441\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b SELECT \u0431\u0443\u0434\u0443\u0442 \u0436\u0434\u0430\u0442\u044c \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0440\u0435\u0444\u0440\u0435\u0448\u0430&#8230;<\/p>\n\n\n\n<p>\u041e\u0434\u0438\u043d \u0438\u0437 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 &#8212; \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0440\u044f\u0434\u043e\u043c \u0432\u0442\u043e\u0440\u043e\u0435 MV, \u043f\u043e\u0442\u043e\u043c \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043f\u0435\u0440\u0432\u043e\u0435 \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0435:<\/p>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<p><code>thai=# create materialized view ms2 as select * from book.tickets;<br>SELECT 53997475<br>Time: 63799.503 ms (01:03.800)<\/code><\/p>\n\n\n\n<p><code>thai=# drop materialized view ms;<br>DROP MATERIALIZED VIEW<br>Time: 1402.371 ms (00:01.402)<\/code><\/p>\n\n\n\n<p><code>alter materialized view ms2 rename to ms;<br>ALTER MATERIALIZED VIEW<br>Time: 1005.176 ms (00:01.005)<\/code><\/p>\n<\/div>\n\n\n\n<p>\u0418\u0442\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a MV \u0431\u0443\u0434\u0443\u0442 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432\u0441\u0435\u0433\u043e 2 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u041d\u0443 \u0438\u043b\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0437\u0430 \u043e\u0432\u0435\u0440\u0442\u0430\u0439\u043c.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043e\u0431\u0441\u0443\u0434\u0438\u043c, \u043a\u0430\u043a\u0438\u0435 \u0435\u0441\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043b\u0438 MV (Materialized View) \u0438 \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041e\u0433\u0440\u043e\u043c\u043d\u044b\u043c \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u043c MV \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430 &#8212; \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043d\u043e\u0432\u043e \u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043e\u0449\u0443\u0442\u0438\u043c\u043e \u044d\u0442\u043e \u0434\u0430\u0435\u0442 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u0422\u0430\u043a\u0436\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u043d\u0430 \u043d\u0430\u0448\u0438 MV. \u041d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[50,49,16,52,54,53],"class_list":["post-316","post","type-post","status-publish","format-standard","hentry","category-optimizacziya-postgresql","tag-concurrently","tag-materialized-view","tag-postgresql","tag-refresh","tag-obnovlenie-materialized-view","tag-optimizacziya"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Caveats Refresh Materialized View Concurrently PostgreSQL - \u0411\u043b\u043e\u0433 \u043f\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 PostgreSQL \u043e\u0442 \u0410\u0440\u0438\u0441\u0442\u043e\u0432\u0430 \u0415\u0432\u0433\u0435\u043d\u0438\u044f<\/title>\n<meta name=\"description\" content=\"\u0421\u0442\u0430\u0442\u044c\u044f \u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f materialized view \u0432 PostgreSQL: \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 refresh materialized view \u0438 refresh materialized view CONCURRENTLY\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Caveats Refresh Materialized View Concurrently PostgreSQL - \u0411\u043b\u043e\u0433 \u043f\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 PostgreSQL \u043e\u0442 \u0410\u0440\u0438\u0441\u0442\u043e\u0432\u0430 \u0415\u0432\u0433\u0435\u043d\u0438\u044f\" \/>\n<meta property=\"og:description\" content=\"\u0421\u0442\u0430\u0442\u044c\u044f \u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f materialized view \u0432 PostgreSQL: \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 refresh materialized view \u0438 refresh materialized view CONCURRENTLY\" \/>\n<meta property=\"og:url\" content=\"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0411\u043b\u043e\u0433 \u043f\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 PostgreSQL \u043e\u0442 \u0410\u0440\u0438\u0441\u0442\u043e\u0432\u0430 \u0415\u0432\u0433\u0435\u043d\u0438\u044f\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-05T10:44:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-22T10:41:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2304\" \/>\n\t<meta property=\"og:image:height\" content=\"265\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"aeuge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"aeuge\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/\"},\"author\":{\"name\":\"aeuge\",\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/#\\\/schema\\\/person\\\/191712eae0472c7752fc806134be751d\"},\"headline\":\"Caveats Refresh Materialized View Concurrently PostgreSQL\",\"datePublished\":\"2023-10-05T10:44:51+00:00\",\"dateModified\":\"2025-06-22T10:41:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/\"},\"wordCount\":341,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/#\\\/schema\\\/person\\\/05f3a04bf720ae4bf25ac99c4248d5e7\"},\"image\":{\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/image-1024x118.png\",\"keywords\":[\"CONCURRENTLY\",\"materialized view\",\"postgresql\",\"refresh\",\"\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 materialized view\",\"\u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f\"],\"articleSection\":[\"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f PostgreSQL\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/\",\"url\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/\",\"name\":\"Caveats Refresh Materialized View Concurrently PostgreSQL - \u0411\u043b\u043e\u0433 \u043f\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 PostgreSQL \u043e\u0442 \u0410\u0440\u0438\u0441\u0442\u043e\u0432\u0430 \u0415\u0432\u0433\u0435\u043d\u0438\u044f\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/image-1024x118.png\",\"datePublished\":\"2023-10-05T10:44:51+00:00\",\"dateModified\":\"2025-06-22T10:41:05+00:00\",\"description\":\"\u0421\u0442\u0430\u0442\u044c\u044f \u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f materialized view \u0432 PostgreSQL: \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 refresh materialized view \u0438 refresh materialized view CONCURRENTLY\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/#primaryimage\",\"url\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/image.png\",\"contentUrl\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/image.png\",\"width\":2304,\"height\":265},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/caveats-refresh-mat-view-concurrently\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Caveats Refresh Materialized View Concurrently PostgreSQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/\",\"name\":\"\u0411\u043b\u043e\u0433 \u043f\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 PostgreSQL \u043e\u0442 \u0410\u0440\u0438\u0441\u0442\u043e\u0432\u0430 \u0415\u0432\u0433\u0435\u043d\u0438\u044f\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/#\\\/schema\\\/person\\\/05f3a04bf720ae4bf25ac99c4248d5e7\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/#\\\/schema\\\/person\\\/05f3a04bf720ae4bf25ac99c4248d5e7\",\"name\":\"admin2\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/blog-logo.png\",\"url\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/blog-logo.png\",\"contentUrl\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/blog-logo.png\",\"width\":180,\"height\":180,\"caption\":\"admin2\"},\"logo\":{\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/blog-logo.png\"},\"sameAs\":[\"https:\\\/\\\/aristov.tech\\\/blog\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/#\\\/schema\\\/person\\\/191712eae0472c7752fc806134be751d\",\"name\":\"aeuge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1127d97e7f98e09f2114bab9767af750644ad48a7d8a4f87fce1ab59d0a4ed51?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1127d97e7f98e09f2114bab9767af750644ad48a7d8a4f87fce1ab59d0a4ed51?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1127d97e7f98e09f2114bab9767af750644ad48a7d8a4f87fce1ab59d0a4ed51?s=96&d=mm&r=g\",\"caption\":\"aeuge\"},\"url\":\"https:\\\/\\\/aristov.tech\\\/blog\\\/author\\\/aeuge\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Caveats Refresh Materialized View Concurrently PostgreSQL - \u0411\u043b\u043e\u0433 \u043f\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 PostgreSQL \u043e\u0442 \u0410\u0440\u0438\u0441\u0442\u043e\u0432\u0430 \u0415\u0432\u0433\u0435\u043d\u0438\u044f","description":"\u0421\u0442\u0430\u0442\u044c\u044f \u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f materialized view \u0432 PostgreSQL: \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 refresh materialized view \u0438 refresh materialized view CONCURRENTLY","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/","og_locale":"ru_RU","og_type":"article","og_title":"Caveats Refresh Materialized View Concurrently PostgreSQL - \u0411\u043b\u043e\u0433 \u043f\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 PostgreSQL \u043e\u0442 \u0410\u0440\u0438\u0441\u0442\u043e\u0432\u0430 \u0415\u0432\u0433\u0435\u043d\u0438\u044f","og_description":"\u0421\u0442\u0430\u0442\u044c\u044f \u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f materialized view \u0432 PostgreSQL: \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 refresh materialized view \u0438 refresh materialized view CONCURRENTLY","og_url":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/","og_site_name":"\u0411\u043b\u043e\u0433 \u043f\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 PostgreSQL \u043e\u0442 \u0410\u0440\u0438\u0441\u0442\u043e\u0432\u0430 \u0415\u0432\u0433\u0435\u043d\u0438\u044f","article_published_time":"2023-10-05T10:44:51+00:00","article_modified_time":"2025-06-22T10:41:05+00:00","og_image":[{"width":2304,"height":265,"url":"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image.png","type":"image\/png"}],"author":"aeuge","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"aeuge","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"3 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/#article","isPartOf":{"@id":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/"},"author":{"name":"aeuge","@id":"https:\/\/aristov.tech\/blog\/#\/schema\/person\/191712eae0472c7752fc806134be751d"},"headline":"Caveats Refresh Materialized View Concurrently PostgreSQL","datePublished":"2023-10-05T10:44:51+00:00","dateModified":"2025-06-22T10:41:05+00:00","mainEntityOfPage":{"@id":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/"},"wordCount":341,"commentCount":0,"publisher":{"@id":"https:\/\/aristov.tech\/blog\/#\/schema\/person\/05f3a04bf720ae4bf25ac99c4248d5e7"},"image":{"@id":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/#primaryimage"},"thumbnailUrl":"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image-1024x118.png","keywords":["CONCURRENTLY","materialized view","postgresql","refresh","\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 materialized view","\u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f"],"articleSection":["\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f PostgreSQL"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/","url":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/","name":"Caveats Refresh Materialized View Concurrently PostgreSQL - \u0411\u043b\u043e\u0433 \u043f\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 PostgreSQL \u043e\u0442 \u0410\u0440\u0438\u0441\u0442\u043e\u0432\u0430 \u0415\u0432\u0433\u0435\u043d\u0438\u044f","isPartOf":{"@id":"https:\/\/aristov.tech\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/#primaryimage"},"image":{"@id":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/#primaryimage"},"thumbnailUrl":"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image-1024x118.png","datePublished":"2023-10-05T10:44:51+00:00","dateModified":"2025-06-22T10:41:05+00:00","description":"\u0421\u0442\u0430\u0442\u044c\u044f \u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f materialized view \u0432 PostgreSQL: \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 refresh materialized view \u0438 refresh materialized view CONCURRENTLY","breadcrumb":{"@id":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/#primaryimage","url":"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image.png","contentUrl":"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/10\/image.png","width":2304,"height":265},{"@type":"BreadcrumbList","@id":"https:\/\/aristov.tech\/blog\/caveats-refresh-mat-view-concurrently\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/aristov.tech\/blog\/"},{"@type":"ListItem","position":2,"name":"Caveats Refresh Materialized View Concurrently PostgreSQL"}]},{"@type":"WebSite","@id":"https:\/\/aristov.tech\/blog\/#website","url":"https:\/\/aristov.tech\/blog\/","name":"\u0411\u043b\u043e\u0433 \u043f\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 PostgreSQL \u043e\u0442 \u0410\u0440\u0438\u0441\u0442\u043e\u0432\u0430 \u0415\u0432\u0433\u0435\u043d\u0438\u044f","description":"","publisher":{"@id":"https:\/\/aristov.tech\/blog\/#\/schema\/person\/05f3a04bf720ae4bf25ac99c4248d5e7"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/aristov.tech\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":["Person","Organization"],"@id":"https:\/\/aristov.tech\/blog\/#\/schema\/person\/05f3a04bf720ae4bf25ac99c4248d5e7","name":"admin2","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/05\/blog-logo.png","url":"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/05\/blog-logo.png","contentUrl":"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/05\/blog-logo.png","width":180,"height":180,"caption":"admin2"},"logo":{"@id":"https:\/\/aristov.tech\/blog\/wp-content\/uploads\/2023\/05\/blog-logo.png"},"sameAs":["https:\/\/aristov.tech\/blog"]},{"@type":"Person","@id":"https:\/\/aristov.tech\/blog\/#\/schema\/person\/191712eae0472c7752fc806134be751d","name":"aeuge","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/secure.gravatar.com\/avatar\/1127d97e7f98e09f2114bab9767af750644ad48a7d8a4f87fce1ab59d0a4ed51?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1127d97e7f98e09f2114bab9767af750644ad48a7d8a4f87fce1ab59d0a4ed51?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1127d97e7f98e09f2114bab9767af750644ad48a7d8a4f87fce1ab59d0a4ed51?s=96&d=mm&r=g","caption":"aeuge"},"url":"https:\/\/aristov.tech\/blog\/author\/aeuge\/"}]}},"_links":{"self":[{"href":"https:\/\/aristov.tech\/blog\/wp-json\/wp\/v2\/posts\/316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aristov.tech\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aristov.tech\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aristov.tech\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/aristov.tech\/blog\/wp-json\/wp\/v2\/comments?post=316"}],"version-history":[{"count":4,"href":"https:\/\/aristov.tech\/blog\/wp-json\/wp\/v2\/posts\/316\/revisions"}],"predecessor-version":[{"id":1799,"href":"https:\/\/aristov.tech\/blog\/wp-json\/wp\/v2\/posts\/316\/revisions\/1799"}],"wp:attachment":[{"href":"https:\/\/aristov.tech\/blog\/wp-json\/wp\/v2\/media?parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aristov.tech\/blog\/wp-json\/wp\/v2\/categories?post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aristov.tech\/blog\/wp-json\/wp\/v2\/tags?post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}