From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Josh Berkus <josh(at)agliodbs(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Materialized views |
Date: | 2011-11-09 00:38:03 |
Message-ID: | 4EB9CB6B.2050804@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 11/08/2011 06:25 PM, Josh Berkus wrote:
>> I'm about 99% sure the answer to that is 'yes'. Are you thinking of
>> having a background scheduler which handles the updating of
>> schedule-driven (instead of trigger-driven) MVs..? Not to try to
>> feature-creep this on you, but you might consider how a new backend
>> process which handles scheduled tasks could be generalized to go beyond
>> handling just MV updates.. :)
> No feature-creeping; the two features described will be hard enough.
> Besides, we have pg_agent for that.
>
Yeah. I'd be plenty happy with greedy MVs plus lazy MVs that need a
manual refresh. These are both patterns I use a lot (the buildfarm
dashboard is in effect a greedy MV although it's not updated by a trigger).
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Thom Brown | 2011-11-09 01:12:03 | Re: pg_comments (was: Allow \dd to show constraint comments) |
Previous Message | Tom Lane | 2011-11-09 00:34:37 | Re: 9.1.2 ? |