24 Sep 2003 12:09
Re: Isolation level 1 - Differences between Oracle and MAX DB
Philippe <sapdb <at> infologic.fr>
2003-09-24 10:09:06 GMT
2003-09-24 10:09:06 GMT
I found some interesting reading about this. This is like an advertisement for PostgreSQL. My new question is : "Is SAP DB usable in high concurrency situation ?". Thanks for answers, opinions, experiences... and more Philippe "Both databases support ACID transactions. PostgreSQL uses *multi-version concurrency control* so reads and writes won't interfere with each other, while SAP DB uses *row-level locking*. In this respect, PostgreSQL v. SAP DB is similar to Oracle v. DB2. [...] Postgresql uses MVCC (multi-version concurrency control.) That allows for multiple transactions to run with each viewing the database as an instance in time when the transaction began. Other than Oracle and Postgresql, I don't think any other database uses MVCC. [...] Row level locking is a win for a data warehouse, with little writes and many reads, but in a heavily updated transactional environment hits a brick wall pretty quick. [...] The main advantage to using the MVCC model of concurrency control rather than locking is that in MVCC locks acquired for querying (reading) data do not conflict with locks acquired for writing data, and so reading never blocks writing and writing never blocks reading." And this link : http://www.onlamp.com/lpt/a/872 -- --(Continue reading)
RSS Feed