Skip site navigation (1) Skip section navigation (2)

Performance over a LAN

From: "William Carney" <wcarney(at)sa(dot)quiktrak(dot)com(dot)au>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: Performance over a LAN
Date: 2004-07-23 05:50:54
Message-ID: ECEFLKEMOBBBIOOCGKEEEEPMCBAA.wcarney@sa.quiktrak.com.au (view raw or flat)
Thread:
Lists: pgsql-performance
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?

Thanks,
William


Responses

pgsql-performance by date

Next:From: Christopher Kings-LynneDate: 2004-07-23 06:02:38
Subject: Re: Performance over a LAN
Previous:From: Mark KirkwoodDate: 2004-07-22 02:47:28
Subject: Re: Beowulf Cluster & Postgresql?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group