Database Solutions

How to Find SQL Server Instances Using Discontinued Trace Flags

With the help of Trace Flags we can control specific SQL Server characteristics. Unless there is a very good reason, many expert DBAs never set trace flags for entire instance. If you miss to remove discontinued trace flags from SQL Server's startup parameters, you will see error messages in SQL Server Logs. In this article we will learn how to identify SQL instances that are still using discontinued trace flags. Collect flags Execute Script 1 from your central server. For each server name...

Read more »

How to Improve SQL Server Database Performance Globally

Microsoft's SQL Server is a DBA friendly product. Nevertheless, at certain times it might not be fast enough which will result in customer escalations. In such situations "Performance Tuning" is the only solution but many DBA's are neither aware of it nor know where to start. In this article, we will learn how to improve database performance at a global level. Performance improvement Any experienced DBA would have the ability to solve an issue and identify the root cause that affected the...

Read more »

How to Read SQL Server Configuration and Installation Information from Registry

Many DBAs rely on Windows Registry search to get info about SQL Server Instances. It is not necessary to go through the registry for fetching SQL Server information. In this article, we will learn how to use TSQL and retrieve SQL Server information from Windows Registry. Get the permission: Before running the script, user account or the SQL Service account that would be running this script should have view server state permission on all servers from which data would be collected. If you run...

Read more »