From: Rod Taylor <pg@rbt.ca>
To: William Carney <wcarney@sa.quiktrak.com.au>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: Performance over a LAN
Date: Fri, 23 Jul 2004 07:43:07 -0400
Message-ID: <1090582986.34076.5.camel@jester> (raw)
In-Reply-To: <ECEFLKEMOBBBIOOCGKEEEEPMCBAA.wcarney@sa.quiktrak.com.au>
References: <ECEFLKEMOBBBIOOCGKEEEEPMCBAA.wcarney@sa.quiktrak.com.au>
On Fri, 2004-07-23 at 01: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 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?
Domains sockets have significantly less work to do than inet sockets as
well as less delays for the transmission itself.
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: pg@rbt.ca, wcarney@sa.quiktrak.com.au
Subject: Re: Performance over a LAN
In-Reply-To: <1090582986.34076.5.camel@jester>
* 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