gofaster has asked for the wisdom of the Perl Monks concerning the following question:
We have a web service using:
Redhat Linux AS3 Perl 5.8.5 Apache 1.3.10 mod_perl mod_soap SOAP::Lite <<our code>> DBI Apache::DBI DBD::Oracle OCI
Which talks to a database server over the local network (during testing), which is:
Redhat Linux AS3 Oracle Enterprise Database Server 9i
Using Apache::DProf, it looks like a lot of the real (wall clock) time is happening during:
DBI::connect_cached x 121 7.58s = (0.02 + 7.56)s DBD::Oracle::db::ping x 121 7.56s = (0.00 + 7.56)s DBD::_mem::common::DESTROY x 121 0.00s DBI::common::DESTROY x 242 0.00s DBI::common::FETCH x 121 0.00s DBI::db::prepare x 121 7.56s = (0.00 + 7.56)s DBD::Oracle::db::prepare x 121 7.56s = (0.00 + 7.56)s DBD::Oracle::st::_prepare x 121 7.56s
But the same view, of user+system time, shows almost no time there.
On the database side, a SQLNet trace shows that it is just waiting (during these long transactions) for the client side to finish the request.
All of the times within the database itself are sub-second.
Has anyone else experienced anything like this? Any idea what would cause about one transaction in a thousand to take upwards of 40x the average processing time?
Thanks for any ideas!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache::DBI + DBD::Oracle performance problem
by etcshadow (Priest) on Mar 30, 2005 at 23:54 UTC | |
by jhourcle (Prior) on Mar 31, 2005 at 03:00 UTC | |
|
Re: Apache::DBI + DBD::Oracle performance problem
by etcshadow (Priest) on Mar 31, 2005 at 20:03 UTC | |
|
Re: Apache::DBI + DBD::Oracle performance problem
by dragonchild (Archbishop) on Mar 31, 2005 at 13:21 UTC |