SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Query Time Out
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

indraneelkurane
Starting Member

India
1 Posts

Posted - 02/01/2012 :  07:25:29  Show Profile  Reply with Quote
We have a table with 150000 records. It has a primary key on 3 columns and a index on 5 columns.

When a select query is executed on this table usully it takes 6 seconds to execute but some time it takes more than a 60 seconds and then 'Query Time out' message is reported.

This problem is seen intermittently.

What could be the solution for this? or What approach I should follow to derive proper solution?

Indraneel

GilaMonster
Flowing Fount of Yak Knowledge

South Africa
4507 Posts

Posted - 02/01/2012 :  08:25:06  Show Profile  Visit GilaMonster's Homepage  Reply with Quote
Without seeing the query, it's hard to offer any really useful information.
Have you checked for blocking?

--
Gail Shaw
SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000