<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TempDB Archives - The SERO Group</title>
	<atom:link href="https://theserogroup.com/tag/tempdb/feed/" rel="self" type="application/rss+xml" />
	<link>https://theserogroup.com/tag/tempdb/</link>
	<description>SQL Servers Healthy, Secure, And Reliable</description>
	<lastBuildDate>Wed, 03 Jun 2026 15:37:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://theserogroup.com/wp-content/uploads/2024/07/cropped-Canister-only-1-32x32.png</url>
	<title>TempDB Archives - The SERO Group</title>
	<link>https://theserogroup.com/tag/tempdb/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">121220030</site>	<item>
		<title>An Overview of Accelerated Database Recovery</title>
		<link>https://theserogroup.com/azure/an-overview-of-accelerated-database-recovery/</link>
					<comments>https://theserogroup.com/azure/an-overview-of-accelerated-database-recovery/#respond</comments>
		
		<dc:creator><![CDATA[Lee Markum]]></dc:creator>
		<pubDate>Wed, 17 Jun 2026 12:00:00 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Data Security]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQL Community]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Consulting]]></category>
		<category><![CDATA[The Sero Group]]></category>
		<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Clusters]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[IT Manager]]></category>
		<category><![CDATA[Microsoft Azure]]></category>
		<category><![CDATA[Public Speaking]]></category>
		<category><![CDATA[Script Library]]></category>
		<category><![CDATA[Sero]]></category>
		<category><![CDATA[Sero Group]]></category>
		<category><![CDATA[Serogroup]]></category>
		<category><![CDATA[Shared Disks]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Assessment]]></category>
		<category><![CDATA[SQL Audit]]></category>
		<category><![CDATA[SQL Conference]]></category>
		<category><![CDATA[SQL Consultant]]></category>
		<category><![CDATA[SQL Events]]></category>
		<category><![CDATA[SQL Security]]></category>
		<category><![CDATA[SQL Server Consultant]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[SQL Training]]></category>
		<category><![CDATA[TempDB]]></category>
		<guid isPermaLink="false">https://theserogroup.com/?p=7775</guid>

					<description><![CDATA[<p>SQL Server has had a number of really wonderful new features over the last several releases. One of those features is Accelerated Database Recovery. This enhancement has received some coverage in the community and I want to make my own contribution to promoting this feature. What is Accelerated Database Recovery? Accelerated Database Recovery (ADR) came&#8230; <br /> <a class="read-more" href="https://theserogroup.com/azure/an-overview-of-accelerated-database-recovery/">Read more</a></p>
<p>The post <a href="https://theserogroup.com/azure/an-overview-of-accelerated-database-recovery/">An Overview of Accelerated Database Recovery</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">SQL Server has had a number of really wonderful new features over the last several releases. One of those features is Accelerated Database Recovery. This enhancement has received some coverage in the community and I want to make my own contribution to promoting this feature.</p>



<h2 id="h-what-is-accelerated-database-recovery" class="wp-block-heading">What is Accelerated Database Recovery?</h2>



<p class="wp-block-paragraph">Accelerated Database Recovery (ADR) came out in SQL Server 2019 and is an enhanced way for SQL Server to do database crash recovery. It uses a new Streaming Log (SLOG) feature that allows much faster redo and undo phases of the process by tracking any non-versioned actions.</p>



<p class="wp-block-paragraph">The Persistent Version Store is another new component to the process. It holds row versions in the database itself, either on the data pages being modified or in a separate system table. This persisted version store is very similar to how read committed snapshot isolation uses row-versions to allow for read and write queries to operate without blocking each other. This holding mechanism for row versions is cleaned up periodically by a background process that removes unneeded row versions. This persisted version store, in combination with the SLOG, allows a couple of things.</p>



<p class="wp-block-paragraph">First, in the redo phase there is no longer the need to read the transaction log serially from the oldest uncommitted transaction forward to the time of the crash to replay and redo records for creating a consistent state in the database. Instead, SQL Server uses the SLOG to recover any non-versioned actions from the oldest uncommitted transaction forward up to the point of the last checkpoint. This is much faster. Once the last checkpoint is reached, only then will SQL Server start reading the transaction log for any redo work.</p>



<p class="wp-block-paragraph">Second, in the Undo phase, the SLOG is used again to undo any non-versioned operations, and the persistent version store is used to simply switch the database rows back to whatever the proper current row was at the time of the crash.</p>



<p class="wp-block-paragraph">Traditional Recovery: Picture from <a href="https://learn.microsoft.com/en-us/sql/relational-databases/accelerated-database-recovery-concepts?view=sql-server-ver17">https://learn.microsoft.com/en-us/sql/relational-databases/accelerated-database-recovery-concepts?view=sql-server-ver17</a></p>



<figure class="wp-block-image size-large"><a href="https://theserogroup.com/wp-content/uploads/2026/06/TraditionalSQLServerRecovery_2026-06-01-141057.png"><img fetchpriority="high" decoding="async" width="1024" height="528" src="https://theserogroup.com/wp-content/uploads/2026/06/TraditionalSQLServerRecovery_2026-06-01-141057-1024x528.png" alt="" class="wp-image-7776" srcset="https://theserogroup.com/wp-content/uploads/2026/06/TraditionalSQLServerRecovery_2026-06-01-141057-1024x528.png 1024w, https://theserogroup.com/wp-content/uploads/2026/06/TraditionalSQLServerRecovery_2026-06-01-141057-300x155.png 300w, https://theserogroup.com/wp-content/uploads/2026/06/TraditionalSQLServerRecovery_2026-06-01-141057-768x396.png 768w, https://theserogroup.com/wp-content/uploads/2026/06/TraditionalSQLServerRecovery_2026-06-01-141057.png 1376w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<p class="wp-block-paragraph">Recovery using Accelerated Database Recovery: Picture from <a href="https://learn.microsoft.com/en-us/sql/relational-databases/accelerated-database-recovery-concepts?view=sql-server-ver17">https://learn.microsoft.com/en-us/sql/relational-databases/accelerated-database-recovery-concepts?view=sql-server-ver17</a></p>



<figure class="wp-block-image size-large"><a href="https://theserogroup.com/wp-content/uploads/2026/06/SQLServerRecoveryWithADR_2026-06-01-141057.png"><img decoding="async" width="1024" height="573" src="https://theserogroup.com/wp-content/uploads/2026/06/SQLServerRecoveryWithADR_2026-06-01-141057-1024x573.png" alt="" class="wp-image-7777" srcset="https://theserogroup.com/wp-content/uploads/2026/06/SQLServerRecoveryWithADR_2026-06-01-141057-1024x573.png 1024w, https://theserogroup.com/wp-content/uploads/2026/06/SQLServerRecoveryWithADR_2026-06-01-141057-300x168.png 300w, https://theserogroup.com/wp-content/uploads/2026/06/SQLServerRecoveryWithADR_2026-06-01-141057-768x430.png 768w, https://theserogroup.com/wp-content/uploads/2026/06/SQLServerRecoveryWithADR_2026-06-01-141057.png 1271w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<h2 id="h-why-would-you-want-to-enable-accelerated-database-recovery" class="wp-block-heading">Why would you want to enable Accelerated Database Recovery?</h2>



<p class="wp-block-paragraph">Accelerated database recovery can save you and your clients from extended outages due to long rollback times under heavy load. I’ve seen rollback times of 45-60 minutes be reduced to seconds with this feature enabled. The use-case I had was during SQL Server patching clients weren’t always out of the system as requested. In some cases, the client activity had a lot of changes in-flight when patching was applied and the traditional recovery method took a very long time after the server rebooted.</p>



<p class="wp-block-paragraph">I enabled ADR and never had that problem again. This feature can also save you from pain you inflict on yourself. If you’re running a query to make a lot of changes and it is decided to kill the query, causing rollback, then the ADR feature can execute rollback almost instantaneously. This is much better than waiting a long time for single threaded rollback of a query that has been running a long time.</p>



<h2 class="wp-block-heading">How to determine if Accelerated Database Recovery is enabled?</h2>



<p class="wp-block-paragraph">The system table sys.databases can be queried to show whether this feature is enabled or not.</p>



<pre class="wp-block-code"><code>SELECT name
FROM sys.databases 
WHERE is_accelerated_database_recovery_on = 1;
</code></pre>



<h2 class="wp-block-heading">How to enable Accelerated Database Recovery?</h2>



<p class="wp-block-paragraph">An exclusive database lock is required to enable Accelerated Database Recovery. This means the change should be done in a maintenance window where no activity is expected. The feature can be enabled in the presence of other activity using the termination clause WITH ROLLBACK [IMMMEDIATE | AFTER {Number} SECONDS | NO_WAIT] . Using the &nbsp;IMMEDIATE option will immediately rollback other transactions so that the ALTER statement will complete. The NO_WAIT option will terminate the ALTER statement if it can’t be executed immediately. Choose one of the three options.</p>



<pre class="wp-block-code"><code>ALTER DATABASE &#91;&lt;db_name&gt;] SET ACCELERATED_DATABASE_RECOVERY = ON WITH ROLLBACK &#91;IMMMEDIATE | AFTER {Number} SECONDS | NO_WAIT;</code></pre>



<h2 class="wp-block-heading">What sp_configure settings should be adjusted for Accelerated Database Recovery?</h2>



<p class="wp-block-paragraph">First, the ADR Cleaner Thread Count option in sp_configure controls the number of cpu threads to use for the background cleaner process that removes old row versions from the Persisted Version Store. This option was introduced in SQL Server 2022. It is advisable not to set this to a large number. You can increase it from the default of 1 to 2 or perhaps 4 to ensure that Persisted Version Store cleanup is happening quickly enough across a large number of databases.</p>



<pre class="wp-block-code"><code>-- Configure ADR cleaner to use 4 threads
EXEC sp_configure 'show advanced options', 1;
RECONFIGURE;

EXEC sp_configure 'ADR Cleaner Thread Count', 4;
RECONFIGURE WITH OVERRIDE;
</code></pre>



<p class="wp-block-paragraph">Second, the ADR Pre-allocation Factor setting can also be adjusted. If the “just in time” mechanism to allocate pages to store rows in the persisted version store is above zero by a significant amount, then this sp_configure option can be set to allocate pages ahead of time for the version store. There is an extended event called tx_version_optimized_insert_stats that can be reviewed to see what the “just in time” value is. The value to check is labeled “foreground_allocation_percent.”</p>



<p class="wp-block-paragraph">The default value for the ADR pre-allocation factor is 4. The number of pages allocated at any one time is 512 X the ADR Pre-allocation Factor. It isn’t recommended to set this fact too high because pre-allocating too many pages can cause contention.</p>



<pre class="wp-block-code"><code>-- Configure ADR Preallocation Factor
EXEC sp_configure 'show advanced options', 1;
RECONFIGURE;

EXEC sp_configure 'ADR Preallocation Factor', 6; -- Defaults vary based on workload
RECONFIGURE WITH OVERRIDE;
</code></pre>



<p class="wp-block-paragraph"></p>



<h2 id="h-is-a-long-rollback-costing-you-downtime" class="wp-block-heading"><strong>Is a Long Rollback Costing You Downtime?</strong></h2>



<p class="wp-block-paragraph">SQL Server recovery issues can turn a routine maintenance window into a multi-hour outage. The SERO Group specializes in exactly this kind of proactive SQL Server management. <a href="https://theserogroup.com/contact-us/" target="_blank" rel="noreferrer noopener">Schedule a free discovery call</a> and let&#8217;s talk about your environment.</p>
<p>The post <a href="https://theserogroup.com/azure/an-overview-of-accelerated-database-recovery/">An Overview of Accelerated Database Recovery</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theserogroup.com/azure/an-overview-of-accelerated-database-recovery/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7775</post-id>	</item>
		<item>
		<title>How to Use VSSADMIN Commands To Manage Low Disk Space</title>
		<link>https://theserogroup.com/azure/how-to-use-vssadmin-commands-to-manage-low-disk-space/</link>
					<comments>https://theserogroup.com/azure/how-to-use-vssadmin-commands-to-manage-low-disk-space/#respond</comments>
		
		<dc:creator><![CDATA[Lee Markum]]></dc:creator>
		<pubDate>Wed, 03 Jun 2026 15:14:07 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Data Security]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQL Community]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Consulting]]></category>
		<category><![CDATA[The Sero Group]]></category>
		<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Clusters]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[IT Manager]]></category>
		<category><![CDATA[Microsoft Azure]]></category>
		<category><![CDATA[Public Speaking]]></category>
		<category><![CDATA[Script Library]]></category>
		<category><![CDATA[Sero]]></category>
		<category><![CDATA[Sero Group]]></category>
		<category><![CDATA[Serogroup]]></category>
		<category><![CDATA[Shared Disks]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Assessment]]></category>
		<category><![CDATA[SQL Audit]]></category>
		<category><![CDATA[SQL Conference]]></category>
		<category><![CDATA[SQL Consultant]]></category>
		<category><![CDATA[SQL Events]]></category>
		<category><![CDATA[SQL Security]]></category>
		<category><![CDATA[SQL Server Consultant]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[SQL Training]]></category>
		<category><![CDATA[TempDB]]></category>
		<guid isPermaLink="false">https://theserogroup.com/?p=7767</guid>

					<description><![CDATA[<p>Low disk space alerts are a common occurrence in I.T. For SQL Server consultants, there could be a few causes: This last scenario related to volume shadow service is what I want to talk about today. This one can be a little confusing at first because your organization may get a low disk space alert&#8230; <br /> <a class="read-more" href="https://theserogroup.com/azure/how-to-use-vssadmin-commands-to-manage-low-disk-space/">Read more</a></p>
<p>The post <a href="https://theserogroup.com/azure/how-to-use-vssadmin-commands-to-manage-low-disk-space/">How to Use VSSADMIN Commands To Manage Low Disk Space</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Low disk space alerts are a common occurrence in I.T. For SQL Server consultants, there could be a few causes:</p>



<ul class="wp-block-list">
<li>A runaway transaction filling up a log file or even an mdf file in a user database or tempdb.</li>



<li>Someone or some process took an extra backup that wasn&#8217;t planned for.</li>



<li>A new database was created with larger than expected files sizes.</li>



<li>An application is using the Volume Shadow Service to make backups of databases to a local volume.</li>
</ul>



<p class="wp-block-paragraph">This last scenario related to volume shadow service is what I want to talk about today. This one can be a little confusing at first because your organization may get a low disk space alert that doesn&#8217;t seem to make sense. The alert may indicate that there is less than 10% free space, but looking at the volume in Windows Explorer doesn&#8217;t show that at all. It turns out that VSS files aren&#8217;t visible to Windows explorer. You might come across this when investigating the following error, &#8220;Volsnap &#8211; 36 &#8211; The shadow copies of volume E: were aborted because the shadow copy storage could not grow due to a user imposed limit.&#8221;</p>



<p class="wp-block-paragraph">To investigate what is happening, try some of the <a href="https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc754968(v=ws.11)">VSSAdmin</a> commands, like this:</p>



<pre class="wp-block-code"><code>vssadmin list shadowstorage</code></pre>



<p class="wp-block-paragraph">The output pf this PowerShell command will show what volumes are being backed up by VSS, and what the target volume is for those VSS files. If the volumes are already low on space, deleting some of the shadow copies may be the first thing needed. This can be done with the following command:</p>



<pre class="wp-block-code"><code>vssadmin delete shadows /for=&lt;ForVolumeSpec&gt; &#91;/oldest | /all | /shadow=&lt;ShadowID&gt;] &#91;/quiet]</code></pre>



<p class="wp-block-paragraph">Then a limit can be placed on the amount of storage allocated to VSS files using this command:</p>



<pre class="wp-block-code"><code>vssadmin resize shadowstorage /for=&lt;ForVolumeSpec&gt; /on=&lt;OnVolumeSpec&gt; &#91;/maxsize=&lt;MaxSizeSpec&gt;]</code></pre>



<p class="wp-block-paragraph">Keep in mind that someone will need to determine first if the older VSS files are needed prior to executing the delete and resize commands. </p>



<h2 id="h-tired-of-chasing-sql-server-alerts" class="wp-block-heading">Tired of Chasing SQL Server Alerts?</h2>



<p class="wp-block-paragraph">Dealing with disk space issues on your SQL Servers? That&#8217;s exactly the kind of problem The SERO Group solves every day. <a href="https://theserogroup.com/contact-us/">Schedule a free discovery call</a> and let&#8217;s take a look.</p>
<p>The post <a href="https://theserogroup.com/azure/how-to-use-vssadmin-commands-to-manage-low-disk-space/">How to Use VSSADMIN Commands To Manage Low Disk Space</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theserogroup.com/azure/how-to-use-vssadmin-commands-to-manage-low-disk-space/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7767</post-id>	</item>
		<item>
		<title>Why Quiet Reflection Leads to Better IT Strategy Decisions</title>
		<link>https://theserogroup.com/azure/why-quiet-reflection-leads-to-better-it-strategy-decisions/</link>
		
		<dc:creator><![CDATA[Joe Webb]]></dc:creator>
		<pubDate>Wed, 17 Dec 2025 13:00:04 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Data Security]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQL Community]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Consulting]]></category>
		<category><![CDATA[The Sero Group]]></category>
		<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Clusters]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[IT Manager]]></category>
		<category><![CDATA[Microsoft Azure]]></category>
		<category><![CDATA[Public Speaking]]></category>
		<category><![CDATA[Script Library]]></category>
		<category><![CDATA[Sero]]></category>
		<category><![CDATA[Sero Group]]></category>
		<category><![CDATA[Serogroup]]></category>
		<category><![CDATA[Shared Disks]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Assessment]]></category>
		<category><![CDATA[SQL Audit]]></category>
		<category><![CDATA[SQL Conference]]></category>
		<category><![CDATA[SQL Consultant]]></category>
		<category><![CDATA[SQL Events]]></category>
		<category><![CDATA[SQL Security]]></category>
		<category><![CDATA[SQL Server Consultant]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[SQL Training]]></category>
		<category><![CDATA[TempDB]]></category>
		<guid isPermaLink="false">https://theserogroup.com/?p=7691</guid>

					<description><![CDATA[<p>Last Saturday, I woke up before dawn to a quiet house. My family was still asleep, as I’m the only morning person in our household. The Christmas tree lights cast a warm glow across the room, and I was alone with my thoughts and a hot cup of coffee. No urgent emails, no fire drills,&#8230; <br /> <a class="read-more" href="https://theserogroup.com/azure/why-quiet-reflection-leads-to-better-it-strategy-decisions/">Read more</a></p>
<p>The post <a href="https://theserogroup.com/azure/why-quiet-reflection-leads-to-better-it-strategy-decisions/">Why Quiet Reflection Leads to Better IT Strategy Decisions</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Last Saturday, I woke up before dawn to a quiet house. My family was still asleep, as I’m the only morning person in our household. The Christmas tree lights cast a warm glow across the room, and I was alone with my thoughts and a hot cup of coffee. No urgent emails, no fire drills, no meetings starting in five minutes. Just space to think.</p>



<p class="wp-block-paragraph">As I sat there, I ended up reflecting back on 2025. I found myself gravitating to these three questions:</p>



<ul class="wp-block-list">
<li>What went well this year?</li>



<li>What did I learn?</li>



<li>What should I focus on next year?</li>
</ul>



<p class="wp-block-paragraph">If you’re a leader, I’m guessing you rarely get this kind of thinking time during your workday. I know I don’t. Our calendars are packed with calls, team meetings, and those &#8220;quick questions” that turn into two-hour troubleshooting sessions.</p>



<p class="wp-block-paragraph">But here&#8217;s what I&#8217;ve learned: <strong>the quality of your strategic decisions is directly tied to the quality of your thinking time.</strong></p>



<p class="wp-block-paragraph">And thinking time doesn&#8217;t happen by accident. You have to protect it.</p>



<h3 class="wp-block-heading" id="h-what-went-well-this-year">What Went Well This Year?</h3>



<p class="wp-block-paragraph">When I asked myself this question, I didn&#8217;t think about our biggest projects or flashiest achievements. I didn&#8217;t think about when we migrated almost 2,000 databases as part of an upgrade project. Or the performance tuning we did that resulted in a $36,000 reduction in annual Azure spend for a client. </p>



<p class="wp-block-paragraph">Instead, I thought about the relationships we strengthened. The trust we built with clients. The problems we solved before they became crises.</p>



<p class="wp-block-paragraph">For you, this might look like:</p>



<ul class="wp-block-list">
<li>The audit that went smoothly because your security documentation was solid</li>



<li>The successful disaster recovery test that was possible because you kept refining the process</li>



<li>The team member you mentored who&#8217;s now ready for more responsibility</li>



<li>The support resources you provided your team through a trusted partner</li>
</ul>



<p class="wp-block-paragraph">These aren&#8217;t always the things that make it into board reports. But they&#8217;re the foundation that everything else is built on.</p>



<h3 class="wp-block-heading" id="h-what-did-i-learn">What Did I Learn?</h3>



<p class="wp-block-paragraph">This year reminded me of something Eisenhower once said: <strong>&#8220;Plans are worthless, but planning is everything.&#8221;</strong></p>



<p class="wp-block-paragraph">The need for planning cannot be overstated. It&#8217;s critical. Even if the plan doesn&#8217;t always work out the way you intended. </p>



<p class="wp-block-paragraph"><strong>The plan itself wasn&#8217;t the point. The thinking I did while creating the plan was the point.</strong></p>



<p class="wp-block-paragraph">Because I’d thought through our capacity, our ideal client profile, and our service delivery model, I could adjust quickly when reality didn’t match my spreadsheet. I knew which opportunities were a good fit for us and which ones to let go. Because we’ve intentionally built a small but incredibly talented team that genuinely wants to see our clients succeed, we were able to identify and create ways to help them.</p>



<p class="wp-block-paragraph">I watched the same dynamic play out with clients. The institutions that had documented their SQL Server environments, tested their disaster recovery plans, and mapped their compliance requirements adapted quickly when needed. They were positioned for success even when the unexpected happened.</p>



<p class="wp-block-paragraph">Planning isn&#8217;t about predicting the future. It&#8217;s about <strong>building the muscle memory to respond when the future surprises you.</strong></p>



<p class="wp-block-paragraph">What did you learn this year about planning and adapting? Maybe it was:</p>



<ul class="wp-block-list">
<li>That your three-year technology roadmap needs quarterly reviews, not just annual ones</li>



<li>That the disaster recovery plan sitting in a SharePoint folder isn&#8217;t the same as a tested DR plan</li>



<li>That &#8220;we&#8217;ll address that next quarter&#8221; eventually becomes &#8220;why didn&#8217;t we address this sooner?&#8221;</li>



<li>That having an expert on call beats having a plan to find an expert when something breaks</li>
</ul>



<p class="wp-block-paragraph">These lessons matter. Write them down. They&#8217;re not just hindsight—they&#8217;re your blueprint for better decisions ahead.</p>



<h3 class="wp-block-heading" id="h-what-should-i-focus-on-next-year">What Should I Focus On Next Year?</h3>



<p class="wp-block-paragraph">For me, the answer was clear: <strong>I need to help more financial institutions and healthcare organizations understand that they have options.</strong> Most CIOs think they have two choices for database management: hire a full-time DBA (expensive and hard to find) or make do with whoever can &#8220;figure it out&#8221; (risky and unsustainable).</p>



<p class="wp-block-paragraph">There&#8217;s a third option: fractional DBA services that give you expert oversight without the full-time price tag. </p>



<p class="wp-block-paragraph">For you, your focus might be different. Maybe it&#8217;s:</p>



<ul class="wp-block-list">
<li>Finally getting your SQL Server environment documented and audit-ready</li>



<li>Building a disaster recovery plan that you&#8217;ve actually tested</li>



<li>Move a little further along the <a href="https://theserogroup.com/data-strategy/sql-server-maturity-curve-how-banks-move-from-reactive-risk-to-strategic-advantage/">SQL Server Maturity Curve</a></li>



<li>Finding a partner who understands banking compliance, not just databases</li>
</ul>



<p class="wp-block-paragraph">Whatever it is, the key is to actually choose something. Not everything. Something. And move toward it. Make progress.</p>



<h3 class="wp-block-heading" id="h-the-power-of-quiet-reflection">The Power of Quiet Reflection</h3>



<p class="wp-block-paragraph">Here&#8217;s the thing about those early Saturday morning moments: they&#8217;re rare. And precious. </p>



<p class="wp-block-paragraph">During the week, we’re in execution mode. We’re responding, reacting, solving, and fixing. That’s necessary work. But it’s not strategic work.</p>



<p class="wp-block-paragraph">Strategic work requires space. It requires stepping back from the urgent to focus on the important.</p>



<p class="wp-block-paragraph">So, here&#8217;s my challenge to you as we wind down 2025 and usher in the new year:</p>



<h3 class="wp-block-heading" id="h-block-off-time-just-to-think-then-protect-it">Block Off Time Just to Think, Then Protect It</h3>



<p class="wp-block-paragraph">Maybe it&#8217;s Saturday mornings before your family wakes up. Maybe it&#8217;s a long walk at lunch. Maybe it&#8217;s 90 minutes with your calendar blocked and your office door closed. </p>



<p class="wp-block-paragraph">Whatever it is, protect it. The decisions you make during that quiet time about where to focus, what risks to address, and which partnerships to invest in will help shape your entire year.</p>



<h3 class="wp-block-heading" id="h-your-turn">Your Turn</h3>



<p class="wp-block-paragraph">As you think about the year ahead, I&#8217;d encourage you to ask yourself those three questions:</p>



<ol class="wp-block-list">
<li>What went well this year? Celebrate it. Learn from it.</li>



<li>What did I learn? Write it down. It&#8217;s wisdom you paid for.</li>



<li>What should I focus on next year? Pick one or two things. Not everything.</li>
</ol>



<p class="wp-block-paragraph">And if one of those focus areas is &#8220;finally get our SQL Server environment to a place where I&#8217;m confident, not just hopeful,&#8221; let&#8217;s talk. That&#8217;s exactly what we help institutions do.</p>



<p class="wp-block-paragraph">If you&#8217;re a CIO wondering whether your SQL Server environment is as healthy and secure as it should be, I&#8217;d be happy to have a conversation. No sales pitch. Just two people talking candidly about database management. <a href="https://theserogroup.com/contact-us/" target="_blank" rel="noreferrer noopener">Schedule a time here</a>.</p>
<p>The post <a href="https://theserogroup.com/azure/why-quiet-reflection-leads-to-better-it-strategy-decisions/">Why Quiet Reflection Leads to Better IT Strategy Decisions</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7691</post-id>	</item>
		<item>
		<title>Is your SQL Server Code Ready for Azure?</title>
		<link>https://theserogroup.com/azure/azure-sql-migration-code/</link>
		
		<dc:creator><![CDATA[Natasha Collins]]></dc:creator>
		<pubDate>Wed, 26 Jun 2024 12:00:00 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[IT Manager]]></category>
		<category><![CDATA[Microsoft Azure]]></category>
		<category><![CDATA[Sero]]></category>
		<category><![CDATA[Sero Group]]></category>
		<category><![CDATA[Serogroup]]></category>
		<category><![CDATA[Shared Disks]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Consultant]]></category>
		<category><![CDATA[SQL Security]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Consultant]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[TempDB]]></category>
		<category><![CDATA[The Sero Group]]></category>
		<guid isPermaLink="false">https://theserogroup.com/?p=6078</guid>

					<description><![CDATA[<p>I recently had a discussion with a client that turned to the question of SQL Server code compatibility with Azure SQL Database. We were designing a new pipeline for their on-premises SQL environment, and they mentioned their abandoned cloud migration effort from a few years earlier. The business ended up pausing this effort because of&#8230; <br /> <a class="read-more" href="https://theserogroup.com/azure/azure-sql-migration-code/">Read more</a></p>
<p>The post <a href="https://theserogroup.com/azure/azure-sql-migration-code/">Is your SQL Server Code Ready for Azure?</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">I recently had a discussion with a client that turned to the question of SQL Server code compatibility with Azure SQL Database. We were designing a new pipeline for their on-premises SQL environment, and they mentioned their abandoned cloud migration effort from a few years earlier. The business ended up pausing this effort because of code incompatibilities that would have required an unexpected amount of re-engineering. After that experience, they wanted to ensure that any new pipeline development was done while being mindful of a possible future migration.</p>



<h2 class="wp-block-heading" id="h-the-risks-of-delaying-code-analysis">The risks of delaying code analysis</h2>



<p class="wp-block-paragraph">Delaying an analysis of code compatibility is surprisingly common for businesses undertaking a migration to the cloud. Early cost-benefit analyses often address the hardware and infrastructure changes involved but can sometimes neglect to consider the impact of required code changes.</p>



<p class="wp-block-paragraph">Infrastructure concerns are critical considerations when evaluating a move to the cloud. However, limiting our analysis to these considerations may hide the costs and risks associated with any necessary re-engineering.&nbsp;Unfortunately, it is very possible for these hidden risks and costs to turn out to be deal-breakers. To avoid a sticky situation, learn about these factors up front before investing time and energy into migration preparations.</p>



<h2 class="wp-block-heading" id="h-azure-options-sql-vm-vs-managed-instance-vs-sql-database">Azure options: SQL VM vs. Managed Instance vs. SQL Database</h2>



<p class="wp-block-paragraph">It is important to note that a “move to the cloud” can come in many forms. Some examples are migrations to a hybrid environment, “lift and shift” moves to Azure-hosted VMs or SQL Managed Instances (SQL MI), or full or partial migrations to multi-tenant Azure SQL Databases (SQL DB). You will need to know what type of migration is being considered before evaluating code changes since the different options have different levels of compatibility with SQL Server.<br><br>Here&#8217;s a quick breakdown of the options in Azure with SQL Server compatibility.</p>



<h3 class="wp-block-heading">IaaS Option</h3>



<p class="wp-block-paragraph"><a href="https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/sql-server-on-azure-vm-iaas-what-is-overview?view=azuresql">SQL Server on an Azure VM</a><br>Since this option constitutes a full installation of SQL Server on a dedicated Azure-hosted virtual machine, there are no code or feature incompatibilities to be concerned about. Azure SQL VMs achieve complete feature parity with on-premises SQL environments. With this option, the primary difference between the Azure implementation and an on-premises installation is the management of the underlying server.</p>



<h3 class="wp-block-heading">PaaS Options</h3>



<p class="wp-block-paragraph"><a href="https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/sql-managed-instance-paas-overview?view=azuresql">Azure SQL Managed Instance</a><br>SQL MI boasts “near 100% compatibility” with the latest Enterprise Edition of the SQL Server database engine, while still including automated backups, patching, and high availability of the SQL environment. This option uses a single-tenant database engine intended to enable the least disruptive migration from an on-premises or Azure-hosted SQL Server instance to a full PaaS environment. This means that many of the incompatibilities that exist with Azure SQL Database are minimized or eliminated with Azure SQL MI. However, functionality that requires access to the file system or OS is still impacted.</p>



<p class="wp-block-paragraph"><a href="https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/sql-managed-instance-paas-overview?view=azuresql">Azure SQL Database</a><br>Azure SQL DB is another fully managed PaaS option consisting of a multi-tenant database engine that is optimized for cloud-native applications. While this option is generally less expensive than Azure SQL MI, there is less overlap with SQL Server and greater potential for code or data flow incompatibilities.</p>



<h2 class="wp-block-heading">10 Common Incompatibilities</h2>



<p class="wp-block-paragraph">There are several very helpful tools (see the &#8220;Resources and tools&#8221; section below) that can help you identify data flow issues prior to migration. As you go through your analysis, keep in mind that Microsoft has established workarounds for a good number of these incompatibilities, so their presence in your code does not necessarily mean they are a barrier to migration.</p>



<p class="wp-block-paragraph">For a high-level overview, here are some of the most common sticking points we see for migrating SQL code. The differences between SQL MI and SQL DB are included where applicable, as well as some potential workarounds.</p>



<h3 class="wp-block-heading" id="h-1-uses-linked-servers">1. Uses linked servers</h3>



<p class="wp-block-paragraph">Linked servers can be used in <a href="https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server?view=azuresql#linked-servers">SQL MI</a> to access SQL Server and Azure SQL Databases without distributed transactions. SQL DB requires the use of <a href="https://learn.microsoft.com/en-us/azure/azure-sql/database/elastic-query-horizontal-partitioning?view=azuresql">elastic queries</a> instead.</p>



<h3 class="wp-block-heading" id="h-2-performs-cross-database-queries-or-transactions">2. Performs cross-database queries or transactions</h3>



<p class="wp-block-paragraph">These are supported with SQL MI, but not with SQL DB. In SQL DB, cross-database queries may be able to be converted to <a href="https://learn.microsoft.com/en-us/azure/azure-sql/database/elastic-query-horizontal-partitioning?view=azuresql">elastic queries</a>.</p>



<h3 class="wp-block-heading" id="h-3-uses-database-mail">3. Uses Database Mail</h3>



<p class="wp-block-paragraph">This is available for SQL MI but not SQL DB. There are <a href="https://www.mssqltips.com/sqlservertip/7049/send-emails-azure-sql-database-azure-logic-apps/">workarounds</a> available for sending email in the Azure platform, but they will require some re-engineering.</p>



<h3 class="wp-block-heading" id="h-4-uses-system-tables-views-functions-or-stored-procedures">4. Uses system tables, views, functions, or stored procedures</h3>



<p class="wp-block-paragraph">Some system objects are available in both SQL MI and SQL DB but not all. Consult Microsoft&#8217;s <a href="https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server?view=azuresql">documentation</a> for a full comparison of what is available.</p>



<p class="wp-block-paragraph">One important note is that the amount of space available to <strong>tempdb </strong>is provisioned in both SQL MI and SQL DB based on the number of cores available and the service tier licensed. Consult the documentation of each for details.</p>



<h3 class="wp-block-heading" id="h-5-accesses-windows-command-line-or-file-system">5. Accesses Windows command line or file system</h3>



<p class="wp-block-paragraph">Neither SQL MI nor SQL DB supports direct access to the file system or the Windows command line. </p>



<p class="wp-block-paragraph">One workaround is to migrate files to <a href="https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction">Azure Blob Storage</a> or <a href="https://learn.microsoft.com/en-us/azure/storage/files/storage-files-introduction">Azure Files</a>. For SQL MI, with the appropriate security and firewall configurations, it is also possible to <a href="https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/point-to-site-p2s-configure?view=azuresql">establish connectivity</a> between your Managed Instance&#8217;s VNet and the location of an on-premises file share.</p>



<p class="wp-block-paragraph">SQL MI also supports SSISDB configuration and the <a href="https://learn.microsoft.com/en-us/azure/data-factory/how-to-invoke-ssis-package-managed-instance-agent">Integration Services Catalog</a>, allowing SSIS packages to be used for file manipulation. Azure Data Factory can also be leveraged to load and transform files for both SQL MI and SQL DB. An <a href="https://learn.microsoft.com/en-us/azure/data-factory/create-azure-ssis-integration-runtime">Azure-SSIS Integration Runtime (IR)</a> can be installed and configured, and SSIS packages can be run directly from <a href="https://www.mssqltips.com/sqlservertip/6025/using-files-stored-in-azure-file-services-with-integration-services-part-1/">Azure Data Factory</a>.</p>



<h3 class="wp-block-heading" id="h-6-uses-change-data-capture-cdc">6. Uses change data capture (CDC)</h3>



<p class="wp-block-paragraph">Change data capture is supported for SQL MI. It is also supported for <a href="https://learn.microsoft.com/en-us/azure/azure-sql/database/change-data-capture-overview?view=azuresql">SQL DB</a>, but only in the S3 service tier and above.</p>



<h3 class="wp-block-heading" id="h-7-uses-bulk-insert-or-openrowset">7. Uses BULK INSERT or OPENROWSET</h3>



<p class="wp-block-paragraph"><a href="https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server?view=azuresql#bulk-insert--openrowset">BULK INSERT and OPENROWSET</a> are only supported from a supported Azure file source (e.g.: Azure Blob Storage or Azure Files).</p>



<h3 class="wp-block-heading" id="h-8-uses-net-framework-common-language-runtime-clr">8. Uses .NET Framework: common language runtime (CLR)</h3>



<p class="wp-block-paragraph">CLR support is not available for SQL DB, but it is available in SQL MI with some <a href="https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server?view=azuresql#clr">important differences</a>.</p>



<h3 class="wp-block-heading" id="h-9-sql-server-agent">9. SQL Server Agent</h3>



<p class="wp-block-paragraph">SQL Server Agent is not available in SQL DB, and <a href="https://learn.microsoft.com/en-us/azure/azure-sql/database/elastic-jobs-overview?view=azuresql">elastic jobs</a> should be used instead. In SQL MI, SQL Server Agent is supported with <a href="https://learn.microsoft.com/en-us/azure/azure-sql/database/elastic-jobs-overview?view=azuresql">important differences</a>.</p>



<h3 class="wp-block-heading" id="h-10-uses-semantic-search">10. Uses semantic search</h3>



<p class="wp-block-paragraph">Full-text semantic search is not available in either SQL MI or SQL DB.</p>



<h2 class="wp-block-heading" id="h-other-important-things-to-remember-when-migrating-to-a-paas-environment">Other important things to remember when migrating to a PaaS environment</h2>



<ul class="wp-block-list">
<li><strong>High availability</strong>: Since high availability is included in the PaaS offerings, SQL Server functionality and syntax connected with Always On Availability Groups is not supported.</li>



<li><strong>Maintenance</strong>: Updates, patches, backups, and restores are likewise managed automatically in the PaaS offerings. Therefore, associated T-SQL syntax will not work in SQL DB and will be different for SQL MI.</li>



<li><strong>Credential management</strong>: Windows authentication is not supported in SQL DB, and is replaced by <a href="https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/winauth-azuread-overview?view=azuresql">Windows Authentication for Microsoft Entra</a> in SQL MI.</li>



<li><strong>Collation</strong>: Catalog collation is set when an instance (SQL MI) or a database (SQL DB) is created, and it cannot be changed afterwards.</li>
</ul>



<h2 class="wp-block-heading" id="h-resources-and-tools">Resources and tools</h2>



<p class="wp-block-paragraph">I hope this provided you with a jump-start for thinking about whether your SQL Server code is Azure-ready.</p>



<p class="wp-block-paragraph">Here are a few more resources and tools that can help you take the next steps toward a full compatibility analysis:</p>



<ul class="wp-block-list">
<li><a href="https://learn.microsoft.com/en-us/sql/dma/dma-overview?view=sql-server-ver16">Data Migration Assistant</a> – Microsoft’s robust tool for enabling database compatibility assessments, recommendations, and migration assistance.</li>



<li><a href="https://learn.microsoft.com/en-us/azure/migrate/migrate-services-overview">Azure Migrate</a> – this service can be used as a start-to-finish hub for planning and facilitating a cloud migration.</li>



<li><em><a href="https://www.amazon.com/Pro-Database-Migration-Azure-Modernization/dp/1484282299">Pro Database Migration to Azure</a> </em>– An excellent and comprehensive book covering the best practices for successful on-premises migrations to the Azure cloud platform.</li>
</ul>



<h2 class="wp-block-heading" id="h-want-to-learn-more">Want to learn more?</h2>



<p class="wp-block-paragraph">Want to learn more about how The SERO Group helps organizations prepare for a SQL Server cloud migration? <a href="https://theserogroup.com/contact-us/">Schedule a call</a> and let&#8217;s talk.</p>
<p>The post <a href="https://theserogroup.com/azure/azure-sql-migration-code/">Is your SQL Server Code Ready for Azure?</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6078</post-id>	</item>
		<item>
		<title>Analyzing Disk Latency in Azure Virtual Machines &#8211; Part 2</title>
		<link>https://theserogroup.com/azure/analyzing-disk-latency-in-azure-virtual-machines-part-2/</link>
					<comments>https://theserogroup.com/azure/analyzing-disk-latency-in-azure-virtual-machines-part-2/#comments</comments>
		
		<dc:creator><![CDATA[Luke Campbell]]></dc:creator>
		<pubDate>Wed, 14 Feb 2024 13:00:00 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[IT Manager]]></category>
		<category><![CDATA[Microsoft Azure]]></category>
		<category><![CDATA[Sero]]></category>
		<category><![CDATA[Sero Group]]></category>
		<category><![CDATA[Serogroup]]></category>
		<category><![CDATA[Shared Disks]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Assessment]]></category>
		<category><![CDATA[SQL Events]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Consultant]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[SQL Training]]></category>
		<category><![CDATA[TempDB]]></category>
		<category><![CDATA[The Sero Group]]></category>
		<guid isPermaLink="false">https://theserogroup.com/?p=5701</guid>

					<description><![CDATA[<p>&#8220;I thought the cloud was supposed to be fast. Why are things moving like a sloth?&#8221; Have you heard someone complain about the speed of an application after moving it to the Microsoft Azure? Azure is a good environment, but things are not always fast in the cloud. To illustrate, in this post, we&#8217;ll review&#8230; <br /> <a class="read-more" href="https://theserogroup.com/azure/analyzing-disk-latency-in-azure-virtual-machines-part-2/">Read more</a></p>
<p>The post <a href="https://theserogroup.com/azure/analyzing-disk-latency-in-azure-virtual-machines-part-2/">Analyzing Disk Latency in Azure Virtual Machines &#8211; Part 2</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">&#8220;I thought the cloud was supposed to be fast. Why are things moving like a sloth?&#8221; Have you heard someone complain about the speed of an application after moving it to the Microsoft Azure? Azure is a good environment, but things are not always fast in the cloud. To illustrate, in this post, we&#8217;ll review an Azure VM experiencing high disk latency and determine if the bottleneck is due to the VM size or the disk size. This is part 2 of <a href="https://theserogroup.com/azure/analyzing-disk-latency-in-azure-virtual-machines-part-1/">Analyzing Disk Latency in Azure Virtual Machines</a>. </p>



<p class="wp-block-paragraph">The specs for the VM we&#8217;re using are:</p>



<ul class="wp-block-list">
<li>Standard B4ms (4 vcpus, 16 GiB memory) &#8211; Supports up to <strong>2880 IOPs</strong> or <strong>35 MBps.</strong></li>



<li>Target disk &#8211; Standard SSD E10 &#8211; <strong>500 IOPs</strong> or <strong>60 MBps</strong>.  This drive is capable of bursting to <strong>600</strong> <strong>IOPs</strong> or <strong>150</strong> <strong>MBps</strong>.</li>
</ul>



<p class="wp-block-paragraph">We&#8217;ll use Microsoft&#8217;s <a href="https://learn.microsoft.com/en-us/azure-stack/hci/manage/diskspd-overview">diskspd</a> utility to generate the load using the 8kb block size.</p>



<h2 class="wp-block-heading" id="h-azure-vm-metrics-reviewing-disk-related-counters">Azure VM Metrics &#8211; Reviewing disk-related counters</h2>



<p class="wp-block-paragraph">Using Azure VM Metrics, you can review numerous counters related to the VM and create alerts based on a set threshold.  We&#8217;re focused on the following counters within the Virtual Machine Host namespace.  Three separate charts are used.  FYI, filters can be added if you&#8217;re only interested in a specific disk.  Identify the disk LUN and then add the LUN filter to the chart.  </p>



<h3 class="wp-block-heading" id="h-disk-throughput-sec-write-and-read">Disk Throughput / Sec &#8211; Write and Read</h3>



<ul class="wp-block-list">
<li>Data Disk Write Bytes/sec</li>



<li>Data Disk Read Bytes/sec</li>
</ul>



<h3 class="wp-block-heading" id="h-disk-operations-sec-iops-write-and-read">Disk Operations / Sec (IOPs) &#8211; Write and Read</h3>



<ul class="wp-block-list">
<li>Data Disk Write Operations/sec</li>



<li>Data Disk Read Operations/sec</li>
</ul>



<h3 class="wp-block-heading" id="h-disk-latency">Disk Latency </h3>



<ul class="wp-block-list">
<li>Data Disk Latency (Preview)</li>
</ul>



<p class="wp-block-paragraph">The screenshot below shows each one of the counters.  The time range has been set to the last 30 minutes, which refreshes every 5 minutes.</p>



<figure class="wp-block-image size-large"><a href="https://theserogroup.com/wp-content/uploads/2024/02/image-4.png"><img decoding="async" width="1024" height="507" src="https://theserogroup.com/wp-content/uploads/2024/02/image-4-1024x507.png" alt="" class="wp-image-5731" srcset="https://theserogroup.com/wp-content/uploads/2024/02/image-4-1024x507.png 1024w, https://theserogroup.com/wp-content/uploads/2024/02/image-4-300x149.png 300w, https://theserogroup.com/wp-content/uploads/2024/02/image-4-768x381.png 768w, https://theserogroup.com/wp-content/uploads/2024/02/image-4-1536x761.png 1536w, https://theserogroup.com/wp-content/uploads/2024/02/image-4-2048x1015.png 2048w, https://theserogroup.com/wp-content/uploads/2024/02/image-4-1920x951.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<p class="wp-block-paragraph">In the example above, we&#8217;ve maxed out on read IOPs, leading to severe latency (above 1 second). By maxing out on IOPs, we&#8217;re also limiting in how much data can be read from the disk. At 8kb blocks * 524 IOPs, the disk maxes out at 4.1 MB/s.  It&#8217;s important to note that if your application reads or writes in larger block sizes it is possible to increase throughput at the cost of lowering IOPs.  </p>



<h2 class="wp-block-heading" id="h-conclusion">Conclusion</h2>



<p class="wp-block-paragraph">The example above represents a bottleneck encountered at the disk vs. the VM size.  We&#8217;re nowhere near the VM&#8217;s limit of 2,880 IOPs or 35 MBps.  Azure VM Metrics is a fantastic way to review performance counters directly from within the Azure portal.</p>



<h2 class="wp-block-heading" id="h-for-more-information">For more information</h2>



<p class="wp-block-paragraph">If you’d like some assistance assessing your SQL Server workload on an Azure Virtual Machine,&nbsp;<a href="https://theserogroup.com/#contact">reach out</a>. We’re happy to help.</p>



<p class="wp-block-paragraph">In the meantime, here are some other posts you may find interesting.</p>



<ul class="wp-block-list">
<li><a href="https://theserogroup.com/dba/identifying-sql-server-disk-latency/">Identifying SQL Server Disk Latency</a></li>



<li><a href="https://theserogroup.com/sql-server-consulting/identify-disk-i-o-performance-issues-for-your-sql-server-using-diskspd/">Identify Disk I/O Performance Issues for Your SQL Server Using DiskSpd</a></li>



<li><a href="https://theserogroup.com/sql-server/azure-shared-disks-failover-clustered-instances/">Azure shared disks &#8211; Failover Clustered Instances</a></li>



<li><a href="https://theserogroup.com/sql-server/how-to-create-sql-server-2019-failover-clustered-instances-in-azure/">How to Create SQL Server 2019 Failover Clustered Instances in Azure</a></li>



<li><a href="https://theserogroup.com/sql-server/why-is-my-sql-server-slow-14-common-reasons/">Why is My SQL Server Slow? 14 Common Reasons</a></li>



<li><a href="https://theserogroup.com/data-strategy/10-data-storage-considerations-for-growing-companies/">10 Data Storage Considerations for Growing Companies</a></li>
</ul>
<p>The post <a href="https://theserogroup.com/azure/analyzing-disk-latency-in-azure-virtual-machines-part-2/">Analyzing Disk Latency in Azure Virtual Machines &#8211; Part 2</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theserogroup.com/azure/analyzing-disk-latency-in-azure-virtual-machines-part-2/feed/</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5701</post-id>	</item>
		<item>
		<title>Analyzing Disk Latency in Azure Virtual Machines &#8211; Part 1</title>
		<link>https://theserogroup.com/azure/analyzing-disk-latency-in-azure-virtual-machines-part-1/</link>
		
		<dc:creator><![CDATA[Luke Campbell]]></dc:creator>
		<pubDate>Wed, 17 Jan 2024 13:00:00 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[IT Manager]]></category>
		<category><![CDATA[Microsoft Azure]]></category>
		<category><![CDATA[Sero]]></category>
		<category><![CDATA[Sero Group]]></category>
		<category><![CDATA[Serogroup]]></category>
		<category><![CDATA[Shared Disks]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Assessment]]></category>
		<category><![CDATA[SQL Events]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Consultant]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[SQL Training]]></category>
		<category><![CDATA[TempDB]]></category>
		<category><![CDATA[The Sero Group]]></category>
		<guid isPermaLink="false">https://theserogroup.com/?p=5664</guid>

					<description><![CDATA[<p>If you&#8217;ve moved your SQL Server workload to Azure Virtual Machines, you&#8217;ve noticed there&#8217;s no shortage in the number of options available. Virtual machine sizes, disk types, caching vs no caching, support for bursting, etc. When hosting SQL Server on Azure Virtual Machines, choosing the right combination of VM size and disk types is essential&#8230; <br /> <a class="read-more" href="https://theserogroup.com/azure/analyzing-disk-latency-in-azure-virtual-machines-part-1/">Read more</a></p>
<p>The post <a href="https://theserogroup.com/azure/analyzing-disk-latency-in-azure-virtual-machines-part-1/">Analyzing Disk Latency in Azure Virtual Machines &#8211; Part 1</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">If you&#8217;ve moved your SQL Server workload to Azure Virtual Machines, you&#8217;ve noticed there&#8217;s no shortage in the number of options available.  Virtual machine sizes, disk types, caching vs no caching, support for bursting, etc.  </p>



<p class="wp-block-paragraph">When hosting SQL Server on Azure Virtual Machines, choosing the right combination of VM size and disk types is essential from both a cost and performance perspective.  </p>



<p class="wp-block-paragraph">However, workloads change over time and may require resizing the Azure VM or disks.  For example, perhaps you deployed a new application that utilizes SQL Server on an Azure Virtual Machine.  At first, usage was low, but now the application has become critical to the organization, and usage has increased significantly.  You&#8217;ve noticed disk-related waits in SQL Server have increased, and you are wondering how to address the latency and end users have started to complain.</p>



<p class="wp-block-paragraph">Tracking down disk performance issues can be tricky.  There are multiple layers to consider.  Is it the virtual machine or the disk(s) causing the bottleneck?  </p>



<p class="wp-block-paragraph">In Azure, disks and VMs have a cap on how much throughput and IOPs can be performed.  When looking into disk performance issues, it&#8217;s essential to account for the following at both the VM level and Disk level, as each has different levels of performance:</p>



<ul class="wp-block-list">
<li>VM &#8211; Max cached and temp storage throughput (IOPs/MBps).  Not all VMs support premium storage caching.</li>



<li>VM &#8211; Max uncached disk throughput (IOPs/MBps)</li>



<li>VM &#8211; Max data disks</li>



<li>Disk &#8211; Max disk size</li>



<li>Disk &#8211; Max throughput (MB/s)</li>



<li>Disk &#8211; Max IOPs</li>
</ul>



<p class="wp-block-paragraph">To understand the VM level caps mentioned above, let&#8217;s review the three paths an IO can take: Cached, Uncached, Local/Temp disk.</p>



<h2 class="wp-block-heading" id="h-azure-virtual-machine-disk-io-paths">Azure Virtual Machine Disk IO Paths</h2>



<h3 class="wp-block-heading" id="h-cached">Cached</h3>



<p class="wp-block-paragraph"><strong>Purpose</strong>: Host caching in Azure is designed to improve performance by storing frequently accessed data closer to the VM.  This caching mechanism enhances read operations and can significantly reduce latency.  </p>



<p class="wp-block-paragraph"><strong>Types of Operations</strong>: It&#8217;s typically used for read-heavy workloads.  You can configure host caching to be read-only or read/write (not recommended for disks hosting transaction log files).  Read-only caching is ideal for workloads that predominantly involve read operations, while read/write caching is suitable for a balance of read and write operations.</p>



<p class="wp-block-paragraph"><strong>Performance</strong>: Cached I/O allows for higher IOPS and throughput as it utilizes the VM&#8217;s cache, which is faster than accessing data directly from the disk.  </p>



<p class="wp-block-paragraph"><strong>Limitations</strong>: The amount of storage available for host caching is limited and specified in the VM&#8217;s documentation.  Also, cached I/O counts towards the VM&#8217;s cached limits.</p>



<p class="wp-block-paragraph"><strong>Data Integrity</strong>: For read/write caching, writes are initially written to the cache and later written to the disk, which can be a concern for workloads requiring immediate persistence on disk.</p>



<h3 class="wp-block-heading" id="h-uncached">Uncached</h3>



<p class="wp-block-paragraph"><strong>Purpose</strong>: Uncached disk I/O involves direct interaction with the disk without the intermediate caching layer.  It is used for less frequently accessed data or when the latest data is required.</p>



<p class="wp-block-paragraph"><strong>Types of Operations</strong>: Suitable for workloads that involve a significant amount of write operations or where data integrity and immediate persistence are crucial.</p>



<p class="wp-block-paragraph"><strong>Performance</strong>: Generally, uncached disk I/O has lower performance compared to cached I/O due to the absence of the caching layer.  The IOPS and throughput are limited by the disk&#8217;s and VM&#8217;s capabilities.</p>



<p class="wp-block-paragraph"><strong>Limitations</strong>: The performance is constrained by the disk type and size and VM size.  For example, a P30 disk can handle up to 5,000 IOPs.</p>



<p class="wp-block-paragraph"><strong>Data Integrity</strong>: Since all operations are directly on the disk, there is immediate persistence of data, which is critical for certain applications and data security protocols.</p>



<h3 class="wp-block-heading" id="h-local-temp-disk">Local/Temp disk</h3>



<p class="wp-block-paragraph"><strong>Purpose</strong>: Temporary disks provide short-term storage for applications and processes running on the VM.  They are primarily used to store data that doesn&#8217;t need to be persistent, such as swap files, system caches, page files, or temporary data files (tempdb for example).</p>



<p class="wp-block-paragraph"><strong>Performance</strong>: Temporary disks are typically faster than standard storage disks because they are located on the same physical machine as the VM.  The performance of the temporary disk is tied to the VM size and offers high I/O throughput and low latency, making them ideal for temporary workloads and caching.</p>



<p class="wp-block-paragraph"><strong>Data Persistence and Reliability</strong>: Data on the temporary disk is volatile.  This means it persists only during the lifetime of the VM instance.  If the VM is stopped or de-allocated (not just restarted), data on the temporary disk is likely to be lost.  During some maintenance events or when the VM is moved to a different host hardware, the data on the temporary disk can also be lost. </p>



<p class="has-vivid-red-color has-text-color has-link-color wp-elements-ac08b9dc6ea8015a12bb3591da2e2cb2 wp-block-paragraph"><strong>Therefore, temporary disks should not be used for any data you need to keep.</strong></p>



<p class="wp-block-paragraph">To learn more on how Azure High-Scale VMs utilize disk caching, see <a href="https://learn.microsoft.com/en-us/azure/virtual-machines/premium-storage-performance#disk-caching" target="_blank" rel="noreferrer noopener">here</a>.</p>



<h2 class="wp-block-heading" id="h-azure-vm-size-limitations">Azure VM Size Limitations</h2>



<p class="wp-block-paragraph">Each Azure Virtual Machine size has the following properties defined (some VM sizes include additional properties such as burstable credits and cached throughput):</p>



<ul class="wp-block-list">
<li>vCPU &#8211; Number of virtual CPUs</li>



<li>Memory GiB </li>



<li>Temp Storage </li>



<li>Max Data Disks &#8211; Number of data disks that can be attached.</li>



<li>Max Network Bandwidth (Gbps)</li>



<li>Max NICs &#8211; Max number of network interface cards.</li>



<li>Max uncached disk throughput IOPS/MBps &#8211; Combined total of all disks.  For example, the remaining disks will encounter latency if one disk uses all available IOPs.</li>
</ul>



<p class="wp-block-paragraph">We&#8217;ll focus on the disk-related properties throughout this series.</p>



<h2 class="wp-block-heading" id="h-conclusion">Conclusion</h2>



<p class="wp-block-paragraph">In part 2, we&#8217;ll review an Azure VM experiencing high disk latency.  We&#8217;ll use Azure VM Metrics to help identify where the bottleneck may be and how to alleviate the issue.</p>



<p class="wp-block-paragraph">In the meantime, here are a few other articles that may be helpful.</p>



<ul class="wp-block-list">
<li><a href="https://theserogroup.com/azure/azure-shared-disks-failover-clustered-instance-sql-server-2016/">Azure shared disks &#8211; Failover Clustered Instance &#8211; SQL Server 2016</a></li>



<li><a href="https://theserogroup.com/sql-server/azure-shared-disks-failover-clustered-instances/">Azure shared disks &#8211; Failover Clustered Instances</a></li>



<li><a href="https://theserogroup.com/sql-server/how-to-create-sql-server-2019-failover-clustered-instances-in-azure/">How to Create SQL Server 2019 Failover Clustered Instances in Azure</a></li>



<li><a href="https://theserogroup.com/dba/identifying-sql-server-disk-latency/">Identifying SQL Server Disk Latency</a></li>



<li><a href="https://theserogroup.com/data-strategy/10-data-storage-considerations-for-growing-companies/">10 Data Storage Considerations for Growing Companies</a></li>
</ul>



<p class="wp-block-paragraph">If you’d like some assistance assessing your SQL Server workload on an Azure Virtual Machine, <a href="https://theserogroup.com/#contact">reach out</a>. We’re happy to help.</p>
<p>The post <a href="https://theserogroup.com/azure/analyzing-disk-latency-in-azure-virtual-machines-part-1/">Analyzing Disk Latency in Azure Virtual Machines &#8211; Part 1</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5664</post-id>	</item>
		<item>
		<title>Use a Docker Container to Explore SQL Server 2022&#8217;s New Features</title>
		<link>https://theserogroup.com/sql-server/use-a-docker-container-to-explore-sql-server-2022s-new-features/</link>
					<comments>https://theserogroup.com/sql-server/use-a-docker-container-to-explore-sql-server-2022s-new-features/#comments</comments>
		
		<dc:creator><![CDATA[Joe Webb]]></dc:creator>
		<pubDate>Thu, 23 Jun 2022 20:43:27 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Containers]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[IT Manager]]></category>
		<category><![CDATA[Microsoft Azure]]></category>
		<category><![CDATA[Script Library]]></category>
		<category><![CDATA[Sero]]></category>
		<category><![CDATA[Sero Group]]></category>
		<category><![CDATA[Serogroup]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Consultant]]></category>
		<category><![CDATA[SQL Events]]></category>
		<category><![CDATA[SQL Security]]></category>
		<category><![CDATA[SQL Server Consultant]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[SQL Training]]></category>
		<category><![CDATA[TempDB]]></category>
		<category><![CDATA[The Sero Group]]></category>
		<guid isPermaLink="false">https://theserogroup.com/?p=4496</guid>

					<description><![CDATA[<p>There&#8217;s a lot of hype surrounding the next version of SQL Server. And for good reason. SQL Server 2022 is packed with some long awaited niceties, improvements, and enhancements. Here are a few of the SQL Server 2022&#8217;s new features we are excited about. Contained Availability Groups Enhancements to Availability Groups and Distributed Availability Groups&#8230; <br /> <a class="read-more" href="https://theserogroup.com/sql-server/use-a-docker-container-to-explore-sql-server-2022s-new-features/">Read more</a></p>
<p>The post <a href="https://theserogroup.com/sql-server/use-a-docker-container-to-explore-sql-server-2022s-new-features/">Use a Docker Container to Explore SQL Server 2022&#8217;s New Features</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">There&#8217;s a lot of hype surrounding the next version of SQL Server. And for good reason. SQL Server 2022 is packed with some long awaited niceties, improvements, and enhancements. Here are a few of the SQL Server 2022&#8217;s new features we are excited about.</p>



<ul class="wp-block-list"><li>Contained Availability Groups</li><li>Enhancements to Availability Groups and Distributed Availability Groups</li><li>Query Store enhancements, including being available on secondary replicas</li><li>Parameter Sensitive Plan (PSP) optimization</li><li>Ledger to help assure data hasn&#8217;t been tampered with</li></ul>



<p class="wp-block-paragraph">You can learn more about SQL Server 2022 on the <a href="https://docs.microsoft.com/en-us/sql/sql-server/what-s-new-in-sql-server-2022?view=sql-server-ver16" target="_blank" rel="noreferrer noopener">What&#8217;s new in SQL Server 2022 &#8211; SQL Server | Microsoft Docs</a> site.</p>



<p class="wp-block-paragraph">Now, how can you explore SQL Server 2022&#8217;s new features? </p>



<h2 class="wp-block-heading">Test Driving SQL Server 2022</h2>



<p class="wp-block-paragraph">Containers are a great way to explore new versions of a product like SQL Server without having to actually install bits on your computer that you&#8217;ll later want to remove. Containers are lightweight, standalone, and have everything required to run SQL Server. There&#8217;s nothing to install directly on your host machine. And nothing to remove later, except, of course, the container and image file. But those won&#8217;t leave remnants of SQL Server in your registry or file system.</p>



<h3 class="wp-block-heading">Prerequisites </h3>



<p class="wp-block-paragraph">To use SQL Server in a Docker container, you&#8217;ll need the <a href="https://www.docker.com/products/docker-desktop" target="_blank" rel="noreferrer noopener">Docker Desktop</a>. There are versions for most every desktop platform, including Windows, Mac, and Linux. In <a href="https://theserogroup.com/sql-server/getting-started-with-sql-server-in-a-docker-container/">Getting Started with SQL Server in a Docker Container &#8211; The SERO Group</a>, I walk through the process of configuring Docker Desktop for a Windows 10 client. If you don&#8217;t already have the Docker Desktop installed, do that first. </p>



<h3 class="wp-block-heading">Pulling the SQL Server 2022 container image</h3>



<p class="wp-block-paragraph">Once you have Docker Desktop in place, you can pull (download) the SQL Server 2022 image using the following command in the Windows command prompt.</p>



<pre class="wp-block-code"><code>docker pull mcr.microsoft.com/mssql/server:2022-latest</code></pre>



<figure class="wp-block-image size-full"><a href="https://theserogroup.com/wp-content/uploads/2022/06/pullsql2022.png"><img loading="lazy" decoding="async" width="690" height="335" src="https://theserogroup.com/wp-content/uploads/2022/06/pullsql2022.png" alt="pull sql server 2022 docker container" class="wp-image-4500" srcset="https://theserogroup.com/wp-content/uploads/2022/06/pullsql2022.png 690w, https://theserogroup.com/wp-content/uploads/2022/06/pullsql2022-300x146.png 300w" sizes="auto, (max-width: 690px) 100vw, 690px" /></a></figure>



<h3 class="wp-block-heading">Starting the SQL Server 2022 container</h3>



<p class="wp-block-paragraph">Once the pull has completed, you can create the container from the image using the following command.</p>



<pre class="wp-block-code"><code>docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=iO1$6sJ&amp;64YRCJAx" -p 1433:1433 --name sql2022ctp1 -d mcr.microsoft.com/mssql/server:2022-latest</code></pre>



<p class="wp-block-paragraph">The ACCEPT_EULA parameter indicates that you agree to Microsoft’s End User Licensing Agreement. SA_PASSWORD parameter is where you set the sa password for this instance. You&#8217;ll want to replace iO1$6sJ&amp;64YRCJAx in the example above with a complex password of your choosing.</p>



<p class="wp-block-paragraph">The -p parameter allows you to map a TCP port on the host environment to a port in the container. In this example, I’m mapping the default host environment port of 1433 to the container port of 1433.</p>



<p class="wp-block-paragraph">Set the name for your container using the –name parameter. I’m naming this one sql2022ctp1.</p>



<p class="wp-block-paragraph">And finally, the -d parameter is the name of the container image your want to run.</p>



<h3 class="wp-block-heading">Listing your containers</h3>



<p class="wp-block-paragraph">You can use the following command to list all containers in your Docker environment.</p>



<pre class="wp-block-code"><code>docker ps -a</code></pre>



<p class="wp-block-paragraph">You can see that this Docker environment has two SQL Server 2019 containers, sql2019 and sql2019a, along with our newly created container, sql2022ctp1. The sql2022ctp1 container is running. The other two are not.</p>



<figure class="wp-block-image size-full"><a href="https://theserogroup.com/wp-content/uploads/2022/06/dockerpsa.png"><img loading="lazy" decoding="async" width="690" height="333" src="https://theserogroup.com/wp-content/uploads/2022/06/dockerpsa.png" alt="docker list sql server containers" class="wp-image-4503" srcset="https://theserogroup.com/wp-content/uploads/2022/06/dockerpsa.png 690w, https://theserogroup.com/wp-content/uploads/2022/06/dockerpsa-300x145.png 300w" sizes="auto, (max-width: 690px) 100vw, 690px" /></a></figure>



<p class="wp-block-paragraph">You can also see your containers in the Docker Desktop as shown below.</p>



<figure class="wp-block-image size-full"><a href="https://theserogroup.com/wp-content/uploads/2022/06/Screen-Shot-2022-06-23-at-10.44.18-AM.png"><img loading="lazy" decoding="async" width="956" height="602" src="https://theserogroup.com/wp-content/uploads/2022/06/Screen-Shot-2022-06-23-at-10.44.18-AM.png" alt="docker desktop sqlserver 2022 ctp 1" class="wp-image-4501" srcset="https://theserogroup.com/wp-content/uploads/2022/06/Screen-Shot-2022-06-23-at-10.44.18-AM.png 956w, https://theserogroup.com/wp-content/uploads/2022/06/Screen-Shot-2022-06-23-at-10.44.18-AM-300x189.png 300w, https://theserogroup.com/wp-content/uploads/2022/06/Screen-Shot-2022-06-23-at-10.44.18-AM-768x484.png 768w" sizes="auto, (max-width: 956px) 100vw, 956px" /></a></figure>



<h3 class="wp-block-heading">Querying the SQL Server 2022 instance</h3>



<p class="wp-block-paragraph">Using Azure Data Studio or SQL Server Management Studio, you can connect to your new SQL Server 2022 instance and query as normal from your host operating system. For example, running the following query in Azure Data Studio will return the SQL Server Edition, Version, and Product Level.</p>



<pre class="wp-block-code"><code>SELECT  SERVERPROPERTY('Edition') AS SQLEdition,
        SERVERPROPERTY('ProductVersion') AS ProductVersion,
        SERVERPROPERTY('ProductLevel') AS ProductLevel;</code></pre>



<figure class="wp-block-image size-full"><a href="https://theserogroup.com/wp-content/uploads/2022/06/sql2022info1.png"><img loading="lazy" decoding="async" width="512" height="102" src="https://theserogroup.com/wp-content/uploads/2022/06/sql2022info1.png" alt="sql server 2022 info" class="wp-image-4504" srcset="https://theserogroup.com/wp-content/uploads/2022/06/sql2022info1.png 512w, https://theserogroup.com/wp-content/uploads/2022/06/sql2022info1-300x60.png 300w" sizes="auto, (max-width: 512px) 100vw, 512px" /></a></figure>



<p class="wp-block-paragraph">You can use the following query to review information about the host operating system. </p>



<pre class="wp-block-code"><code>SELECT  host_platform, 
        host_distribution, 
        host_release
FROM    sys.dm_os_host_info;</code></pre>



<figure class="wp-block-image size-full"><a href="https://theserogroup.com/wp-content/uploads/2022/06/sqlserver2022hostinfo.png"><img loading="lazy" decoding="async" width="473" height="110" src="https://theserogroup.com/wp-content/uploads/2022/06/sqlserver2022hostinfo.png" alt="sql server container host information" class="wp-image-4505" srcset="https://theserogroup.com/wp-content/uploads/2022/06/sqlserver2022hostinfo.png 473w, https://theserogroup.com/wp-content/uploads/2022/06/sqlserver2022hostinfo-300x70.png 300w" sizes="auto, (max-width: 473px) 100vw, 473px" /></a></figure>



<h2 class="wp-block-heading">Exploring SQL Server 2022&#8217;s new features</h2>



<p class="wp-block-paragraph">Now that you have a working SQL Server 2022 instance, you can begin exploring its new features. </p>



<p class="wp-block-paragraph">For example, I&#8217;d like to better understand the new Parameter Sensitivity Plan (PSP) optimization enhancements. So, I restored a copy of the <a href="https://theserogroup.com/career-development/data-getcha-data-here/">BaseballData</a> database that I sometimes use for testing and demos. See <a href="https://theserogroup.com/sql-server/getting-started-with-sql-server-in-a-docker-container/">Getting Started with SQL Server in a Docker Container &#8211; The SERO Group</a> for how to restore a backup to your container. </p>



<p class="wp-block-paragraph">Next, I set the compatibility level of the BaseballData database to 160 and enable Query Store using the following t-sql commands.</p>



<pre class="wp-block-code"><code>ALTER DATABASE BaseballData  
SET COMPATIBILITY_LEVEL = 160;  

ALTER DATABASE BaseballData 
SET QUERY_STORE (QUERY_CAPTURE_MODE = auto);</code></pre>



<p class="wp-block-paragraph">To verify that setting the compatibility level to 160 enabled  PSP optimization, I can run the following query.</p>



<pre class="wp-block-code"><code>SELECT name, value, is_value_default
FROM sys.database_scoped_configurations
WHERE name = 'PARAMETER_SENSITIVE_PLAN_OPTIMIZATION'</code></pre>



<figure class="wp-block-image size-full"><a href="https://theserogroup.com/wp-content/uploads/2022/06/pspoptimization.png"><img loading="lazy" decoding="async" width="499" height="107" src="https://theserogroup.com/wp-content/uploads/2022/06/pspoptimization.png" alt="sql server 2022 psp optimization" class="wp-image-4513" srcset="https://theserogroup.com/wp-content/uploads/2022/06/pspoptimization.png 499w, https://theserogroup.com/wp-content/uploads/2022/06/pspoptimization-300x64.png 300w" sizes="auto, (max-width: 499px) 100vw, 499px" /></a></figure>



<p class="wp-block-paragraph">Now I can begin experimenting how PSP optimization affects my queries. For more information about PSP optimization, see <a href="https://docs.microsoft.com/en-us/sql/relational-databases/performance/parameter-sensitivity-plan-optimization?view=sql-server-ver16">Parameter Sensitivity Plan optimization &#8211; SQL Server | Microsoft Docs</a>. </p>



<h2 class="wp-block-heading">Stopping and starting your Docker container</h2>



<p class="wp-block-paragraph">You can leave your container running all the time if you wish. However, if you like to stop it and start it again later, you can with the following command, where sql2022ctp1 is the name you gave to your container.</p>



<pre class="wp-block-code"><code>docker stop sql2022ctp1</code></pre>



<p class="wp-block-paragraph">To start the container later, use the following.</p>



<pre class="wp-block-code"><code>docker start sql2022ctp1</code></pre>



<h2 class="wp-block-heading">Want to work with The SERO Group?</h2>



<p class="wp-block-paragraph">Want to learn more about how SERO Group helps organizations take the guesswork out of managing their SQL Servers? It’s easy and there is no obligation.&nbsp;</p>



<p class="wp-block-paragraph">Schedule a&nbsp;<a href="https://theserogroup.com/meet-with-joe-webb/">free 30-minute call</a>&nbsp;to see if our&nbsp;<a href="https://theserogroup.com/sql-health-check/">SQL Server Health Check</a>&nbsp;or one of our&nbsp;<a href="https://theserogroup.com/seroshield/">SEROShield</a>&nbsp;plans is right for you.</p>



<p class="wp-block-paragraph"><a href="https://theserogroup.com/meet-with-joe-webb" target="_blank" rel="noreferrer noopener">Schedule a call</a>&nbsp;with us to get started.</p>
<p>The post <a href="https://theserogroup.com/sql-server/use-a-docker-container-to-explore-sql-server-2022s-new-features/">Use a Docker Container to Explore SQL Server 2022&#8217;s New Features</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theserogroup.com/sql-server/use-a-docker-container-to-explore-sql-server-2022s-new-features/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4496</post-id>	</item>
		<item>
		<title>Infographic: 5 Commonly Overlooked SQL Server Settings</title>
		<link>https://theserogroup.com/sql-server/infographic-5-commonly-overlooked-sql-server-settings/</link>
		
		<dc:creator><![CDATA[Joe Webb]]></dc:creator>
		<pubDate>Wed, 04 May 2022 16:58:00 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[IT Manager]]></category>
		<category><![CDATA[Sero]]></category>
		<category><![CDATA[Sero Group]]></category>
		<category><![CDATA[Serogroup]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Assessment]]></category>
		<category><![CDATA[SQL Server Consultant]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[TempDB]]></category>
		<category><![CDATA[The Sero Group]]></category>
		<guid isPermaLink="false">https://theserogroup.com/?p=4442</guid>

					<description><![CDATA[<p>When we examine SQL Servers as part of our SEROShield SQL Server Health Check, we find five commonly overlooked SQL Server settings that can put performance, reliability, and even data at risk. Why are SQL Servers often misconfigured? SQL Server is robust. Microsoft has put a lot of effort into creating a database platform that&#8230; <br /> <a class="read-more" href="https://theserogroup.com/sql-server/infographic-5-commonly-overlooked-sql-server-settings/">Read more</a></p>
<p>The post <a href="https://theserogroup.com/sql-server/infographic-5-commonly-overlooked-sql-server-settings/">Infographic: 5 Commonly Overlooked SQL Server Settings</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">When we examine SQL Servers as part of our <a href="https://theserogroup.com/sql-health-check/">SEROShield SQL Server Health Check</a>, we find five commonly overlooked SQL Server settings that can put performance, reliability, and even data at risk.</p>



<h2 class="wp-block-heading">Why are SQL Servers often misconfigured?</h2>



<p class="wp-block-paragraph">SQL Server is robust. Microsoft has put a lot of effort into creating a database platform that works well even when not configured optimally. </p>



<p class="wp-block-paragraph">Unfortunately, SQL Server&#8217;s robustness and its dependability is sometimes taken for granted. In larger organizations with hundreds of SQL instances, the DBA team often doesn&#8217;t have the time or tools to get to know each instance. They sometimes have to manage by exception, tackling problems as they arise. </p>



<p class="wp-block-paragraph">In smaller companies without the need or budget for a full-time DBA, another IT professional is tasked with SQL Server duties. They split time between their primary job and managing the SQL Server. </p>



<p class="wp-block-paragraph">In <a href="https://theserogroup.com/sql-server/why-9-out-of-10-sql-servers-arent-configured-with-best-practices/">Why 9 Out of 10 SQL Servers Aren’t Configured with Best Practices</a>, we share 5 reasons why many SQL Servers aren&#8217;t configured with industry best practices. Here&#8217;s a summary. I encourage you to go read the full post. </p>



<ol class="wp-block-list"><li>SQL Server is so easy to setup</li><li>SQL Server just works</li><li>Introducing the Accidental DBA</li><li>Duct-taping with hardware</li><li>Everyone has their own standards</li></ol>



<h2 class="wp-block-heading">A free infographic: SQL Server settings commonly overlooked</h2>



<p class="wp-block-paragraph">We work with SQL Servers of all shapes and sizes. Some have high transactional volumes while others are used only for reporting purposes. Some measure their storage requirements in TB while others are a faction of that size. They are in the cloud, in colocation data centers, and in the server room. </p>



<p class="wp-block-paragraph">We support SQL Servers used in healthcare, legal, banking, government, import/export, construction, manufacturing, and retail distribution. </p>



<p class="wp-block-paragraph">We&#8217;ve found that there are five commonly overlooked issues that can cause performance or reliability issues for the SQL Server. Here they are in a short infographic. </p>



<div class="wp-block-image"><figure class="aligncenter size-large"><a href="https://theserogroup.com/wp-content/uploads/2022/04/5_Common_SQL_Configuration_Issues.png"><img loading="lazy" decoding="async" width="410" height="1024" src="https://theserogroup.com/wp-content/uploads/2022/04/5_Common_SQL_Configuration_Issues-410x1024.png" alt="5 Commonly Overlooked SQL Server Settings" class="wp-image-4445" srcset="https://theserogroup.com/wp-content/uploads/2022/04/5_Common_SQL_Configuration_Issues-410x1024.png 410w, https://theserogroup.com/wp-content/uploads/2022/04/5_Common_SQL_Configuration_Issues-120x300.png 120w, https://theserogroup.com/wp-content/uploads/2022/04/5_Common_SQL_Configuration_Issues-432x1080.png 432w, https://theserogroup.com/wp-content/uploads/2022/04/5_Common_SQL_Configuration_Issues.png 500w" sizes="auto, (max-width: 410px) 100vw, 410px" /></a></figure></div>



<p class="wp-block-paragraph">Fortunately, these are not difficult to resolve. </p>



<p class="wp-block-paragraph">If you&#8217;d like more detail about each of these, download our <a href="https://theserogroup.com/sql-server-configuration-download/">5 Risks to SQL Security &amp; SQL Server Performance | Download | SERO (theserogroup.com)</a> pdf. </p>



<h2 class="wp-block-heading">How is your SQL Server?</h2>



<p class="wp-block-paragraph">Have some uncertainty around your SQL Server backups? Schedule a&nbsp;<a href="https://theserogroup.com/meet-with-joe-webb/">free 30-minute call</a>&nbsp;to see if our&nbsp;<a href="https://theserogroup.com/sql-health-check/">SQL Server Health Check</a>&nbsp;or one of our&nbsp;<a href="https://theserogroup.com/seroshield/">SEROShield</a>&nbsp;plans is right for you.</p>
<p>The post <a href="https://theserogroup.com/sql-server/infographic-5-commonly-overlooked-sql-server-settings/">Infographic: 5 Commonly Overlooked SQL Server Settings</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4442</post-id>	</item>
		<item>
		<title>How to Configure SQL Server tempdb?</title>
		<link>https://theserogroup.com/dba/how-to-configure-sql-server-tempdb/</link>
					<comments>https://theserogroup.com/dba/how-to-configure-sql-server-tempdb/#comments</comments>
		
		<dc:creator><![CDATA[Joe Webb]]></dc:creator>
		<pubDate>Tue, 05 Oct 2021 14:11:55 +0000</pubDate>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[IT Manager]]></category>
		<category><![CDATA[Script Library]]></category>
		<category><![CDATA[Sero]]></category>
		<category><![CDATA[Sero Group]]></category>
		<category><![CDATA[Serogroup]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Assessment]]></category>
		<category><![CDATA[SQL Audit]]></category>
		<category><![CDATA[SQL Consultant]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Consultant]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[TempDB]]></category>
		<category><![CDATA[The Sero Group]]></category>
		<guid isPermaLink="false">https://theserogroup.com/?p=3970</guid>

					<description><![CDATA[<p>How many tempdb data files should a SQL Server have? And where should they live? What about their growth settings? Should it be by percent? Or, should they grow by a certain size each time? Are there other tempdb configuration settings I should be concerned with? In short: how should I configure my SQL Server&#8230; <br /> <a class="read-more" href="https://theserogroup.com/dba/how-to-configure-sql-server-tempdb/">Read more</a></p>
<p>The post <a href="https://theserogroup.com/dba/how-to-configure-sql-server-tempdb/">How to Configure SQL Server tempdb?</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">How many tempdb data files should a SQL Server have? And where should they live? What about their growth settings? Should it be by percent? Or, should they grow by a certain size each time? Are there other tempdb configuration settings I should be concerned with? </p>



<p class="wp-block-paragraph">In short: how should I configure my SQL Server tempdb so that it performs well and doesn&#8217;t become a bottleneck? And is there an easy way to tell if my SQL Server tempdb is configured properly?</p>



<p class="wp-block-paragraph">Let&#8217;s start with how should your tempdb be configured.</p>



<h2 class="wp-block-heading">How should the SQL Server tempdb be configured?</h2>



<p class="wp-block-paragraph">Configuring SQL Server tempdb is a bit of a balancing act. Settings appropriate for one instance may not be right for another instance. And since tempdb can have dramatic implications for the performance for all databases on the SQL instance, it&#8217;s important to get it right. </p>



<p class="wp-block-paragraph">Microsoft has good information on the <a href="https://docs.microsoft.com/en-us/sql/relational-databases/databases/tempdb-database?view=sql-server-ver15#optimizing-tempdb-performance-in-sql-server" target="_blank" rel="noreferrer noopener">SQL Docs</a> page to help you optimize the tempdb system for performance. I&#8217;ll summarize here, but you should really go read it yourself in SQL Docs.</p>



<ul class="wp-block-list"><li>Number: This will depend on several factors, including the number logical processors available to the instance. A good starting point is:<ul><li>1 to 8 processors &#8211; create one tempdb file for each logical processor.</li><li>More than 8 processors &#8211; start with 8 tempdb files and monitor. If contention in tempdb becomes a bottleneck, increase the number of data files in increments of 4 and continue to monitor. </li></ul></li><li>Size: All tempdb data files should be the same size. </li><li>Growth: Set growth increments to a reasonable size, and make sure it&#8217;s the same for all tempdb data files. Don&#8217;t grow by percentage.</li><li>Location: Place your tempdb files somewhere other than on the operating system drive.  </li></ul>



<h2 class="wp-block-heading"> Is my SQL Server tempdb configured properly? </h2>



<p class="wp-block-paragraph">Okay, now that we know a good starting point for our tempdb configuration, are we there? Or do we need to make some changes? </p>



<p class="wp-block-paragraph">Let&#8217;s check.</p>



<p class="wp-block-paragraph">You can, of course, open SQL Server Management Studio and drill down into the tempdb setting to have a look. Or, you can write some T-SQL queries to return the configuration information. There&#8217;s a <a href="https://docs.microsoft.com/en-us/sql/relational-databases/databases/tempdb-database?view=sql-server-ver15#optimizing-tempdb-performance-in-sql-server" target="_blank" rel="noreferrer noopener">nice little query on SQL Docs</a> for this.</p>



<p class="wp-block-paragraph">My favorite way for a quick check, however, is to use the Test-<a href="https://docs.dbatools.io/#Test-DbaTempDbConfig" target="_blank" rel="noreferrer noopener">DbaTempDbConfig </a>command in <a href="https://docs.dbatools.io/" target="_blank" rel="noreferrer noopener">dbatools</a>. Use the command below, replacing the name of the instance with the instance name you&#8217;re interested in. </p>



<pre class="wp-block-code"><code>Test-DbaTempDbConfig -SqlInstance sql2019 | format-table -Wrap</code></pre>



<p class="wp-block-paragraph">Here&#8217;s the output from a test system.</p>



<figure class="wp-block-image size-large"><a href="https://theserogroup.com/wp-content/uploads/2021/09/configuretempdb.png"><img loading="lazy" decoding="async" width="1024" height="160" src="https://theserogroup.com/wp-content/uploads/2021/09/configuretempdb-1024x160.png" alt="SQL Server tempdb file configuration" class="wp-image-3975" srcset="https://theserogroup.com/wp-content/uploads/2021/09/configuretempdb-1024x160.png 1024w, https://theserogroup.com/wp-content/uploads/2021/09/configuretempdb-300x47.png 300w, https://theserogroup.com/wp-content/uploads/2021/09/configuretempdb-768x120.png 768w, https://theserogroup.com/wp-content/uploads/2021/09/configuretempdb.png 1306w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>



<p class="wp-block-paragraph">The command returns six lines of output. These roughly correspond to the settings mentioned above &#8211; file size, location, growth settings, and max size.</p>



<p class="wp-block-paragraph">The command also checks for Trace Flag 1118. Read more about this Trace Flag in <a href="https://support.microsoft.com/en-us/topic/kb328551-concurrency-enhancements-for-the-tempdb-database-ca601d44-4b95-70c7-2afe-df0bf7ba716c" target="_blank" rel="noreferrer noopener">KB328551</a>.</p>



<h2 class="wp-block-heading">Review your tempdb settings and refine, if needed</h2>



<p class="wp-block-paragraph">Regardless of whether you used the database properties in SSMS, ran a T-SQL query to return the settings, or used the dbatools powershell script above, review the current configuration for your tempdb. Determine if a change is warranted and update the settings, if needed. Add some additional files, resize the existing files, adjust the growth settings, etc. </p>



<p class="wp-block-paragraph">As a general rule, these changes will require a restart to take effect. (Depending on the specific change, that&#8217;s not always the case, but it&#8217;s generally better to make the changes during a maintenance window and restart the SQL Server service.)</p>



<h2 class="wp-block-heading">For more information on configuring your SQL Server tempdb</h2>



<p class="wp-block-paragraph">Want to know more about SQL Server tempdb and how it should be configured? See the following pages. </p>



<ul class="wp-block-list"><li><a href="https://docs.microsoft.com/en-us/sql/relational-databases/databases/tempdb-database?view=sql-server-ver15" target="_blank" rel="noreferrer noopener">tempdb database &#8211; SQL Server | Microsoft Docs</a></li><li><a href="https://theserogroup.com/sql-server/3-ways-to-find-your-sql-server-tempdb-data-files/">3 Ways to Find Your SQL Server tempdb Data Files</a></li><li><a href="https://theserogroup.com/sql-server/how-many-tempdb-data-files-should-my-sql-server-have/">How Many tempdb Data Files Should My SQL Server Have?</a></li><li><a href="https://www.sentryone.com/tempdb-in-sql-server">TempDB in SQL Server: Temporary Data with Long Term Problems (sentryone.com)</a></li></ul>



<h2 class="wp-block-heading">Want to work with The SERO Group?</h2>



<p class="wp-block-paragraph">Want to learn more about how SERO Group helps organizations take the guesswork out of managing their SQL Servers? It’s easy and there is no obligation.&nbsp;</p>



<p class="wp-block-paragraph"><a href="https://calendly.com/joe_webb" target="_blank" rel="noreferrer noopener">Schedule a call</a>&nbsp;with us to get started.</p>
<p>The post <a href="https://theserogroup.com/dba/how-to-configure-sql-server-tempdb/">How to Configure SQL Server tempdb?</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theserogroup.com/dba/how-to-configure-sql-server-tempdb/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3970</post-id>	</item>
		<item>
		<title>Webinar: Is Your SQL Server Healthy?</title>
		<link>https://theserogroup.com/professional-development/webinar-is-your-sql-server-healthy/</link>
		
		<dc:creator><![CDATA[Joe Webb]]></dc:creator>
		<pubDate>Fri, 11 Jun 2021 14:59:30 +0000</pubDate>
				<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Clusters]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[IT Manager]]></category>
		<category><![CDATA[Script Library]]></category>
		<category><![CDATA[Sero]]></category>
		<category><![CDATA[Sero Group]]></category>
		<category><![CDATA[Serogroup]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Assessment]]></category>
		<category><![CDATA[SQL Audit]]></category>
		<category><![CDATA[SQL Consultant]]></category>
		<category><![CDATA[SQL Events]]></category>
		<category><![CDATA[SQL Security]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Consultant]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[SQL Training]]></category>
		<category><![CDATA[TempDB]]></category>
		<category><![CDATA[The Sero Group]]></category>
		<guid isPermaLink="false">https://theserogroup.com/?p=3784</guid>

					<description><![CDATA[<p>SQL Server. Many business depend on it. But how can you tell if your SQL Server is healthy? It&#8217;s not always obvious. SQL Server can be pretty forgiving in many ways, until it&#8217;s not. And that can put your performance and even your data at risk. The right configuration settings are critical. Unfortunately, it&#8217;s easy&#8230; <br /> <a class="read-more" href="https://theserogroup.com/professional-development/webinar-is-your-sql-server-healthy/">Read more</a></p>
<p>The post <a href="https://theserogroup.com/professional-development/webinar-is-your-sql-server-healthy/">Webinar: Is Your SQL Server Healthy?</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">SQL Server. Many business depend on it. But how can you tell if your SQL Server is healthy? It&#8217;s not always obvious. SQL Server can be pretty forgiving in many ways, until it&#8217;s not. And that can put your performance and even your data at risk.</p>



<p class="wp-block-paragraph">The right configuration settings are critical. Unfortunately, it&#8217;s easy to overlook many SQL Server settings and best practices. The defaults are not always the best.  </p>



<p class="wp-block-paragraph">A proper maintenance schedule for your databases and servers is important. So is regular monitoring. And a sound HADR plan that meets the needs of the business is critical. </p>



<h2 class="wp-block-heading" id="h-is-your-sql-server-healthy-a-free-webinar">Is your SQL Server healthy? A free webinar</h2>



<p class="wp-block-paragraph">In an upcoming webinar, we’ll discuss some commonly overlooked SQL Server settings and practices we uncover during our <a href="https://theserogroup.com/sql-configuration-assessment/">SQL Server Assessments</a>. These can have dramatic effects on your database server’s performance and reliability. And we&#8217;ll share what you can do to fix them and help to keep your SQL Server healthy. </p>



<p class="wp-block-paragraph"><a href="https://seroprotech3.eventbrite.com" target="_blank" rel="noreferrer noopener">Register here</a> for the free webinar on June 23, 2021.</p>



<p class="wp-block-paragraph">In the meantime, check out these posts.</p>



<ul class="wp-block-list">
<li><a href="https://theserogroup.com/dba/identifying-sql-server-disk-latency/">Identifying SQL Server Disk Latency</a></li>



<li><a href="https://theserogroup.com/professional-development/scary-and-dangerous-things-in-sql-server/">Scary and Dangerous Things in SQL Server</a></li>



<li><a href="https://theserogroup.com/sql-server/securing-your-sql-servers-what-should-you-audit/">Securing Your SQL Servers, What Should You Audit?</a></li>



<li><a href="https://theserogroup.com/sql-server/when-was-the-last-known-good-dbcc-checkdb-integrity-check/">When Was the Last Known Good DBCC CHECKDB Integrity Check?</a></li>



<li><a href="https://theserogroup.com/sql-server-consulting/identify-disk-i-o-performance-issues-for-your-sql-server-using-diskspd/">Identify Disk I/O Performance Issues for Your SQL Server Using DiskSpd</a></li>



<li><a href="https://theserogroup.com/sql-server/is-my-sql-server-configured-properly/">Is My SQL Server Configured Properly?</a></li>



<li><a href="https://theserogroup.com/sql-server/how-many-tempdb-data-files-should-my-sql-server-have/">How Many tempdb Data Files Should My SQL Server Have?</a></li>
</ul>


<div id="eventbrite-widget-1" class="wp-block-jetpack-eventbrite wp-block-jetpack-eventbrite--embed"><a href="https://www.eventbrite.com/e/is-your-sql-server-healthy-common-issues-that-may-be-putting-data-at-risk-tickets-158608011833" rel="noopener noreferrer" target="_blank" class="eventbrite__direct-link" >Register on Eventbrite</a></div>


<h2 class="wp-block-heading" id="h-want-to-work-with-the-sero-group">Want to work with The SERO Group?</h2>



<p class="wp-block-paragraph">Want to learn more about how SERO Group helps organizations take the guesswork out of managing their SQL Servers? It’s easy and there is no obligation.&nbsp;</p>



<p class="wp-block-paragraph"><a href="https://theserogroup.com/#contact" target="_blank" rel="noreferrer noopener">Schedule a call</a> with us to get started.</p>
<p>The post <a href="https://theserogroup.com/professional-development/webinar-is-your-sql-server-healthy/">Webinar: Is Your SQL Server Healthy?</a> appeared first on <a href="https://theserogroup.com">The SERO Group</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3784</post-id>	</item>
	</channel>
</rss>
