Re: fine tuning for logging server - Mailing list pgsql-performance

From Michael Adler
Subject Re: fine tuning for logging server
Date
Msg-id 20050331150137.GB23069@pobox.com
Whole thread Raw
In response to Re: fine tuning for logging server  (John Arbash Meinel <john@arbash-meinel.com>)
List pgsql-performance
On Wed, Mar 30, 2005 at 08:41:43PM -0600, John Arbash Meinel wrote:
> If all you are doing is append only logging, the fastest thing is
> probably just a flat file. You could have something that comes along
> later to move it into the database. It doesn't really sound like you are
> using any features a database provides. (normalization, foreign keys,
> indexes, etc.)

Here's two ideas that I don't think have been mentioned yet: Use copy
to bulk load the data instead of individual imports. And if you get
desperate, you can run pg with fsync=false since you don't seem to
care about re-initializing your whole database in the case of
unexpected interruption.

 -Mike

pgsql-performance by date:

Previous
From: Stefan Weiss
Date:
Subject: Re: Reading recommendations
Next
From: Steve Wampler
Date:
Subject: Re: Reading recommendations