{"id":151,"date":"2006-01-14T13:52:27","date_gmt":"2006-01-14T13:52:27","guid":{"rendered":"https:\/\/dev.masterbootrecord.de\/?p=151"},"modified":"2006-01-14T13:52:27","modified_gmt":"2006-01-14T13:52:27","slug":"materialized-views-in-postgresql","status":"publish","type":"post","link":"https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/","title":{"rendered":"Materialized Views in PostgreSQL"},"content":{"rendered":"<p>&#8222;Materialized Views in PostgreSQL <\/p>\n<p>A materialized view is a technique to &#8222;cache&#8220; the results of a query when its result set is large or the query is very slow and that query is used very often. A materialized view is a set of query results stored in a table. Usually this means the results of a selection of a view. Queries involving aggregation are a good reason to have a materialized view. Usually a slow query is not a good reason to have a materialized view unless you have exhausted the best advice from pgsql-general and pgsql-performance. &#8222;<\/p>\n<p><a href=\"http:\/\/www.varlena.com\/varlena\/GeneralBits\/64.php\" target=\"_blank\" rel=\"noopener\">Materialized Views in PostgreSQL<\/a><\/p>\n<p><a href=\"http:\/\/www.varlena.com\/varlena\/GeneralBits\/64.php\">Materialized Views in PostgreSQL<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8222;Materialized Views in PostgreSQL A materialized view is a technique to &#8222;cache&#8220; the results of&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[50],"class_list":["post-151","post","type-post","status-publish","format-standard","hentry","tag-postgresql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Materialized Views in PostgreSQL - MasterBootRecord.de<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Materialized Views in PostgreSQL - MasterBootRecord.de\" \/>\n<meta property=\"og:description\" content=\"&#8222;Materialized Views in PostgreSQL A materialized view is a technique to &#8222;cache&#8220; the results of...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/\" \/>\n<meta property=\"og:site_name\" content=\"MasterBootRecord.de\" \/>\n<meta property=\"article:published_time\" content=\"2006-01-14T13:52:27+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/masterbootrecord.de\\\/materialized-views-in-postgresql\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/masterbootrecord.de\\\/materialized-views-in-postgresql\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/masterbootrecord.de\\\/#\\\/schema\\\/person\\\/37c6e75182eb3162fb788d261f4b00e6\"},\"headline\":\"Materialized Views in PostgreSQL\",\"datePublished\":\"2006-01-14T13:52:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/masterbootrecord.de\\\/materialized-views-in-postgresql\\\/\"},\"wordCount\":109,\"commentCount\":75,\"keywords\":[\"postgresql\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/masterbootrecord.de\\\/materialized-views-in-postgresql\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/masterbootrecord.de\\\/materialized-views-in-postgresql\\\/\",\"url\":\"https:\\\/\\\/masterbootrecord.de\\\/materialized-views-in-postgresql\\\/\",\"name\":\"Materialized Views in PostgreSQL - MasterBootRecord.de\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/masterbootrecord.de\\\/#website\"},\"datePublished\":\"2006-01-14T13:52:27+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/masterbootrecord.de\\\/#\\\/schema\\\/person\\\/37c6e75182eb3162fb788d261f4b00e6\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/masterbootrecord.de\\\/materialized-views-in-postgresql\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/masterbootrecord.de\\\/materialized-views-in-postgresql\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/masterbootrecord.de\\\/materialized-views-in-postgresql\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/masterbootrecord.de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Materialized Views in PostgreSQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/masterbootrecord.de\\\/#website\",\"url\":\"https:\\\/\\\/masterbootrecord.de\\\/\",\"name\":\"MasterBootRecord.de\",\"description\":\"Online since 2001\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/masterbootrecord.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/masterbootrecord.de\\\/#\\\/schema\\\/person\\\/37c6e75182eb3162fb788d261f4b00e6\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a1e3eec1ed5f414f0e2d671a647ef408837fe6ea708b92c6e94b3cec1b86bbdc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a1e3eec1ed5f414f0e2d671a647ef408837fe6ea708b92c6e94b3cec1b86bbdc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a1e3eec1ed5f414f0e2d671a647ef408837fe6ea708b92c6e94b3cec1b86bbdc?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/masterbootrecord.de\"],\"url\":\"https:\\\/\\\/masterbootrecord.de\\\/author\\\/tscherno\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Materialized Views in PostgreSQL - MasterBootRecord.de","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:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/","og_locale":"de_DE","og_type":"article","og_title":"Materialized Views in PostgreSQL - MasterBootRecord.de","og_description":"&#8222;Materialized Views in PostgreSQL A materialized view is a technique to &#8222;cache&#8220; the results of...","og_url":"https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/","og_site_name":"MasterBootRecord.de","article_published_time":"2006-01-14T13:52:27+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"admin","Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/#article","isPartOf":{"@id":"https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/"},"author":{"name":"admin","@id":"https:\/\/masterbootrecord.de\/#\/schema\/person\/37c6e75182eb3162fb788d261f4b00e6"},"headline":"Materialized Views in PostgreSQL","datePublished":"2006-01-14T13:52:27+00:00","mainEntityOfPage":{"@id":"https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/"},"wordCount":109,"commentCount":75,"keywords":["postgresql"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/","url":"https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/","name":"Materialized Views in PostgreSQL - MasterBootRecord.de","isPartOf":{"@id":"https:\/\/masterbootrecord.de\/#website"},"datePublished":"2006-01-14T13:52:27+00:00","author":{"@id":"https:\/\/masterbootrecord.de\/#\/schema\/person\/37c6e75182eb3162fb788d261f4b00e6"},"breadcrumb":{"@id":"https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/masterbootrecord.de\/materialized-views-in-postgresql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/masterbootrecord.de\/"},{"@type":"ListItem","position":2,"name":"Materialized Views in PostgreSQL"}]},{"@type":"WebSite","@id":"https:\/\/masterbootrecord.de\/#website","url":"https:\/\/masterbootrecord.de\/","name":"MasterBootRecord.de","description":"Online since 2001","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/masterbootrecord.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Person","@id":"https:\/\/masterbootrecord.de\/#\/schema\/person\/37c6e75182eb3162fb788d261f4b00e6","name":"admin","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/secure.gravatar.com\/avatar\/a1e3eec1ed5f414f0e2d671a647ef408837fe6ea708b92c6e94b3cec1b86bbdc?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a1e3eec1ed5f414f0e2d671a647ef408837fe6ea708b92c6e94b3cec1b86bbdc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a1e3eec1ed5f414f0e2d671a647ef408837fe6ea708b92c6e94b3cec1b86bbdc?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/masterbootrecord.de"],"url":"https:\/\/masterbootrecord.de\/author\/tscherno\/"}]}},"_links":{"self":[{"href":"https:\/\/masterbootrecord.de\/wp-json\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/masterbootrecord.de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/masterbootrecord.de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/masterbootrecord.de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/masterbootrecord.de\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":0,"href":"https:\/\/masterbootrecord.de\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"wp:attachment":[{"href":"https:\/\/masterbootrecord.de\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/masterbootrecord.de\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/masterbootrecord.de\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}