Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
2 tables are taking hours of time even simple select statement.like
select * from dbo.people limit 3
if any one know the answer please reply.


Thanks & Regards
Lakshman
Posted
Updated 15-May-13 0:46am
v2
Comments
Mohibur Rashid 15-May-13 6:47am    
don't post your email
Mohibur Rashid 15-May-13 6:47am    
confusing

It is likely one of the following:

1. There is a ton of data
2. The server is slow
3. Indexing is not appropriate.
 
Share this answer
 
i got this problem becouse some quries are executing internally.in database on that tables.
First we have to see those executing process.
using
show prosseslist

then kill the process using process id.

killprocess processid
 
Share this answer
 
Comments
CHill60 22-May-13 13:02pm    
Don't post solutions to your own question! Use the Improve question link to add more detail to your post. Use that link now to post the sql that is causing the problem ... the important bit is how you are joining the two tables together

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900