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

Поиск
Список
Период
Сортировка
От Florian Weimer
Тема Re: Inserting 8MB bytea: just 25% of disk perf used?
Дата
Msg-id 82aawgoh09.fsf@mid.bfk.de
обсуждение исходный текст
Ответ на Inserting 8MB bytea: just 25% of disk perf used?  ("fkater@googlemail.com" <fkater@googlemail.com>)
Ответы Re: Inserting 8MB bytea: just 25% of disk perf used?
Список pgsql-performance
> Do you have any further idea why 16MB/s seems to be the limit here?

BYTEA deserialization is very slow, and this could be a factor here.
Have you checked that you are in fact I/O bound?

You can speed things up by sending the data in binary, by passing
approriate parameters to PQexecParams().

--
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 по дате отправления:

Предыдущее
От: Matthew Wakeling
Дата:
Сообщение: Re: Slow "Select count(*) ..." query on table with 60 Mio. rows
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Slow "Select count(*) ..." query on table with 60 Mio. rows