Re: Getting even more insert performance (250m+rows/day)

Поиск
Список
Период
Сортировка
От Daniel J. Luke
Тема Re: Getting even more insert performance (250m+rows/day)
Дата
Msg-id DAFB8564-C235-4E36-A976-A01C9371E408@geeklair.net
обсуждение исходный текст
Ответ на Re: Getting even more insert performance (250m+rows/day)  ("Dave Dutcher" <dave@tridecap.com>)
Ответы Re: Getting even more insert performance (250m+rows/day)  (Mark Lewis <mark.lewis@mir3.com>)
Список pgsql-performance
On May 24, 2006, at 4:02 PM, Dave Dutcher wrote:
> If you can live with possible database corruption, you could try
> turning
> Fsync off.  For example if you could just reinsert the data on the off
> chance a hardware failure corrupts the database, you might get a
> decent
> improvement.

I tried, but I didn't see much of an improvement (and it's not really
acceptable for this application).

> Also have you tried creating the index after you have inserted all
> your
> data?  (Or maybe copy already disables the indexes while inserting?)

The data gets inserted in batches every 5 minutes and I potentially
have people querying it constantly, so I can't remove and re-create
the index.

--
Daniel J. Luke
+========================================================+
| *---------------- dluke@geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+



Вложения

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

Предыдущее
От: "Steinar H. Gunderson"
Дата:
Сообщение: Re: Getting even more insert performance (250m+rows/day)
Следующее
От: "Daniel J. Luke"
Дата:
Сообщение: Re: Getting even more insert performance (250m+rows/day)