Re: Performance - fsync-off

Поиск
Список
Период
Сортировка
От Alfred Perlstein
Тема Re: Performance - fsync-off
Дата
Msg-id 20000602015756.J17973@fw.wintelcom.net
обсуждение исходный текст
Ответ на Performance - fsync-off  (Thomas Weholt <Thomas@cintra.no>)
Список 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 по дате отправления:

Предыдущее
От: Ron Chmara
Дата:
Сообщение: Re: Performance
Следующее
От: Alfred Perlstein
Дата:
Сообщение: Re: Bulk-copy?