Presentation is loading. Please wait.

Presentation is loading. Please wait.

C:\Users\> t An affair with SQL Server for nearly a decade Was part of SQL Escalation Services and Premier Field Engineering team.

Similar presentations


Presentation on theme: "C:\Users\> t An affair with SQL Server for nearly a decade Was part of SQL Escalation Services and Premier Field Engineering team."— Presentation transcript:

1

2 C:\Users\> whoami @banerjeeami t An affair with SQL Server for nearly a decade Was part of SQL Escalation Services and Premier Field Engineering team at Microsoft Now a Sr. Program Manager on the Microsoft SQL Server (TIGER) product team focusing on HADR and Replication Speaker at SQL PASS, 24HOP, TechEd, Virtual TechDays, User Groups, SQL Saturdays, SQLBITS, SQL NEXUS Dabble around with supportability tools and have contributed to SQL Backup Simulator SQLDIAG/PSSDIAG Manager and SQL Nexus Co-authored “Professional SQL Server 2012: Internals and Troubleshooting” Own TroubleshootingSQL.com Also found on http://aka.ms/sqlserverteamhttp://aka.ms/sqlserverteam @mssqltiger

3 Please USE your cell phones #XEventNinja 3

4

5

6

7 Error that has a severity >=20 Memory-related errors which include 17803, 701, 802, 8645, 8651, 8657 and 8902 A record of any non-yielding scheduler problems Any deadlocks that are detected Sessions that have waited on latches (or other interesting resources) for > 15 seconds Waiting on locks for > 30 seconds Lon preemptive waits CLR allocation and virtual allocation failures System component results from sp_server_diagnostics Instance health CLR Allocation failures Connectivity errors Security errors

8

9 DBA INVESTIGATION: DO NOT CROSS ColumnDescription Sql_handleHash map of the SQL text of the request. Is nullable. Plan_handleHash map of the plan for SQL execution. Is nullable. Query_hashBinary hash value calculated on the query and used to identify queries that have similar logic. You can use the query hash to determine the aggregate resource usage for queries that differ only by literal values. Query_plan_hashBinary hash value calculated on the query execution plan and used to identify similar query execution plans. You can use the query plan hash to find the cumulative cost of queries that have similar execution plans. Ideal_memory_kbIdeal memory grant size in KB. Granted_memory_kbGranted memory in KB. Used_memory_kbUsed memory in KB. Usage_percentUsed/granted memory for easy filtering. DopDegree of parallelism. Granted_percentGranted/ideal memory for easy filtering.

10 DBA INVESTIGATION: DO NOT CROSS

11

12 DBA INVESTIGATION: WILL TAKE TIME

13

14

15

16 DEMO XEvents

17 Blog: Aka.ms/sqlserverteam www.troubleshootingsql.com Twitter: @banerjeeamit @mssqltiger Feedback: http://speakerscore.com/SQLBITSXEvents

18


Download ppt "C:\Users\> t An affair with SQL Server for nearly a decade Was part of SQL Escalation Services and Premier Field Engineering team."

Similar presentations


Ads by Google