<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>indrajit</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/indrajit/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/indrajit/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:47:53 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Kerberos for Microsoft Businesss Intelligence (BI) Services in easy steps</title>
      <link>https://docs.microsoft.com/archive/blogs/indrajit/kerberos-for-microsoft-businesss-intelligence-bi-services-in-easy-steps</link>
      <pubDate>Thu, 20 Mar 2014 13:36:00 GMT</pubDate>
      <dc:creator><![CDATA[Indrajit Ghosh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/indrajit/2014/03/20/kerberos-for-microsoft-businesss-intelligence-bi-services-in-easy-steps/</guid>
      <description><![CDATA[Kerberos is here to stay!!
SQL Server 2012 &amp; 2014 does not support Claims or SAML tokens,...]]></description>
      <content:encoded><![CDATA[<div>Kerberos is here to stay!!</div>
<div>SQL Server 2012 &amp; 2014 does not support Claims or SAML tokens, therefore Kerberos for SQL Server BI services are here to stay for a while. You can follow the below steps in order to set up and configure Kerberos for Windows Authentication for the various BI Services that we have in the MSBI stack.</div>
<div>Let us first understand, why do we need Kerberos?</div>
<div>When you are dealing with multiple servers in an environment, you might run into the famous "Double Hop" issue.. For example, lets assume that there are 3 servers (Server 1, 2 &amp; 3). Let's say an application tries to authenticate, starts at Server 1, authenticates on Server 2 and everything goes well. However, if Server 2 wants to further authenticate to Server 3, it will most probably give the error message "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON". This is the classic "double hop" issue. This happens because you can go a single hop with impersonation or NTLM, but not beyond that. Credentials are simply not passed on further.</div>
<div>So, this brings us to the topic of 'Delegation v/s Impersonation'. Impersonation does not give you all rights and it does not go more than one hop.</div>
<div>In the case of delegation, Server 1 delegates to Server 2, Server 2 may either choose to impersonate or delegate to Server 3. So, now that we know when and where we need Kerberos, let's focus on the BI Services. Typically, we have the following applications, which would leverage Kerberos. For example,</div>
<div>
<ul>
<li>Performance Point Services</li>
<li>Excel Services</li>
<li>Reporting Services (If you are not using stored credentials)</li>
<li>SQL Server Analysis Services (Only supports Windows Authentication)</li>
</ul>
</div>
<div>Now, when you set Service Principal Names (SPN) to enable delegation, you need to set it on the service and the machines delegating the tickets. For the SQL Server, there are well known service names like MSOLAPDisco, MSOLAP, MSSQL.</div>
<div>Here are the following steps that you need to follow to successfully enable Kerberos.</div>
<div>
<ul>
<li><strong><span style="font-size: medium;">Enable Kerberos on your SharePoint Web Application.<span style="font-family: 'arial black', 'avant garde';"></span></span></strong></li>
</ul>
</div>
<div><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/5706.EnableKerb_Web_App.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/5706.EnableKerb_5F00_Web_5F00_App.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/5706.EnableKerb_Web_App.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/5706.EnableKerb_5F00_Web_5F00_App.JPG" alt="" border="0" /></a></div>
<ul>
<li>Enable the 'Claims to Windows Token' (C2WTS)&nbsp;Service in SharePoint.</li>
</ul>
<div><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/0638.c2wts.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/0638.c2wts.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/0638.c2wts.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/0638.c2wts.JPG" alt="" border="0" /></a></div>
<div>&nbsp;</div>
<div>
<div>**Note: C2WTS needs to run on all the App servers.</div>
<div>
<div>SharePoint internally use Claims. There is a service that runs on the App Server called 'C2WTS' which does the protocol transitioning. It runs under the local system account. Therefore, it also needs to delegate.</div>
</div>
<div>Go to the AD container "Computers" and then delegate to the Database Engine.</div>
</div>
<ul>
<li>Create an HTTP SPN for the account that is running Web app's application Pool</li>
</ul>
<div>
<div>
<div>For example:</div>
<div>&lt;For WebApp&gt;</div>
<div>SetSPN -S https://sp2013 Domain\ServiceAccount</div>
<div>&lt;For SQL Server&gt;</div>
<div>SetSPN -S MSSQLSvc/DB:1433 Domain\ServiceAccount</div>
</div>
<div>
<div>**Note: Dont use -A (it arbitrarily creates an SPN, even if its a duplicate)</div>
<div>&nbsp; &nbsp;&nbsp;-S (checks for Duplicates and then creates them if it does not exist)</div>
</div>
</div>
<ul>
<li><strong><span style="font-size: medium;">Create a dummy SPN for the account that is running the service application</span></strong></li>
<li><strong><span style="font-size: medium;">Create an MSOLAPSvc.3 SPN for the service account running Analysis Services</span></strong></li>
<li><strong><span style="font-size: medium;">Configure Constrained Delegation for the Service Application account to Analysis Services</span></strong></li>
<li><strong><span style="font-size: medium;">Configure Constrained Delegation for the Application Server machine</span></strong></li>
</ul>
<div>
<div>Once done, reboot the computer, since al of this is cached with a 15 minute expiration.</div>
</div>
<div>Hopefully, this should help you to solve a lot of your BI issues with Authentication.</div>]]></content:encoded>
    </item>
    <item>
      <title>SQL Server Database Engine Performance Tuning Basics</title>
      <link>https://docs.microsoft.com/archive/blogs/indrajit/sql-server-database-engine-performance-tuning-basics</link>
      <pubDate>Thu, 12 Dec 2013 06:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Indrajit Ghosh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/indrajit/2013/12/12/sql-server-database-engine-performance-tuning-basics/</guid>
      <description><![CDATA[Indrajit Ghosh
  Indrajit Ghosh
  2
  217
  2013-12-12T14:15:00Z...]]></description>
      <content:encoded><![CDATA[<!--[if !mso]>

<![endif]--><!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>Indrajit Ghosh</o:Author>
  <o:LastAuthor>Indrajit Ghosh</o:LastAuthor>
  <o:Revision>2</o:Revision>
  <o:TotalTime>217</o:TotalTime>
  <o:Created>2013-12-12T14:15:00Z</o:Created>
  <o:LastSaved>2013-12-12T14:15:00Z</o:LastSaved>
  <o:Pages>10</o:Pages>
  <o:Words>1250</o:Words>
  <o:Characters>7126</o:Characters>
  <o:Lines>59</o:Lines>
  <o:Paragraphs>16</o:Paragraphs>
  <o:CharactersWithSpaces>8360</o:CharactersWithSpaces>
  <o:Version>15.00</o:Version>
 </o:DocumentProperties>
 <o:OfficeDocumentSettings>
  <o:AllowPNG/>
 </o:OfficeDocumentSettings>
</xml><![endif]--> <!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:TrackMoves>false</w:TrackMoves>
  <w:TrackFormatting/>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:DoNotPromoteQF/>
  <w:LidThemeOther>EN-US</w:LidThemeOther>
  <w:LidThemeAsian>X-NONE</w:LidThemeAsian>
  <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
   <w:SplitPgBreakAndParaMark/>
   <w:EnableOpenTypeKerning/>
   <w:DontFlipMirrorIndents/>
   <w:OverrideTableStyleHps/>
  </w:Compatibility>
  <m:mathPr>
   <m:mathFont m:val="Cambria Math"/>
   <m:brkBin m:val="before"/>
   <m:brkBinSub m:val="&#45;-"/>
   <m:smallFrac m:val="off"/>
   <m:dispDef/>
   <m:lMargin m:val="0"/>
   <m:rMargin m:val="0"/>
   <m:defJc m:val="centerGroup"/>
   <m:wrapIndent m:val="1440"/>
   <m:intLim m:val="subSup"/>
   <m:naryLim m:val="undOvr"/>
  </m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="false"
  DefSemiHidden="false" DefQFormat="false" DefPriority="99"
  LatentStyleCount="371">
  <w:LsdException Locked="false" Priority="0" QFormat="true" Name="Normal"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 1"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="heading 2"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="heading 3"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="heading 4"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="heading 5"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="heading 6"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="heading 7"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="heading 8"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="heading 9"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="index 1"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="index 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="index 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="index 4"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="index 5"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="index 6"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="index 7"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="index 8"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="index 9"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" Name="toc 1"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" Name="toc 2"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" Name="toc 3"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" Name="toc 4"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" Name="toc 5"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" Name="toc 6"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" Name="toc 7"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" Name="toc 8"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" Name="toc 9"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Normal Indent"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="footnote text"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="annotation text"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="header"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="footer"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="index heading"/>
  <w:LsdException Locked="false" Priority="35" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="caption"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="table of figures"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="envelope address"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="envelope return"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="footnote reference"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="annotation reference"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="line number"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="page number"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="endnote reference"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="endnote text"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="table of authorities"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="macro"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="toa heading"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Bullet"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Number"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List 4"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List 5"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Bullet 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Bullet 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Bullet 4"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Bullet 5"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Number 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Number 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Number 4"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Number 5"/>
  <w:LsdException Locked="false" Priority="10" QFormat="true" Name="Title"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Closing"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Signature"/>
  <w:LsdException Locked="false" Priority="1" SemiHidden="true"
   UnhideWhenUsed="true" Name="Default Paragraph Font"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Body Text"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Body Text Indent"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Continue"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Continue 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Continue 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Continue 4"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="List Continue 5"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Message Header"/>
  <w:LsdException Locked="false" Priority="11" QFormat="true" Name="Subtitle"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Salutation"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Date"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Body Text First Indent"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Body Text First Indent 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Note Heading"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Body Text 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Body Text 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Body Text Indent 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Body Text Indent 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Block Text"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Hyperlink"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="FollowedHyperlink"/>
  <w:LsdException Locked="false" Priority="22" QFormat="true" Name="Strong"/>
  <w:LsdException Locked="false" Priority="20" QFormat="true" Name="Emphasis"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Document Map"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Plain Text"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="E-mail Signature"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Top of Form"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Bottom of Form"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Normal (Web)"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Acronym"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Address"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Cite"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Code"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Definition"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Keyboard"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Preformatted"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Sample"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Typewriter"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="HTML Variable"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Normal Table"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="annotation subject"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="No List"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Outline List 1"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Outline List 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Outline List 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Simple 1"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Simple 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Simple 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Classic 1"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Classic 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Classic 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Classic 4"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Colorful 1"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Colorful 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Colorful 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Columns 1"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Columns 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Columns 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Columns 4"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Columns 5"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Grid 1"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Grid 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Grid 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Grid 4"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Grid 5"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Grid 6"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Grid 7"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Grid 8"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table List 1"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table List 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table List 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table List 4"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table List 5"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table List 6"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table List 7"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table List 8"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table 3D effects 1"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table 3D effects 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table 3D effects 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Contemporary"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Elegant"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Professional"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Subtle 1"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Subtle 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Web 1"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Web 2"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Web 3"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Balloon Text"/>
  <w:LsdException Locked="false" Priority="39" Name="Table Grid"/>
  <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true"
   Name="Table Theme"/>
  <w:LsdException Locked="false" SemiHidden="true" Name="Placeholder Text"/>
  <w:LsdException Locked="false" Priority="1" QFormat="true" Name="No Spacing"/>
  <w:LsdException Locked="false" Priority="60" Name="Light Shading"/>
  <w:LsdException Locked="false" Priority="61" Name="Light List"/>
  <w:LsdException Locked="false" Priority="62" Name="Light Grid"/>
  <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1"/>
  <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2"/>
  <w:LsdException Locked="false" Priority="65" Name="Medium List 1"/>
  <w:LsdException Locked="false" Priority="66" Name="Medium List 2"/>
  <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1"/>
  <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2"/>
  <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3"/>
  <w:LsdException Locked="false" Priority="70" Name="Dark List"/>
  <w:LsdException Locked="false" Priority="71" Name="Colorful Shading"/>
  <w:LsdException Locked="false" Priority="72" Name="Colorful List"/>
  <w:LsdException Locked="false" Priority="73" Name="Colorful Grid"/>
  <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="61" Name="Light List Accent 1"/>
  <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 1"/>
  <w:LsdException Locked="false" SemiHidden="true" Name="Revision"/>
  <w:LsdException Locked="false" Priority="34" QFormat="true"
   Name="List Paragraph"/>
  <w:LsdException Locked="false" Priority="29" QFormat="true" Name="Quote"/>
  <w:LsdException Locked="false" Priority="30" QFormat="true"
   Name="Intense Quote"/>
  <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 1"/>
  <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 1"/>
  <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 1"/>
  <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="61" Name="Light List Accent 2"/>
  <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 2"/>
  <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 2"/>
  <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 2"/>
  <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="61" Name="Light List Accent 3"/>
  <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 3"/>
  <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 3"/>
  <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 3"/>
  <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="61" Name="Light List Accent 4"/>
  <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 4"/>
  <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 4"/>
  <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 4"/>
  <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="61" Name="Light List Accent 5"/>
  <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 5"/>
  <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 5"/>
  <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 5"/>
  <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="61" Name="Light List Accent 6"/>
  <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 6"/>
  <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 6"/>
  <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 6"/>
  <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="19" QFormat="true"
   Name="Subtle Emphasis"/>
  <w:LsdException Locked="false" Priority="21" QFormat="true"
   Name="Intense Emphasis"/>
  <w:LsdException Locked="false" Priority="31" QFormat="true"
   Name="Subtle Reference"/>
  <w:LsdException Locked="false" Priority="32" QFormat="true"
   Name="Intense Reference"/>
  <w:LsdException Locked="false" Priority="33" QFormat="true" Name="Book Title"/>
  <w:LsdException Locked="false" Priority="37" SemiHidden="true"
   UnhideWhenUsed="true" Name="Bibliography"/>
  <w:LsdException Locked="false" Priority="39" SemiHidden="true"
   UnhideWhenUsed="true" QFormat="true" Name="TOC Heading"/>
  <w:LsdException Locked="false" Priority="41" Name="Plain Table 1"/>
  <w:LsdException Locked="false" Priority="42" Name="Plain Table 2"/>
  <w:LsdException Locked="false" Priority="43" Name="Plain Table 3"/>
  <w:LsdException Locked="false" Priority="44" Name="Plain Table 4"/>
  <w:LsdException Locked="false" Priority="45" Name="Plain Table 5"/>
  <w:LsdException Locked="false" Priority="40" Name="Grid Table Light"/>
  <w:LsdException Locked="false" Priority="46" Name="Grid Table 1 Light"/>
  <w:LsdException Locked="false" Priority="47" Name="Grid Table 2"/>
  <w:LsdException Locked="false" Priority="48" Name="Grid Table 3"/>
  <w:LsdException Locked="false" Priority="49" Name="Grid Table 4"/>
  <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark"/>
  <w:LsdException Locked="false" Priority="51" Name="Grid Table 6 Colorful"/>
  <w:LsdException Locked="false" Priority="52" Name="Grid Table 7 Colorful"/>
  <w:LsdException Locked="false" Priority="46"
   Name="Grid Table 1 Light Accent 1"/>
  <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 1"/>
  <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 1"/>
  <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 1"/>
  <w:LsdException Locked="false" Priority="51"
   Name="Grid Table 6 Colorful Accent 1"/>
  <w:LsdException Locked="false" Priority="52"
   Name="Grid Table 7 Colorful Accent 1"/>
  <w:LsdException Locked="false" Priority="46"
   Name="Grid Table 1 Light Accent 2"/>
  <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 2"/>
  <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 2"/>
  <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 2"/>
  <w:LsdException Locked="false" Priority="51"
   Name="Grid Table 6 Colorful Accent 2"/>
  <w:LsdException Locked="false" Priority="52"
   Name="Grid Table 7 Colorful Accent 2"/>
  <w:LsdException Locked="false" Priority="46"
   Name="Grid Table 1 Light Accent 3"/>
  <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 3"/>
  <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 3"/>
  <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 3"/>
  <w:LsdException Locked="false" Priority="51"
   Name="Grid Table 6 Colorful Accent 3"/>
  <w:LsdException Locked="false" Priority="52"
   Name="Grid Table 7 Colorful Accent 3"/>
  <w:LsdException Locked="false" Priority="46"
   Name="Grid Table 1 Light Accent 4"/>
  <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 4"/>
  <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 4"/>
  <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 4"/>
  <w:LsdException Locked="false" Priority="51"
   Name="Grid Table 6 Colorful Accent 4"/>
  <w:LsdException Locked="false" Priority="52"
   Name="Grid Table 7 Colorful Accent 4"/>
  <w:LsdException Locked="false" Priority="46"
   Name="Grid Table 1 Light Accent 5"/>
  <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 5"/>
  <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 5"/>
  <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 5"/>
  <w:LsdException Locked="false" Priority="51"
   Name="Grid Table 6 Colorful Accent 5"/>
  <w:LsdException Locked="false" Priority="52"
   Name="Grid Table 7 Colorful Accent 5"/>
  <w:LsdException Locked="false" Priority="46"
   Name="Grid Table 1 Light Accent 6"/>
  <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 6"/>
  <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 6"/>
  <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 6"/>
  <w:LsdException Locked="false" Priority="51"
   Name="Grid Table 6 Colorful Accent 6"/>
  <w:LsdException Locked="false" Priority="52"
   Name="Grid Table 7 Colorful Accent 6"/>
  <w:LsdException Locked="false" Priority="46" Name="List Table 1 Light"/>
  <w:LsdException Locked="false" Priority="47" Name="List Table 2"/>
  <w:LsdException Locked="false" Priority="48" Name="List Table 3"/>
  <w:LsdException Locked="false" Priority="49" Name="List Table 4"/>
  <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark"/>
  <w:LsdException Locked="false" Priority="51" Name="List Table 6 Colorful"/>
  <w:LsdException Locked="false" Priority="52" Name="List Table 7 Colorful"/>
  <w:LsdException Locked="false" Priority="46"
   Name="List Table 1 Light Accent 1"/>
  <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 1"/>
  <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 1"/>
  <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 1"/>
  <w:LsdException Locked="false" Priority="51"
   Name="List Table 6 Colorful Accent 1"/>
  <w:LsdException Locked="false" Priority="52"
   Name="List Table 7 Colorful Accent 1"/>
  <w:LsdException Locked="false" Priority="46"
   Name="List Table 1 Light Accent 2"/>
  <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 2"/>
  <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 2"/>
  <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 2"/>
  <w:LsdException Locked="false" Priority="51"
   Name="List Table 6 Colorful Accent 2"/>
  <w:LsdException Locked="false" Priority="52"
   Name="List Table 7 Colorful Accent 2"/>
  <w:LsdException Locked="false" Priority="46"
   Name="List Table 1 Light Accent 3"/>
  <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 3"/>
  <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 3"/>
  <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 3"/>
  <w:LsdException Locked="false" Priority="51"
   Name="List Table 6 Colorful Accent 3"/>
  <w:LsdException Locked="false" Priority="52"
   Name="List Table 7 Colorful Accent 3"/>
  <w:LsdException Locked="false" Priority="46"
   Name="List Table 1 Light Accent 4"/>
  <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 4"/>
  <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 4"/>
  <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 4"/>
  <w:LsdException Locked="false" Priority="51"
   Name="List Table 6 Colorful Accent 4"/>
  <w:LsdException Locked="false" Priority="52"
   Name="List Table 7 Colorful Accent 4"/>
  <w:LsdException Locked="false" Priority="46"
   Name="List Table 1 Light Accent 5"/>
  <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 5"/>
  <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 5"/>
  <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 5"/>
  <w:LsdException Locked="false" Priority="51"
   Name="List Table 6 Colorful Accent 5"/>
  <w:LsdException Locked="false" Priority="52"
   Name="List Table 7 Colorful Accent 5"/>
  <w:LsdException Locked="false" Priority="46"
   Name="List Table 1 Light Accent 6"/>
  <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 6"/>
  <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 6"/>
  <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 6"/>
  <w:LsdException Locked="false" Priority="51"
   Name="List Table 6 Colorful Accent 6"/>
  <w:LsdException Locked="false" Priority="52"
   Name="List Table 7 Colorful Accent 6"/>
 </w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>

<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1032"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoTitle"><span style="font-family: helvetica;"><span style="font-size: 12px;">As the market share of SQL Server grows over time, there has been a increasing demand for SQL Server performance tuning. There has been various approaches taken by different teams and individuals for improving the performance of the SQL Server, and I think it might be beneficial to the community to have the basic steps documented for troubleshooting and improving the SQL Server Performance for various applications</span><span style="font-size: 12px;">.</span></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;">Disks:</span></strong></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;">For SQL Server to perform optimally, monitoring and optimizing the SQL Server Disk sub-system is one of the important aspects. We have very specific disk performance requirements.</span></p>
<p class="MsoNormal"><span style="font-family: helvetica;">Avg. Disk Sec/Read is the average time, in seconds, of a read of data from the disk. The following list shows ranges of possible values and what the ranges mean:</span></p>
<p class="MsoNormal"><span style="font-family: helvetica;">Less than 10 <span class="SpellE">ms</span> - <span style="background: lime; mso-highlight: lime;">very good</span></span><br /><span style="font-family: helvetica;"> Between 10 - 20 <span class="SpellE">ms</span> -&nbsp;<span style="background: lime; mso-highlight: lime;">okay</span></span><br /><span style="font-family: helvetica;"> Between 20 - 50 <span class="SpellE">ms</span> -&nbsp;<span style="background: yellow; mso-highlight: yellow;">slow, needs attention</span></span><br /><span style="font-family: helvetica;"> Greater than 50 <span class="SpellE">ms</span> &ndash;&nbsp;<span style="background: red; mso-highlight: red;">Serious I/O bottleneck</span></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;">Identifying IO bottlenecks:</span></strong></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;">You can use the following Performance Monitor counters (perfmon.exe) to correctly identify disk performance issues.</span></p>
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal" style="mso-list: l2 level1 lfo1; tab-stops: list .5in;"><span style="font-family: helvetica;"><span class="SpellE"><strong>PhysicalDisk</strong></span><strong> Object: Avg. Disk Queue </strong>Length represents the average number of physical read and write requests that were queued on the selected physical disk during the sampling period. If your I/O system is overloaded, more read/write operations will be waiting. If your disk queue length frequently exceeds a value of 2 during peak usage of SQL&nbsp;Server, you might have an I/O bottleneck.</span></li>
<li class="MsoNormal" style="mso-list: l2 level1 lfo1; tab-stops: list .5in;"><span style="font-family: helvetica;"><strong>Avg. Disk Sec/Read</strong> is the average time, in seconds, of a read of data from the disk.</span></li>
<li class="MsoNormal" style="mso-list: l2 level1 lfo1; tab-stops: list .5in;"><span style="font-family: helvetica;"><strong>Avg. Disk Sec/Write</strong> is the average time, in seconds, of a write of data to the disk. The guidelines for the <strong>Avg. Disk Sec/Read</strong> values apply here.</span></li>
</ul>
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal" style="mso-list: l1 level1 lfo2; tab-stops: list .5in;"><span style="font-family: helvetica;"><strong>Physical Disk: %Disk Time</strong> is the percentage of elapsed time that the selected disk drive was busy servicing read or write requests. A general guideline is that if this value is greater than 50 percent, there is an I/O bottleneck.</span></li>
<li class="MsoNormal" style="mso-list: l1 level1 lfo2; tab-stops: list .5in;"><strong>Avg. Disk Reads/Sec</strong> is the rate of read operations on the disk. Ensure that this number is less than 85 percent of the disk capacity. The disk access time increases exponentially beyond 85 percent capacity.</li>
<li class="MsoNormal" style="mso-list: l1 level1 lfo2; tab-stops: list .5in;"><strong>Avg. Disk Writes/Sec</strong> is the rate of write operations on the disk. Ensure that this number is less than 85 percent of the disk capacity. The disk access time increases exponentially beyond 85 percent capacity.</li>
</ul>
<p class="MsoNormal"><strong>For more information on how-to create a Data Collector Set from Performance Monitor check: </strong><a href="https://technet.microsoft.com/en-us/library/cc722148.aspx">https://technet.microsoft.com/en-us/library/cc722148.aspx</a></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="font-family: helvetica;"><strong style="mso-bidi-font-weight: normal;"></strong></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;"><strong style="mso-bidi-font-weight: normal;"></strong></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;"><strong style="mso-bidi-font-weight: normal;"><span style="text-decoration: underline;">Disk Drive Placements:</span></strong></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;" lang="EN-NZ">You need to use separate drives for different purposes.</span></p>
<p class="MsoNormal"><span style="font-family: helvetica;" lang="EN-NZ">Individual disk latency requirements:</span></p>
<p class="MsoNormal"><span style="font-family: helvetica;"><span style="mso-ansi-language: EN-NZ;" lang="EN-NZ">Database &gt;15ms, Logs&gt; 2ms&nbsp;</span><span style="mso-no-proof: yes;">Tempdb</span><span style="mso-ansi-language: EN-NZ;" lang="EN-NZ">&gt; 2ms</span></span></p>
<p class="MsoNormal">Prioritise for faster disk.<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/2425.diskms.GIF" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/2425.diskms.GIF"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/2425.diskms.GIF" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/2425.diskms.GIF" alt="" border="0" /></a>&nbsp;</p>
<p class="MsoNormal"><em><strong><span style="font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;">Do not</span></strong></em><em><span style="font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;"> use the default allocation unit when formatting the Disk drives for SQL Server Log files &amp; Data files:</span></em></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype
 id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
 path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
 <v:stroke joinstyle="miter"/>
 <v:formulas>
  <v:f eqn="if lineDrawn pixelLineWidth 0"/>
  <v:f eqn="sum @0 1 0"/>
  <v:f eqn="sum 0 0 @1"/>
  <v:f eqn="prod @2 1 2"/>
  <v:f eqn="prod @3 21600 pixelWidth"/>
  <v:f eqn="prod @3 21600 pixelHeight"/>
  <v:f eqn="sum @0 0 1"/>
  <v:f eqn="prod @6 1 2"/>
  <v:f eqn="prod @7 21600 pixelWidth"/>
  <v:f eqn="sum @8 21600 0"/>
  <v:f eqn="prod @7 21600 pixelHeight"/>
  <v:f eqn="sum @10 21600 0"/>
 </v:formulas>
 <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
 <o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1030" type="#_x0000_t75" style='width:230.4pt;
 height:234pt;visibility:visible;mso-wrap-style:square'>
 <v:imagedata src="SQL%20Server%20Performance%20Tuning%20basics_files/image008.png"
  o:title=""/>
</v:shape><![endif]--><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/2818.allocations.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/2818.allocations.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/2818.allocations.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/2818.allocations.JPG" alt="" border="0" /></a></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;"><strong>Format drives with 64k Cluster Allocation Unit</strong></span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/3443.volumepartition.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/3443.volumepartition.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/3443.volumepartition.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/3443.volumepartition.JPG" alt="" border="0" /></a></span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="font-family: helvetica;"><span class="TitleChar"><span style="font-size: 28.0pt; line-height: 107%;">Antivirus programs</span></span> can create issues with SQL Server functionality, and it is important to exclude them from their scope, by adding them to the exclusions list.</span></p>
<p class="MsoNormal"><span style="font-family: helvetica;" lang="EN-NZ">File types to exclude:</span></p>
<p class="MsoNormal"><span style="font-family: helvetica;" lang="EN-NZ">*.<span class="SpellE">mdf</span>, *.<span class="SpellE">ndf</span>, *.<span class="SpellE">ldf</span>, *.<span class="SpellE">bak</span></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;"><strong>&nbsp;</strong><strong>Always assign the maximum memory setting on the SQL Server Instance level properties</strong></span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/6545.serverprop.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/6545.serverprop.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/6545.serverprop.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/6545.serverprop.JPG" alt="" border="0" /></a></span></p>
<p class="MsoNormal">Note: The maximum memory setting is only for the SQL Server buffer cache, and does not include memory requirements for other SQL Server functions like replication etc.</p>
<p class="MsoNormal">In order to determining the Non-Buffer Pool Usage, use the following:</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="font-size: 1.17em;">Requirements other than SQL Server&rsquo;s buffer pool.</span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent: -.25in; mso-list: l0 level1 lfo3;"><span style="mso-list: Ignore;">&middot;<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></span>2GB for Windows OS. Recommended &lt;3 GB for 64 Bit systems.</p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -.25in; mso-list: l0 level1 lfo3;"><span style="mso-list: Ignore;">&middot;<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="mso-spacerun: yes;">&nbsp;</span><span class="GramE"><em>x</em></span><em> times </em>GB for SQL Server worker threads. You configure out how many threads your instance will use. Each thread will use 0.5MB on x86, 2MB on x64 and 4MB on Itanium.</p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -.25in; mso-list: l0 level1 lfo3;"><span style="mso-list: Ignore;">&middot;</span><span style="mso-list: Ignore;"><span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>1GB for multi-page allocations, linked servers, and other consumers of memory outside the SQL Server.</p>
<p class="MsoListParagraphCxSpLast" style="text-indent: -.25in; mso-list: l0 level1 lfo3;"><span style="mso-list: Ignore;">&middot;<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>1&ndash;3GB for other applications that might be running on the system, such as backup programs.</p>
<p class="MsoListParagraphCxSpLast" style="text-indent: -.25in; mso-list: l0 level1 lfo3;">&nbsp; &nbsp; &nbsp; &nbsp; For example, on a server with eight CPU cores and 16GB of RAM running SQL Server 2012 x64 and a third-party backup utility, you would allow the following:</p>
<p class="MsoListParagraphCxSpFirst" style="text-indent: -.25in; mso-list: l0 level1 lfo3;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span>3GB for Windows (2GB for 32 Bit Windows)</p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -.25in; mso-list: l0 level1 lfo3;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span>1GB for worker threads (576 &times; 2MB rounded down)</p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent: -.25in; mso-list: l0 level1 lfo3;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span>1GB for MPAs, etc.</p>
<p class="MsoListParagraphCxSpLast" style="text-indent: -.25in; mso-list: l0 level1 lfo3;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span>1-2 GB for the backup program.</p>
<p class="MsoNormal">You can find more information on <strong style="mso-bidi-font-weight: normal;"><em style="mso-bidi-font-style: normal;">&lsquo;max worker threads Option&rsquo; </em></strong><em style="mso-bidi-font-style: normal;">here</em>: <a href="https://technet.microsoft.com/en-us/library/ms187024(v=sql.105).aspx">https://technet.microsoft.com/en-us/library/ms187024(v=sql.105).aspx</a> (For SQL Server 2008).</p>
<p class="MsoNormal"><span class="SpellE"><strong><span style="text-decoration: underline;"><span style="font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-NZ;" lang="EN-NZ">TempDB</span></span></strong></span><strong><span style="text-decoration: underline;"><span style="font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;"> Optimizations:</span></span></strong></p>
<p class="MsoNormal"><span style="font-family: helvetica;">By default, you only one Datafile and a transaction log file. However for optimal performance, follow the recommended best practices given below:</span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="font-family: helvetica;"><span style="font-size: 1.5em;">Storage Planning for </span><span class="SpellE" style="font-size: 1.5em;">TempDB</span></span></p>
<ul>
<li><span style="font-family: helvetica;"><span style="text-indent: -0.25in;">Set the recovery model of </span><span class="SpellE" style="text-indent: -0.25in;">TempDB</span><span style="text-indent: -0.25in;"> to SIMPLE. This model automatically reclaims log space to keep space requirements small.</span></span></li>
<li><span style="font-family: helvetica;"><span style="text-indent: -0.25in;">Do not allow for </span><span class="SpellE" style="text-indent: -0.25in;">TempDB</span><span style="text-indent: -0.25in;"> files to automatically grow. This reduces the CPU overhead of managing a dynamic file growth.</span></span></li>
<li><span style="font-family: helvetica;"><span style="text-indent: -0.25in;">Have multiple data file for </span><span class="SpellE" style="text-indent: -0.25in;">TempDB</span><span style="text-indent: -0.25in;"> (Total Number of </span><span class="SpellE" style="text-indent: -0.25in;">TempDB</span><span style="text-indent: -0.25in;"> Primary Data File = Number of Processors available to SQL)</span></span></li>
<li><span style="text-indent: -0.25in; font-family: helvetica;">Each data file should be of equal size.</span></li>
<li><span style="text-indent: -0.25in; font-family: helvetica;">Try to keep each data files in separate disk drives for IO Parallelism.</span></li>
<li><span style="font-family: helvetica;"><span class="SpellE" style="text-indent: -0.25in;">TempDB</span><span style="text-indent: -0.25in;"> Data and Log files should be kept in faster disk drive (Preferably RAID 1 if possible)</span></span></li>
<li><span style="text-indent: -0.25in; font-family: helvetica;">Use RAID-10 or SSD Disks.</span></li>
<li><span style="font-family: helvetica;"><span style="text-indent: -0.25in;">Pre-size </span><span class="SpellE" style="text-indent: -0.25in;">TempDB</span><span style="text-indent: -0.25in;"> files</span></span></li>
<li><span style="text-indent: -0.25in; font-family: helvetica;">25% of largest DB size.</span></li>
<li><span style="text-indent: -0.25in; font-family: helvetica;">Set Auto Growth to fixed size &lt; 200 MB</span></li>
<li><span style="text-indent: -0.25in; font-family: helvetica;">You should have the same number of data files as the number of CPUs up to a maximum of 8.</span></li>
</ul>
<p class="MsoNormal"><span style="font-family: helvetica;"><strong><span style="font-weight: normal;">Enable the Lock Pages in Memory Option (Windows)</span></strong></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;">This Windows policy determines which accounts can use a process to keep data in physical memory, preventing the system from paging the data to virtual memory on disk.</span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
 id="Picture_x0020_11" o:spid="_x0000_i1027" type="#_x0000_t75" style='width:468pt;
 height:330pt;visibility:visible;mso-wrap-style:square'>
 <v:imagedata src="SQL%20Server%20Performance%20Tuning%20basics_files/image013.png"
  o:title=""/>
</v:shape><![endif]--><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/4774.lockpagesinmem.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/4774.lockpagesinmem.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/4774.lockpagesinmem.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/4774.lockpagesinmem.JPG" alt="" border="0" /></a></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;">This can give you improved performance, especially when there is a memory pressure.</span></p>
<p class="MsoTitleCxSpFirst"><span style="font-family: helvetica;">Max Degree of Parallelism</span></p>
<p class="MsoNormal"><span style="font-family: helvetica;" lang="EN-NZ">Defines how many CPUs can execute parallel queries</span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
 id="Picture_x0020_3" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:328.8pt;
 height:301.8pt;visibility:visible;mso-wrap-style:square'>
 <v:imagedata src="SQL%20Server%20Performance%20Tuning%20basics_files/image015.png"
  o:title=""/>
</v:shape><![endif]--><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/6622.madoxsettings.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/6622.madoxsettings.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/6622.madoxsettings.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/6622.madoxsettings.JPG" alt="" border="0" /></a></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;">Many Microsoft products like SharePoint &amp; MS Dynamics CRM have a recommendation of setting this to &lsquo;1&rsquo;.</span></p>
<p class="MsoNormal"><span style="font-family: helvetica;">For LOB applications, when you see that there are too many CXPACKETS waits in your SQL Server, you can consider setting this option to &lsquo;1&rsquo;.</span></p>
<p class="MsoTitle"><span style="font-family: helvetica;">Fill Factor Settings</span></p>
<p class="MsoNormal"><span style="font-family: helvetica;">If your SQL Server have a very high number of transactions, and your index is having high level of fragmentation, set the Fill Factor Setting to &lsquo;<strong>80</strong>&rsquo;.</span></p>
<p class="MsoNormal"><span style="font-family: helvetica;"><strong><span lang="EN-NZ">Detecting index fragmentation</span></strong><strong>: </strong></span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">SELECT</span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: fuchsia; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp; </span><span class="SpellE">db_<span class="GramE">name</span></span></span><span class="GramE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">(</span></span><span class="SpellE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">ps</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">.</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">database_id</span></span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">)</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">AS</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: red; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">'Database Name'</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">,</span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: fuchsia; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp; </span><span class="SpellE">object_<span class="GramE">name</span></span></span><span class="GramE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">(</span></span><span class="SpellE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">ps</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">.</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: fuchsia; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">OBJECT_ID</span></span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">)</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">AS</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: red; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">'Database Object'</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">,</span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp; </span><span class="SpellE">ps<span style="color: gray;">.</span>index_id</span></span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">,</span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp; </span>b</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">.</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">name</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">,</span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp; </span><span class="SpellE">ps<span style="color: gray;">.</span>avg_fragmentation_in_percent</span></span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">FROM</span><span class="SpellE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: green; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">sys</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">.</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: green; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">dm_db_index_physical_stats</span></span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">(</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: fuchsia; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">DB_<span class="GramE">ID<span style="color: gray;">(</span></span></span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">),</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">NULL,</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">NULL,</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">NULL,</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">NULL)</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">AS</span><span class="SpellE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">ps</span></span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">INNER</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">JOIN</span><span class="SpellE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: green; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">sys</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">.</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: green; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">indexes</span></span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">AS</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">b</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">ON</span><span class="SpellE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">ps</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">.</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: fuchsia; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">OBJECT_ID</span></span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">=</span><span class="SpellE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">b</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">.</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: fuchsia; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">OBJECT_ID</span></span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">AND</span><span class="SpellE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">ps</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">.</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">index_id</span></span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">=</span><span class="SpellE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">b</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">.</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">index_id</span></span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">WHERE</span><span class="SpellE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">ps</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">.</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">database_id</span></span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">=</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: fuchsia; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">DB_<span class="GramE">ID<span style="color: gray;">()</span></span></span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">ORDER</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">BY</span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: black; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp; </span></span><span class="SpellE"><span class="GramE"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">ps</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: gray; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">.</span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: teal; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">avg_fragmentation_in_percent</span></span></span><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">DESC</span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">GO</span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="font-family: Consolas; mso-fareast-font-family: 'Times New Roman'; color: blue; mso-font-kerning: 12.0pt; mso-ansi-language: EN-NZ;" lang="EN-NZ">&nbsp;</span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;"><span style="mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_13" o:spid="_x0000_i1025"
 type="#_x0000_t75" style='width:531.6pt;height:157.2pt;visibility:visible;
 mso-wrap-style:square'>
 <v:imagedata src="SQL%20Server%20Performance%20Tuning%20basics_files/image017.png"
  o:title=""/>
</v:shape><![endif]--><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/7652.indexfrag.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/7652.indexfrag.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/76/7652.indexfrag.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-76/7652.indexfrag.JPG" alt="" border="0" /></a></span></p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;">&nbsp;</p>
<p class="MsoNormal" style="margin-top: 4.8pt; margin-right: 0in; margin-bottom: .0001pt; margin-left: 0in; line-height: 90%;">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="font-family: helvetica;"><strong style="font-size: 1.5em;"><span style="font-weight: normal;">Performance Monitor (Perfmon.exe)</span></strong></span></p>
<p class="MsoNormal"><span style="font-family: helvetica;">In order to capture SQL Server specific <span class="SpellE">perfmon</span> counters, you can use the following:</span></p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;"><span style="font-family: helvetica;">Processor: % Processor Time &nbsp;- Should average below 75% (and preferably below 50%).</span></p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;"><span style="font-family: helvetica;">System: Processor Queue Length&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="GramE">Should</span> average below 2 per processor. For example, in a 2-processor machine, it should remain below 4.</span></p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;"><span style="font-family: helvetica;">Memory&mdash;Pages/sec&nbsp;&nbsp;&nbsp;&nbsp; <span class="GramE">Should</span> average below 20 (and preferably below 15).</span></p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;"><span style="font-family: helvetica;">Memory&mdash;Available Bytes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="GramE">Should</span> remain above 50 MB.</span></p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">Physical Disk&mdash;% Disk Time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="GramE">Should</span> average below 50%.</p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;"><span style="font-family: helvetica;">Physical Disk&mdash;Avg. Disk Queue Length <span class="GramE">Should</span> average below 2 per disk. For example, for an array of 5 disks, this figure should average below 10.</span></p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;"><span style="font-family: helvetica;">Physical Disk&mdash;Avg. Disk Reads/sec&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used to size the disk and CPU. Should be below 85% of the capacity of the drive.</span></p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;"><span style="font-family: helvetica;">Physical Disk&mdash;Avg. Disk Writes/ sec&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used to size the disk and CPU. Should be below 85% of the capacity of the drive.</span></p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">Network Interface&mdash;Bytes Total/sec&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used to size the network bandwidth.</p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">SQL Server: Buffer Manager&mdash; Buffer Cache Hit Ratio&nbsp;&nbsp;&nbsp;&nbsp; <span class="GramE">Should</span> exceed 90% (and ideally approach 99%).</p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">SQL Server: Buffer Manager&mdash;Page Life Expectancy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used to size memory. Should remain above 300 seconds.</p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">SQL Server: General Statistics&mdash; User Connections&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used to size memory.</p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">SQL Server: Databases&mdash; Transactions/sec&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used to size disks and CPU.</p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">SQL Server: Databases&mdash;Data File(s) Size KB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used to size the disk subsystem.</p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">SQL Server: Databases&mdash;Percent Log&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used to size the disk subsystem.</p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">&nbsp;</p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">Hope you find this information useful.</p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">&nbsp;</p>
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;">In my next blog post, I will talk more about Performance Monitoring with the help of various tools.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoListParagraph">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
</div>]]></content:encoded>
    </item>
  </channel>
</rss>