| От | Ed Loehr |
|---|---|
| Тема | [GENERAL] fsync performance impact |
| Дата | |
| Msg-id | 38614845.A012B24@austin.rr.com обсуждение исходный текст |
| Ответ на | Re: [GENERAL] Getting value of SERIAL column after insert from libpq? (Howie <caffeine@toodarkpark.org>) |
| Список | pgsql-general |
Thought some would like to see a little quatitative data on the impact of running
with the -F flag...
Test case: Using psql via stdin to load 5,238 inserts of the following form:
INSERT INTO exchange_rate
( from_currency_id, to_currency_id, rate, start_time)
VALUES
(150,164, 6.01500000, '09/04/1999');
Platform: RH6.1, 2.2.12-20smp, dual P3 600Mhz, 1 Gb RAM, 3 10K rpm scsi drives
in software raid.
Without -F, it loaded in 228 seconds (~23 inserts/sec).
With -F, it loaded in 10 seconds (~524 inserts/sec).
2200% boost...
Remember this performance boost comes at the expense of increased risk of data
loss in the event of a system crash.
Cheers,
Ed Loehr
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера