pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@qwest.net>
To: William Carney <wcarney@sa.quiktrak.com.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance over a LAN
Date: Fri, 23 Jul 2004 00:29:11 -0600
Message-ID: <1090564151.709.59.camel@localhost.localdomain> (raw)
In-Reply-To: <ECEFLKEMOBBBIOOCGKEEEEPMCBAA.wcarney@sa.quiktrak.com.au>
References: <ECEFLKEMOBBBIOOCGKEEEEPMCBAA.wcarney@sa.quiktrak.com.au>

On Thu, 2004-07-22 at 23:50, William Carney wrote:
> Hello,
> 
> Using a test client application that performs 100000 insert operations on a
> table, with the client application running on the same machine as the
> Postgres server, I get the following results for the time taken to run the
> test:
> 
> Unix domain socket connection: 26 seconds
> Inet domain socket ('localhost'): 35 seconds
> 
> The table has two columns, a timestamp and a character(16), no indexes.
> 
> But with the server running on one machine and the client running on
> another, the two machines being connected by a 100 Mb ethernet, with nothing
> else on the network, this test takes 17 minutes to run. I have tried
> changing the frequency of COMMIT operations, but with only a small effect.
> 
> The machines used are P4s running FreeBSD 5.2.1. The Postgres version is
> 7.4.3. Can anyone tell me why there's such a big difference?

Are you using the exact same script locally as across the network?

Have you checked to see how fast you can copy just a plain text file
across the network connection?

Have you checked your system to see if you're getting lots of network
errors or anything like that?




view thread (10+ messages)  latest in thread

Message-ID: <1090564151.709.59.camel@localhost.localdomain>
Permalink:  ../1090564151.709.59.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1090564151.709.59.camel@localhost.localdomain

 · 

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: smarlowe@qwest.net, wcarney@sa.quiktrak.com.au
  Subject: Re: Performance over a LAN
  In-Reply-To: <1090564151.709.59.camel@localhost.localdomain>

* 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