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.
--- Cedar Cox <cedarc(at)visionforisrael(dot)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
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
pgsql-interfaces by date
|Next:||From: Christian Herbert||Date: 2000-08-08 13:39:45|
|Previous:||From: Peter Mount||Date: 2000-08-07 06:44:56|
|Subject: RE: PostgresqlDataSource|