Re: vacuumdb --all --analyze-in-stages - wrong order? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: vacuumdb --all --analyze-in-stages - wrong order?
Date
Msg-id 1409801761.427.1.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: vacuumdb --all --analyze-in-stages - wrong order?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: vacuumdb --all --analyze-in-stages - wrong order?
List pgsql-hackers
On Mon, 2014-05-19 at 13:51 -0400, Peter Eisentraut wrote:
> On 5/18/14, 3:52 AM, Pavel Stehule wrote:
> > I am looking on --analyze-in-stages option. If I understand well,
> > motivation for this option is a get some minimal statistic for databases
> > in minimal time. But when I tested, I found so iterations are per
> > databases, not per stages - some first database get a maximum statistics
> > and second has zero statistics. Isn't it unpractical?
>
> Yes.  Let me see if I can fix that.

At long last, here is a patch.

If somebody has an idea how to code some of that less confusingly, let
me know.


Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Scaling shared buffer eviction
Next
From: Fujii Masao
Date:
Subject: Re: psql \watch versus \timing