Re: Postgresql limits

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Postgresql limits
Дата
Msg-id 39CCCD73.4080008@klamath.dyndns.org
обсуждение исходный текст
Список pgsql-general
Hans-Jürgen Schönig wrote:

> When doing multiple insert, please consider the following: PostgreSQL
> uses fsync (I think) after every insert. This is extremely slow when
> inserting large amounts of data at once. On the other hand this helps
> you to protect the database if the systems crashes.

I would have thought fsync() would be slowest when inserting lots of
little pieces of data, not big ones. But I'm just guessing.

You can disable fsync() with the '-o -F' flag to postmaster. This speeds
everything up, but if your system crashes you may lose some data.

Regards,

Neil


В списке pgsql-general по дате отправления:

Предыдущее
От: Paul Wehr
Дата:
Сообщение: Re: [SQL] how to store a query, that results in a table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] how to store a query, that results in a table