Why does analyze_new_cluster.sh use sleep?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Why does analyze_new_cluster.sh use sleep?
Дата
Msg-id 1345702664.22401.3.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: Why does analyze_new_cluster.sh use sleep?
Список 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 по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: 9.2RC1 wraps this Thursday ...
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: xlog file naming