one thing that PosgreSQL is better then sybse, i think i just replied to a post that uses sybase and is hitting this problem…
Sybase doesnt really have page or row locking… Sybase in my eyes has table locking (and yes i think the marketing people will say that i am wrong here)
Why?
connection1:
start transaction
update a record on table X
now in another connection2:
select * from X where y= 10
it BLOCKS!
even if the records this query will return dont have that record above that you where updating.
I think sybase (and many other db’s) block because it want to evaluate y= 10 on the above record that is updated but not yet committed
and it can’t do that.
PostgreSQL (and Oracle) are the 2 databases that i think work fine in the above situation.
There you can always just read the committed data of record even if there is uncommitted data in a transaction. (like i expect in the TransactionLevel READ_COMMITTED)
EDIT: i just read this viewtopic.php?f=22&t=14961&p=79896#p79815 so for the latest editions of MS SQL this can also be turned on.