Regarding the 30" timeout, you should edit your php.ini and modify the line
that reads
max_execution_time = 30
Also try to human-optimize your queries, use EXPLAIN to analyse you query
plans, throw in some indexes, bla-bla-bla.
You should be able to get more help when providing some pieces of code/db
structures/EXPLAIN outputs etc.
Good luck till then.
--
Radu-Adrian Popescu
CSA, DBA, Programmer
Aldratech
----- Original Message -----
From: "Gurudutt" <guru@indvalley.com>
To: <pgsql-php@postgresql.org>
Cc: <pgsql-sql@postgresql.org>
Sent: Wednesday, December 19, 2001 11:28
Subject: [SQL] Maximum Execution Timeout Error!!
> Hello,
>
> I am using POSTGRESQL Version 7.1.3 and PHP to implement a call center
> software. We have real -time updations and querying on the database
> almost every 30 seconds.
>
> I am using PEAR DB to realize data abstraction layer.
>
> I am regularly doing VACUUM ANALYZE. I don't know what is making the
> system to be very slow, but it takes nearly a minute plus execution
> time to do simple fetch operations.
>
> How do I make the system, to perform much faster.
>
> Sometimes I also get the following error..
>
> ------- ERROR STARTS------
>
> Fatal error: Maximum execution time of 30 seconds exceeded in DB/pgsql.php
on line 163
>
> ------- ERROR ENDS------
>
>
>
> --
> Best regards,
> Gurudutt mailto:guru@indvalley.com
>
> Life is not fair - get used to it.
> Bill Gates
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html