From: | Dr NoName <spamacct11(at)yahoo(dot)com> |
---|---|
To: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: postgresql locks the whole table! |
Date: | 2003-12-03 20:20:46 |
Message-ID: | 20031203202046.6614.qmail@web12310.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Keith C. Perry | 2003-12-03 20:27:24 | Re: Feature Request for 7.5 |
Previous Message | Dr NoName | 2003-12-03 19:46:08 | Re: postgresql locks the whole table! |