Re: Inserting 8MB bytea: just 25% of disk perf used?

Поиск
Список
Период
Сортировка
От Florian Weimer
Тема Re: Inserting 8MB bytea: just 25% of disk perf used?
Дата
Msg-id 82bpgnh1eb.fsf@mid.bfk.de
обсуждение исходный текст
Ответ на Re: Inserting 8MB bytea: just 25% of disk perf used?  (Matthew Wakeling <matthew@flymine.org>)
Список pgsql-performance
* Matthew Wakeling:

> The data needs to be written first to the WAL, in order to provide
> crash-safety. So you're actually writing 1600MB, not 800.

In addition to that, PostgreSQL 8.4.2 seems pre-fill TOAST files (or
all relations?) with zeros when they are written first, which adds
another 400 to 800 MB.

--
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: ext4 finally doing the right thing
Следующее
От: Pierre Frédéric Caillaud
Дата:
Сообщение: Re: ext4 finally doing the right thing