Re: fine tuning for logging server

Поиск
Список
Период
Сортировка
От Michael Adler
Тема Re: fine tuning for logging server
Дата
Msg-id 20050331150137.GB23069@pobox.com
обсуждение исходный текст
Ответ на Re: fine tuning for logging server  (John Arbash Meinel <john@arbash-meinel.com>)
Список 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 по дате отправления:

Предыдущее
От: Stefan Weiss
Дата:
Сообщение: Re: Reading recommendations
Следующее
От: Steve Wampler
Дата:
Сообщение: Re: Reading recommendations