Why does analyze_new_cluster.sh use sleep? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Why does analyze_new_cluster.sh use sleep?
Date
Msg-id 1345702664.22401.3.camel@vanquo.pezone.net
Whole thread Raw
Responses Re: Why does analyze_new_cluster.sh use sleep?
List pgsql-hackers
The script analyze_new_cluster.sh output by pg_upgrade contains several
"sleep" calls (see contrib/pg_upgrade/check.c).  What is the point of
this?  If the purpose of this script is to get the database operational
again as soon as possible, waiting a few seconds doing nothing surely
isn't helping.

I could maybe see the point of waiting a bit between the different
vacuumdb calls, to catch some breath, but the one before the first call
to vacuumdb is highly dubious to me.





pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: 9.2RC1 wraps this Thursday ...
Next
From: Peter Eisentraut
Date:
Subject: Re: xlog file naming