Re: Ye olde drop-the-database-you-just-left problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Ye olde drop-the-database-you-just-left problem
Дата
Msg-id 18407.1180556860@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Ye olde drop-the-database-you-just-left problem  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> Is there any way to tell, perhaps from the command string, that the process is
> about to start exiting? What stage of exiting is it that we think the kernel
> goes to lunch?

I haven't really done any detailed investigation, but I would think that
a simple process exit (when there's not temp tables to drop or anything
like that) should complete within one scheduler timeslice.  That would
mean that when this problem occurs, it's usually because the kernel hasn't
scheduled the backend at all since the disconnect message was sent;
which in turn means there is no way at all to know that the backend is
going to exit when it does get a chance to run.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Padding on 64-bit
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Make large sequential scans and VACUUMs work in a limited-size