Re: [PERFORM] Locking in PostgreSQL?

2006-12-06 Thread Casey Duncan
On Dec 5, 2006, at 11:04 PM, Joost Kraaijeveld wrote: Does PostgreSQL lock the entire row in a table if I update only 1 column? Know that updating 1 column is actually updating the whole row. So if one transaction updates column A of a row, it will block another concurrent transaction that

Re: [PERFORM] High concurrency OLTP database performance tuning

2006-08-31 Thread Casey Duncan
It will be very important to determine if as performance degrades you are either i/o bound, cpu bound or hindered by some other contention (db locks, context switching, etc). Try turning on statement duration logging for all statments or "slow" statments (like those over 100ms or some arbit