Re: pg_migrator to /contrib in a later 9.0 beta - Mailing list pgsql-hackers

From Jesper Krogh
Subject Re: pg_migrator to /contrib in a later 9.0 beta
Date
Msg-id 4BE24B4C.7020108@krogh.cc
Whole thread Raw
In response to Re: pg_migrator to /contrib in a later 9.0 beta  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: pg_migrator to /contrib in a later 9.0 beta
List pgsql-hackers
On 2010-05-06 06:41, Alvaro Herrera wrote:
> Excerpts from Jesper Krogh's message of jue may 06 00:32:09 -0400 2010:
>
>    
>> Q: I read you pdf, why isn't statistics copied over? It seems to be the last
>> part missing from doing an upgrade in a few minutes.
>>      
> Seems fraught with peril, and a bit pointless.  What's so bad about having to
> run ANALYZE afterwards?
>    

There is nothing directly "bad" about it.. but:

It's just "an extra step, that might be overseen and is absolutely 
required".

I should have written:
Why isn't statistics copied over or why doesnt pg_migrator run analyze by
itself?

The database (of a reasonable size) is useless until statistics is 
available.

I guess it is because pg_dump/restore doesn't do it either.

Jesper
-- 
Jesper


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: max_standby_delay considered harmful
Next
From: Heikki Linnakangas
Date:
Subject: Re: max_standby_delay considered harmful