![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Guys, I have a fresh install of Ingres 9.2, i would like to put it to work as Oracle. I mean RC - Read Committed Optimistic |
#2
| |||
| |||
|
|
On Jul 16, 2009, at 9:05 AM, thiagomz wrote: Guys, I have a fresh install of Ingres 9.2, i would like to put it to work as Oracle. I mean RC - Read Committed Optimistic Oracle uses a form of multi-versioning that Ingres doesn't yet support. There is a design document on the community wiki (http://community.ingres.com/wiki/MVCC) for an Ingres implementation of multi-versioning. In the meantime, Ingres uses locking for concurrency control. A locking implementation of read committed requires that update locks be held until the end of that transaction, and readers must take short-term read locks to ensure that they aren't trying to read something updated but not yet committed. |
#3
| |||
| |||
|
|
On Jul 16, 2009, at 9:05 AM, thiagomz wrote: Guys, I have a fresh install of Ingres 9.2, i would like to put it to work as Oracle. I mean RC - Read Committed Optimistic Oracle uses a form of multi-versioning that Ingres doesn't yet support. There is a design document on the community wiki (http://community.ingres.com/wiki/MVCC) for an Ingres implementation of multi-versioning. In the meantime, Ingres uses locking for concurrency control. A locking implementation of read committed requires that update locks be held until the end of that transaction, and readers must take short-term read locks to ensure that they aren't trying to read something updated but not yet committed. Karl _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://www.kettleriverconsulting.com...fo/info-ingres |
#4
| |||
| |||
|
|
Gang, This is why I feel MVCC is about 6 gazzillion times better than any * |
#5
| |||
| |||
|
|
Guys, I have a fresh install of Ingres 9.2, i would like to put it to work as Oracle. I mean RC - Read Committed Optimistic |
#6
| |||
| |||
|
|
I'm wondering what your opinion is on PostgreSQL's MVCC locking mechanism. |
#7
| |||
| |||
|
|
Hi Karl, I'm wondering what your opinion is on PostgreSQL's MVCC locking mechanism. Regards, Jürgen |
|
-------- Original-Nachricht -------- Betreff: Re: [Info-Ingres] Isolation Level Datum: Thu, 16 Jul 2009 09:26:54 -0400 Von: Karl & Betty Schendel <schendel (AT) kbcomputer (DOT) com Antwort an: Ingres and related product discussion forum info-ingres (AT) kettleriverconsulting (DOT) com An: Ingres and related product discussion forum info-ingres (AT) kettleriverconsulting (DOT) com Referenzen: 1b440f86-3a47-40bb-b044-908e1261cce7...oglegroups.com On Jul 16, 2009, at 9:05 AM, thiagomz wrote: Guys, I have a fresh install of Ingres 9.2, i would like to put it to work as Oracle. I mean RC - Read Committed Optimistic Oracle uses a form of multi-versioning that Ingres doesn't yet support. There is a design document on the community wiki (http://community.ingres.com/wiki/MVCC) for an Ingres implementation of multi-versioning. In the meantime, Ingres uses locking for concurrency control. A locking implementation of read committed requires that update locks be held until the end of that transaction, and readers must take short-term read locks to ensure that they aren't trying to read something updated but not yet committed. Karl _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://www.kettleriverconsulting.com...fo/info-ingres _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://www.kettleriverconsulting.com...fo/info-ingres |
#8
| |||
| |||
|
|
MVCC creates a consistent view of the database for each user without locking; that is the beauty of it. |
#9
| |||
| |||
|
|
Roy Hann wrote: MVCC creates a consistent view of the database for each user without locking; that is the beauty of it. [snip] As far as I can tell, though, after reading what I could easily find, MVCC is an internal DBMS design choice. It doesn't affect the meaning of, or need for concern for, isolation levels. (The Postgres documentation says there are effectively 2 rather than 4 because the other two get a kind of promotion.) |
|
[snip] Why the excitement, then? Anticipation of greater concurrency? Or has that been demonstrated? |
#10
| |||
| |||
|
|
James K. Lowden wrote: Roy Hann wrote: MVCC creates a consistent view of the database for each user without locking; that is the beauty of it. [snip] As far as I can tell, though, after reading what I could easily find, MVCC is an internal DBMS design choice. *It doesn't affect the meaning of,or need for concern for, isolation levels. *(The Postgres documentation says there are effectively 2 rather than 4 because the other two get a kind of promotion.) * Correct. * [snip] Why the excitement, then? *Anticipation of greater concurrency? *Orhas that been demonstrated? * Well if it works as hoped and expected, it means much better concurrency, flash-back queries (queries of a consistent image of the database as it was at some recenet past moment), and the virtual elimination of deadlocks. However, MVCC works by constructing a consistent image of a page at query-time, using the transaction log and, if need be, the journal files, so potentially individual queries may be slower. *The hope is that overall performance will be improved by eliminating lock-waits. -- Roy UK Ingres User Association Conference 2010 will be on Tuesday June 8 2010 Go tohttp://www.iua.org.uk/jointo get on the mailing list. |
![]() |
| Thread Tools | |
| Display Modes | |
| |