Using wait stats on SQL Server

I wrote two posts about wait stats:  What wait means About SQL Server saving wait stats on DMVs Now, going deeper on wait stats and see "why SQL Server is running slow?". To answer that question I like to start with the DMV sys.dm_os_wait_stats, because this DMV provides a running total of all waits encontered … Continue reading Using wait stats on SQL Server

Execution runtime information for developers ;)

Developers should use this statistics to get more information about what they just did and pay attention to high physical or logical read values. SQL Server provides commands that are used to return query statistics like SET STATISTICS IO, TIME. The IO command return information about physical, logical for tables referenced in the query and … Continue reading Execution runtime information for developers 😉

Using SQL Operations Studio Agent

SQL Operations Studio Agent is visual way to see, edit and create SQL Server jobs and everybody was asking this feature when SQL Operations Studio appears. To install this the agent follow the link https://docs.microsoft.com/en-us/sql/sql-operations-studio/sql-server-agent-extension?view=sql-server-2017. Installing the agent  With the extension installed, right-click on the instance -> Manage to see the server jobs  But, not everything … Continue reading Using SQL Operations Studio Agent

How to install SQL Server SQLPS Powershell module

SQLPS module to Powershell helps to do so many things on SQL Server without SSMS and the main objective is to automate tasks for your environment. This module isn't installed by default, so there are a couple of steps before use it. First, install the module and the simple cmdlet install-module SQLPS won't work. To … Continue reading How to install SQL Server SQLPS Powershell module