Re: php, odbc and informix, speed problem
Posted in 2004
Just a hunch... You have a memory leak in your windblows machine. Its just a theory, but can you try to connect to the database from a seperate machine and run a similar query? Since your post indicates that its a read vs write/update database, the most likely cause is in your apache/php scripts, ODBC driver, etc ... Of course you're running an unsupported or soon to be unsupported release. Upgrade to 7.31 ... And get a real OS. Unix Sys V? You mean SCO? Move to SuSE! HTH -Gumby Christophe wrote: > Hello everyone > > First here are the computers involved : > > Web server : windows 2000, apache server, php 4.3.3 > > ODBC version : IBM Informix Connect 2.81 > > Informix server : > OS : UNIX system V Release 4.1 > Informix version : INFORMIX-SQL Version 7.20.UD6X4 > > I have several php scripts that make queries on the informix server, > most of the time to a table of about 1.000.000 records that contain > people infos. > > The problem is : at the beginning of the day, all is going fine, the > pages are going to the sreen fastly, and so on... > > During the day, the speed the pages are showing is decreasing, and at > a certain time, time out... > > I have checked all my scripts, each time i do an open database, i do a > close dtabase, the same for the queries. > > On the informix server, there are about 200 connections at the same > time, via forms and so, and it works fine. > > Only the "web" part is going slower > > Does anyone have an idea from where it can come ? > > (Sorry for my bad english ...) > > Thanks in advance !