pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Radulovich <radulovich@yahoo.com>
To: Cedar Cox <cedarc@visionforisrael.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: ODBC Benchmark
Date: Mon, 7 Aug 2000 12:00:45 -0700 (PDT)
Message-ID: <20000807190045.5561.qmail@web114.yahoomail.com> (raw)


7.9 inserts per second is ok. I reran the test twice though, using IIS/ASP and
eight clients (all doing 200 inserts) with the page automatically reloading
every 60 second, and got 16.8 inserts per second. This is probably due to a
timing issue somewhere, because it significantly exceeds (doubles) the original
script that ran on one client. I ran this script over a 14 hour period and got
roughly 900,000 inserts.

Finally, I wanted to see where the load was. I ran a similar PHP script on the
Linux box that ran PG7, and got a whopping 52.4 inserts per second (10,000
inserts in 3.18 minutes).

So the results would suggest that either IIS/ASP, the ODBC driver, or the
network is the bottleneck. However, we run a switched 100Mbit network, so I am
pretty sure that it isn't the network. My guess is the PSQLODBC driver (
Insight Distribution Systems, version 6.50.00.00). 

In any case, my test show one thing - PGSQL itself is NOT the limiting factor,
which was good news for me.

-Mark

--- Cedar Cox <cedarc@visionforisrael.com> wrote:
> 
> > I ran into a few small problems, but they mostly had to do with the script
> > reloading before finishing. I got roungly 600,000 inserts in a 21 hour
> period -
> > that works out to 7.9 inserts per second!! Hardware is as follows:
> 
> Now you've perked my curiosity.  Is this good or bad?  How does IIS
> compare?
> 
> -Cedar
> 
> 



__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/



view thread (2+ messages)

Message-ID: <20000807190045.5561.qmail@web114.yahoomail.com>
Permalink:  ../20000807190045.5561.qmail@web114.yahoomail.com/
Also on:    postgresql.org/message-id/20000807190045.5561.qmail@web114.yahoomail.com

 · 

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-interfaces@postgresql.org
  Cc: radulovich@yahoo.com, cedarc@visionforisrael.com
  Subject: Re: ODBC Benchmark
  In-Reply-To: <20000807190045.5561.qmail@web114.yahoomail.com>

* 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