Locking or Something Else?

Поиск
Список
Период
Сортировка
От Ian Harding
Тема Locking or Something Else?
Дата
Msg-id CAMR4UwEWYKAmvC7923T4O72jmhcd_h+fKJ7DBYPsrBnoJZ8bUg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Locking or Something Else?  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
I have a situation where an increase in volume of inserts into the
main transaction table causes a huge slowdown.  The table has lots of
indexes and foreign keys and a trigger.

Clearly, something is causing a resource contention issue, but here's
my main question:

I have log_lock_waits = on  and deadlock_timeout = 250ms.  Is there
any way I could have delays of tens of seconds caused by a write
conflict in a table accessed by a trigger that would not result in the
wait being logged?

Thanks!

Ian
 PostgreSQL 9.0.6 on x86_64-unknown-linux-gnu, compiled by GCC gcc
(GCC) 4.1.2 20080704 (Red Hat 4.1.2-46), 64-bit

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

Предыдущее
От: Gabriele Bartolini
Дата:
Сообщение: Re: suggestion for backup
Следующее
От: Josh Kupershmidt
Дата:
Сообщение: Re: Why are pg_restore taking that long ?