58
1 Waits and Queues and You Thomas LaRock Senior DBA, Confio Software

Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

  • Upload
    vohanh

  • View
    230

  • Download
    4

Embed Size (px)

Citation preview

Page 1: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

1

Waits and Queues and You Thomas LaRock

Senior DBA, Confio Software

Page 2: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Who Am I?

@SQLRockstar http://thomaslarock.com

Page 3: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Learning to Drive

3

Page 4: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Learning to DBA

4

Page 5: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Car Engine

5

Page 6: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

SQL Server is a Black Box

6

INPUT OUTPUT

Page 7: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

SQLOS

7

Page 8: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

8

Page 9: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

SQLOS

9

Page 10: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Agenda

Describe Execution Model

10

Page 11: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Agenda

Describe Execution Model

Use some DMVs

11

Page 12: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Agenda

Describe Execution Model

Use some DMVs

Show why we measure waits (use case)

12

Page 13: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Execution Model Example

13

Page 14: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Your Tax Dollars at Work

14

Page 15: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Your Tax Dollars at Work

15

Page 16: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

16

Page 17: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

17

Page 18: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

18

Page 19: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

19

Page 20: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

20

Execution Model (TSA)

Passport checked

Assigned a lane

Put stuff on belt

Head to gate

Freedom Pat

Page 21: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

21

Execution Model (SQLOS)

Init

Runnable

Running

Done

Waiting

Page 22: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

22

CPU 1

SPID 77 – Running

CPU 1 Queue

SPID 81 – Runnable

SPID 91 – Runnable

Waiter Queue

SPID 62 – ASYNC_NETWORK_IO

SPID 63 – CXPACKET

SPID 67 – PAGEIOLATCH_SH

SPID 74 – LCK_M_S

SPID 79 – LATCH_EX

SPID 87 – WRITELOG

Execution Model (SQLOS)

Page 23: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

23

CPU 1

SPID 77 – Running

CPU 1 Queue

SPID 81 – Runnable

SPID 91 – Runnable

SPID 67 – Runnable

Execution Model (SQLOS)

Waiter Queue

SPID 62 – ASYNC_NETWORK_IO

SPID 63 – CXPACKET

SPID 67 – PAGEIOLATCH_SH

SPID 74 – LCK_M_S

SPID 79 – LATCH_EX

SPID 87 – WRITELOG

Page 24: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

24

CPU 1

SPID 77 – Running

CPU 1 Queue

SPID 81 – Runnable

SPID 91 – Runnable

SPID 67 – Runnable

Execution Model (SQLOS)

Waiter Queue

SPID 62 – ASYNC_NETWORK_IO

SPID 63 – CXPACKET

SPID 67 – PAGEIOLATCH_SH

SPID 74 – LCK_M_S

SPID 77 – LCK_M_IX

SPID 79 – LATCH_EX

SPID 87 – WRITELOG

Page 25: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

25

CPU 1

SPID 81 – Running

CPU 1 Queue

SPID 81 – Runnable

SPID 91 – Runnable

SPID 67 – Runnable

Execution Model (SQLOS)

Waiter Queue

SPID 62 – ASYNC_NETWORK_IO

SPID 63 – CXPACKET

SPID 67 – PAGEIOLATCH_SH

SPID 74 – LCK_M_S

SPID 79 – LATCH_EX

SPID 87 – WRITELOG

SPID 77 – LCK_M_IX

Page 26: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

26

CPU 1

SPID 77 – Running

CPU 1 Queue

SPID 81 – Runnable

SPID 91 – Runnable

Waiter Queue

SPID 62 – ASYNC_NETWORK_IO

SPID 63 – CXPACKET

SPID 67 – PAGEIOLATCH_SH

SPID 74 – LCK_M_S

SPID 79 – LATCH_EX

SPID 87 – WRITELOG

Execution Model (SQLOS)

Page 27: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

27

CPU 1

SPID 77 – Running

CPU 1 Queue

SPID 81 – Runnable

SPID 91 – Runnable

Waiter Queue

SPID 62 – ASYNC_NETWORK_IO

SPID 63 – CXPACKET

SPID 67 – PAGEIOLATCH_SH

SPID 74 – LCK_M_S

SPID 79 – LATCH_EX

SPID 87 – WRITELOG

Execution Model (SQLOS)

Page 28: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

28

CPU 1

SPID 77 – Running

CPU 1 Queue

SPID 81 – Runnable

SPID 91 – Runnable

Waiter Queue

SPID 62 – ASYNC_NETWORK_IO

SPID 63 – CXPACKET

SPID 67 – PAGEIOLATCH_SH

SPID 74 – LCK_M_S

SPID 79 – LATCH_EX

SPID 87 – WRITELOG

Execution Model (SQLOS)

Page 29: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

29

Execution Model (DMVs)

Init

Runnable

Running

Done

Waiting

Page 30: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

30

Execution Model (DMVs)

sys.dm_exec_sessions

sys.dm_exec_requests

= ‘runnable’

sys.dm_exec_requests

= ‘running’

sys.dm_os_waiting_tasks

sys.dm_exec_connections

Page 31: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Demo

31

DEMO

Page 32: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

32

1.

2.

3.

4.

5.

Sample Wait Types

Page 33: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

33

1.

2.

3.

4.

5. LCK_M_S, LCK_M_U, LCK_M_X…

Sample Wait Types

Page 34: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

34

1.

2.

3.

4.

5. LCK_M_S, LCK_M_U, LCK_M_X…

• Waiting to acquire locks

Sample Wait Types

Page 35: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

35

1.

2.

3.

4. PAGEIOLATCH_SH, PAGEIOLATCH_EX…

