pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Radu-Adrian Popescu <radu.popescu@aldratech.com>
To: Gurudutt <guru@indvalley.com>
To: pgsql-php@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] Maximum Execution Timeout Error!!
Date: Wed, 19 Dec 2001 14:23:56 +0200
Message-ID: <001301c18888$07a97380$0600a8c0@rpopescu> (raw)
References: <4419501758.20011219145851@indvalley.com>

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




view thread (3+ messages)

Message-ID: <001301c18888$07a97380$0600a8c0@rpopescu>
Permalink:  ../001301c18888$07a97380$0600a8c0@rpopescu/
Also on:    postgresql.org/message-id/001301c18888$07a97380$0600a8c0@rpopescu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: radu.popescu@aldratech.com, guru@indvalley.com, pgsql-php@postgresql.org
  Subject: Re: [SQL] Maximum Execution Timeout Error!!
  In-Reply-To: <001301c18888$07a97380$0600a8c0@rpopescu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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