Re: Performance - fsync-off - Mailing list pgsql-novice

From Alfred Perlstein
Subject Re: Performance - fsync-off
Date
Msg-id 20000602015756.J17973@fw.wintelcom.net
Whole thread Raw
In response to Performance - fsync-off  (Thomas Weholt <Thomas@cintra.no>)
List pgsql-novice
* Thomas Weholt <Thomas@cintra.no> [000602 01:45] wrote:
> Hi,
>
> I just got my Postgres-database up and running, putting in data using a
> Python-script, using the latest version of the PyGres-module by
> Darcy@druid.net. It works great! But insertion seems slow, even though I
> just got a few indexes. How can I turn off the fsync-variable? There must be
> a way to turn it off when starting the database, like postmaster -x where x
> is some command-line option or a setting in a config-file etc. I haven`t
> found anything in my search so far. What will this do in terms of
> performance ( 1-5 times ??? ) and is it considered safe? ( I`m running Linux
> )

Running fsync off is not very safe, the option to turn it off is one that
is supplied to the 'postgres' process, see the postmaster manpage to
discover how to pass options to postgres and see the postgres manpage
for the option.

> How does PostgreSQL compare in terms of speed compared to other databases,
> commercial products included??

Pretty darn good. :)

--
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."

pgsql-novice by date:

Previous
From: Ron Chmara
Date:
Subject: Re: Performance
Next
From: Alfred Perlstein
Date:
Subject: Re: Bulk-copy?