<?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>Paul S. Randal</title>
	<atom:link href="https://www.sqlskills.com/blogs/paul/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sqlskills.com/blogs/paul/</link>
	<description>In Recovery...</description>
	<lastBuildDate>Sun, 22 Nov 2026 05:11:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.9</generator>
	<item>
		<title>SQL Server 2022 SQLskills Blackbelt Credly badge now available</title>
		<link>https://www.sqlskills.com/blogs/paul/sql-server-2022-blackbelt-credly-badge-now-available/</link>
					<comments>https://www.sqlskills.com/blogs/paul/sql-server-2022-blackbelt-credly-badge-now-available/#comments</comments>
		
		<dc:creator><![CDATA[Paul Randal]]></dc:creator>
		<pubDate>Sun, 22 Nov 2026 04:39:40 +0000</pubDate>
				<category><![CDATA[Career]]></category>
		<category><![CDATA[Training]]></category>
		<guid isPermaLink="false">https://www.sqlskills.com/blogs/paul/?p=5408</guid>

					<description><![CDATA[<p>As you may know, anyone who attends one of our courses or self-certifies that they&#8217;ve completed watching a purchased course can get a &#8216;certification badge&#8217; that we issue via Credly/Acclaim (after someone requests them at https://www.sqlskills.com/badgeme/). We&#8217;ve just added the SQL Server 2022 Blackbelt badge. It&#8217;s available to anyone who&#8217;s done both of these: Attended [&#8230;]</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/sql-server-2022-blackbelt-credly-badge-now-available/">SQL Server 2022 SQLskills Blackbelt Credly badge now available</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5408" class="elementor elementor-5408" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-4c9c59e elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="4c9c59e" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4c9aec3" data-id="4c9aec3" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-7c8db41 elementor-widget elementor-widget-image" data-id="7c8db41" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img fetchpriority="high" decoding="async" width="300" height="300" src="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/BlackBelt-SQLserver2022-7stars-300x300.png" class="attachment-medium size-medium wp-image-5404" alt="" srcset="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/BlackBelt-SQLserver2022-7stars-300x300.png 300w, https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/BlackBelt-SQLserver2022-7stars-150x150.png 150w, https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/BlackBelt-SQLserver2022-7stars.png 600w" sizes="(max-width: 300px) 100vw, 300px" />															</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-391a11a elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="391a11a" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-69b09b3" data-id="69b09b3" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-166240b elementor-widget elementor-widget-text-editor" data-id="166240b" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p style="text-align: justify;">As you may know, anyone who attends one of our courses or self-certifies that they&#8217;ve completed watching a purchased course can get a &#8216;certification badge&#8217; that we issue via Credly/Acclaim (after someone requests them at https://www.sqlskills.com/badgeme/).</p><p style="text-align: justify;">We&#8217;ve just added the SQL Server 2022 Blackbelt badge. It&#8217;s available to anyone who&#8217;s done both of these:</p><ol style="text-align: justify;"><li>Attended or watched all seven courses (IEPTO1, IEPTO2, IEAzure, IECAG, IEVLT, IECS, IEQS) comprising the SQL Server 2019 Blackbelt, and requested all seven badges, after which I issue the Blackbelt badge automatically</li><li>Attended or watched the SQL Server 2022 Updates and Q&amp;As series , and requested that badge</li></ol><p style="text-align: justify;">If you&#8217;ve already completed 1 and 2, you should now have an email giving you the 2022 Blackbelt badge as I just spent a few hours issuing them.</p><p style="text-align: justify;">If you think you&#8217;ve attended/watched everything necessary, please do one of these:</p><ul style="text-align: justify;"><li>Check your badges at (e.g.) https://www.credly.com/users/paul-randal/badges/credly</li><li><a href="mailto:training@sqlskills.com?subject=What badges am I missing?" target="_blank" rel="noopener">Shoot me an email</a> and I&#8217;ll tell you what you&#8217;re missing (I have records of all class attendees and all purchases)</li></ul><p style="text-align: justify;">And then request all the missing badges at https://www.sqlskills.com/badgeme/ and I&#8217;ll automatically issue both the 2019 and 2022 Blackbelt badges as appropriate.</p><p>Any questions, please <a href="mailto:training@sqlskills.com?subject=2022 Blackbelt badge question">let me know</a>.</p><p>Thanks</p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://www.sqlskills.com/blogs/paul/sql-server-2022-blackbelt-credly-badge-now-available/">SQL Server 2022 SQLskills Blackbelt Credly badge now available</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sqlskills.com/blogs/paul/sql-server-2022-blackbelt-credly-badge-now-available/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Black Friday Sale &#8211; Blackbelt for $399!</title>
		<link>https://www.sqlskills.com/blogs/paul/black-friday-sale-blackbelt-for-399/</link>
					<comments>https://www.sqlskills.com/blogs/paul/black-friday-sale-blackbelt-for-399/#comments</comments>
		
		<dc:creator><![CDATA[Paul Randal]]></dc:creator>
		<pubDate>Thu, 19 Nov 2026 06:13:48 +0000</pubDate>
				<category><![CDATA[Career]]></category>
		<category><![CDATA[SQL Server 2019]]></category>
		<category><![CDATA[SQL Server 2022]]></category>
		<category><![CDATA[Training]]></category>
		<guid isPermaLink="false">https://www.sqlskills.com/blogs/paul/?p=5403</guid>

					<description><![CDATA[<p>It’s the time of year again where companies do crazy sales on the day after Thanksgiving in the US, and we’re doing the same – but starting on a bit early. All below details are also in our online shop, which will update as the sale progresses. Starting at midnight PST on Monday, November 23rd, [&#8230;]</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/black-friday-sale-blackbelt-for-399/">Black Friday Sale &#8211; Blackbelt for $399!</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5403" class="elementor elementor-5403" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-0f55a30 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="0f55a30" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8624271" data-id="8624271" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-efc0b4f elementor-widget elementor-widget-image" data-id="efc0b4f" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sqlskills.com/product/sqlskills-blackbelt-bundle/">
							<img fetchpriority="high" decoding="async" width="300" height="300" src="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/BlackBelt-SQLserver2022-7stars-300x300.png" class="attachment-medium size-medium wp-image-5404" alt="" srcset="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/BlackBelt-SQLserver2022-7stars-300x300.png 300w, https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/BlackBelt-SQLserver2022-7stars-150x150.png 150w, https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/BlackBelt-SQLserver2022-7stars.png 600w" sizes="(max-width: 300px) 100vw, 300px" />								</a>
															</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-af03e43 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="af03e43" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3657261" data-id="3657261" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-3bb114b elementor-widget elementor-widget-text-editor" data-id="3bb114b" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p style="text-align: justify;"><span style="text-align: justify;">It’s the time of year again where companies do crazy sales on the day after Thanksgiving in the US, and we’re doing the same – but starting on a bit early.</span></p><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; text-align: justify; text-justify: inter-ideograph; mso-outline-level: 3;"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">All below details are also in our </span><a href="https://www.sqlskills.com/shop/?utm_source=sqls-n&amp;utm_medium=mc&amp;utm_campaign=303"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">online shop</span></a><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">, which will update as the sale progresses.</span></p><p class="MsoNormal" style="text-align: justify;"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">Starting at midnight PST on Monday, November 23rd, we’ll be offering our </span><b><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman';">lowest prices ever</span></b><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;"> for our signature </span><a href="https://www.sqlskills.com/product/sqlskills-blackbelt-bundle/?utm_source=sqls-n&amp;utm_medium=mc&amp;utm_campaign=303"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">Blackbelt bundle</span></a><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;"> with more than 158 hours of top-quality training (plus all our SQL Server 2022 update/Q&amp;A recordings):</span></p><ul><li class="MsoNormal" style="text-align: justify;"><!-- [if !supportLists]--><b><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman';">One-year access to the Blackbelt bundle: US$499</span></b></li><li class="MsoNormal" style="text-align: justify;"><b style="text-indent: -0.25in;"><u><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman';">Black Friday only price: US$399 (midnight to 23:59 PST, 11/27/26)</span></u></b></li></ul><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; text-align: justify; text-justify: inter-ideograph; mso-outline-level: 3;"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">We’ll also have </span><b><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman';">all the short courses priced at $99</span></b><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;"> for one-year access:</span></p><ul><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; text-align: justify; text-justify: inter-ideograph; mso-outline-level: 3;"><a href="https://www.sqlskills.com/product/iequery-online-delivery-20190212-1-year/?utm_source=sqls-n&amp;utm_medium=mc&amp;utm_campaign=303"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">IEQuery</span></a><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;"> on slow queries, inefficient code, and caching/statistics problems (over 11hrs; not included in the Blackbelt bundle)</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; text-align: justify; text-justify: inter-ideograph; mso-outline-level: 3;"><a style="text-indent: -0.25in;" href="https://www.sqlskills.com/product/ietlb-online-delivery-20190226-1-year/?utm_source=sqls-n&amp;utm_medium=mc&amp;utm_campaign=303"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">IETLB</span></a><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;"> on Transactions, Locking, Blocking, Isolation, and Versioning (over 11hrs; material covered in the Blackbelt bundle</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; text-align: justify; text-justify: inter-ideograph; mso-outline-level: 3;"><a style="text-indent: -0.25in;" href="https://www.sqlskills.com/product/iecs-online-delivery-20191112-1-year-access/?utm_source=sqls-n&amp;utm_medium=mc&amp;utm_campaign=303"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">IECS</span></a><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">  on columnstore indexes (almost 11hrs; included in the Blackbelt bundle)</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; text-align: justify; text-justify: inter-ideograph; mso-outline-level: 3;"><a style="text-indent: -0.25in;" href="https://www.sqlskills.com/product/ievlt-20210517-1year/?utm_source=sqls-n&amp;utm_medium=mc&amp;utm_campaign=303"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">IEVLT</span></a><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;"> on optimizing performance and availability with partitioning (almost 14 hrs; included in the Blackbelt bundle)</span></li><li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; text-align: justify; text-justify: inter-ideograph; mso-outline-level: 3;"><a style="text-indent: -0.25in;" href="https://www.sqlskills.com/product/ieqs-20210504-1year/?utm_source=sqls-n&amp;utm_medium=mc&amp;utm_campaign=303"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">IEQS</span></a><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;"> on solving performance problems using Query Store (9.5hrs; included in the Blackbelt bundle)</span></li></ul><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; text-align: justify; text-justify: inter-ideograph; mso-outline-level: 3;"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">If you’ve already purchased a bundle or class once, you can purchase the one-year access for a second time and we’ll convert your existing access into lifetime access, by removing all the expiration dates.</span></p><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; text-align: justify; text-justify: inter-ideograph; mso-outline-level: 3;"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">These prices are for credit card sales in the website. Invoices and receipts can be provided to let you claim the cost back from your company. If in doubt, please ask.</span></p><p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; text-align: justify; text-justify: inter-ideograph; mso-outline-level: 3;"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">Any questions, please </span><a href="mailto:training@sqlskills.com?subject=Black%20Friday%20sale%20question"><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">let me know</span></a><span style="mso-bidi-font-size: 12.0pt; line-height: 115%; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">.</span></p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://www.sqlskills.com/blogs/paul/black-friday-sale-blackbelt-for-399/">Black Friday Sale &#8211; Blackbelt for $399!</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sqlskills.com/blogs/paul/black-friday-sale-blackbelt-for-399/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>FGCB_ADD_REMOVE Latch Investigation Demo</title>
		<link>https://www.sqlskills.com/blogs/paul/fgcb_add_remove-latch-investigation-demo/</link>
					<comments>https://www.sqlskills.com/blogs/paul/fgcb_add_remove-latch-investigation-demo/#comments</comments>
		
		<dc:creator><![CDATA[Paul Randal]]></dc:creator>
		<pubDate>Mon, 16 Nov 2026 03:06:25 +0000</pubDate>
				<category><![CDATA[Latches]]></category>
		<category><![CDATA[Wait Stats]]></category>
		<guid isPermaLink="false">https://www.sqlskills.com/blogs/paul/?p=5400</guid>

					<description><![CDATA[<p>During the PASS Summit last week in Seattle I made a deal with my precon attendees that I&#8217;d record a couple of the demos in exchange for more time for questions and only running over ten minutes &#8211; sooooo many fantastic questions that took us down rabbit-holes into the internals! As promised, here&#8217;s the first [&#8230;]</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/fgcb_add_remove-latch-investigation-demo/">FGCB_ADD_REMOVE Latch Investigation Demo</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5400" class="elementor elementor-5400" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-2811963 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="2811963" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6a712da" data-id="6a712da" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-e297e1c elementor-widget elementor-widget-text-editor" data-id="e297e1c" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p style="text-align: justify;">During the PASS Summit last week in Seattle I made a deal with my precon attendees that I&#8217;d record a couple of the demos in exchange for more time for questions and only running over ten minutes &#8211; sooooo many fantastic questions that took us down rabbit-holes into the internals!</p><p style="text-align: justify;">As promised, here&#8217;s the first one.</p><p style="text-align: justify;"><a href="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/screenshot.jpg"><img decoding="async" class="wp-image-5401 size-large aligncenter" src="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/screenshot-1024x532.jpg" alt="" width="640" height="333" srcset="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/screenshot-1024x532.jpg 1024w, https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/screenshot-300x156.jpg 300w, https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/screenshot-768x399.jpg 768w, https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/screenshot-1536x798.jpg 1536w, https://www.sqlskills.com/blogs/paul/wp-content/uploads/2026/11/screenshot.jpg 1746w" sizes="(max-width: 640px) 100vw, 640px" /></a></p><p style="text-align: justify;">It deals with investigating the <em>FGCB_ADD_REMOVE</em> latch using an XEvent session to watch the latches being acquired and dropped, showing the wasted time on the waiting threads and how to see which file in which database has the incorrect auto-growth setting.</p><p>Here are the pertinent links:</p><ul><li>Demo video <a href="https://www.sqlskills.com/insidercontent/202611/november2026insidervideo.mp4" target="_blank" rel="noopener">MP4</a> (about 8 minutes, 100MB)</li><li>Demo code <a href="https://www.sqlskills.com/insidercontent/202611/insider202611democode.zip" target="_blank" rel="noopener">zip file</a></li><li><a href="https://www.sqlskills.com/help/latches/fgcb_add_remove/" target="_blank" rel="noopener"><em>FGCB_ADD_REMOVE</em> entry</a> in my waits/latches library</li><li>2021 <a href="https://sqlperformance.com/2021/06/sql-performance/fgcb-add-remove-latch" target="_blank" rel="noopener">article</a> from the old SQLPerformance.com I wrote with more background</li></ul><p>Enjoy!</p><p>(PS It&#8217;s also doubling as the video demo for this week&#8217;s <a href="https://www.sqlskills.com/newsletter/" target="_blank" rel="noopener">SQLskills Insider</a> newsletter)</p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://www.sqlskills.com/blogs/paul/fgcb_add_remove-latch-investigation-demo/">FGCB_ADD_REMOVE Latch Investigation Demo</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sqlskills.com/blogs/paul/fgcb_add_remove-latch-investigation-demo/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		<enclosure url="https://www.sqlskills.com/insidercontent/202611/november2026insidervideo.mp4" length="108170957" type="video/mp4" />

			</item>
		<item>
		<title>AI Stories and Thoughts</title>
		<link>https://www.sqlskills.com/blogs/paul/ai-stories-and-thoughts/</link>
					<comments>https://www.sqlskills.com/blogs/paul/ai-stories-and-thoughts/#comments</comments>
		
		<dc:creator><![CDATA[Paul Randal]]></dc:creator>
		<pubDate>Tue, 20 Oct 2026 19:19:11 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Career]]></category>
		<guid isPermaLink="false">https://www.sqlskills.com/blogs/paul/?p=5394</guid>

					<description><![CDATA[<p>AI is obviously the hot new thing and prognostications for the future range from the unicorns-and-rainbows life of idleness for us all to the post-apocalyptic killer robots hunting down the cowering survivors of mankind a la Terminator 2. I confidently predict that immediate reality will be somewhere in between &#x1f60a; As we’ve become more permanent [&#8230;]</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/ai-stories-and-thoughts/">AI Stories and Thoughts</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5394" class="elementor elementor-5394" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-27f0d0c elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="27f0d0c" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7c60997" data-id="7c60997" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-39df5e2 elementor-widget elementor-widget-text-editor" data-id="39df5e2" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p style="text-align: justify;">AI is obviously the hot new thing and prognostications for the future range from the unicorns-and-rainbows life of idleness for us all to the post-apocalyptic killer robots hunting down the cowering survivors of mankind a la Terminator 2. I confidently predict that immediate reality will be somewhere in between <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f60a.png" alt="😊" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p><p style="text-align: justify;">As we’ve become more permanent here in Camp Savage, I’ve been working on our network infrastructure. It’s pretty sophisticated and pretty complex. It’s all Unifi gear, with multiple VLANs, Wi-Fi networks, VPNs, NAS, long radio links, runs of fiber, and myriad APs, switches, sensors, and IoT clients. There’s a lot to configure and keep track of and I’ve learned, relearned, and remembered a ton in the last few months.</p><p style="text-align: justify;">Although Unifi gear is really top-notch when it comes to interoperability of all the hardware in their range, there are lots of gotchas with configuration, physical connections, and other networking esoteria. Whenever I’ve become stuck, I’ve turned, of course, to Google to search for help. Its AI Overview has been mostly invaluable for cutting through the tedium of watching YouTube videos and scouring blogs for answers. But occasionally it’s taken me on wild goose chases because I didn’t know any better.</p><p style="text-align: justify;">The easiest example to explain is when I had random client disconnects happening in one building only. It took me down the path of isolating the most twitchy client onto its own network, and changing all kinds of parameters for hours to try to stabilize the connection. After several days of trying lots of things and seeing if overnight performance worked, someone on a forum suggested a totally different path. They asked what’s the connection to this building? Fiber. Any fiber errors in the Unifi logs? Yes! Upshot: I had multi-mode fiber SFP adapters with single-mode fiber cable. Swapping out the adapters fixed the problem instantly.</p><p style="text-align: justify;">AI wasted my time because it didn’t have any way to think that far outside the box, because it hadn’t encountered that explanation or diagnostic step. Maybe a more powerful AI would have, but it took a human to actually point me down the right path.</p><p style="text-align: justify;">The most frustrating examples were the many times I asked for steps to config X or Y and it confidently gave me steps and screenshots based on UIs or hardware from several versions ago, even when prompted with the exact version being used.</p><p style="text-align: justify;">And over to SQL Server…</p><p style="text-align: justify;">Jonathan has encountered several cases of long-term clients introducing AI developer tools that have instructed devs to make changes that have crippled their systems in production because the tools just did not get the complexity of the environment and made assumptions. Wrong assumptions, costing the client time and consulting dollars to identify and put right.</p><p style="text-align: justify;">These devs blindly followed the advice of their expensive AI tools without understanding what they were doing and the possible ramifications and got bitten hard. If you’re trying to understand a performance problem and just blindly trust the AI tool to diagnose and propose a fix, it might get it right. It might get it wrong. Will you understand what it did and why?</p><p style="text-align: justify;">And now more specifically to my specialty and my upcoming precon at PASS in a few weeks: internals, how stuff works, and wait statistics.</p><p style="text-align: justify;">Mangling the well-known proverb: you can’t keep just giving fish to someone otherwise they get further and further from being able to fish themselves, and eventually when the fish-provider isn’t there, or if the fish are no longer trusted to be edible, how does the person eat?</p><p style="text-align: justify;">Don’t stop learning. Don’t rely on tools that try to do your job. Absolutely use AI, but only as a tool to help guide you. Be sure to do further research or ask for references / links / sources, and verify them!  Don’t give up your ability to understand SQL Server; it’s what will separate you from the rest and keep your servers productive.</p><p style="text-align: justify;">Thoughts?</p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://www.sqlskills.com/blogs/paul/ai-stories-and-thoughts/">AI Stories and Thoughts</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sqlskills.com/blogs/paul/ai-stories-and-thoughts/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Reflections on 15 Years</title>
		<link>https://www.sqlskills.com/blogs/paul/reflections-on-15-years/</link>
					<comments>https://www.sqlskills.com/blogs/paul/reflections-on-15-years/#comments</comments>
		
		<dc:creator><![CDATA[Paul Randal]]></dc:creator>
		<pubDate>Tue, 11 Aug 2026 04:10:16 +0000</pubDate>
				<category><![CDATA[Personal]]></category>
		<guid isPermaLink="false">https://www.sqlskills.com/blogs/paul/?p=5391</guid>

					<description><![CDATA[<p>(This was the editorial for my 300th SQLskills Insider newsletter last week, that I&#8217;ve been producing since March 2011! See bottom of browser window to subscribe.) I was torn between a “reflections on 15 years” and a “mental health” ponderings for the 300th edition, so here’s a bit of both – blasted out in a [&#8230;]</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/reflections-on-15-years/">Reflections on 15 Years</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5391" class="elementor elementor-5391" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-b9bd0f8 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="b9bd0f8" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5b9d740" data-id="5b9d740" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-f4e5f1a elementor-widget elementor-widget-text-editor" data-id="f4e5f1a" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p style="text-align: justify;"><em>(This was the editorial for my 300th SQLskills Insider newsletter last week, that I&#8217;ve been producing since March 2011! See bottom of browser window to subscribe.)</em></p><p style="text-align: justify;">I was torn between a “reflections on 15 years” and a “mental health” ponderings for the 300<sup>th</sup> edition, so here’s a bit of both – blasted out in a half-hour brain dump.</p><p style="text-align: justify;">The world has become a very noisy, uncaring, impolite place. I have misophonia, a very low tolerance for nonsense (in a less polite setting I’d say b***s**t or f***ery), and a deep, deep dislike of phones, small-talk, or interruptions. So all these things, that have become ubiquitous over the last 15 years, are most irritating:</p><ul><li>Cell phones that ‘ding’ constantly</li><li>People having speakerphone conversations in stores, planes, restaurants</li><li>Constant spam texts and calls – the FTC do-not-call list is a joke</li><li>Sensationalist news</li><li>People in such a rush that they tail-gate, weave through traffic, and generally drive dangerously</li><li>Anything to do with our dysfunctional politics (and likely in your country too, if not in the US)</li><li>Entitlement and inconsideration when traveling</li><li>Neighbors letting dogs bark, bark, bark, bark at all times of day and evening</li><li>The seeming lack of pride and professionalism in many service industries</li><li>People letting their kids run wild in restaurants</li><li>The disappearance of basic politeness like saying please and thank you</li><li>And more</li></ul><p style="text-align: justify;">Am I just an angry old (oldish, ok? only 54!) man? No, I’ve been writing about some of these things since 2011 (see <a href="https://www.sqlskills.com/blogs/paul/the-golden-rule-maybe-just-optional-now/">https://www.sqlskills.com/blogs/paul/the-golden-rule-maybe-just-optional-now/</a>). But I am much more intolerant and now that I’ve slowed down since the pandemic I notice these things a lot more.</p><p style="text-align: justify;">And they grate and grind and oppress. Which is why I enjoy being at Camp Savage so much – no people, noise, traffic, travel – just lots of nature. Am I wandering off into the woods to bury my head in the sand and live in a shack? Well, kind of lol! Part of our Camp Savage move is to get out of the city, the rat-race, the noise and pollution, and live a healthier, happier life with lots of open space, animals, greenhouses, and so on.</p><p style="text-align: justify;">That’s the mental health part. Well, and stopping drinking 18 months ago – that was life-changing, obviously. It’s taken 18 months for my brain to rewire itself.</p><p style="text-align: justify;">What about SQL Server? Well, if you think about the bits that I’m interested in, not a whole lot has changed. Sure, there are new, impactful features like columnstore, AGs, query store , ADR, but when it comes down to it, what I’m interested in, consult on, and teach hasn’t really changed. People still need to:</p><ul><li>Figure out where performance is a problem and then fix it</li><li>Have a disaster recovery plan that works</li><li>Implement high availability</li><li>Understand some of how the engine works</li><li>Use indexes correctly</li><li>Communicate well (by far the most popular of all our Pluralsight courses!)</li></ul><p style="text-align: justify;">I’m often asked if I’m concerned about cloud or AI meaning DBAs will be out of a job or SQLskills will become irrelevant. We have many clients who have no interest in Azure (either from security, performance, scalability, or just basic trust issues) . We also have a bunch who do use the cloud in some way, but it’s not going to become a zero-on-prem game. AI is in no way ready to replace DBAs – plenty of stories out there of AI doing the wrong thing, the explicitly ‘do not do that’ thing, or going rogue. And AIs are only as good as what they’re trained on and who they’re trained by. I’ve seen some horrible answers to test questions I’ve asked AI engines.</p><p style="text-align: justify;">So my answer is a big, fat ‘no’. Not concerned. We’re still here, and hopefully will still be for many years to come.</p><p style="text-align: justify;">Quietly <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f60a.png" alt="😊" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p><p style="text-align: justify;">PS One reader, John Ness, wrote this excellent description of DBAs (reproduced and attributed with permission):</p><p style="text-align: justify;">We don&#8217;t seek the limelight (well not a lot of us) in our everyday jobs. We are just there constantly taking care of the hundreds or thousands of databases (in my case 1200) and ensuring that everything keeps running, that the users can expect constant peak performance, that the backups and restores work, and that the databases are in a consistent state. We don&#8217;t shine like a bright light; we glow in the dark.</p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://www.sqlskills.com/blogs/paul/reflections-on-15-years/">Reflections on 15 Years</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sqlskills.com/blogs/paul/reflections-on-15-years/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Presenting a workshop at PASS Summit West in Seattle!</title>
		<link>https://www.sqlskills.com/blogs/paul/presenting-a-workshop-at-pass-summit-west-in-seattle/</link>
					<comments>https://www.sqlskills.com/blogs/paul/presenting-a-workshop-at-pass-summit-west-in-seattle/#respond</comments>
		
		<dc:creator><![CDATA[Paul Randal]]></dc:creator>
		<pubDate>Tue, 07 Jul 2026 18:34:43 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Conferences]]></category>
		<guid isPermaLink="false">https://www.sqlskills.com/blogs/paul/?p=5383</guid>

					<description><![CDATA[<p>I’m excited to be presenting at the Pass Summit in November! My pre-con workshop is my absolute favorite to teach Performance Tuning with Waits and Latches and I’ll also be presenting a session on Advanced Data Recovery Techniques. Bonus is that I’ll have Kimberly with me! All the details are available on the PASS website [&#8230;]</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/presenting-a-workshop-at-pass-summit-west-in-seattle/">Presenting a workshop at PASS Summit West in Seattle!</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I’m excited to be presenting at the Pass Summit in November! My pre-con workshop is my absolute favorite to teach <em>Performance Tuning with Waits and Latches</em> and I’ll also be presenting a session on <em>Advanced Data Recovery Techniques</em>. Bonus is that I’ll have Kimberly with me!</p>
<p>All the details are available on the PASS website about what <a href="https://passdatacommunitysummit.com/west/pre-conference-speakers/#speaker-paul-randal" target="_blank" rel="noopener">I&#8217;m presenting</a>.</p>
<p>See you there!</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/presenting-a-workshop-at-pass-summit-west-in-seattle/">Presenting a workshop at PASS Summit West in Seattle!</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sqlskills.com/blogs/paul/presenting-a-workshop-at-pass-summit-west-in-seattle/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Summer Sale: $699 Blackbelt Bundle!</title>
		<link>https://www.sqlskills.com/blogs/paul/summer-sale-699-blackbelt-bundle/</link>
					<comments>https://www.sqlskills.com/blogs/paul/summer-sale-699-blackbelt-bundle/#respond</comments>
		
		<dc:creator><![CDATA[Paul Randal]]></dc:creator>
		<pubDate>Tue, 23 Jun 2026 18:37:41 +0000</pubDate>
				<category><![CDATA[Career]]></category>
		<category><![CDATA[Training]]></category>
		<guid isPermaLink="false">https://www.sqlskills.com/blogs/paul/?p=5380</guid>

					<description><![CDATA[<p>Summer Sale time! Hundreds of dollars lower-than-ever prices on our signature 158-hour Blackbelt training bundle: US$699 for one-year access (or to upgrade) &#8211; $200 lower than ever before! &#8211; US$1,299 for Lifetime access (no expiration) &#8211; $300 lower than ever before! Both prices include the 2022 updates and Q&#38;A sessions. If you have a one-year [&#8230;]</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/summer-sale-699-blackbelt-bundle/">Summer Sale: $699 Blackbelt Bundle!</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2021/01/blackbelt-sqlserver2019-7stars.jpg"><img decoding="async" class="alignnone wp-image-5180 size-thumbnail" src="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2021/01/blackbelt-sqlserver2019-7stars-150x150.jpg" alt="" width="150" height="150" /></a><a href="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2021/01/blackbelt-sqlserver2019-7stars.jpg"><img decoding="async" class="alignnone wp-image-5180 size-thumbnail" src="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2021/01/blackbelt-sqlserver2019-7stars-150x150.jpg" alt="" width="150" height="150" /></a><a href="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2021/01/blackbelt-sqlserver2019-7stars.jpg"><img decoding="async" class="alignnone wp-image-5180 size-thumbnail" src="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2021/01/blackbelt-sqlserver2019-7stars-150x150.jpg" alt="" width="150" height="150" /></a><a href="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2021/01/blackbelt-sqlserver2019-7stars.jpg"><img decoding="async" class="alignnone wp-image-5180 size-thumbnail" src="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2021/01/blackbelt-sqlserver2019-7stars-150x150.jpg" alt="" width="150" height="150" /></a><a href="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2021/01/blackbelt-sqlserver2019-7stars.jpg"><img decoding="async" class="alignnone wp-image-5180 size-thumbnail" src="https://www.sqlskills.com/blogs/paul/wp-content/uploads/2021/01/blackbelt-sqlserver2019-7stars-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: justify;">Summer Sale time!</p>
<p style="text-align: justify;">Hundreds of dollars lower-than-ever prices on our signature 158-hour Blackbelt training bundle:</p>
<ul>
<li>US$699 for <a href="https://www.sqlskills.com/product/sqlskills-blackbelt-bundle/" target="_blank" rel="noopener">one-year access</a> (or to upgrade) &#8211; $200 lower than ever before!</li>
<li>&#8211; US$1,299 for <a href="https://www.sqlskills.com/product/bbbct-lifetime/" target="_blank" rel="noopener">Lifetime access</a> (no expiration) &#8211; $300 lower than ever before!</li>
</ul>
<p style="text-align: justify;">Both prices include the 2022 updates and Q&amp;A sessions.</p>
<p style="text-align: justify;">If you have a one-year subscription and would like to upgrade it to Lifetime, purchase a second one-year and I’ll remove the expiration dates and make sure you get the 2022 Q&amp;As/Updates recordings with Lifetime access for free. It doesn’t matter if your original subscription has expired!</p>
<p style="text-align: justify;">Lifetime subscribers will also get the upcoming re-record of IECAG (clustering and AGs) for SQL Server 2025 for free, and Kimberly’s upcoming IESP (stored proc performance) for free.</p>
<p style="text-align: justify;">See our <a href="https://www.sqlskills.com/shop/" target="_blank" rel="noopener">shop</a> for details and <a href="mailto:paul@sqlskills.com?subject=December%20sale%20question%20from%20blog" target="_blank" rel="noopener">let me know</a> of any questions.</p>
<p style="text-align: justify;">Enjoy!</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/summer-sale-699-blackbelt-bundle/">Summer Sale: $699 Blackbelt Bundle!</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sqlskills.com/blogs/paul/summer-sale-699-blackbelt-bundle/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>The SQL Server Transaction Log, Part 4: Log Records</title>
		<link>https://www.sqlskills.com/blogs/paul/the-sql-server-transaction-log-part-4-log-records/</link>
					<comments>https://www.sqlskills.com/blogs/paul/the-sql-server-transaction-log-part-4-log-records/#comments</comments>
		
		<dc:creator><![CDATA[Paul Randal]]></dc:creator>
		<pubDate>Tue, 16 Jun 2026 19:44:30 +0000</pubDate>
				<category><![CDATA[Transaction Log]]></category>
		<guid isPermaLink="false">https://www.sqlskills.com/blogs/paul/?p=5378</guid>

					<description><![CDATA[<p>(This post first appeared on SQLperformance.com four years ago as part of a blog series, before that website was mothballed later in 2022 and the series was curtailed. Reposted here with permission, with a few tweaks.) Previously I’ve talked about why logging is required and the architecture and circular nature of the log, so now [&#8230;]</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/the-sql-server-transaction-log-part-4-log-records/">The SQL Server Transaction Log, Part 4: Log Records</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;"><em>(This post first appeared on SQLperformance.com four years ago as part of a blog series, before that website was mothballed later in 2022 and the series was curtailed. Reposted here with permission, with a few tweaks.)</em></p>
<p style="text-align: justify;">Previously I’ve talked about <a href="https://www.sqlskills.com/blogs/paul/the-sql-server-transaction-log-part-1-logging-basics/" target="_blank" rel="noopener">why logging is required</a> and the <a href="https://www.sqlskills.com/blogs/paul/the-sql-server-transaction-log-part-2-log-architecture/" target="_blank" rel="noopener">architecture</a> and <a href="https://www.sqlskills.com/blogs/paul/the-sql-server-transaction-log-part-3-the-circular-nature-of-the-log/" target="_blank" rel="noopener">circular nature of the log</a>, so now it’s time to look at the real heart of the logging system—the log records themselves. As always, I recommend you read the previous posts in the series before reading this one.</p>
<h2 style="text-align: justify;">What Are Log Records?</h2>
<p style="text-align: justify;">The simplest definition of a log record: it describes a single <em>change</em> to a database. A single <em>operation</em> in the database may cause multiple<em> changes</em>, but each change will usually have its own log record to describe it. An example of this is updating a column in a single row—it will do the following:</p>
<ul style="text-align: justify;">
<li>Perform the update, which generates one log record.</li>
<li>If it’s the first time the extent of the page (containing the updated row) is part of what has been changed since the most recent full backup, a bit must be set in the relevant differential bitmap, which generates another log record.</li>
</ul>
<p style="text-align: justify;">Each log record has a fixed overhead, so sometimes, the Storage Engine breaks this rule by combining multiple changes into a single log record to reduce the number of log records written to the log. Some examples of this are:</p>
<ul style="text-align: justify;">
<li>When an update happens to multiple columns in a single table row, a single log record can contain all the column changes for one row instead of one log record per column change. Note if any nonclustered indexes need to be updated as well, those changes will be in separate log records.</li>
<li>When an index is being built or rebuilt, the Storage Engine will fill an entire page with rows and then use a single log record to log the whole page image instead of one log record per row inserted into the new page.</li>
</ul>
<p style="text-align: justify;">Each log record has a Log Sequence Number (LSN), which I defined back in part two as &lt;VLF sequence number&gt;:&lt;log block ID&gt;:&lt;log record ID&gt; (4 bytes: 4 bytes: 2 bytes). Each LSN is unique, is ever increasing, and identifies the physical location of a log record within the log. Log records never move in the log, so their LSNs never change once created. The page header for each data file page in the database contains the LSN of the most recent log record describing a change to the page and is used during crash recovery, which I’ll cover in a future post.</p>
<h2 style="text-align: justify;">Log Record Contents</h2>
<p style="text-align: justify;">You can think of a log record as similar to a table record—it has a defined structure comprised of a number of fields. All log records share a common header with metadata about the log record and may then have varying additional fields depending on the log record type. Some of the header fields include:</p>
<ul style="text-align: justify;">
<li>The log record LSN</li>
<li>The log record type</li>
<li>The change context, if any (e.g., heap or clustered index)</li>
<li>The transaction ID the change is part of, if any. Some log records are non-transactional and can’t be rolled back—for instance, changes to PFS pages and differential bitmaps</li>
<li>The length of the log record in bytes</li>
<li>The LSN of the previous log record generated by the transaction, if any</li>
<li>The amount of free space reserved in the log in case the log record needs to be rolled back</li>
</ul>
<p style="text-align: justify;">The log manager must always ensure there’s enough free space in the log to generate any log records required to roll back a transaction without having to grow the size of the log, making log space reservation critical. If this were not the case, and a transaction rollback required the log to grow, which then failed (e.g., out of space on the log drive), the database must be set offline in the SUSPECT state. You can read a bit more about rollbacks in my article <a href="https://www.sqlskills.com/blogs/paul/sql101-introduction-to-sql-server-transactions/" target="_blank" rel="noopener"><em>SQL101: Introduction to SQL Server Transactions</em></a>, and I’ll cover them in depth in the next article.</p>
<p style="text-align: justify;">Log records describing changes to table/index pages also include:</p>
<ul style="text-align: justify;">
<li>The allocation unit ID that owns the page</li>
<li>The page ID and the slot ID of the row being changed</li>
<li>The key values of the row being changed, if any</li>
<li>A list of what locks were held to protect the change</li>
<li>The offset of the change in the row</li>
<li>The before and after images of the change, or an array of before and after images if multiple parts of the row are changed</li>
</ul>
<p style="text-align: justify;">The before and after images are the set of bytes changed and what they were changed to, respectively, and these allow the change to be rolled back or replayed. Some log records only include the after image since they can’t be rolled back, making the before image unnecessary—for example, a log record generated as part of rolling back another log record or a non-transactional log record.</p>
<p style="text-align: justify;">Many more fields may be present depending on the type of log record, and we’ll encounter some of them as we progress through the rest of this series.</p>
<h2 style="text-align: justify;">Log Record Types</h2>
<p style="text-align: justify;">There are between 70 and 100 log record types, depending on the version of SQL Server (there’s no documented list). All log record names start with LOP, which stands for Log Operation, and some common types include:</p>
<ul style="text-align: justify;">
<li>LOP_FORMAT_PAGE – creating a new page image</li>
<li>LOP_MODIFY_ROW – modifying a row from 1 to 16 contiguous bytes, potentially involving multiple adjacent columns</li>
<li>LOP_MODIFY_COLUMNS – modifying multiple disjoint columns in a row</li>
<li>LOP_SET_BITS – setting some bits in an allocation bitmap to 1 or 0</li>
<li>LOP_INSERT_ROWS – inserting one or more rows on a page</li>
<li>LOP_DELETE_ROWS – deleting one or more rows on a page</li>
<li>LOP_EXPUNGE_ROWS – used by the ghost cleanup task when removing deleted rows from a page</li>
<li>LOP_BEGIN_XACT – always the first log record generated by a transaction</li>
<li>LOP_COMMIT_XACT – the log record signifying a transaction has successfully committed</li>
<li>LOP_ABORT_XACT – the log record signifying a transaction has finished being rolled back</li>
</ul>
<h2 style="text-align: justify;">Examining Log Records</h2>
<p style="text-align: justify;">The way to examine log records is via the undocumented <em>fn_dblog </em>function. It requires two LSN parameters specifying the starting and ending points in the log, but I seldom use those and instead specify NULL for both, which means scan all available log records in active VLFs. The great thing about this function is it lets you limit which fields it outputs (otherwise, you get all 130), and you can specify predicates.</p>
<p style="text-align: justify;">Note:</p>
<ol style="text-align: justify;">
<li>If you want to examine all possible log records, including those in VLFs marked inactive by log truncation, you can enable trace flag 2537.</li>
<li>If you’re playing around and want to see what log records an operation does, use a test database in simple recovery mode, and issue a checkpoint to truncate the log. This means you can run your operation, and then fn_dblog will only show you the log records since the checkpoint.</li>
</ol>
<p style="text-align: justify;">Let’s look at a simple example. I’ve created a database, a table with a single integer column, inserted one row, and performed a backup and a checkpoint. Now I’ll do the following:</p>
<pre style="text-align: justify;">UPDATE TestTable SET Column1 = 2;
GO

SELECT
    [Current LSN],
    [Operation],
    [Context],
    [Transaction ID],
    [Log Record Length]
FROM fn_dblog (NULL, NULL)
WHERE [Operation] NOT LIKE '%CKPT';
GO</pre>
<pre style="text-align: justify;">Current LSN             Operation        Context       Transaction ID  Log Record Length
----------------------  ---------------  ------------  --------------  -----------------
00000030:000000af:0001  LOP_BEGIN_XACT   LCX_NULL      0000:000004be   124
00000030:000000af:0002  LOP_SET_BITS     LCX_DIFF_MAP  0000:00000000   56
00000030:000000af:0003  LOP_MODIFY_ROW   LCX_HEAP      0000:000004be   104
00000030:000000af:0004  LOP_COMMIT_XACT  LCX_NULL      0000:000004be   84</pre>
<p style="text-align: justify;">The LSN is in hex, and you can see all four log records for the transaction are in the same log block (the 000000AF). Here’s what we’re seeing:</p>
<ol style="text-align: justify;">
<li>The transaction begins with the LOP_BEGIN_XACT with transaction ID 000004be and no context.</li>
<li>As the update will change an extent after a backup, the differential bitmap bit for it must be set, using the LOP_SET_BITS with the context of LCX_DIFF_MAP. Notice the log record doesn’t have a transaction ID as diff map changes are non-transactional (i.e. they are never rolled back)</li>
<li>The actual modification is logged with the LOP_MODIFY_ROW with context LCX_HEAP (because the table is a heap) and is part of the transaction.</li>
<li>The transaction ends with the LOP_COMMIT_XACT.</li>
</ol>
<p style="text-align: justify;">It can be fascinating to spelunk around in the log to see what SQL Server is doing for some operations. You might think this doesn’t have any use in a production environment, but here’s a <a href="https://www.sqlskills.com/blogs/paul/using-fn_dblog-fn_dump_dblog-and-restoring-with-stopbeforemark-to-an-lsn/">post</a> showing the function being utilized (and the <em>fn_dump_dblog</em> function for examining log records in backups) to find out who performed a DROP TABLE and the restore point to get it back.</p>
<h2 style="text-align: justify;">Until Next Time…</h2>
<p style="text-align: justify;">Since I’ve now laid the groundwork for understanding log records, in the next post of this series, I’ll show some deeper examples, including how transaction rollback works. And feel free to post a comment with any questions you might have.</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/the-sql-server-transaction-log-part-4-log-records/">The SQL Server Transaction Log, Part 4: Log Records</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sqlskills.com/blogs/paul/the-sql-server-transaction-log-part-4-log-records/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>SQL101: Application data consistency checking</title>
		<link>https://www.sqlskills.com/blogs/paul/sql101-application-data-consistency-checking/</link>
					<comments>https://www.sqlskills.com/blogs/paul/sql101-application-data-consistency-checking/#respond</comments>
		
		<dc:creator><![CDATA[Paul Randal]]></dc:creator>
		<pubDate>Thu, 23 Apr 2026 16:36:54 +0000</pubDate>
				<category><![CDATA[Corruption]]></category>
		<category><![CDATA[Disaster Recovery]]></category>
		<category><![CDATA[SQL101]]></category>
		<guid isPermaLink="false">https://www.sqlskills.com/blogs/paul/?p=5375</guid>

					<description><![CDATA[<p>It&#8217;s quite common for a company that experiences a corruption-causing disaster, but has no valid backups to restore from and no ability to fail over to a redundant secondary, to just run repair and then immediately start running in production again. &#60;Imagine there&#8217;s a clever GIF here combining OH NO! UH OH! OMG! SMH! NOOO!&#62; [&#8230;]</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/sql101-application-data-consistency-checking/">SQL101: Application data consistency checking</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">It&#8217;s quite common for a company that experiences a corruption-causing disaster, but has no valid backups to restore from and no ability to fail over to a redundant secondary, to just run repair and then immediately start running in production again.</p>
<p style="text-align: justify;">&lt;Imagine there&#8217;s a clever GIF here combining OH NO! UH OH! OMG! SMH! NOOO!&gt;</p>
<p style="text-align: justify;">Over the years I’ve taught countless classes and conference sessions that talk about corruption and how it happens, how to run consistency checks, using <em>DBCC CHECKDB</em>, and running repair. When I’m talking about repair, I explain that if you have to run <em>REPAIR_ALLOW_DATA_LOSS</em> and it actually deletes data records, you need to reinitialize any affected replication topologies, and validate any affected constraints. This is all documented in Books Online, but that doesn’t mean that people read it and know that – lol!</p>
<p style="text-align: justify;">What *isn’t* in Books Online, and I make sure the attendees realize, is that repair is all about making the database structurally consistent – it doesn’t know anything about the data relationships between tables (either protected by constraints or just inherent in the schema design). This means that after a data-losing repair, the data relationships in the database may well be broken.</p>
<p style="text-align: justify;">I then always ask the audience: “How many of you have an application data-consistency checker that you can run to validate all the business rules and relationships that the application depends on? In fact, how many of you even have a way to test that the application is working correctly after running a repair or deploying new code?”</p>
<p style="text-align: justify;">Every time I ask, I might (rarely) get one or two hands go up, out of a class of 30 or a session of 50 or more. I’ve never had more than two, and usually I don’t get any.</p>
<p style="text-align: justify;">It’s just not something people think about. They assume that if repair runs correctly then they can carry on and everything will work. No.</p>
<p style="text-align: justify;"><strong>Call to action:</strong></p>
<p style="text-align: justify;">You really should have some way to validate that your application is running on correct data. Otherwise, in the best case, it will fail, but in the worst case, it will continue running erroneously – maybe with wrong results that affect your business.</p>
<p style="text-align: justify;">This basically means codifying the required relationships in constraints and/or some code that verifies the required relationships (if they can’t be expressed as relational constraints) are correct.</p>
<p style="text-align: justify;">If you have a third-party application, it might be hard or impossible to persuade the vendor to provide such a tool, especially if they specifically don’t support running repair on their database.</p>
<p style="text-align: justify;">Alternative: have a bullet=;proof baclup-and-restore strategy and/or failover solution.</p>
<p style="text-align: justify;"><strong>Bottom line:</strong> Your business depends on the applications running in the data tier, and you need to make sure, as much as you can, that they’re running on correct data.</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/sql101-application-data-consistency-checking/">SQL101: Application data consistency checking</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sqlskills.com/blogs/paul/sql101-application-data-consistency-checking/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SQL101: Phishing attacks</title>
		<link>https://www.sqlskills.com/blogs/paul/sql101-phishing-attacks/</link>
					<comments>https://www.sqlskills.com/blogs/paul/sql101-phishing-attacks/#respond</comments>
		
		<dc:creator><![CDATA[Paul Randal]]></dc:creator>
		<pubDate>Thu, 02 Apr 2026 19:34:42 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[SQL101]]></category>
		<guid isPermaLink="false">https://www.sqlskills.com/blogs/paul/?p=5371</guid>

					<description><![CDATA[<p>I thought it was bad previously, but in 2026 I&#8217;ve noticed a big rise in emails trying to scam me into clicking a link &#8211; known as phishing. Phishing describes an email that entices the recipient to open it and maybe click a link, which then installs some malware on the computer. This could be [&#8230;]</p>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/sql101-phishing-attacks/">SQL101: Phishing attacks</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">I thought it was bad previously, but in 2026 I&#8217;ve noticed a big rise in emails trying to scam me into clicking a link &#8211; known as phishing. Phishing describes an email that entices the recipient to open it and maybe click a link, which then installs some malware on the computer. This could be something that logs keystrokes and sends them to another system on the Internet.</p>
<p style="text-align: justify;">You’ve likely have received emails like that, purporting to come from Microsoft or PayPal or some other company you recognize, and urging you to click a link to fix something to do with your account. Just since Sunday, I&#8217;ve received many phishing emails, including:</p>
<ul style="text-align: justify;">
<li>To our A/P department, purporting to come from me, giving the ok to pay an invoice from a fake CEO training course in my name</li>
<li>Domain-name expiry notifications</li>
<li>Anti-virus order receipts and click/call if that&#8217;s a mistake</li>
<li>Fake DocuSign emails for contracts/receipts</li>
</ul>
<p style="text-align: justify;">I&#8217;ve read many books on hacking, from both sides of the ethical fence, and it always strikes me that security checklists and security reviews of SQL Server environments are all well and good, but there are a few missing things that I think are worth considering.</p>
<p style="text-align: justify;">For instance, does your company provide training or guidance on recognizing and avoiding phishing emails? Such phishing emails could be cleverly targeted, especially if hackers are going after a specific company and make an email look like it’s coming from a source the DBA trusts. If a DBA clicked a phishing link and unknowingly installed malware on a personal laptop, say, and then connected to a work system, the hackers could capture the DBA’s login credentials.</p>
<p style="text-align: justify;">Such phishing emails could be cleverly targeted, especially if hackers are going after a specific company and make an email look like it’s coming from a source the DBA trusts. Hacking books have plenty of descriptions of this being done to companies like banks and defense contractors.</p>
<p style="text-align: justify;">A way to test people in your company would be to create a fake email with a link that takes them to a web page showing that they’ve clicked something they shouldn’t have, and to be wary in future – or just to keep track of what proportion of recipients in the company were fooled into clicking the link.</p>
<p style="text-align: justify;">Another thing to be wary of is social engineering. This is where a hacker calls someone on the phone, pretending to be someone who needs some information that can help them break into a computer system, and fools the person into giving that information out. I’ve read about this being used many times in the past, and is a relatively common technique used by phone scammers. &#8220;Hello, we&#8217;re from Microsoft support and your computer has been hacked&#8230;&#8221;</p>
<p style="text-align: justify;">Finally, one of the things you might consider for your company is engaging the services of a third-party company that does what&#8217;s called penetration testing. These people will deliberately try to hack into your environment, with your permission, to discover security weaknesses that you can then patch before a malicious hacker tries to break in. Sometimes this is known as <em>ethical hacking</em>, and you can actually learn how to do it yourself, to think about security from the attacker’s perspective and assess your own environment for security flaws.</p>
<p style="text-align: justify;"><strong>Call to Action</strong></p>
<p style="text-align: justify;">If you’re responsible for databases that contain any information that you don’t want someone to have unauthorized access to, you need to make sure that your security doesn’t have any problems. That includes making sure that the users are educated about ways that they can be duped into giving out info or installing malware, and testing your system’s defenses to see if they can be broken. You can be sure that someone out there will try to get in sooner or later.</p>
<p>PS A few interesting books on hacking that spring to mind:</p>
<ul>
<li><a href="http://www.amazon.com/gp/product/0544251792/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0544251792&amp;linkCode=as2&amp;tag=sqlscom-20&amp;linkId=CP6KVDTYP6AFRJD6" target="_blank" rel="noopener">@War: The Rise of the Military-Internet Complex</a></li>
<li><a href="https://www.amazon.com/Ghost-in-Wires-audiobook/dp/B005HBO3BY?&amp;linkCode=ll2&amp;tag=sqlscom-20&amp;linkId=e01499d068c5617bdcb7ea52212b8969&amp;language=en_US&amp;ref_=as_li_ss_tl" target="_blank" rel="noopener">Ghost in the Wires: My Adventures as the World&#8217;s Most Wanted Hacker</a> (I actually crossed paths with Mitnick when I was at DEC &#8211; R.I.P.)</li>
<li><a href="https://www.amazon.com/Art-Deception-Controlling-Element-Security/dp/076454280X?&amp;linkCode=ll2&amp;tag=sqlscom-20&amp;linkId=aee028d192ca241cc0d192e02fda5ff3&amp;language=en_US&amp;ref_=as_li_ss_tl" target="_blank" rel="noopener">The Art of Deception: Controlling the Human Element of Security</a></li>
<li>(where the word comes from) <a href="https://www.amazon.com/Hackers-Computer-Revolution-Steven-Levy/dp/1449388396?&amp;linkCode=ll2&amp;tag=sqlscom-20&amp;linkId=9527e4e04853d00dc501b57882d56a61&amp;language=en_US&amp;ref_=as_li_ss_tl" target="_blank" rel="noopener">Hackers: Heroes of the Computer Revolution</a></li>
</ul>
<p>The post <a href="https://www.sqlskills.com/blogs/paul/sql101-phishing-attacks/">SQL101: Phishing attacks</a> appeared first on <a href="https://www.sqlskills.com/blogs/paul">Paul S. Randal</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sqlskills.com/blogs/paul/sql101-phishing-attacks/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
