On 10/19/2017 11:26 PM, Tom Lane wrote: > Vik Fearing <vik.fear...@2ndquadrant.com> writes: >> On 10/19/2017 10:54 PM, Tom Lane wrote: >>> Uh ... recommended by whom? pg_statistic has exactly the same reliability >>> guarantees as the rest of the system catalogs. > >> For data statistics, sure. One thing I'm unhappy about is that >> pg_stat_all_tables is blank. > > Well, that's because we throw away the stats collector's stats after a > crash -- or, in the failover case, because the promoted slave has its own > counters and not the master's. ANALYZE isn't going to help that at all.
Sure it will. ANALYZE estimates n_dead_tup, which often accurate enough for autovacuum to figure out what to do. -- Vik Fearing +33 6 46 75 15 36 http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers