Re: postgresql locks the whole table!

Поиск
Список
Период
Сортировка
От Dr NoName
Тема Re: postgresql locks the whole table!
Дата
Msg-id 20031203202046.6614.qmail@web12310.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: postgresql locks the whole table!  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: postgresql locks the whole table!
Re: postgresql locks the whole table!
Список pgsql-general
> If you cannot make your transactons shorter (and
> please don't tell me
> that you have user interaction going on while
> holding any open
> transactions), then you might be able to increase
> your concurrency by
> deferring the foreign key check until commit.

oh! my! gawd!!!
THANK YOU! The deferred foreign key checks are exactly
what I needed. They are quite useful for other reasons
too. I think that should be the default for foreign
keys. Interestingly, the severe concurrency
degradation caused by immediate foreign key checks is
not explained in any of the documentation I looked at.

btw, there is no user interaction during the
transaction, just a lot of CPU- and IO-intensive
processing.

thanks,

Eugene

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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

Предыдущее
От: Dr NoName
Дата:
Сообщение: Re: postgresql locks the whole table!
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: postgresql locks the whole table!