Exam Ref 70-764 Administering a SQL Database Infrastructure by Isakov Victor

Exam Ref 70-764 Administering a SQL Database Infrastructure by Isakov Victor

Author:Isakov, Victor [Isakov, Victor]
Language: eng
Format: azw3
Publisher: Pearson Education
Published: 2017-09-29T04:00:00+00:00


FIGURE 3-2 Activity Monitor

Identify sessions that cause blocking activity

Let’s now move on to how to identify sessions that are causing blocking activity. Blocking is a common cause of poor performance in a database engine where multiple transactions are isolated from each other through locking. By identifying sessions that are causing blocking you will be able to kill the offending sessions, engage your developers to rewrite their code and reindex tables appropriately.

You saw in Figure 3-2 an example of a query whose threads are blocking itself through parallelism, so Activity Monitor can be used to filter sessions that are being blocked through the Blocked By column filter. The database engine offers a number of different techniques that you can use to identify sessions that cause blocking. The techniques include, but are not limited to:

Using Activity Monitor

Querying any of the following DMVs:

[sys].[dm_exec_requests]

[sys].[dm_os_waiting_tasks]

Executing the [sp_who], or the undocumented [sp_who2] system stored procedures. These will most likely not be on the exam.

Using the blocked processed report.

Configuring and consuming the blocked process threshold reports in the database engine.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Popular ebooks
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9796)
Red Hat Certified Specialist in Services Management and Automation EX358 Exam Guide by Eric McLeroy(6163)
The KCNA Book by Nigel Poulton(4242)
Microsoft Security, Compliance, and Identity Fundamentals Exam Ref SC-900 by Dwayne Natwick(3611)
Designing and Implementing Microsoft Azure Networking Solutions by David Okeyode(3515)
Microsoft Security Operations Analyst Exam Ref SC-200 Certification Guide by Trevor Stuart and Joe Anich(3466)
Microsoft Security Operations Analyst Exam Ref SC-200 Certification Guide by Trevor Stuart & Joe Anich(3390)
TCP IP by Todd Lammle(2982)
Microsoft Power BI Data Analyst Certification Guide by Ed Corcoran Orrin Edenfield(2921)
Unity Certified Programmer: Exam Guide by Philip Walker(2563)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2520)
Networking A Beginner's Guide by Bruce Hallberg(2209)
Microsoft Power Platform Solution Architect's Handbook by Hugo Herrera(2037)
31 Days Before Your CompTIA A+ Exams (Shanette Luellen's Library) by Benjamin Patrick Conry(1860)
CompTIA A+ Practice Tests Core 1 (220-1101) and Core 2 (220-1102) by Ian Neil and Mark Birch(1794)
MCSA Windows Server 2016 Study Guide: Exam 70-741 by William Panek(1666)
PHP 7 Zend Certification Study Guide by Andrew Beak(1645)
Healthcare Information Security and Privacy (All-In-One) by Sean Murphy(1551)
CompTIA A+ Certification Guide (220-901 and 220-902) by Matthew Bennett(1526)
RHCSA & RHCE Red Hat Enterprise Linux 7: Training and Exam Preparation Guide (EX200 and EX300), Third Edition by Asghar Ghori(1488)