SQL Low performance

Dears,

I am connection to SQL SERVER 2005 using an ODBC connection through ASP. I have a database with about 2 million records. When I run a huge query from a client all other clients can not work during mentioned huge query return results. Sometimes the time will goes far an all other connections will drop due to Time Out problem.

Any suggestion



Answer this question

SQL Low performance

  • quix ltd

    Check indexes first. If you do a serach in a data or join tables and do not have proper indexes on a joined/searched fields, it will work very slow. Also check if your query locks records. If it does, it is also possible that other users will not be able to get results until you finish to work with this query. Another suggestion is to minimize selection, especially i a Web environment. There is no reason to make huge selections

  • Rup

    Moving to the "SQL Server Database Engine" Forum.



  • SQL Low performance