Re: deadlock timeout?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: deadlock timeout?
Дата
Msg-id 200011102257.RAA10253@candle.pha.pa.us
обсуждение исходный текст
Ответ на deadlock timeout?  (Micah Anderson <micah@colltech.com>)
Список pgsql-general
> Hi,
>
>         Does anyone know what the postgresql option deadlock_timeout does? I
> haven't been able to find any good docs.  The config file
> (/etc/postgresql/pg_options) just says its how long to wait before deciding
> that there is a deadlock, but does this refer to idle connections or
> situations where a query is blocked waiting for a lock?  I thought timing
> out idle connections might be useful in trouble shooting some postgres
> problems that we are having given that we are seeing a steadily increasing
> number of database connections.  All these idle connections can't be
> helping.

I can't find that file inthe source tree, and the description is wrong.
The value is how quickly it will check for a deadlock while waiting for
a lock.  It does not assume it has a deadlock because of any timeout.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Philip Hallstrom
Дата:
Сообщение: What does this mean? "NOTICE: AbortTransaction and not in in-progress state"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: What does this mean? "NOTICE: AbortTransaction and not in in-progress state"