pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ODBC Benchmark
2+ messages / 1 participants
[nested] [flat]

* ODBC Benchmark
@ 2000-08-01 20:16 Mark Radulovich <radulovich@yahoo.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Mark Radulovich @ 2000-08-01 20:16 UTC (permalink / raw)
  To: pgsql-interfaces

Just in case anyone is interested, I benchmarked PG 7 and NT/IIS yesterday. I
ran an .ASP script that inserted 2000 rows using ODBC(one numeric column, one
varchar(50)) into a PG 7.0.2 database running on a Redhat Linux 6.2 computer.

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:

Machine 1:		Machine 2:
==========		==========
P400			P400
128 MB RAM		128 MB RAM
NT 4			RH Linux 6.2
IIS 4			PostgreSQL 7.02
IE 5

Note that although this test is not entirely scientific, it does show what PG7
is capable of.

Enjoy,
Mark 

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: ODBC Benchmark
@ 2000-08-07 19:00 Mark Radulovich <radulovich@yahoo.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Mark Radulovich @ 2000-08-07 19:00 UTC (permalink / raw)
  To: Cedar Cox <cedarc@visionforisrael.com>; +Cc: pgsql-interfaces


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/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-08-07 19:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-08-01 20:16 ODBC Benchmark Mark Radulovich <radulovich@yahoo.com>
2000-08-07 19:00 Re: ODBC Benchmark Mark Radulovich <radulovich@yahoo.com>

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