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)