Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / November 2007

Tip: Looking for answers? Try searching our database.

iis -> php -> odbc -> mssql timeout

Thread view: 
edfialk - 30 Nov 2007 21:20 GMT
Hello,

I have a php application on a Microsoft IIS server that can currently
connect and execute many queries to my MsSQL server. Unfortunately,
there are a few tables I need to serve that I'm thinking are just too
big for php/odbc.

Again, many SQL queries (select * from table) work fine, but when I
try inner joins and groups, I get:

CGI Timeout
The specified CGI application exceeded the allowed time for
processing. The server has deleted the process.

I think it's an IIS problem, but I could be wrong.  Either way I have
no idea how to extend the timout.
If anyone could throw out some advice, I would be extremely
appreciative.

Thanks!
-Ed
David Harper - 30 Nov 2007 22:10 GMT
> Hello,
>
[quoted text clipped - 14 lines]
> If anyone could throw out some advice, I would be extremely
> appreciative.

If I were in your position, my first thoughts would be:

Do my tables have all of the necessary/appropriate indexes?  Missing
indexes can *reall* slow a query, especially a join.

Are my SQL queries as efficient as they could be?  Use EXPLAIN to see
which indexes are being used.

Does my MySQL server have large enough internal buffers, especially the
key buffer which is used to store indexes for tables?  It's no use
having indexes if the server cannot keep them in memory long enough to
use them.

By the way, this is a Java database programming newsgroup.  You're using
PHP, not Java.  Why on earth did you post here, and not a PHP-related
group?  Fortunately, your problems are likely to be unrelated to your
choice of programming language.

David Harper
Cambridge, England


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.