Re: Postgres batch write very slow - what to do

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: femski <hypertree(at)yahoo(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgres batch write very slow - what to do
Date: 2007-03-15 00:52:19
Message-ID: b42b73150703141752q64ddebc2mb53c501047d0b7b6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 3/14/07, femski <hypertree(at)yahoo(dot)com> wrote:
>
> Ok, I turned off XDMCP and network bandwidth utilization dropped to less than
> 5%.
> Timings remained the same.
>
> Curiously five times faster time for Oracle came from a client running on a
> different host than the server.
> To make things worse for Postgres, when I replace "hostname" in jdbc string
> to "localhost" or 127.0.0.1
> it runs another 60% slower (446 sec vs 275 sec). Strange.
>
> Before I take this discussion to jdbc list, why is CPU utilization 100%
> during insert ? could that be a bottleneck. How to eliminate it ? These are
> Intel WordCrest 5110 Xeon cores.

when loading to oracle, does it utilize more than one core? istm your
best bet would be to split load process to 4+ backends...

merlin

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message femski 2007-03-15 01:24:36 Re: Postgres batch write very slow - what to do
Previous Message femski 2007-03-14 12:46:55 Re: Postgres batch write very slow - what to do