From: Florian Weimer <fweimer@bfk.de>
To: fkater\@googlemail.com <fkater@googlemail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Inserting 8MB bytea: just 25% of disk perf used?
Date: Thu, 14 Jan 2010 15:14:46 +0000
Message-ID: <82aawgoh09.fsf@mid.bfk.de> (raw)
In-Reply-To: <20100114142903.GB2973@comppasch2>
References: <20100114142903.GB2973@comppasch2>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: fweimer@bfk.de, fkater@googlemail.com
Subject: Re: Inserting 8MB bytea: just 25% of disk perf used?
In-Reply-To: <82aawgoh09.fsf@mid.bfk.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox