<?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>Alex Rosa &amp; SQL Server &amp; Microsoft Azure</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/alexrosa/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/alexrosa/feed.xml</link>
    <description>DECLARE dba AS human … SET dba = family + rdbms + friends + career + day_by_day + certifications + theory + real_life_experience</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:15:27 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Azure SQL Database v12 - Object Explorer wrong version and unable to rename a database in SSMS</title>
      <link>https://docs.microsoft.com/archive/blogs/alexrosa/azure-sql-database-v12-object-explorer-wrong-version-and-unable-to-rename-a-database-in-ssms</link>
      <pubDate>Fri, 15 May 2015 07:37:00 GMT</pubDate>
      <dc:creator><![CDATA[Alex Rosa [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/alexrosa/2015/05/15/azure-sql-database-v12-object-explorer-wrong-version-and-unable-to-rename-a-database-in-ssms/</guid>
      <description><![CDATA[Few weeks ago I was creating a demonstration using Azure SQL Database v12 and I notice that the...]]></description>
      <content:encoded><![CDATA[<p>Few weeks ago I was creating a demonstration using Azure SQL Database v12 and I notice that the version shown in SSMS Object Explorer was different than it was&nbsp;shown through T-SQL commands, like @@version.</p>
<p>So, let me share with you what I found so far regarding to this situation.</p>
<hr style="width: 100%;" width="100%" />
<p>&nbsp;</p>
<p>01 Problem</p>
<p style="padding-left: 30px;">SSMS Object Explorer shows Azure SQL Database version 13.0.15 or 13.0.16, but the SERVERPROPERTY(N'ResourceVersion') or @@Version commands return the version 12.0.2000.8</p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/1376.ObjectExplorerRTM.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/1376.ObjectExplorerRTM.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/1376.ObjectExplorerRTM.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x320/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/1376.ObjectExplorerRTM.bmp" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>01 Cause</p>
<p style="padding-left: 30px;">- Using SQL Server Management Studio (SSMS)&nbsp;2014 RTM, Version 12.0.2000.8</p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/6318.SSMSRTM.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/6318.SSMSRTM.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/6318.SSMSRTM.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/476x585/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/6318.SSMSRTM.bmp" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>01 Solution</p>
<p style="padding-left: 30px;">Install the latest Cumulative Update, in this case I used CU7, and SSMS Object Explorer will show the correct Azure SQL Database version</p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/5554.SSMSCU7.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/5554.SSMSCU7.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/5554.SSMSCU7.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/476x585/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/5554.SSMSCU7.bmp" alt="" border="0" /></a></p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/7230.ObjectExplorerCU7A.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/7230.ObjectExplorerCU7A.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/7230.ObjectExplorerCU7A.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/432x303/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/7230.ObjectExplorerCU7A.bmp" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>02 Problem</p>
<p style="padding-left: 30px;">If you&nbsp;right click over the database name to show the possible actions, you'll see that the option RENAME is not enabled and you cannot rename the database through the graphical interface</p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/6403.DBRename.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/6403.DBRename.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/6403.DBRename.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/426x421/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/6403.DBRename.bmp" alt="" border="0" /></a></p>
<p style="padding-left: 30px;">&nbsp;</p>
<p>02 Cause</p>
<p style="padding-left: 30px;">Looks like, SMSS still recognize the next Azure SQL Database version number instead of the current version, see RESOURCEVERSION result (click on the image below to maximize)</p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/2677.ObjectExplorerCU7B.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/2677.ObjectExplorerCU7B.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/2677.ObjectExplorerCU7B.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x303/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/2677.ObjectExplorerCU7B.bmp" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>02 Workaround</p>
<p style="padding-left: 30px;">You can use T-SQL, ALTER DATABASE, to rename the database</p>
<pre class="scroll" style="padding-left: 30px;"><code class="mysql">ALTER DATABASE demo01v12 MODIFY NAME = demo01v12_new</code></pre>
<p>&nbsp;</p>
<p>So, that's what I found so far and I'll update this post if I find anything else.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Comparing DMVs between Azure SQL Database V11 and V12</title>
      <link>https://docs.microsoft.com/archive/blogs/alexrosa/comparing-dmvs-between-azure-sql-database-v11-and-v12</link>
      <pubDate>Tue, 12 May 2015 05:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Alex Rosa [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/alexrosa/2015/05/12/comparing-dmvs-between-azure-sql-database-v11-and-v12/</guid>
      <description><![CDATA[As we know, the Azure SQL Database V12 had a huge improvement in terms of features available. Per...]]></description>
      <content:encoded><![CDATA[<p>As we know, the Azure SQL Database V12 had a huge improvement in terms of features available. Per consequence, more DMVs were enabled.</p>
<p>You can check it out what's new in SQL Database V12 in the following link:</p>
<p style="padding-left: 30px;"><a href="https://azure.microsoft.com/en-us/documentation/articles/sql-database-v12-whats-new/"><span style="font-family: Consolas; font-size: 9pt;">https://azure.microsoft.com/en-us/documentation/articles/sql-database-v12-whats-new/</span></a></p>
<hr style="width: 100%;" width="100%" />
<p>&nbsp;</p>
<p>In V12, there are: 117 new DMVs, 28 were kept and 4 were removed.</p>
<p>It's important to say that some DMVs will not return rows, because the feature related to them is not enabled yet.</p>
<p>&nbsp;</p>
<p>Also, I'm sharing with you one way to compare V11&nbsp;with V12, see sample below and PDF attached for more details.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/6443.AzureSQLDB_DMVs_VersionComparison.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/6443.AzureSQLDB_5F00_DMVs_5F00_VersionComparison.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/6443.AzureSQLDB_DMVs_VersionComparison.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x471/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/6443.AzureSQLDB_5F00_DMVs_5F00_VersionComparison.bmp" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/61/41/62/MSAzureSQLDB_DMV_VersionComparison.pdf" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-61-41-62/MSAzureSQLDB_5F00_DMV_5F00_VersionComparison.pdf">MSAzureSQLDB_DMV_VersionComparison.pdf</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Mind Map - Windows Server 2008 R2 Failover Cluster</title>
      <link>https://docs.microsoft.com/archive/blogs/alexrosa/mind-map-windows-server-2008-r2-failover-cluster</link>
      <pubDate>Sun, 12 Apr 2015 12:25:00 GMT</pubDate>
      <dc:creator><![CDATA[Alex Rosa [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/alexrosa/2015/04/12/mind-map-windows-server-2008-r2-failover-cluster/</guid>
      <description><![CDATA[During my studies, I use to create mind maps to help me memorize or remember key words of a...]]></description>
      <content:encoded><![CDATA[<p>During my studies, I use to create mind maps to help me memorize or remember key words of a topic.</p>
<p>In this post, I'm sharing with you one of my mind maps.</p>
<p>Take a look and see if you&nbsp;know every key word included in this mind map or if you need to research about some of them.</p>
<p>I hope you enjoy.</p>
<hr style="width: 100%;" width="100%" />
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/4743.WSFC_01.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/4743.WSFC_5F00_01.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/4743.WSFC_01.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/4743.WSFC_5F00_01.jpg" alt="" border="0" /></a>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/8424.WSFC_02.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/8424.WSFC_5F00_02.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/8424.WSFC_02.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/8424.WSFC_5F00_02.jpg" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/5102.WSFC_03.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/5102.WSFC_5F00_03.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/5102.WSFC_03.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/5102.WSFC_5F00_03.jpg" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/6622.WSFC_04.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/6622.WSFC_5F00_04.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/6622.WSFC_04.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/6622.WSFC_5F00_04.jpg" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/7215.WSFC_05.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/7215.WSFC_5F00_05.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/7215.WSFC_05.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/7215.WSFC_5F00_05.jpg" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/8055.WSFC_06.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/8055.WSFC_5F00_06.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/8055.WSFC_06.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/8055.WSFC_5F00_06.jpg" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/1385.WSFC_07.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/1385.WSFC_5F00_07.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/1385.WSFC_07.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/1385.WSFC_5F00_07.jpg" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/5516.WSFC_08.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/5516.WSFC_5F00_08.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/5516.WSFC_08.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/5516.WSFC_5F00_08.jpg" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/8103.WSFC_09.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/8103.WSFC_5F00_09.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/8103.WSFC_09.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/8103.WSFC_5F00_09.jpg" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/1462.WSFC_10.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/1462.WSFC_5F00_10.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/1462.WSFC_10.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/1462.WSFC_5F00_10.jpg" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/6470.WSFC_11.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/6470.WSFC_5F00_11.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/6470.WSFC_11.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/6470.WSFC_5F00_11.jpg" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/5444.WSFC_12.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/5444.WSFC_5F00_12.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/5444.WSFC_12.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/5444.WSFC_5F00_12.jpg" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/0451.WSFC_13.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/0451.WSFC_5F00_13.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/0451.WSFC_13.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/0451.WSFC_5F00_13.jpg" alt="" border="0" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Installing SQL Server 2008 + Windows Server 2012 = Cluster Service Verification FAILED</title>
      <link>https://docs.microsoft.com/archive/blogs/alexrosa/installing-sql-server-2008-windows-server-2012-cluster-service-verification-failed</link>
      <pubDate>Sun, 17 Aug 2014 13:21:00 GMT</pubDate>
      <dc:creator><![CDATA[Alex Rosa [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/alexrosa/2014/08/17/installing-sql-server-2008-windows-server-2012-cluster-service-verification-failed/</guid>
      <description><![CDATA[Last week I was working with Marcelo Fernandes (SQL Server MVP) and he asked for help to try to find...]]></description>
      <content:encoded><![CDATA[Last week I was working with Marcelo Fernandes (SQL Server MVP) and he asked for help to try to find a solution for the issue below.

<hr style="width: 100%;" width="100%">

You can get more details and screen shoots visiting <a href="https://marcelodba.wordpress.com/2014/08/17/error-to-install-sql-server-2008-on-windows-2012/">Marcelo's blog post</a>.

&nbsp;

<strong>Problem</strong>

<p style="padding-left: 30px;">During SQL Server 2008 or 2008 R2 over a Windows Server 2012 the Cluster Service Verification Failed.

<strong>Cause</strong></p>

<p style="padding-left: 30px;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">The MsClus.dll library is disabled by default in <span class="keywordhighlight1">Windows</span> <span class="keywordhighlight1">Server </span><span class="keywordhighlight1">2012</span>, and installing "Failover Cluster Automation <span class="keywordhighlight1">Server</span>" re-enable it.</span>

<strong>Solution</strong></p>

<p style="padding-left: 30px;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Install Cluster Automation Server (add-windowsfeature RSAT-Clustering-Automation Server)</span></p>

<p style="padding-left: 30px;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Reference: <a href="https://support.microsoft.com/kb/2681562">https://support.microsoft.com/kb/2681562</a>&nbsp; (Known SQL Server 2008 R2 and SQL Server 2008 setup issues)</span>

&nbsp;

<span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">After this installation in all Cluster Nodes you can re-start SQL Server 2008 installation and the Cluster Service Verification will pass.</span>

&nbsp;

&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Extended Events - Table of events per SQL version</title>
      <link>https://docs.microsoft.com/archive/blogs/alexrosa/extended-events-table-of-events-per-sql-version</link>
      <pubDate>Thu, 07 Aug 2014 14:49:00 GMT</pubDate>
      <dc:creator><![CDATA[Alex Rosa [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/alexrosa/2014/08/07/extended-events-table-of-events-per-sql-version/</guid>
      <description><![CDATA[I was reviewing XEvents and I've decided to share the file attached where you can find the Extended...]]></description>
      <content:encoded><![CDATA[<p>I was reviewing XEvents and I've decided to share the file attached where you can find the Extended Events per SQL version,&nbsp;an easy way to figure out which event is available in each version.</p>
<hr style="width: 100%;" width="100%" />
<p><strong><span style="text-decoration: underline;">Count of events:</span></strong></p>
<p style="padding-left: 30px;">SQL 2008 = 254</p>
<p style="padding-left: 30px;">SQL 2008 R2 = 264</p>
<p style="padding-left: 30px;">SQL 2012 = 618</p>
<p style="padding-left: 30px;">SQL 2014 = 873</p>
<p>&nbsp;</p>
<p>The image below is an example.</p>
<p>You can download the attached HTML file with all events.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/2541.XEvents.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/2541.XEvents.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/2541.XEvents.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x760/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/2541.XEvents.jpg" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/54/84/57/XE_Events_per_SQLVersion.htm" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-54-84-57/XE_5F00_Events_5F00_per_5F00_SQLVersion.htm">XE_Events_per_SQLVersion.htm</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Max Worker Threads - Lower and Upper Bounds - The Correct Formula</title>
      <link>https://docs.microsoft.com/archive/blogs/alexrosa/max-worker-threads-lower-and-upper-bounds-the-correct-formula</link>
      <pubDate>Tue, 05 Aug 2014 14:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Alex Rosa [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/alexrosa/2014/08/05/max-worker-threads-lower-and-upper-bounds-the-correct-formula/</guid>
      <description><![CDATA[Last week I was discussing with some friends, how SQL Server works with threads: Max Worker Threads...]]></description>
      <content:encoded><![CDATA[<p>Last week I was discussing with some friends, how SQL Server works with threads: Max Worker Threads - Lower and Upper bounds, Thread Pooling, SQLOS Scheduling, Parallelism, Resource Governor - CPU limits, Call Stack, Thread Starvation, Dedicated/System and User Threads...so, all the topics related to Threads.</p>
<hr style="width: 100%;" width="100%" />
<p><br />If you don't know exactly how Process and Threads works in Windows, I strongly recommend you to read&nbsp;<a href="https://blogs.technet.com/b/markrussinovich/archive/2009/07/08/3261309.aspx#pi145443=1">Mark Russinovich's blog post: Windows Pushing the limits: Process and Threads</a>.</p>
<p>Also, <a href="https://blogs.msdn.com/b/sql_pfe_blog/archive/2013/07/01/are-my-actual-worker-threads-exceeding-the-sp-configure-max-worker-threads-value.aspx">Denzil Ribeiro's post</a>, is very useful to understand how Max Worker Threads works.<br /><br /><br /><strong><span style="text-decoration: underline;">Lower bound<br /><br /></span>Q: Is it possible to set Max Worker Threads lower than Minimum Value?<br /><br />A: No, it's not possible. </strong><br /><br />128 threads is the minimum value for this configuration, if you try to set it to a value lower than 128 the following error will be raised:<br /><br /><span style="color: #3366ff;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*------------------------</strong></span></p>
<p><span style="color: #3366ff;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sp_configure 'max worker threads', 127</strong></span></p>
<p><span style="color: #3366ff;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;------------------------*/</strong></span></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong><span style="color: #ff0000;">&nbsp;Msg 15129, Level 16, State 1, Procedure sp_configure, Line 161</span></strong></p>
<p><strong><span style="color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '127' is not a valid value for configuration option 'max worker threads'.</span></strong></p>
<p><br /><br /><strong><span style="text-decoration: underline;">Upper&nbsp;bound<br /><br /></span>Q: Is it possible to set Max Worker Threads higher than Formula Value (table below)?<br /><br />A: Yes, it's&nbsp;possible. <br /><br /></strong>Manually, you can set the value higher than the calculated upper bound.<br /><br />If you use the Default Value, 0 (zero), the formula below will calculate the upper bound.<br /><br />In Books Online we have some important references, but the formula for computers with more than 64 processors is missing:</p>
<p>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdn.microsoft.com/en-us/library/ms190219(v=sql.120).aspx">Configure the max worker threads Server Configuration Option<br /></a><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdn.microsoft.com/en-us/library/ms189631(v=sql.120).aspx">Server Configuration Options (SQL Server - MAX WORKER THREADS)<br /></a><br /><br /><br />In the table below, you can&nbsp;see the formula for each architecture and numbers of processors:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/2287.MaxWorkerThreads.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/2287.MaxWorkerThreads.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/2287.MaxWorkerThreads.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/2287.MaxWorkerThreads.jpg" alt="" border="0" /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p><br />In the formula we have the numbers:<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 256 and 512, these numbers are the initial&nbsp;maximum workers that can be created<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8, 16 and 32, these numbers are the additional numbers of threads <span style="text-decoration: underline;"><strong>per processor</strong></span><br />&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>PerfMon - Where are the process counters?</title>
      <link>https://docs.microsoft.com/archive/blogs/alexrosa/perfmon-where-are-the-process-counters</link>
      <pubDate>Sat, 12 Jul 2014 17:30:00 GMT</pubDate>
      <dc:creator><![CDATA[Alex Rosa [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/alexrosa/2014/07/12/perfmon-where-are-the-process-counters/</guid>
      <description><![CDATA[Almost everybody knows how to use Windows Performance Monitor, or just PerfMon, but there are some...]]></description>
      <content:encoded><![CDATA[<p>Almost everybody knows how to use Windows Performance Monitor, or just PerfMon, but there are some tips &amp; tricks that many people don't know and they should know, because can have a negative impact in your data collection and analysis.</p>
<p>One of them is how to save the output file: Binary (BLG) or Comma Separated (CSV) ?</p>
<p>There are pros &amp; cons for both of them, but if you use CSV format, be aware that you can miss important counters during the data collection.</p>
<hr style="width: 100%;" width="100%" />
<p><br />Scenario:<br />High CPU usage during a period of time.<br /><br />Cause:<br />A&nbsp;process started and consumed more CPU than expected.<br /><br />Goal:<br />Identify which process was running and caused the high CPU usage.</p>
<p>&nbsp;</p>
<p>So, you can use Perfmon to collect <a href="file://\\Process(*)\%Processor Time">\\Process(*)\%Processor Time</a>, this way you can identify which process was consuming the most of the CPU in a specific period.</p>
<p>If you use CSV format to save the output, all of the processes started after the data collection start time WILL NOT be included into the CSV file.<br /><br />You can see in the image below that PROCESS06 and PROCESS07 were not included in the output file, and will not be detected during your analysis.</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/5810.PerfMonBLGCSV.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/5810.PerfMonBLGCSV.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/17/5810.PerfMonBLGCSV.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-17/5810.PerfMonBLGCSV.bmp" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>In the&nbsp;link below (YOUTUBE VIDEO), I'm showing you more details and a demonstration:</p>
<p><a href="https://youtu.be/ruj6MtCgOEg">https://youtu.be/ruj6MtCgOEg</a></p>
<p>&nbsp;</p>
<p>Take care...<br />Alex Rosa</p>]]></content:encoded>
    </item>
  </channel>
</rss>