Re: Insert into partition table hangs

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: Insert into partition table hangs
Дата
Msg-id e6b6ka$rp5$1@news.hub.org
обсуждение исходный текст
Ответ на Re: Insert into partition table hangs  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Ответы Re: Insert into partition table hangs
Список pgsql-general
"Nik" <XLPizza@gmail.com> wrote
>
> I also noticed that I am having the similar issue with SELECT
> statements. Same SELECT statement will run fine 3-4 times in a row and
> then get stuck and run forever with no results. But if I reload the
> configuration like above, the query immediatelly returns with correct
> result.
>
> Why does this happen, and could this give any insight in my problem?
>

Interesting enough :-(

I can see that for some reason, the query may be blocked on a semaphore and
also listen to the signal. So when the SIGHUP comes, it will wake up and set
a variable "got_SIGHUP" to true (that's the only immediate thing do for
SIGHUP). After that, we either continue to sleep on the semaphore or exit
with a FATAL message -- both situations does not match your senario.

A wild guess is that when we continue to sleep on the semaphore, magically
we get it, but how come?

Regards,
Qingqing



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

Предыдущее
От: "Philippe Lang"
Дата:
Сообщение: pgxml & xpath_table
Следующее
От: Nis Jorgensen
Дата:
Сообщение: Re: Fabian Pascal and RDBMS deficiencies in fully implementing