You need to sign in to do that
Don't have an account?
Egoehring
Message Edited by Egoehring on 06-18-2008 01:57 PM
Query TimeOut
Gang,
I was wondering if anyone could help here. I am trying to backup my system to another database. I am starting to get a Query Timeout when I query the Task table. It seems that if I do a simple query like "Select Id From Task" the query TimesOut. Sometimes it works, but most of the time it errors out. The Task table has over 325000 records.
I also tried the same query with the Apex Explorer 8 and it timesout as well.
All other tables are working fine. Any thoughts?
Message Edited by Egoehring on 06-18-2008 01:57 PM
set_time_limit ( int $seconds ).
Since you are using a QueryMore loop to retrieve all of your records, you can reset the timer each time you go through the loop.
Something like this should work.