Re: PGSQL Locking vs. Oracle's MVCC

From: "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>
To: "RPK *EXTERN*" <rohitprakash123(at)indiatimes(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: PGSQL Locking vs. Oracle's MVCC
Date: 2007-02-23 08:16:53
Message-ID: AFCCBB403D7E7A4581E48F20AF3E5DB201597D7C@EXADV1.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2007-02-23 08:49:43 Re: complex referential integrity constraints
Previous Message Richard Huxton 2007-02-23 08:06:25 Re: Large Objects