I have a SQL Server 2005 database which has about 30-40 connections to the same database during business hours.
When I executed a report query (this query takes about 30mins to 1 hour), the other connections started to get timeout when doing select/write on some particular tables. This report query does SELECT with two or three level of sub-queries and joins. I looked at SQL Server Log and I couldn't find any error at all. Looking at Activity Monitor doesn't show any process running except tempdb (which shows Running). Checking to see if there is any locks on tables, show only shared lock.
I went further and check tempdb had enough space (500MB grow-able to 10GB).
Do you know what might cause this problem? Where should I start to look at? (I am looking at optimizing to report query right now)