From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Scott Marlowe <scott.marlowe@gmail.com>
To: Rafael Martinez <r.m.guerrero@usit.uio.no>
Cc: pgsql-performance@postgresql.org
Cc: Craig Ringer <ringerc@ringerc.id.au>
Subject: Re: Dramatic change in memory usage with version 9.1
Date: Wed, 21 Dec 2011 12:54:32 -0600
Message-ID: <4EF1D7080200002500043F83@gw.wicourts.gov> (raw)
In-Reply-To: <CAOR=d=0fcFEJZMr+PbtNc2A3U31r9X4dBZXvDuN9OyoF8464aA@mail.gmail.com>
References: <4EEF5296.2030101@usit.uio.no>
<4EF11EE6.6020203@ringerc.id.au>
<4EF21C70.5000200@usit.uio.no>
<CAOR=d=0fcFEJZMr+PbtNc2A3U31r9X4dBZXvDuN9OyoF8464aA@mail.gmail.com>
Scott Marlowe <scott.marlowe@gmail.com> wrote:
> On Wed, Dec 21, 2011 at 10:50 AM, Rafael Martinez
> <r.m.guerrero@usit.uio.no> wrote:
>> As long as I know, all the databases are using the default, "read
>> committed".
>
> Note that backups run in serializable mode.
In 9.1 they default to running in "repeatable read". You can choose
the --serializable-deferrable option, which runs at the serializable
transaction isolation level, sort of. It does that by waiting for a
"safe" snapshot and then running the same as a repeatable read
transaction -- so either way you have none of the overhead of the
new serializable transactions.
Besides that, almost all of the additional RAM usage for the new
serializable implementation is in shared memory. As you can see in
the graphs from Rafael, the difference isn't very dramatic as a
percentage of a typical production configuration.
-Kevin
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, scott.marlowe@gmail.com, r.m.guerrero@usit.uio.no, ringerc@ringerc.id.au
Subject: Re: Dramatic change in memory usage with version 9.1
In-Reply-To: <4EF1D7080200002500043F83@gw.wicourts.gov>
References: <4EEF5296.2030101@usit.uio.no> <4EF11EE6.6020203@ringerc.id.au> <4EF21C70.5000200@usit.uio.no> <CAOR=d=0fcFEJZMr+PbtNc2A3U31r9X4dBZXvDuN9OyoF8464aA@mail.gmail.com> <4EF1D7080200002500043F83@gw.wicourts.gov>
* 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