Viewing 15 posts - 301 through 315 (of 464 total)
Each index (not heap) has a "natural order" ie the order in which it was defined, but you just don't get a guarantee that the results will be returned in...
May 7, 2008 at 9:49 pm
I think you get a log message whenever a cache is flushed, along the lines of :
SQL Server has encountered 12 occurrence(s) of cachestore flush for the 'SQL Plans' cachestore...
April 29, 2008 at 10:06 am
Gail was referring to resource governor ... new in 2008. It lets you assign connections to different workloads, then place those workloads into groups which can be assigned min...
April 28, 2008 at 8:28 am
I didn't see it mentioned above, you might want to check sys.dm_os_waiting_tasks for the spid running the query and see what it is waiting on.
April 24, 2008 at 2:53 pm
Depending on how complex the query is, you might look at adding/modifying indexes or changing the query to generate a different plan. Without seeing the existing query or plan...
April 24, 2008 at 12:22 pm
Use SSMS, select the ABCCom database on X and right click, tasks, restore database. Choose the backup file you want and go to the options tab. Select "overwrite...
April 24, 2008 at 12:01 pm
As for your other question - having namekey in the first position is correct, but then other factors come into play. The optimiser knows that the index is a...
April 24, 2008 at 11:55 am
Using the phone book analogy, you are searching for people with a first name of 'Bob' but the book is listed by last name then first name - you have...
April 24, 2008 at 11:44 am
Because the index doesn't cover the entire query, it is faster to scan the clustered index to get the information. Add mydate as the first column and it will...
April 24, 2008 at 11:12 am
Your index is on mydate, col1, col2, col3 - in that order?
April 24, 2008 at 9:38 am
GilaMonster (4/24/2008)
April 24, 2008 at 8:19 am
You should put the most selective column first ie the column with the greater number of distinct values.
The index would be ordered by the first column then second column so...
April 23, 2008 at 10:38 pm
I would bet on one of two things:
a) the stats are old, or inaccurate for the date range
b) it's more efficient to just use a scan - the selectivity of...
April 23, 2008 at 10:24 pm
It depends on whether the user is the owner, or is in the db_owner group. From BOL:
If the database being restored does not exist, the user must have CREATE...
April 23, 2008 at 4:01 pm
I would think that you can easily put together a job that queries sys.dm_exec_sessions and sys.dm_exec_requests to find any tasks run by a subset of users that are using excessive...
April 18, 2008 at 12:26 pm
Viewing 15 posts - 301 through 315 (of 464 total)