Re: [HACKERS] mat views stats - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: [HACKERS] mat views stats
Date
Msg-id b1dac1f3-d168-29cb-059f-ae1b0d0c8b2e@BlueTreble.com
Whole thread Raw
In response to Re: [HACKERS] mat views stats  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On 2/22/17 7:56 AM, Peter Eisentraut wrote:
> What behavior would we like by default?  Refreshing a materialized view
> is a pretty expensive operation, so I think scheduling an analyze quite
> aggressively right afterwards is often what you want.
>
> I think sending a stats message with the number of inserted rows could
> make sense.

+1 on both counts. And if sane analyze behavior does depend on the stats 
changes then there's no real advantage to a separate patch.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [HACKERS] Make subquery alias optional in FROM clause
Next
From: Corey Huinker
Date:
Subject: Re: [HACKERS] \if, \elseif, \else, \endif (was Re: PSQL commands:\quit_if, \quit_unless)