Re: Why does analyze_new_cluster.sh use sleep?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Why does analyze_new_cluster.sh use sleep?
Дата
Msg-id 20120827032309.GD28780@momjian.us
обсуждение исходный текст
Ответ на Re: Why does analyze_new_cluster.sh use sleep?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Sun, Aug 26, 2012 at 11:12:15PM -0400, Peter Eisentraut wrote:
> On Fri, 2012-08-24 at 08:19 -0400, Bruce Momjian wrote:
> > Well, the idea is that the script is running stages, and your system is
> > mostly useful after the first stage is done.  I don't see a keypress as
> > helping there.  I think this is different from the vacuumdb case.
> 
> Well, this is all debatable, but we certainly don't need the sleep
> before the first vacuum, do we?

That sleep is there so they can react to this line:
   fprintf(script, "echo %sIf you would like default statistics as    quickly as possible, cancel%s\n",

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [patch] Improve documentation around FreeBSD Kernel Tuning
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Incorrect comment in fe-lobj.c