we can find or calculate the size of every indexes in a table through sys.indexes and sys.dm_db_partition_stats DMF. SELECT SCHEMA_NAME(tn.schema_id)
Continue readingCategory: SQL Server -DBA
SQL Server -DBA, SQL Server Services, who dropped or altered tables,procedures or databases in SQL Server, What in SQL Server
How to find or capture out currently executing long time running queries in SQL Server ?
This is one of the best script to troubleshoot SQL Server performance tuning. Below Script gives you all current running
Continue readingFind Logins having more than one session in SQL Server
— Find Logins having more than one session SELECT login_name , COUNT(session_id) AS session_count FROM sys.dm_exec_sessions WHERE is_user_process = 1
Continue readingHow to find who is connected through SSMS (Sql Server management Studio)
Through Below Script we are able to find who is connected to SSMS:- SELECT dec.client_net_address , des.host_name , dest.text FROM
Continue readingHow to find out connection count on SQL Server by IP address?
Below query identifies sources of multiple connections to your SQL Server instance and also allow DBA to identify where the
Continue readingHow to find out all tables size details of a database in SQL Server ?
We can get table details with two ways: Through below script we are able to get all table details in
Continue readingHow to find out beneficial missing indexes for a database in SQL Server?
you can find out beneficial missing index in a database through below Script. It is very important to know that
Continue readingPerformance Tunning:- List out unused indexes in a database In SQL Server ?
Through Below script we can find out unused indexes in a database. Sometimes we have created some indexes in a
Continue readingPerformance Tunning:- Remove Index fragmentation for a database in SQL Server
Through Below Script we can remove index fragmentation of a database in Sql Server.This is a very useful script to
Continue readingHow to resolve error ‘A network-related or instance-specific error occurred while establishing a connection to SQL Server?
Error: Sometimes you may get this below Error while connecting to SQL Server instance:- “A network-related error or instance-specific error
Continue reading