pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ivan Voras <ivoras@freebsd.org>
To: pgsql-performance@postgresql.org
Subject: Re: Inserting 8MB bytea: just 25% of disk perf used?
Date: Thu, 14 Jan 2010 15:49:16 +0100
Message-ID: <hinat9$ahg$1@ger.gmane.org> (raw)
In-Reply-To: <20100114142903.GB2973@comppasch2>
References: <20100114142903.GB2973@comppasch2>

fkater@googlemail.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.




view thread (16+ messages)  latest in thread

Message-ID: <hinat9$ahg$1@ger.gmane.org>
Permalink:  ../hinat9$ahg$1@ger.gmane.org/
Also on:    postgresql.org/message-id/hinat9$ahg$1@ger.gmane.org

 · 

reply

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: ivoras@freebsd.org
  Subject: Re: Inserting 8MB bytea: just 25% of disk perf used?
  In-Reply-To: <hinat9$ahg$1@ger.gmane.org>

* 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