Browse by Tags

SQL Server 2005 how to find a rarely used index?
Published 18 May 7 5:31 AM | SSQA.net
For a SQL Server database having an index is always beneficial and from performance point of view too. But how about the clustered index which is occupying space on the database that is not used by any of the queries in the database. The Query Optimizer...
DBCC CHECKDB flusing the cache!
Published 15 May 7 9:54 AM | SqlServer-QA.net (SSQA)
Well another cache related blog in a row since last few days! I have had weird issues on one of the SQL Server 2005 SP1 instance that, whenever DBCC CHECKDB is executed the performance of particular stored procedure ( complexed calculations ) has gone...
What events will cause a flushing of plan in cache?
Published 14 May 7 7:17 AM | SqlServer-QA.net (SSQA)
We already know that using DBCC FREEPROCCACHE will have the affect of flushing all the cache with immediate affect and also DBCC FREESYSTEMCACHE (new in SQL 2005) has similar affect but will flush the plans asynchronously that are marked as unused anymore...
Reset cached plan - how to and what to?
Published 14 May 7 3:53 AM | SqlServer-QA.net (SSQA)
I don't believe you would need to reset the cache on a production server, it is not a best practice to perform in this case. Most of the times in development or test environments for the purpose of benchmarking you would need to reset the cache for...
Cached query plans and top stored procedures that are recompiled
Published 11 May 7 6:2 AM | SqlServer-QA.net (SSQA)
We all know that the cached query plans are good to go to attain the performance and no doubt that inefficient query plan will cause more distress to performance with an increased spike in CPU consumption. At the same occurrence of recompilation of a...
Get statistics on Query plan optimizer execution
Published 11 May 7 4:48 AM | SqlServer-QA.net (SSQA)
As you might know PERFMON (SYSMON) and DMVs in SQL 2005 are very handy to know internal resource information about the SQL Server engine. So you might be thinking what might be the cause of this poor performance when you have a simple query to run and...