Re: Query Rewrite for Materialized Views (Postgres Extension)

From: Dent John <denty(at)QQdd(dot)eu>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Subject: Re: Query Rewrite for Materialized Views (Postgres Extension)
Date: 2018-06-18 18:38:13
Message-ID: 2E510F8A-E156-403D-9696-0243D22C29A2@QQdd.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I commented to Corey (privately) that, while my rewrite extension has gotten me a server that responds quickly to aggregate queries, the constant need to refresh the supporting MVs means the system’s load average is constant and much higher than before. I’m happy with the tradeoff for now, but it’s a huge waste of energy, and I’m sure it must thrash my disk.

I’m very interested in what other people think of Corey’s idea.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-06-18 18:40:29 Re: Transform for pl/perl
Previous Message Andres Freund 2018-06-18 18:13:47 Re: Speedup of relation deletes during recovery