Saturday, October 13, 2012

How to find index usage against table

If you want to find out index usage for user table then  sys.indexes and sys.dm_db_index_usage_stats that give you more details. You should look for user seeks counts on this result

Select OBJECT_NAME(i.object_id) AS table_name,
i.name AS index_name,i.type_desc,
ius.user_seeks,ius.last_user_seek
From sys.indexes i
Inner Join sys.dm_db_index_usage_stats ius
on i.object_id = ius.object_id
and i.index_id = ius.index_id
and ius.database_id = DB_ID()
where ius.object_id = OBJECT_ID('dbo.Customers')
go

Tuesday, October 09, 2012

SQL Server 4.2


 

Monday, October 08, 2012

SQL Books Collection





SQL 2000 Books

SQL Server 2000 is best friend for DBAs

SQL 7.0 Books

The version SQL Server 7.0 are new era for SQL Server life for DBAs, I was one fortunate to read this books

SQL 6.5 Books

This is one of my favourite SQL Server 6.5 Book and SQL Server Performance Optimization and Tuning Handbook

Friday, October 05, 2012

SQL Server Connections 2012 at the Bellagio in Las Vegas

Oct 29-Nov 1 at the Bellagio in Las Vegas  for the hottest industry event fo this year 2012:

SQL Server Connections is packed with sessions from expert speakers providing you with valuable information that you can take back to work and put into practice immediately.

http://www.devconnections.com/shows/fall2012/default.aspx?s=191