Re: Idea for improving speed of pg_restore

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Browne <cbbrowne(at)acm(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Idea for improving speed of pg_restore
Date: 2003-09-17 13:47:13
Message-ID: Pine.LNX.4.33.0309170746250.7338-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 17 Sep 2003, Tom Lane wrote:

> "scott.marlowe" <scott(dot)marlowe(at)ihs(dot)com> writes:
> > Not so sure on whether the foot gun is a good idea. We already have .22
> > calibre foot gun (fsync) that makes for pretty big improvements in load
> > speed, and we see people all the time on General and Performance running
> > production servers with it turned off. You know as well as I do the
> > second we make WAL optional, some people are gonna start running
> > production servers with it.
>
> Well, yeah, they will. On a noncritical server, is that a sin? I mean,
> if we offer fsync-off, it's not clear to me that offering WAL-off makes
> the difference between venial and mortal sin. Seems to me we're just
> putting the weapons in the display case. fsync = .22, WAL = .45,
> but you shoot your foot with either one it's still gonna ruin your day.

Now that you mention it, there are some areas where no WAL makes sense,
like proxy caching data stores and such, where errors aren't critical
because you can just grab the original data.

Postgresql, now with MySQL data integrity mode. :-)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Creager 2003-09-17 14:00:24 Re: State of Beta 2
Previous Message Tom Lane 2003-09-17 13:47:08 Re: Idea for improving speed of pg_restore