T-SQL queries for performance monitoring, query tunning for MS SQL Server