Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
9Activity
×
0 of .
Results for:
No results containing your search query
P. 1
Performance Tuning Waits Queues

Performance Tuning Waits Queues

Ratings: (0)|Views: 1,979|Likes:
Published by sony

More info:

Published by: sony on May 28, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, DOC, TXT or read online from Scribd
See More
See less

09/06/2012

pdf

text

original

 
SQL Server 2005 Waits and Queues
SQL Server Best Practices Article
Writers: Tom DavidsonUpdated by: Danny TambsTechnical Reviewer:Sanjay MishraPublished:November 2006Applies To: Microsoft SQL Server 2005
 
Filename: 3138316.doc2
Copyright
The information contained in this document represents the current view of Microsoft Corporation on the issuesdiscussed as of the date of publication. Because Microsoft must respond to changing market conditions, itshould not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee theaccuracy of any information presented after the date of publication.This White Paper is for informational purposes only.MICROSOFT MAKES NO WARRANTIES, EXPRESS,IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights undercopyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, ortransmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), orfor any purpose, without the express written permission of Microsoft Corporation.Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rightscovering subject matter in this document. Except as expressly provided in any written license agreementfrom Microsoft, the furnishing of this document does not give you any license to these patents, trademarks,copyrights, or other intellectual property.Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses,logos, people, places and events depicted herein are fictitious, and no association with any real company,organization, product, domain name, email address, logo, person, place or event is intended or should beinferred.
©
2006Microsoft Corporation. All rights reserved.Microsoft, SQL Server, Windows, Window Server
 
are either registered trademarks or trademarks of MicrosoftCorporation in the United States and/or other countries.The names of actual companies and products mentioned herein may be the trademarks of their respectiveowners.
 
Table of Contents
Execution Model (simplified) ............................................................................. 3Waiter List and Wait Types ............................................................................... 5Dynamic Management Views (DMVs) and Functions (DMFs) .................................. 5Sys.dm_exec_requests ............................................................................... 5Sys.dm_os_waiting_tasks ........................................................................... 5Sys.dm_os_wait_stats ................................................................................ 6Track_waitstats_2005 stored procedure ........................................................ 6Get_waitstats_2005 stored procedure ........................................................... 6Performance and Tuning Blue Prints .................................................................. 7OLTP blueprint ........................................................................................... 7Common scenarios to avoid in OLTP ............................................................. 7DataWarehouse blueprint .......................................................................... 12Common Scenarios to avoid with DataWarehousing ......................................12Typical resource bottlenecks ...........................................................................16Memory pressure and IO subsystem issues ..................................................16IO Stalls ..................................................................................................16Missing or poorly formed indexes ................................................................17Largest IO queries.................................................................................... 18Query optimizer, query plans and statistics .................................................. 18Query plan reuse and DMVs .......................................................................19Query plan reuse and Performance counters ................................................ 19Statement level recompilation and DMVs .....................................................20Tracking down blocking issues....................................................................21Retrieving statements in the waiter list ....................................................... 22SQL Server 2005 Wait Types and correlation to other Performance information ..... 22QUEUES (Perfmon Counters) ...........................................................................79PERFMON Counters, correlation, possible conclusions and actions ...................79Interesting PERFMON Ratios and comparisons .............................................. 89Memory Issues ..............................................................................................91Comparison of 32-bit memory architecture vs. 64-bit flat memory .................. 9164-bit flat memory vs. higher 32-bit clock speeds .........................................92Application Design issues ................................................................................ 93

Activity (9)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Andris Marte liked this
Mario Iwagoshi liked this
Beomno Joo liked this
boolaboola liked this
Varun Singh liked this
marymcsc liked this
Saugata Mondal liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->