Re: MVCC cons

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: MVCC cons
Дата
Msg-id dcc563d10708141159y5aee7450qca148623e1ab0287@mail.gmail.com
обсуждение исходный текст
Ответ на MVCC cons  (RPK <rpk.general@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "madhtr"
Дата:
Сообщение: pqlib in c++: PQconnectStart PQconnectPoll
Следующее
От: Tom Lane
Дата:
Сообщение: Re: MVCC cons