Re: Fsync on/off For Various Filesystems/Platforms (Ending Note)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fsync on/off For Various Filesystems/Platforms (Ending Note)
Дата
Msg-id 4146.1015688278@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fsync on/off For Various Filesystems/Platforms (Ending Note)  (Mark kirkwood <markir@slingshot.co.nz>)
Список pgsql-general
Mark kirkwood <markir@slingshot.co.nz> writes:
> I forgot to mention :
> 1) the test involved usng copy to load the rows !

Still not much help.  Was it a single COPY command, or a bunch of them?

The fsync overhead is (and always has been) a per-transaction cost,
so a benchmark that gives you no idea how many transactions were
committed isn't much help.  Also, if there was only one transaction
commit in your 5-minute benchmark run, then I can see why fsync would
be pretty irrelevant ... try something with one commit per inserted
row if you want to see a bigger penalty ...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to check for successfull inserts
Следующее
От: Francisco Reyes
Дата:
Сообщение: Re: decimal(5) vs int8. Which more efficient.