From: Mladen Gogala <mladen.gogala@vmsinfo.com>
To: Marti Raudsepp <marti@juffo.org>
Cc: Craig Ringer <craig@postnewspapers.com.au>
Cc: Kyriacos Kyriacou <kyriacosk@prime-tel.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: MVCC performance issue
Date: Sun, 14 Nov 2010 19:32:54 -0500
Message-ID: <4CE07FB6.2000404@vmsinfo.com> (raw)
In-Reply-To: <AANLkTim3RkKFQYGaXEs=4N=Fz26=4NuinQXhsSFD7Y6V@mail.gmail.com>
References: <8BCBF9DB739F034B87FE7C7D30EAE55C240D4BC8@hqex2k.francoudi.com>
<4CDE27D7.7070706@postnewspapers.com.au>
<AANLkTim3RkKFQYGaXEs=4N=Fz26=4NuinQXhsSFD7Y6V@mail.gmail.com>
Marti Raudsepp wrote:
>
>
> Another advantage of Oracle's approach seems that they need much less
> tuple-level overhead. IMO the 23-byte tuple overhead is a much bigger
> drawback in Postgres than table fragmentation.
>
> Regards,
> Marti
>
>
Oracle, however, does have a problem with "ORA-1555 Snapshot too old",
precisely because of their implementation of MVCC. In other words, if
your query is running long and Oracle is not able to reconstruct the old
rows from the UNDO segments, you're out of luck and your query will die.
The greatest burden of the Postgres implementation is the fact that
there is no row id, so that the table header and the indexes need to be
updated much more frequently than is the case with Oracle.
--
Mladen Gogala
Sr. Oracle DBA
1500 Broadway
New York, NY 10036
(212) 329-5251
www.vmsinfo.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: mladen.gogala@vmsinfo.com, marti@juffo.org, craig@postnewspapers.com.au, kyriacosk@prime-tel.com
Subject: Re: MVCC performance issue
In-Reply-To: <4CE07FB6.2000404@vmsinfo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox