Re: PGSQL Locking vs. Oracle's MVCC - Mailing list pgsql-general

From Albe Laurenz
Subject Re: PGSQL Locking vs. Oracle's MVCC
Date
Msg-id AFCCBB403D7E7A4581E48F20AF3E5DB201597D7C@EXADV1.host.magwien.gv.at
Whole thread Raw
In response to PGSQL Locking vs. Oracle's MVCC  (RPK <rohitprakash123@indiatimes.com>)
List pgsql-general
> How is PGSQL Locking compared with Oracle's MVCC? How PGSQL handles
> concurreny and how it differs with Oracle's Multi-Version Concurrency
> Control (MVCC)?

In PostgreSQL, old rows remain in the table until the table is vacuumed.
In Oracle, old rows are kept in the 'undo table space' until - well,
until
the undo table space runs out and they are recycled. Depends.
I have never heard this referred to as 'MVCC'.

Locking and concurrency work pretty similar in both - at least as far
as the behaviour is concerned.

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Large Objects
Next
From: Martijn van Oosterhout
Date:
Subject: Re: complex referential integrity constraints