Re: MVCC cons - Mailing list pgsql-general

From Scott Marlowe
Subject Re: MVCC cons
Date
Msg-id dcc563d10708141159y5aee7450qca148623e1ab0287@mail.gmail.com
Whole thread Raw
In response to MVCC cons  (RPK <rpk.general@gmail.com>)
List pgsql-general
On 8/14/07, RPK <rpk.general@gmail.com> wrote:
>
> I want to know whether MVCC has cons also. Is it heavy on resources? How
> PGSQL MVCC relates with SQL Server 2005 new Snapshot Isolation.

Of course it does.  There ain't no such thing as a free lunch, after all.

PostgreSQL's mvcc implementation means that a row that gets updated a
lot may have many dead rows in the database, and if you don't run
vacuum often enough, or have enough space allocated in your free space
map, your tables can become bloated.

In a worst case scenario, a highly updated table may get so big that
normal vacuuming cannot salvage it and you would have to either
reindex or perform a vacuum full on it.

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org/

pgsql-general by date:

Previous
From: "madhtr"
Date:
Subject: pqlib in c++: PQconnectStart PQconnectPoll
Next
From: Tom Lane
Date:
Subject: Re: MVCC cons