SQL 2014 Admin, Part 4 of 5: Server Optimization
Interactive

SQL 2014 Admin, Part 4 of 5: Server Optimization

Biz Library
Updated Feb 04, 2020

In this course you are going to see a few topics covering some basic optimizing and troubleshooting in SQL Server. You will see what Trace flags are and how they are used to alter the behavior of SQL Server. Sometimes this is useful, sometimes it is dangerous and sometimes it is just bizarre what they do. You will see how the use of trace flags to capture deadlock information so you can more efficiently troubleshoot the cause. Then you will see blocks, a common issue in SQL Server and see how to determine which process is blocking others and how to resolve it. Next you will then go through a series of DMVs that are quite useful in optimizing and troubleshooting SQL Server. You‘ll see some DMV based queries used all the time to check indexes fragmentation and usage along with a query to identify the most expensive queries in your database.

Lesson 1:

  • Trace Flags
  • Trace Flags - Enable/Disable
  • Trace Flags - Monitoring
  • Trace Flags - Deadlocks
  • Trace Flags - Useful
  • Trace Flag - Other
  • Demo: Trace Flags
  • Demo: Deadlocking
  • Demo: Log File.

Lesson 2:

  • Dynamic Management Views
  • DMV - Execution Related
  • DMV - Index Related
  • DMV - Disk Stats & OS/Hardware
  • Demo: DMVs
  • Demo: DMV Functions.

Lesson 3:

  • Extended Events
  • Demo: Extended Events
  • Demo: Sessions.

Lesson 4:

  • Blocking
  • Blocking - Detecting
  • Blocks - Killing Process
  • Deadlocks
  • Demo: Identifying Blocking
  • Demo: Blocking and DMVs
  • Demo: Deadlocks.