I'm not sure there's much of a way to speed up this query, and it's proprietary at any rate. We're talking about 34 fields and 25000 rows which spans four tables, it's likely to go beyond 30 seconds no matter how optimized it is? I would be willing to accept any suggestions in general in that regard however.
I'm interested in a possible solution for setting the config variable in script? I don't want the entire site to have a longer timeout but for this page I think it would be acceptable.
Thanks,
Jesse
Main Topics
Browse All Topics





by: HackneyCabPosted on 2007-07-13 at 08:58:49ID: 19482013
Well, you can increase the time limit before timeout in your php.ini file, but I'm guessing that what you're really after is help diagnosing a slow SQL query. Have you asked for help in the MySQL channel?