Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > IBM DB2 > Re: express-c a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 8837 of 9520
Post > Topic >>

Re: express-c and php very slow

by Christian Welzel <gawain@[EMAIL PROTECTED] > Apr 29, 2008 at 06:37 PM

Hi Dave,

> I'd hazard a guess that
> your PHP app is the only thing connecting to the database? 

Yes, it is.

> I'd also guess that
> you're not using connection pooling / persistent connections?

Correctly. I dont know if the php-db2-driver sup****ts this, but i 
investigate this.

> 2) A better idea is to change the application to use persistent
> connections / connection pooling. However, before doing that I'd use
> ACTIVATE DB just to see if this is actually what the problem is.

I activated the database and now the requests are handled very
fast. Seems this solved my problem at a first step.
As we are in a very early state of development, this solution is 
ok for me, but for later use i will look for some pooling code
as you suggested.

-- 
 MfG, Christian Welzel aka Gawain@[EMAIL PROTECTED]
  GPG-Key:     http://www.camlann.de/key.asc
  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15
 




 4 Posts in Topic:
express-c and php very slow
Christian Welzel <gawa  2008-04-29 16:35:39 
Re: express-c and php very slow
"Dave Hughes" &  2008-04-29 10:46:05 
Re: express-c and php very slow
Christian Welzel <gawa  2008-04-29 18:37:14 
Re: express-c and php very slow
"Dave Hughes" &  2008-04-29 13:08:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 20:41:15 CST 2008.