5. LCK_M_S, LCK_M_U, LCK_M_X…

• Waiting to acquire locks

Sample Wait Types

Page 36: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

36

1.

2.

3.

4. PAGEIOLATCH_SH, PAGEIOLATCH_EX…

• Physical disk reads

5. LCK_M_S, LCK_M_U, LCK_M_X…

• Waiting to acquire locks

Sample Wait Types

Page 37: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

37

1.

2.

3. WRITELOG

4. PAGEIOLATCH_SH, PAGEIOLATCH_EX…

• Physical disk reads

5. LCK_M_S, LCK_M_U, LCK_M_X…

• Waiting to acquire locks

Sample Wait Types

Page 38: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

38

1.

2.

3. WRITELOG

• Waiting for a log flush to complete

4. PAGEIOLATCH_SH, PAGEIOLATCH_EX…

• Physical disk reads

5. LCK_M_S, LCK_M_U, LCK_M_X…

• Waiting to acquire locks

Sample Wait Types

Page 39: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

39

1.

2. CXPACKET

3. WRITELOG

• Waiting for a log flush to complete

4. PAGEIOLATCH_SH, PAGEIOLATCH_EX…

• Physical disk reads

5. LCK_M_S, LCK_M_U, LCK_M_X…

• Waiting to acquire locks

Sample Wait Types

Page 40: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

40

1.

2. CXPACKET

• Parallelism

3. WRITELOG

• Waiting for a log flush to complete

4. PAGEIOLATCH_SH, PAGEIOLATCH_EX…

• Physical disk reads

5. LCK_M_S, LCK_M_U, LCK_M_X…

• Waiting to acquire locks

Sample Wait Types

Page 41: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

41

1. ASYNC_NETWORK_IO, NETWORKIO

2. CXPACKET

• Parallelism

3. WRITELOG

• Waiting for a log flush to complete

4. PAGEIOLATCH_SH, PAGEIOLATCH_EX…

• Physical disk reads

5. LCK_M_S, LCK_M_U, LCK_M_X…

• Waiting to acquire locks

Sample Wait Types

Page 42: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

42

1. ASYNC_NETWORK_IO, NETWORKIO

• Waiting on the network

2. CXPACKET

• Parallelism

3. WRITELOG

• Waiting for a log flush to complete

4. PAGEIOLATCH_SH, PAGEIOLATCH_EX…

• Physical disk reads

5. LCK_M_S, LCK_M_U, LCK_M_X…

• Waiting to acquire locks

Sample Wait Types

Page 43: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Why Measure Waits?

Think about how you currently resolve performance issues, does it look like this…?

43

Page 44: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Why Measure Waits?

Think about how you currently resolve performance issues, does it look like this…?

44

Page 45: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Why Wait Time Analysis Rocks

Allows you to focus on *the* problem

• Four possible resource bottlenecks

45

Page 46: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Why Wait Time Analysis Rocks

Allows you to focus on *the* problem

• Four possible resource bottlenecks

Waits help you to answer the BIG question:

• “Is this a problem?”

46

Page 47: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Why Wait Time Analysis Rocks

Allows you to focus on *the* problem

• Four possible resource bottlenecks

Waits help you to answer the BIG question:

• “Is this a problem?”

Helps to prioritize

• Fix the ones you can fix now

47

Page 48: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Why Wait Time Analysis Rocks

Allows you to focus on *the* problem

• Four possible resource bottlenecks

Waits help you to answer the BIG question:

• “Is this a problem?”

Helps to prioritize

• Fix the ones you can fix now

Does not rely on Health Stats alone

• Perfmon counters only?

48

Page 49: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

49

Use Case (or, My Story)

Page 50: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

How To Measure?

3rd party tools

Native tools

• DMVs

• Perfmon

• xEvents

• MDW/UCP

50

Page 51: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Know What You Are Measuring

Know difference between “wait” and “queue”

• Wait – Any time a session is waiting

• Queue – A measure of system resource and utilization (think perfmon)

51

Page 52: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Know What You Are Measuring

Know difference between “wait” and “queue”

• Wait – Any time a session is waiting

• Queue – A measure of system resource and utilization (think perfmon)

Difference between OLTP and OLAP

• Which one has more ad-hoc queries?

• Which one is more likely to see parallelism?

• Which one is likely to see more blocking/locking?

52

Page 53: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Know What You Are Measuring

Know difference between “wait” and “queue”

• Wait – Any time a session is waiting

• Queue – A measure of system resource and utilization (think perfmon)

Difference between OLTP and OLAP

• Which one has more ad-hoc queries?

• Which one is more likely to see parallelism?

• Which one is likely to see more blocking/locking?

What does all that mean to the DBA?

53

Page 54: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Operating With Precision

54

Page 55: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

For More Information

http://sqlcat.com/whitepapers/archive/2007/11/19/sql-server-2005-waits-and-queues.aspx

http://technet.microsoft.com/en-us/sqlserver/gg508897.aspx

55

Page 56: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

For More Information

http://sqlskills.com/BLOGS/PAUL/post/Wait-statistics-or-please-tell-me-where-it-hurts.aspx

https://sqlserverperformance.wordpress.com/

http://thomaslarock.com/presentations

http://speakerrate.com/speakers/3000-sqlrockstar

56

Page 57: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Thanks!

THANK YOU DALLAS!

NEXT STOP: LOUISVILLE!

57

Page 58: Waits and Queues and You - Thomas LaRock · PDF fileWaits and Queues and You Thomas LaRock ... Learning to DBA 4 . Car Engine 5 . SQL Server is a Black Box 6 INPUT OUTPUT ... 1/19/sql-server-2005-waits-and-queues.aspx

Questions?

58