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

From: Ivan Voras <ivoras(at)freebsd(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Inserting 8MB bytea: just 25% of disk perf used?
Date: 2010-01-14 14:49:16
Message-ID: hinat9$ahg$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

fkater(at)googlemail(dot)com wrote:
> Hello together,
>
> I need to increase the write performance when inserting
> bytea of 8MB. I am using 8.2.4 on windows with libpq.

>
> This takes about 50s, so, 800MB/50s = 16MB/s.
>
> However the harddisk (sata) could write 43 MB/s in the worst
> case! Why is write performance limited to 16 MB/s?
>
>
> Do you have any further idea why 16MB/s seems to be the
> limit here?

Are you doing it locally or over a network? If you are accessing the
server over a network then it could be the location of the bottleneck.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andy Colson 2010-01-14 14:49:36 Re: a heavy duty operation on an "unused" table kills my server
Previous Message fkater@googlemail.com 2010-01-14 14:29:03 Inserting 8MB bytea: just 25% of disk perf used?