<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8590075019798060845</id><updated>2026-05-26T17:29:04.140+05:30</updated><category term="L1 DBA"/><category term="Performance Tuning"/><category term="DBMS Concepts"/><category term="Oracle L1"/><category term="MySQL Basics"/><category term="DBA Worries Continued"/><category term="Installation and Configuration"/><category term="Monitoring"/><category term="MySQL Architecture"/><category term="SQL Scripting"/><category term="Backup and Recovery"/><category term="Security"/><category term="High Availability"/><category term="MySQL L1"/><category term="pg_basic"/><category term="Azure SQL Database"/><category term="Power Shell Script"/><category term="pg_ High Availability"/><category term="pg_Backup"/><category term="Backup Tools for SQL Server"/><category term="About Us"/><category term="Handbook"/><category term="PG Hand Book"/><category term="POSTGRESQL"/><category term="SQL DBA Hand Book"/><category term="SQL Server Reporting Services"/><title type='text'>Its all about Database</title><subtitle type='html'>CLOTA is a group of DBA experts. Our passion lead us here.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>CLOTA</name><uri>http://www.blogger.com/profile/06780360549937449154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2v1T4LPyLuNorvWhNz-4ltldm4H6ZqhyEIY2_gcmxB2Mp_nAu7FQxeoD_3tqNCkFtvuwQRDspEBVSF4FKj-6OroeL4QSR96vtSyKbxePJ_rV0zaa6y1rfq0qEVQsJfg/s113/CloTa_Logo_Only_Logo_Without_Frame.PNG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>214</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-5235202557586126226</id><published>2026-03-08T10:35:00.003+05:30</published><updated>2026-03-08T10:35:21.964+05:30</updated><title type='text'>Prometheus NSSM Windows Exporter and Grafana </title><content type='html'>&lt;p&gt;prometheus.exe --config.file=prometheus.yml&lt;/p&gt;&lt;p&gt;Access is denied.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;https://wingetgui.com/apps/Prometheus-WMIExporter?utm_source=chatgpt.com&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;cd C:\Prometheus&lt;/p&gt;&lt;p&gt;prometheus.exe --config.file=prometheus.yml&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;http://localhost:9090&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Download NSSM&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;--Correct command&lt;/p&gt;&lt;p&gt;R:\nssm-2.24\win64\nssm.exe install prometheus&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Path&lt;/p&gt;&lt;p&gt;C:\Prometheus\prometheus.exe&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Startup Dir&amp;nbsp;&lt;/p&gt;&lt;p&gt;C:\Prometheus&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Argument&amp;nbsp;&lt;/p&gt;&lt;p&gt;--config.file=prometheus.yml&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;R:\nssm-2.24\win64\nssm.exe install prometheus C:\Prometheus\prometheus.exe --config.file=C:\Prometheus\prometheus.yml&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;--Final Architecture&lt;/p&gt;&lt;p&gt;----------------------------------&lt;/p&gt;&lt;p&gt;Windows Server&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ↓&lt;/p&gt;&lt;p&gt;Windows Exporter (9182)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ↓&lt;/p&gt;&lt;p&gt;Prometheus (9090)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ↓&lt;/p&gt;&lt;p&gt;Grafana (3000)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ↓&lt;/p&gt;&lt;p&gt;Monitoring Dashboard&lt;/p&gt;&lt;p&gt;----------------------------------&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;windows_exporter-0.24.0-amd64.msi&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2️⃣ Select collectors (recommended)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Enable:&lt;/p&gt;&lt;p&gt;cpu&lt;/p&gt;&lt;p&gt;memory&lt;/p&gt;&lt;p&gt;logical_disk&lt;/p&gt;&lt;p&gt;net&lt;/p&gt;&lt;p&gt;os&lt;/p&gt;&lt;p&gt;service&lt;/p&gt;&lt;p&gt;system&lt;/p&gt;&lt;p&gt;Default port 9182&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;http://localhost:9182/metrics&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Add to Prometheus&lt;/p&gt;&lt;p&gt;scrape_configs:&lt;/p&gt;&lt;p&gt;&amp;nbsp; - job_name: &quot;windows&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; static_configs:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - targets: [&quot;192.168.1.10:9182&quot;]&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Test in Prometheus&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Open Prometheus UI and run query:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;windows_cpu_time_total&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If you are monitoring multiple Windows servers, install windows_exporter on each server.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/5235202557586126226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2026/03/prometheus-nssm-windows-exporter-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/5235202557586126226'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/5235202557586126226'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2026/03/prometheus-nssm-windows-exporter-and.html' title='Prometheus NSSM Windows Exporter and Grafana '/><author><name>Abhishek Yadav</name><uri>http://www.blogger.com/profile/14969156609350616769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLLeXaTghaTOdiIBjIRLtEfbaCY1nk9E4Q3Ifz3EVBvkd9t4IQKISCulKGud0NNj0-5GU1tG8Gp1h_hFG23L2DJXfYFZOiigA_DquwZUGEZKhiRb4rzOqvgZEdw38GRg/s220/IMG_5310.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-1590638178583038866</id><published>2025-09-28T11:18:00.001+05:30</published><updated>2025-09-28T11:18:08.989+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure SQL Database"/><category scheme="http://www.blogger.com/atom/ns#" term="DBA Worries Continued"/><title type='text'>Azure DTU</title><content type='html'>&lt;p&gt;&amp;nbsp;In Azure SQL Database, DTU stands for Database Transaction Unit — it’s a performance metric that combines CPU, memory, reads, and writes into a single measure.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Think of it as a “power level” — the higher the DTU, the more workload the database can handle.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgPpM_O4sEFM4lu03YBLyW8DMKRaygWUZc-iWhJ8jfGoiG0J_TnCBi5WgyDrMRE6md3n62yfXA6JYGqFlyWOg-av5-G13GBwU3BM1BaHqhZpb-rS2DkrXaLy9s_3IlkWX36L1kCOHdZadXgCB4Nbr2W_hbCwz8BaAyeClrQ82JcF7R18uoLmMdRyszsyZU&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;101&quot; data-original-width=&quot;733&quot; height=&quot;88&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgPpM_O4sEFM4lu03YBLyW8DMKRaygWUZc-iWhJ8jfGoiG0J_TnCBi5WgyDrMRE6md3n62yfXA6JYGqFlyWOg-av5-G13GBwU3BM1BaHqhZpb-rS2DkrXaLy9s_3IlkWX36L1kCOHdZadXgCB4Nbr2W_hbCwz8BaAyeClrQ82JcF7R18uoLmMdRyszsyZU=w640-h88&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;How to Check DTU Usage&lt;/p&gt;&lt;p&gt;You can monitor DTU utilization via:&lt;/p&gt;&lt;p&gt;Azure Portal → SQL Database → Monitoring → DTU usage (%)&lt;/p&gt;&lt;p&gt;Query via T-SQL&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;SELECT *&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;FROM sys.dm_db_resource_stats&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;ORDER BY end_time DESC;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;You can &lt;strong data-end=&quot;1845&quot; data-start=&quot;1812&quot;&gt;estimate your DTU requirement&lt;/strong&gt; using Microsoft’s &lt;strong data-end=&quot;1882&quot; data-start=&quot;1864&quot;&gt;DTU Calculator&lt;/strong&gt;:&lt;/p&gt;&lt;p&gt;&lt;a class=&quot;decorated-link cursor-pointer&quot; data-end=&quot;1973&quot; data-start=&quot;1889&quot; rel=&quot;noopener&quot; target=&quot;_new&quot;&gt;https://dtucalculator.azurewebsites.net&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/1590638178583038866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2025/09/azure-dtu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/1590638178583038866'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/1590638178583038866'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2025/09/azure-dtu.html' title='Azure DTU'/><author><name>Abhishek Yadav</name><uri>http://www.blogger.com/profile/14969156609350616769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLLeXaTghaTOdiIBjIRLtEfbaCY1nk9E4Q3Ifz3EVBvkd9t4IQKISCulKGud0NNj0-5GU1tG8Gp1h_hFG23L2DJXfYFZOiigA_DquwZUGEZKhiRb4rzOqvgZEdw38GRg/s220/IMG_5310.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEgPpM_O4sEFM4lu03YBLyW8DMKRaygWUZc-iWhJ8jfGoiG0J_TnCBi5WgyDrMRE6md3n62yfXA6JYGqFlyWOg-av5-G13GBwU3BM1BaHqhZpb-rS2DkrXaLy9s_3IlkWX36L1kCOHdZadXgCB4Nbr2W_hbCwz8BaAyeClrQ82JcF7R18uoLmMdRyszsyZU=s72-w640-h88-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-3945078712233158536</id><published>2025-07-10T23:02:00.008+05:30</published><updated>2025-07-10T23:02:55.156+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="L1 DBA"/><title type='text'> fn_my_permissions </title><content type='html'>&lt;p&gt;&amp;nbsp;fn_my_permissions ( securable , &#39;securable_class&#39; )&lt;/p&gt;&lt;div&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code inline=&quot;&quot;&gt;DATABASE&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&amp;nbsp; Permissions on the current database&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code inline=&quot;&quot;&gt;OBJECT&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Table, View, Stored Procedure, etc.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code inline=&quot;&quot;&gt;SCHEMA&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Database schema&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code inline=&quot;&quot;&gt;SERVER&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Server-level permissions&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;SELECT * FROM fn_my_permissions(NULL, &#39;DATABASE&#39;);&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;SELECT * FROM fn_my_permissions(NULL, &#39;SERVER&#39;);&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;SELECT * FROM fn_my_permissions(&#39;dbo.YourTableName&#39;, &#39;OBJECT&#39;);&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/3945078712233158536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2025/07/fnmypermissions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/3945078712233158536'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/3945078712233158536'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2025/07/fnmypermissions.html' title=' fn_my_permissions '/><author><name>Abhishek Yadav</name><uri>http://www.blogger.com/profile/14969156609350616769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLLeXaTghaTOdiIBjIRLtEfbaCY1nk9E4Q3Ifz3EVBvkd9t4IQKISCulKGud0NNj0-5GU1tG8Gp1h_hFG23L2DJXfYFZOiigA_DquwZUGEZKhiRb4rzOqvgZEdw38GRg/s220/IMG_5310.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-6876135832467974658</id><published>2025-05-06T11:18:00.001+05:30</published><updated>2025-05-06T11:40:29.806+05:30</updated><title type='text'>Monitoring SQL Server Deadlocks using Extended Events</title><content type='html'>&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Extended
Events were first introduced in SQL Server 2008, and therefore you will not
face any problem implementing them in our environment.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;ui-provider&quot;&gt;&lt;span style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;Extended Events is a lightweight performance monitoring
feature that enables users to collect data to monitor and troubleshoot
problems.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;ui-provider&quot;&gt;&lt;span style=&quot;background: white; color: #001d35; font-size: 14pt; line-height: 115%;&quot;&gt;A deadlock is &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;ui-provider&quot;&gt;&lt;span style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;a situation
where two or more processes or threads are blocked indefinitely, waiting for
each other to release resources that they need to proceed.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;ui-provider&quot;&gt;&lt;span style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;editortnoteditedlongjunnx&quot;&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;Here we
are going to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;observe&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;how to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;gather&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;deadlock information&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;through&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;Extended Events :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;b&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Creating SQL Server
Extended Events to Capture Deadlocks using Management Studio&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;color: #313131; font-size: 14pt; line-height: 115%;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 1:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;First, open&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;&lt;a href=&quot;https://www.mssqltips.com/category/sql-server-management-studio/&quot; style=&quot;box-sizing: border-box; cursor: pointer; outline: 0px; transition: color 0.3s;&quot;&gt;&lt;span face=&quot;&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;color: black;&quot;&gt;SQL Server Management
Studio&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;color: #313131; font-size: 14pt; line-height: 115%;&quot;&gt;&amp;nbsp;(SSMS) and navigate to&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;Management &amp;gt; Extended
Events &amp;gt; Sessions.&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;b&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg9hKxhy912-9gCnp0fqKTXyAQs04YBrFf8tHIU12C4qON8PBcQCgDU9LQbNQxYUW3HEnEYsJ1a82MVXdlZ79iuUP63j6xc7G4SsUyqqQgBp6Gc8CGma8UlyJLHsS2O8aVGbUS7_Th5ROSlWIrxH41RNeeXvOWvhUdE21yDSA5CCY6EQZ3AXfKkt2B8U3I&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;774&quot; data-original-width=&quot;799&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg9hKxhy912-9gCnp0fqKTXyAQs04YBrFf8tHIU12C4qON8PBcQCgDU9LQbNQxYUW3HEnEYsJ1a82MVXdlZ79iuUP63j6xc7G4SsUyqqQgBp6Gc8CGma8UlyJLHsS2O8aVGbUS7_Th5ROSlWIrxH41RNeeXvOWvhUdE21yDSA5CCY6EQZ3AXfKkt2B8U3I=w382-h369&quot; width=&quot;382&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #313131;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #313131;&quot;&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 2:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #313131; font-size: 14pt;&quot;&gt;Right-click on Sessions and select&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;span face=&quot;&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;New
Session.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;span face=&quot;&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;span face=&quot;&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgB_ADUA1kzcUsXi6iAoEZncg133wxCr_CltgTtCuSP7hmbMrx690o58nK9XJQ3RkdK-J9QpEi_nm0kEiPh1KAXaLSo2Mhm_BmrvGdwyTynIjXUNemRmklb3EkA3ShJ9xC4RN1fgkp8DkkE3MLP4PftPNNtXydLiQKEXnosaOkgcdGjevxMdDBnV6u2OSg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;773&quot; data-original-width=&quot;804&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgB_ADUA1kzcUsXi6iAoEZncg133wxCr_CltgTtCuSP7hmbMrx690o58nK9XJQ3RkdK-J9QpEi_nm0kEiPh1KAXaLSo2Mhm_BmrvGdwyTynIjXUNemRmklb3EkA3ShJ9xC4RN1fgkp8DkkE3MLP4PftPNNtXydLiQKEXnosaOkgcdGjevxMdDBnV6u2OSg=w385-h369&quot; width=&quot;385&quot; /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;b&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 3:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;In the new window,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;provide&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;a name&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedlongjunnx&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;your event, we will&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;call&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedlongjunnx&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;it SQLWATCH_deadlock in this&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;case&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;Select&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;the event to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;start&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;at the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;beginning&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedlongjunnx&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;of the server and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;when&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;session&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;is created&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;, you&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;can&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;change&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;these settings if&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;necessary&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;span class=&quot;editortnoteditedwurp8&quot;&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi9B7O8i9kkqDDHSt8kePzW2CfJdhCrCqlx7mF5lByrz2u5jnW1E2kpW4btpWv-aRg_xDH1dCokQuyALIo5GonLgPoJvZ65_Q67uE3fJYcpWXxzORDzo8pyNlSJJyexxMvVvK3kEq78B08I5zjYlBoLa74aGYhGo9dGmLkYHpJb5tCndGe-OsFmka3Gdds&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;505&quot; data-original-width=&quot;979&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi9B7O8i9kkqDDHSt8kePzW2CfJdhCrCqlx7mF5lByrz2u5jnW1E2kpW4btpWv-aRg_xDH1dCokQuyALIo5GonLgPoJvZ65_Q67uE3fJYcpWXxzORDzo8pyNlSJJyexxMvVvK3kEq78B08I5zjYlBoLa74aGYhGo9dGmLkYHpJb5tCndGe-OsFmka3Gdds=w504-h260&quot; width=&quot;504&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #313131;&quot;&gt;&lt;b style=&quot;background-color: transparent; font-size: medium; letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 4:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&amp;nbsp;Go to the Events tab and in the event
library textbox type&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;span face=&quot;&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;“deadlock”&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;to filter deadlock events:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiTo5MrnHKihPB-gVvE_FMz2ErpqnMjmKBqH1-x6ept-EX1jUhjqsejiTeX2tpcYj3rPVqsrtV8DPe0vbQl9pvOlQvEJj_Tje4-KH7Vz-0PpwHCJnQlNA_0ReA4iZyiyJ_b2pHZJMeP1yufC6QzTae26FyAQVoUMT92vW9YIC9oloQWc3Y-QglzQM47XwU&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;566&quot; data-original-width=&quot;979&quot; height=&quot;257&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiTo5MrnHKihPB-gVvE_FMz2ErpqnMjmKBqH1-x6ept-EX1jUhjqsejiTeX2tpcYj3rPVqsrtV8DPe0vbQl9pvOlQvEJj_Tje4-KH7Vz-0PpwHCJnQlNA_0ReA4iZyiyJ_b2pHZJMeP1yufC6QzTae26FyAQVoUMT92vW9YIC9oloQWc3Y-QglzQM47XwU=w444-h257&quot; width=&quot;444&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&lt;b style=&quot;background-color: transparent; font-size: medium; letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 5: &lt;/span&gt;&lt;span style=&quot;color: #444444;&quot;&gt;W&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedlongjunnx&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;e will&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;select&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedlongjunnx&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;2 events: Lock_Deadlock (Raised when a request to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;acquire&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;a lock is&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;cancelled&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedlongjunnx&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;for the victim of a deadlock) and Lock_deadlock_chain
(Raised when a request to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;acquire&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;a lock&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;results&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;in&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedlongjunnx&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;a deadlock. This event is raised for&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;all&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortaddedltunj&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;members&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;editortnoteditedwurp8&quot; style=&quot;background-color: transparent; font-size: 14pt; letter-spacing: 0.1pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 14pt; letter-spacing: 0.1pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;of the deadlock).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #313131;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #313131;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEinhVjzDqSgPkXaj-E-hn5_J_mww1pe--HvGz-aBS8gD0s8V6cuMm6fjVNKKXPD7sOR17moJj0Kdw_9bSE2XuxAXRtdnEhEsmH16XlnIVzGuKJbXe7wp-70qJP6eYyDD8xArrbIaCEwCSiO2hpX0tLUJMyF-RxGw4PBu6PTfOBcUNP0BBv3hzNF8miYD14&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;565&quot; data-original-width=&quot;979&quot; height=&quot;265&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEinhVjzDqSgPkXaj-E-hn5_J_mww1pe--HvGz-aBS8gD0s8V6cuMm6fjVNKKXPD7sOR17moJj0Kdw_9bSE2XuxAXRtdnEhEsmH16XlnIVzGuKJbXe7wp-70qJP6eYyDD8xArrbIaCEwCSiO2hpX0tLUJMyF-RxGw4PBu6PTfOBcUNP0BBv3hzNF8miYD14=w458-h265&quot; width=&quot;458&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #313131;&quot;&gt;&lt;b style=&quot;background-color: transparent; font-size: medium; letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 6:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;Having both the events chosen, click on the
configure button, and a new window will be opened, in this window we will take
a snapshot of the sql_text field so that we can view the query that generated
the deadlock&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #313131;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhSKNr9YGxKcSguwsjKpEuzbmd_Mf-NKZZmgGDiTvw0CFNcVijD93LoVvFNDUJlLsNf2vJ8Se-oSdKBxMNY0PGVtKnEAlTYyU8Lgmytf40Uk-b5nn-Agv2KpkQfVkAt-rSutBhB3-d1h6xTOwci9O-py3gLEdQ6tfcTKfncv67NJBiISOWoDs22hBbbzNc&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;588&quot; data-original-width=&quot;979&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhSKNr9YGxKcSguwsjKpEuzbmd_Mf-NKZZmgGDiTvw0CFNcVijD93LoVvFNDUJlLsNf2vJ8Se-oSdKBxMNY0PGVtKnEAlTYyU8Lgmytf40Uk-b5nn-Agv2KpkQfVkAt-rSutBhB3-d1h6xTOwci9O-py3gLEdQ6tfcTKfncv67NJBiISOWoDs22hBbbzNc=w443-h266&quot; width=&quot;443&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #313131;&quot;&gt;&lt;b style=&quot;background-color: transparent; font-size: medium; letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 7:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;In the Data Storage tab, select where you want
to store the Extended Event data use a file.&lt;/span&gt;&lt;span face=&quot;&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;color: #313131; font-size: 12pt; mso-bidi-font-weight: bold; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #313131;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.6pt; margin-bottom: 12.75pt; mso-outline-level: 2;&quot;&gt;&lt;span face=&quot;Helvetica, &amp;quot;sans-serif&amp;quot;&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #313131;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEid0PmJVFLb2RSEC8ErFdmoqzpD7RH6Jh5U36lLU2h03cKk4g_J_YXij_4I5xMYWUq1i2gKLieKRik6RYuH671ONgsGuBr9ZAT7GgZe5G3rqKclS5BnVTWcf73P_7YUDk0iO8408TRDPmRFfppyZG38R2tmM6U5d4o64vKvCN32L58HDcJGS7cFnEMdReU&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;585&quot; data-original-width=&quot;979&quot; height=&quot;295&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEid0PmJVFLb2RSEC8ErFdmoqzpD7RH6Jh5U36lLU2h03cKk4g_J_YXij_4I5xMYWUq1i2gKLieKRik6RYuH671ONgsGuBr9ZAT7GgZe5G3rqKclS5BnVTWcf73P_7YUDk0iO8408TRDPmRFfppyZG38R2tmM6U5d4o64vKvCN32L58HDcJGS7cFnEMdReU=w494-h295&quot; width=&quot;494&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;background: white; color: #313131;&quot;&gt;&lt;b style=&quot;background-color: transparent; font-size: medium; letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Step 8:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;After that, click on&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;box-sizing: border-box; outline: 0px;&quot;&gt;&lt;span face=&quot;&amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;OK&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;to save the Event configuration, we can see that the
event is created and is already running.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi9L0GHGCfV-Ky3wOejyLYjah_Y3IOJode4RGLwmpvODCoSMQR-bg6aGGzUBDKB36wNvvacOLo2Tshh5rmvfNaPwV_ajGoFPMw9c0NR5hBNlxB-HctEXPs4azKRogtJcmAEr8wgQ1SN0BVJeewatjkkPr66qDYn20DaOMiOOWfsllAlbq4sVexIo8uvvHU&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;181&quot; data-original-width=&quot;531&quot; height=&quot;138&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi9L0GHGCfV-Ky3wOejyLYjah_Y3IOJode4RGLwmpvODCoSMQR-bg6aGGzUBDKB36wNvvacOLo2Tshh5rmvfNaPwV_ajGoFPMw9c0NR5hBNlxB-HctEXPs4azKRogtJcmAEr8wgQ1SN0BVJeewatjkkPr66qDYn20DaOMiOOWfsllAlbq4sVexIo8uvvHU=w406-h138&quot; width=&quot;406&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/6876135832467974658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2025/05/monitoring-sql-server-deadlocks-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6876135832467974658'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6876135832467974658'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2025/05/monitoring-sql-server-deadlocks-using.html' title='Monitoring SQL Server Deadlocks using Extended Events'/><author><name>Tarif Ahmed</name><uri>http://www.blogger.com/profile/14175281595420682850</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEg9hKxhy912-9gCnp0fqKTXyAQs04YBrFf8tHIU12C4qON8PBcQCgDU9LQbNQxYUW3HEnEYsJ1a82MVXdlZ79iuUP63j6xc7G4SsUyqqQgBp6Gc8CGma8UlyJLHsS2O8aVGbUS7_Th5ROSlWIrxH41RNeeXvOWvhUdE21yDSA5CCY6EQZ3AXfKkt2B8U3I=s72-w382-h369-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-4836990959052277112</id><published>2025-02-05T16:34:00.005+05:30</published><updated>2025-02-05T16:34:33.114+05:30</updated><title type='text'>The operating system returned error 59(An unexpected network error occurred.) to SQL Server during a read at offset 0x0000 in file.</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: #a64d79;&quot;&gt;Error Message&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;Msg 823, Level 24, State 2, Procedure tables, Line 2 [Batch Start Line 2]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;The operating system returned error 59(An unexpected network error occurred.) to SQL Server during a read&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;at offset 0x00004675548000 in file &#39;\\Server_Name\D2A_DB\MSSQL\Data\HISTORICAL_NDF_1.ndf&#39;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;Additional messages in the SQL Server error log and operating system error log may provide more detail.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;This is a severe system-level error condition that threatens database integrity and must be corrected&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;factors; for more information, see SQL Server Books Online.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #bf9000;&quot;&gt;Cause&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The Windows Session Timeout is 60 s by default. This timeout is dependent not only on Data Domain response time,&amp;nbsp;&lt;/p&gt;&lt;p&gt;but also any network latency.&amp;nbsp;&lt;/p&gt;&lt;p&gt;If there is a slow network or longer than expected Data Domain processing (such as rapid index expansion under&amp;nbsp;&lt;/p&gt;&lt;p&gt;a heavy backup load), Windows resets the connection causing backup errors.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;PS C:\Windows\system32&amp;gt; get-SmbClientConfiguration&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #bf9000;&quot;&gt;Resolution&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Increase the Windows Session Timeout to a higher value such as 180 s by running the following command:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #674ea7;&quot;&gt;PS C:\Windows\system32&amp;gt; Set-SmbClientConfiguration -SessionTimeout 180 -Force&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/4836990959052277112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2025/02/the-operating-system-returned-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/4836990959052277112'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/4836990959052277112'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2025/02/the-operating-system-returned-error.html' title='The operating system returned error 59(An unexpected network error occurred.) to SQL Server during a read at offset 0x0000 in file.'/><author><name>Abhishek Yadav</name><uri>http://www.blogger.com/profile/14969156609350616769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLLeXaTghaTOdiIBjIRLtEfbaCY1nk9E4Q3Ifz3EVBvkd9t4IQKISCulKGud0NNj0-5GU1tG8Gp1h_hFG23L2DJXfYFZOiigA_DquwZUGEZKhiRb4rzOqvgZEdw38GRg/s220/IMG_5310.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-6832168809110907891</id><published>2024-08-01T13:17:00.001+05:30</published><updated>2024-08-13T17:42:28.587+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MySQL L1"/><title type='text'> Mysql Replication</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;MySQL database servers (slave)-&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2iiOrKTLB2-qhsM_nsk4m0tdLSclHJ0E0_K3qAl1qC0QJk4QVwOz0WvShBDhDNL-KEseDph-Ui6kR_aQJYogtRpJXxNyQpIYoHT8e1IYmU46U8LSCPrLFH4G6lZB85ovwBD_sro6JnZ5VqBuFPpu1RcrNz1eo_tSfhhASSQdiUo4xV-UR2BHP5bUtJCld/s534/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;170&quot; data-original-width=&quot;534&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2iiOrKTLB2-qhsM_nsk4m0tdLSclHJ0E0_K3qAl1qC0QJk4QVwOz0WvShBDhDNL-KEseDph-Ui6kR_aQJYogtRpJXxNyQpIYoHT8e1IYmU46U8LSCPrLFH4G6lZB85ovwBD_sro6JnZ5VqBuFPpu1RcrNz1eo_tSfhhASSQdiUo4xV-UR2BHP5bUtJCld/s16000/1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;I/O thread and SQL Thread-&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1JjW_9sP6mC8crWsTU5xjr6hyphenhyphenp_tA4mENDZuDaA0EBXtbp6lcq7E3GjJWc0HKiN0QsCahPG_zy3JMOz0KpDeEiZz0-KtTK8KFnfiM_CWyLf5SXc4rEyUQCsvqP7j0Nc2vhDGg1MjAKGdr54V4SpiqHkPoXRdZ7qabGa76IaoHRSW3zneLTPzruU8rEwvV/s400/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;280&quot; data-original-width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1JjW_9sP6mC8crWsTU5xjr6hyphenhyphenp_tA4mENDZuDaA0EBXtbp6lcq7E3GjJWc0HKiN0QsCahPG_zy3JMOz0KpDeEiZz0-KtTK8KFnfiM_CWyLf5SXc4rEyUQCsvqP7j0Nc2vhDGg1MjAKGdr54V4SpiqHkPoXRdZ7qabGa76IaoHRSW3zneLTPzruU8rEwvV/s16000/2.png&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Replication I/O threads-&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;When a start slave statement is issued on
a replica server, the replica creates an I/O thread, which connects to the
source and asks it to send the updates recorded in its binary logs. The
replication I/O thread reads the updates that the source&#39;s Binlog Dump thread
sends and copies them to local files that comprise the replica&#39;s relay log.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;The state of this thread is shown as
Slave_IO_running in the output of show slave status.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Replication SQL threads-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;The replica creates an SQL thread to read
the relay log that is written by the replication I/O thread and execute the
transactions contained in it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;There are three main threads for each
source/replica connection. A source that has multiple replicas creates one
binary log dump thread for each currently connected replica, and each replica
has its own replication I/O and SQL threads.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Binary log dump thread-&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;The source creates a thread to send the
binary log contents to a replica when the replica connects. This thread can be
identified in the output of show process list on the source as the Binlog Dump
thread.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;The binary log dump thread acquires a
lock on the source&#39;s binary log for reading each event that is to be sent to
the replica. As soon as the event has been read, the lock is released, even
before the event is sent to the replica.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 1-&lt;/span&gt; &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Login to the database and check the global variable gtid.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkrEmCEe_JUdvFoIqmUJqeUB3iWrvfDw8GUMTykSS6dNP2HEPv2UATg9iDRgXM8WykRdvj67y93iWDaIs6Ld5hxRA7jfz-mLTaCjX54vwqisD0jZXuFPdvsl6l74oDPTsgL7DW-zCu4JczrxpIu00QRPNzUsw2VbxgvAOQF0Yvidxq-AhfUPBbwaF3redd/s640/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;469&quot; data-original-width=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkrEmCEe_JUdvFoIqmUJqeUB3iWrvfDw8GUMTykSS6dNP2HEPv2UATg9iDRgXM8WykRdvj67y93iWDaIs6Ld5hxRA7jfz-mLTaCjX54vwqisD0jZXuFPdvsl6l74oDPTsgL7DW-zCu4JczrxpIu00QRPNzUsw2VbxgvAOQF0Yvidxq-AhfUPBbwaF3redd/s16000/3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 2- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;To Check the server id and binary logfile.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRgoNGE3bXdFt9EueD-O94Yu78H8BxvvGjb9Fg77x0gVnyyG-9YIJqKADy0kyUXmaxeQ1tlL9lmkMREzJ-RjF7qxLHf-9LVsuOmN7Cc5OK8iSmX3zZfY2dFPUbbUB8jT0iXmcTV7-bjBcq-8PJGuzow3WHJKwPJTbd1843cp5YR_0Aa5euP3HUr5yEc1FU/s620/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;383&quot; data-original-width=&quot;620&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRgoNGE3bXdFt9EueD-O94Yu78H8BxvvGjb9Fg77x0gVnyyG-9YIJqKADy0kyUXmaxeQ1tlL9lmkMREzJ-RjF7qxLHf-9LVsuOmN7Cc5OK8iSmX3zZfY2dFPUbbUB8jT0iXmcTV7-bjBcq-8PJGuzow3WHJKwPJTbd1843cp5YR_0Aa5euP3HUr5yEc1FU/s16000/4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 3- &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Open the MySQL configuration file and config.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Gtid_mode=ON&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;enforce_gtid_consistency=ON&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;server id=100&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;log-bin=gtidsource&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh6DOmLui6Wv1mUi1osftvGxU_A_lzdpa8MnQKevQEBvJOkbdDJ-hoiGG_koZc26w6MloJaozAsREb0gzv2iii3ES42b34LHvurBVzLobvusgybQ8QEC-128xDwsvU0O-Ne5gxLTmYKsvLFRWj-ejRSJECC9iwFwo9qxZlQbhArDu7Ce-6_JlqhoSNUt88/s526/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;303&quot; data-original-width=&quot;526&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh6DOmLui6Wv1mUi1osftvGxU_A_lzdpa8MnQKevQEBvJOkbdDJ-hoiGG_koZc26w6MloJaozAsREb0gzv2iii3ES42b34LHvurBVzLobvusgybQ8QEC-128xDwsvU0O-Ne5gxLTmYKsvLFRWj-ejRSJECC9iwFwo9qxZlQbhArDu7Ce-6_JlqhoSNUt88/s16000/5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 4 –&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;

&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Restart MySQL service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1vhA5I6oadbXExNAXAKC0SDcal3kp1vIVfzj5D2trdPYDiGaN7vOUjxmI1Kfp_8KYkn40wSl9ETgUBbZNR6w-Rta5A9Zvl8-eZsl25bF5fGeWarZ0SHx4h_6y999cdCZY23gFDr7QemUfkfqaLEB_bWU07OywS3MDeeon90Xwlf60Z1k-rDePfKGCPBVL/s630/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;93&quot; data-original-width=&quot;630&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1vhA5I6oadbXExNAXAKC0SDcal3kp1vIVfzj5D2trdPYDiGaN7vOUjxmI1Kfp_8KYkn40wSl9ETgUBbZNR6w-Rta5A9Zvl8-eZsl25bF5fGeWarZ0SHx4h_6y999cdCZY23gFDr7QemUfkfqaLEB_bWU07OywS3MDeeon90Xwlf60Z1k-rDePfKGCPBVL/s16000/6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 5- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;Now check global variable gtid, server_id and
binary log.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOECTQ8V-G1T2aXNEkqgDnBxrlyxa9phmUD_ebF8aS9NUKsqLsdglGOkzZdJkvpizwHZt2_aTakeD2-6OGCBKKrrdYsmCfngO_Gy55fmBCSoHMvCKRPDCe3Kf_4vl4ZWaP4_T_J8wN-3pM_nq4ssMJUPOdPjlDaR4rdMNeGF2kUqE4BxVQwqwRl5bgqgzK/s841/7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;649&quot; data-original-width=&quot;841&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOECTQ8V-G1T2aXNEkqgDnBxrlyxa9phmUD_ebF8aS9NUKsqLsdglGOkzZdJkvpizwHZt2_aTakeD2-6OGCBKKrrdYsmCfngO_Gy55fmBCSoHMvCKRPDCe3Kf_4vl4ZWaP4_T_J8wN-3pM_nq4ssMJUPOdPjlDaR4rdMNeGF2kUqE4BxVQwqwRl5bgqgzK/s16000/7.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 6- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Create a user in master.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Create user repl@’%’ identified by ‘Rainbow@123’&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 7- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;check global variable gtid in replica.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyTPtPWzhr8dGp37bQEdnaqtH4BZQbKH_c6zDFd5hJcKeCVh02fj2eONcAgJNJ916prfx75Vh8hl5izmXd0tBKcRMH-NYFXDwAZe-E18xYJuq-y0BWEUQiA4dXK0AS7FsVw6vnwhzU3BImQw4qv7X_Ub00nAVog3p2j9_fv2QAZUJ_nKDljtK1q23DZ5-7/s640/8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;469&quot; data-original-width=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyTPtPWzhr8dGp37bQEdnaqtH4BZQbKH_c6zDFd5hJcKeCVh02fj2eONcAgJNJ916prfx75Vh8hl5izmXd0tBKcRMH-NYFXDwAZe-E18xYJuq-y0BWEUQiA4dXK0AS7FsVw6vnwhzU3BImQw4qv7X_Ub00nAVog3p2j9_fv2QAZUJ_nKDljtK1q23DZ5-7/s16000/8.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 8- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Check server_id and binary_log in replica.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNNaS85vAauP2D2QH_RXVkaFWW7yol7iVd0jmS8apvMZkp7MBLy4X4DYBTxNQsWglJcMrgvtfzEVoH_zSX2G7iDtNAex-bNm3JFVTKAowAuzmAByNiEYBWaAgjMrKZEiLRWFDcfL4NLfjLGXlpDJYYjWFYl3Z2f3j2m2qWF1YC5Cp-xTcQytvNOM9TOXDW/s620/9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;383&quot; data-original-width=&quot;620&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNNaS85vAauP2D2QH_RXVkaFWW7yol7iVd0jmS8apvMZkp7MBLy4X4DYBTxNQsWglJcMrgvtfzEVoH_zSX2G7iDtNAex-bNm3JFVTKAowAuzmAByNiEYBWaAgjMrKZEiLRWFDcfL4NLfjLGXlpDJYYjWFYl3Z2f3j2m2qWF1YC5Cp-xTcQytvNOM9TOXDW/s16000/9.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 9-&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Now check replica status.&lt;/span&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPTXEjfVA1VkvfobK48h-UHLw0dRruRTmOgF7c7XUZkNCstWryhGEDSJorzD6vfLpRUjTo-FCJgEorSWF-yVy7-6O66-HEw-_xi7RLGtJLcx4kqdSzgTzkMJUPAW7gPDCL1hC4XSapFnn2VF4TVcBuNfaQzCgFNRoXkcwUITegE9L_cZ3mjG-GNNuTdbCn/s407/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;78&quot; data-original-width=&quot;407&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPTXEjfVA1VkvfobK48h-UHLw0dRruRTmOgF7c7XUZkNCstWryhGEDSJorzD6vfLpRUjTo-FCJgEorSWF-yVy7-6O66-HEw-_xi7RLGtJLcx4kqdSzgTzkMJUPAW7gPDCL1hC4XSapFnn2VF4TVcBuNfaQzCgFNRoXkcwUITegE9L_cZ3mjG-GNNuTdbCn/s16000/10.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 10- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Change Master to master user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;mysql&amp;gt; change master to&amp;nbsp;
master_user=&#39;repl&#39;,master_password=&#39;Secure@321’, master_host=&#39;192.168.0.195&#39;,master_auto_position=1,get_master_public_key=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Query OK, 0 rows affected, 8 warnings (0.02 sec)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;mysql&amp;gt; start replica;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Query OK, 0 rows affected (0.01 sec)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;mysql&amp;gt;&amp;nbsp;show replica status \G&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;*************************** 1. row
***************************&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replica_IO_State: Waiting for source to send event&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_Host: 192.168.0.195&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_User: repl&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_Port: 3306&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Connect_Retry: 60&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_Log_File: gtidsource.000003&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Read_Source_Log_Pos: 157&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Relay_Log_File: clota-dbl06-relay-bin.000002&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Relay_Log_Pos: 375&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Relay_Source_Log_File: gtidsource.000003&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replica_IO_Running: Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replica_SQL_Running: Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replicate_Do_DB:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replicate_Ignore_DB:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replicate_Do_Table:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replicate_Ignore_Table:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replicate_Wild_Do_Table:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replicate_Wild_Ignore_Table:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Last_Errno: 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Last_Error:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Skip_Counter: 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Exec_Source_Log_Pos: 157&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Relay_Log_Space: 591&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Until_Condition: None&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Until_Log_File:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Until_Log_Pos: 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_SSL_Allowed: No&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_SSL_CA_File:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_SSL_CA_Path:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_SSL_Cert:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_SSL_Cipher:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_SSL_Key:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Seconds_Behind_Source: 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_SSL_Verify_Server_Cert: No&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Last_IO_Errno: 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Last_IO_Error:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Last_SQL_Errno: 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Last_SQL_Error:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replicate_Ignore_Server_Ids:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_Server_Id: 100&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_UUID: 25474780-4a56-11ef-b77c-000c2926dc41&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_Info_File: mysql.slave_master_info&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;SQL_Delay: 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;SQL_Remaining_Delay: NULL&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replica_SQL_Running_State: Replica has read all relay log;
waiting for more updates&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_Retry_Count: 86400&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_Bind:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Last_IO_Error_Timestamp:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Last_SQL_Error_Timestamp:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_SSL_Crl:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_SSL_Crlpath:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Retrieved_Gtid_Set:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Executed_Gtid_Set: 89ffa9fd-4a4c-11ef-8d4a-000c2995d827:1-4&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Auto_Position: 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Replicate_Rewrite_DB:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Channel_Name:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_TLS_Version:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Source_public_key_path:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Get_Source_public_key: 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Network_Namespace:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;1 row in set (0.00 sec)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 11- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;After enabaling gtid.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgD-BbxCUKE500yzLAshLPDdPb4xZX5WXPeYTfR4r_tudtPEBQHXHhU8SPOlCYEgg3W_B2Iph34ySTqml4LoFNgu77AVpmTsleFFo0WPuaQlth01044H0q4_B_ut2HnCh1_Kd_znFFzq4kfSaaDtAtHPgUaq8CF0UVUMWPKTHoIdC1eODJNHuv0tFaErD2/s631/12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;361&quot; data-original-width=&quot;631&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgD-BbxCUKE500yzLAshLPDdPb4xZX5WXPeYTfR4r_tudtPEBQHXHhU8SPOlCYEgg3W_B2Iph34ySTqml4LoFNgu77AVpmTsleFFo0WPuaQlth01044H0q4_B_ut2HnCh1_Kd_znFFzq4kfSaaDtAtHPgUaq8CF0UVUMWPKTHoIdC1eODJNHuv0tFaErD2/s16000/12.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 12- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Create a database and check the global variable gtid.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEC3wLxzU6JRrq1QPJpUSjkutPyqhQLdvSrfYMsemH81KisnUKa1y36Kf82g8pH0krCmjzBBviGzyx3T88KeDYi-1DJpRmjkwPJMSv0AZGEW95-qt6dTPObkYlNDgDbbilpPVoEJWeY4zyjKnIIJchqehAyaY0Q4mgLqDVKtNsAaHA2hzzzPmV02HemB0v/s904/13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;305&quot; data-original-width=&quot;904&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEC3wLxzU6JRrq1QPJpUSjkutPyqhQLdvSrfYMsemH81KisnUKa1y36Kf82g8pH0krCmjzBBviGzyx3T88KeDYi-1DJpRmjkwPJMSv0AZGEW95-qt6dTPObkYlNDgDbbilpPVoEJWeY4zyjKnIIJchqehAyaY0Q4mgLqDVKtNsAaHA2hzzzPmV02HemB0v/s16000/13.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 13- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Check server_uuid.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-sdFOguuziP6At-0E2ida1YD4D8aA2FAUUH_KqoMWI1TH0dSku74UVbiOAKQ4IhtqILu7i9SpJ7oQsXMcIiykFAOrtD1nj3_06wDdL_9mpODj2TOwhbhmtTTTJeFqCyfLQ5H46m5lZmtXOuz6TGpFX-wjjxx2QCy4UMRxqrNcIWNLGioZ5YXHYL_VzhnL/s610/14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;187&quot; data-original-width=&quot;610&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-sdFOguuziP6At-0E2ida1YD4D8aA2FAUUH_KqoMWI1TH0dSku74UVbiOAKQ4IhtqILu7i9SpJ7oQsXMcIiykFAOrtD1nj3_06wDdL_9mpODj2TOwhbhmtTTTJeFqCyfLQ5H46m5lZmtXOuz6TGpFX-wjjxx2QCy4UMRxqrNcIWNLGioZ5YXHYL_VzhnL/s16000/14.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 14- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Change database and check global variable gtid in replica.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinhWDOVBwgigb66WtZtu3BmgwWKwZF2o6I4DQVv00ZDbgLTf7cZwRQ3PGdWQWONh4-gwgyHiS-5CId5aqDpo1LCCADw3UY-za_sdLSXgxh5Ka17DsR_Ff2RHKK4WfB7l31D1-NDfXQ2AceWy-pnb3WZuw51LzucpemRU2A_AdyqcrwkJkgPWnJrTIEIDCF/s904/15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;368&quot; data-original-width=&quot;904&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinhWDOVBwgigb66WtZtu3BmgwWKwZF2o6I4DQVv00ZDbgLTf7cZwRQ3PGdWQWONh4-gwgyHiS-5CId5aqDpo1LCCADw3UY-za_sdLSXgxh5Ka17DsR_Ff2RHKK4WfB7l31D1-NDfXQ2AceWy-pnb3WZuw51LzucpemRU2A_AdyqcrwkJkgPWnJrTIEIDCF/s16000/15.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #833c0b; font-size: 14.0pt; line-height: 115%;&quot;&gt;Step 15-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;In replica use f1
database and check the table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVZoPgF07jWLXqD1J068IxG2TRbY2I2I_uRi47hHPUv4YbLyAZ46EvrwitFJCIPrGYk7cN5umps3x5E6_GvvAt1hNqLkoTiRoByevU_JgNpTf_TB_yupp02Y3IBprx0GKhqorygsXk0r9dldzb4_EA2dPD1D13PY-1ILlKflw8qUPYIum0UoKRrNncQGp9/s877/16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;284&quot; data-original-width=&quot;877&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVZoPgF07jWLXqD1J068IxG2TRbY2I2I_uRi47hHPUv4YbLyAZ46EvrwitFJCIPrGYk7cN5umps3x5E6_GvvAt1hNqLkoTiRoByevU_JgNpTf_TB_yupp02Y3IBprx0GKhqorygsXk0r9dldzb4_EA2dPD1D13PY-1ILlKflw8qUPYIum0UoKRrNncQGp9/s16000/16.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/6832168809110907891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/08/mysql-replication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6832168809110907891'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6832168809110907891'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/08/mysql-replication.html' title=' Mysql Replication'/><author><name>Tarif Ahmed</name><uri>http://www.blogger.com/profile/14175281595420682850</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2iiOrKTLB2-qhsM_nsk4m0tdLSclHJ0E0_K3qAl1qC0QJk4QVwOz0WvShBDhDNL-KEseDph-Ui6kR_aQJYogtRpJXxNyQpIYoHT8e1IYmU46U8LSCPrLFH4G6lZB85ovwBD_sro6JnZ5VqBuFPpu1RcrNz1eo_tSfhhASSQdiUo4xV-UR2BHP5bUtJCld/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-8364807960267439861</id><published>2024-07-29T19:05:00.006+05:30</published><updated>2024-11-06T10:04:51.864+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MySQL Basics"/><category scheme="http://www.blogger.com/atom/ns#" term="MySQL L1"/><title type='text'>Install MySQL 8 on Oracle Linux</title><content type='html'>&lt;p&gt;Installing MySQL on Oracle Linux is simple and straightforward. Download the latest version of MySQL based on your OS version.&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Download via Command Line (optional):&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Use wget or curl to download the file directly if you prefer using the command line&lt;/p&gt;&lt;p&gt;wget https://downloads.mysql.com/archives/get/p/23/file/mysql-8.0.30-linux-glibc2.12-x86_64.tar.xz&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi6Xi6sfNMDBnRqX2LpH5j8Og1dXVFu-TglgbZtD0C4hjjzKYD7nJZTeDLkhu88QyIjEplL3vO8UspXF9hG58BF7E6X66hEwHul63Zw767EErYqcm0LpDPmnbVWdysrgBI7ECGDaXsM0qY7RbnBcYaMlvc3IrR5jqpijYkbqsetL1g0R44Xjo3mgUDiWoI&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;231&quot; data-original-width=&quot;979&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi6Xi6sfNMDBnRqX2LpH5j8Og1dXVFu-TglgbZtD0C4hjjzKYD7nJZTeDLkhu88QyIjEplL3vO8UspXF9hG58BF7E6X66hEwHul63Zw767EErYqcm0LpDPmnbVWdysrgBI7ECGDaXsM0qY7RbnBcYaMlvc3IrR5jqpijYkbqsetL1g0R44Xjo3mgUDiWoI=s16000&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj1qpjmVlp6fJzo1sG1tCr49pdrDICSxIxYOyw1QYUQdHoXzdlsCQrETWid2Nv4W9G9IWAuxldA4XMfdQqXAZzCff0L4_H58xmlanE_796oJEIsCuNTQBWBZl_i4cC070BsTaZX7C0AXMI4zZKXzxr9J9dCvbRgnYgZ2qBV2_cnmJM3Gfg9Utoiq_VB8NQ&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;72&quot; data-original-width=&quot;979&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj1qpjmVlp6fJzo1sG1tCr49pdrDICSxIxYOyw1QYUQdHoXzdlsCQrETWid2Nv4W9G9IWAuxldA4XMfdQqXAZzCff0L4_H58xmlanE_796oJEIsCuNTQBWBZl_i4cC070BsTaZX7C0AXMI4zZKXzxr9J9dCvbRgnYgZ2qBV2_cnmJM3Gfg9Utoiq_VB8NQ=s16000&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Change to the directory where you downloaded the tarfile:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;cd&amp;nbsp; /test&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Extract the tarfile using tar:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;tar -xvf mysql-8.0.30-linux-glibc2.12-x86_64.tar.xz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiARW-Xwafx5q0IabTLZOFhu7FHFBf19gNq4Op3jiPzTw6jIpo0p9EDArBFUvJBYMzhWVcQRZYm5ITP5l7mxZagRJ__Pik0Kk_JWHC9MuWgSJzv8jE7NFdoUJFqSPBwPn-xVcM0U4DjOO4Gu_srJQBpNf1jzFNDnsqPx28MVPHRXBG_wNBN8Zp7KYNnXNU&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;584&quot; data-original-width=&quot;979&quot; height=&quot;382&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiARW-Xwafx5q0IabTLZOFhu7FHFBf19gNq4Op3jiPzTw6jIpo0p9EDArBFUvJBYMzhWVcQRZYm5ITP5l7mxZagRJ__Pik0Kk_JWHC9MuWgSJzv8jE7NFdoUJFqSPBwPn-xVcM0U4DjOO4Gu_srJQBpNf1jzFNDnsqPx28MVPHRXBG_wNBN8Zp7KYNnXNU=w640-h382&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Now Please install all the package Step by Step :&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Step 1 :Install mysql-commercial-common&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;yum install mysql-commercial-common-8.0.32-1.1.el9.x86_64.rpm&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Step 2 :Install mysql-commercial-client-plugins&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;yum install mysql-commercial-client-plugins-8.0.32-1.1.el9.x86_64.rpm&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Step 3 :Install mysql-commercial-libs&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;yum install mysql-commercial-libs-8.0.32-1.1.el9.x86_64.rpm&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Step 4 :Install mysql-commercial-client&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;yum install mysql-commercial-client-8.0.32-1.1.el9.x86_64.rpm&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Step 5 :Install mysql-commercial datafile&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;yum install mysql-commercial-icu-data-files-8.0.32-1.1.el9.x86_64.rpm&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Step 6 :Install MySQL server:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;yum install mysql-commercial-server-8.0.32-1.1.el9.x86_64.rpm&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Start and enable the MySQL service:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;systemctl start MySQL&lt;/p&gt;&lt;p&gt;&amp;nbsp;systemctl enable MySQL&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Run the Mysql_secure_installation script to secure your installation:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;mysql_secure_installation&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Check MySQL Status verify that MySQL is running:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;systemctl status MySqld&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjhlpIj-oy3gQ7rEc4UBcajmoD86Ex9BdqzL6nUpnXnfZkhTPj5b5QckqteQJqpwRipDn9mMmOjSjC6BmRuuA9IGBkd0soHrwOCe1b5MwoyRXI7gEFNjmeU_ThUyDo1M8ZH2zXHr9ot4Do5EclnR7RAlAYXaUIvibElDqazljFImGjoTFeQhAnJor57uzQ&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;319&quot; data-original-width=&quot;979&quot; height=&quot;209&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjhlpIj-oy3gQ7rEc4UBcajmoD86Ex9BdqzL6nUpnXnfZkhTPj5b5QckqteQJqpwRipDn9mMmOjSjC6BmRuuA9IGBkd0soHrwOCe1b5MwoyRXI7gEFNjmeU_ThUyDo1M8ZH2zXHr9ot4Do5EclnR7RAlAYXaUIvibElDqazljFImGjoTFeQhAnJor57uzQ=w640-h209&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Access MySQL connect to MySQL using the root account:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;mysql -u root –p&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Check the temporary password for MySQL:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;grep &#39;temporary password&#39; /var/log/mysqld.log&lt;/p&gt;&lt;p&gt;/usr/bin/mysql_secure_installation&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Securing the MySQL server deployment:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Enter password for user root: &amp;lt;enter temp password&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;The existing password for the user account root has expired. Please set a new password.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;New password: &amp;lt;give new password&amp;gt;&lt;/p&gt;&lt;p&gt;Re-enter new password: &amp;lt;re-enter new password&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Connect to MySQL and check the databases:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;mysql&amp;nbsp; -u root&amp;nbsp; -p&lt;/p&gt;&lt;p&gt;password ******&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiMtrj4r6YVMegYVUYEy6vdXSNq1tabNccT0mjJP9LhfTtYvDe7PrUKisbt04eVZCT2EmJB0_5-VQmwJZdZ6wFWt1DloJ8qUyWb0m9hTFx1bDEuDxT-pgMqhXsRVrvgqNGLyKNcRasx_VuwEXoaQaW8tV7TFGzec8IRrYyoLjwXvKGfLIK1B03_qs0MGBQ&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;235&quot; data-original-width=&quot;657&quot; height=&quot;229&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiMtrj4r6YVMegYVUYEy6vdXSNq1tabNccT0mjJP9LhfTtYvDe7PrUKisbt04eVZCT2EmJB0_5-VQmwJZdZ6wFWt1DloJ8qUyWb0m9hTFx1bDEuDxT-pgMqhXsRVrvgqNGLyKNcRasx_VuwEXoaQaW8tV7TFGzec8IRrYyoLjwXvKGfLIK1B03_qs0MGBQ=w640-h229&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;mysql&amp;gt; show databases;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgKhHedv-syzqZpJz9GZRb6PPb5zwFIoR68FbDtPxvP1GDlLCSs-qqF0mq-aLcKtFHDWk8eWYF-gxWzuiBYrbAhAZfv9GaAhdvs1ObRdbYfyrcaEKS4MNPHkwMreqNc3YPhYuHJ6HXNWm9igDYlUtavTnpY0ao73ogKdG3cN3FYUlIcAVMyJ1ZjsTfctr0&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;188&quot; data-original-width=&quot;361&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgKhHedv-syzqZpJz9GZRb6PPb5zwFIoR68FbDtPxvP1GDlLCSs-qqF0mq-aLcKtFHDWk8eWYF-gxWzuiBYrbAhAZfv9GaAhdvs1ObRdbYfyrcaEKS4MNPHkwMreqNc3YPhYuHJ6HXNWm9igDYlUtavTnpY0ao73ogKdG3cN3FYUlIcAVMyJ1ZjsTfctr0=s16000&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/8364807960267439861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/07/install-mysql-8-on-oracle-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/8364807960267439861'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/8364807960267439861'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/07/install-mysql-8-on-oracle-linux.html' title='Install MySQL 8 on Oracle Linux'/><author><name>Tarif Ahmed</name><uri>http://www.blogger.com/profile/14175281595420682850</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEi6Xi6sfNMDBnRqX2LpH5j8Og1dXVFu-TglgbZtD0C4hjjzKYD7nJZTeDLkhu88QyIjEplL3vO8UspXF9hG58BF7E6X66hEwHul63Zw767EErYqcm0LpDPmnbVWdysrgBI7ECGDaXsM0qY7RbnBcYaMlvc3IrR5jqpijYkbqsetL1g0R44Xjo3mgUDiWoI=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-2451735118596212512</id><published>2024-07-28T16:18:00.009+05:30</published><updated>2024-07-28T16:24:57.280+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="L1 DBA"/><category scheme="http://www.blogger.com/atom/ns#" term="Performance Tuning"/><title type='text'>Network actual bandwidth between servers.</title><content type='html'>&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Iperf:&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-IN;&quot;&gt;Download the tool from
&lt;u&gt;https://iperf.fr/iperf-download.php&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-IN;&quot;&gt;Keep it on both source
and target server.&lt;/span&gt;&lt;img border=&quot;0&quot; class=&quot;placeholder&quot; id=&quot;65f2b24ccaff7&quot; src=&quot;https://www.blogger.com/img/transparent.gif&quot; style=&quot;background-color: #d8d8d8; background-image: url(&#39;https://fonts.gstatic.com/s/i/materialiconsextended/insert_photo/v6/grey600-24dp/1x/baseline_insert_photo_grey600_24dp.png&#39;); background-position: 50% 50%; background-repeat: no-repeat; opacity: 0.6; text-align: center;&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCIwQXOSdh1rPCQD6qp2Xo3IwrIAqcN3l7J7saOThSsLxjKqQK2RDWnQkY02FtnnIlczyxp-ruh7cQLa4e0fh2yb2gMP4_fEqxF0UXjcOdx9w94TrQMnzL2Y2juckNt_DDkgRHSRp_4Hw7HdCGnVvEnk60iDRgpmWN-2UWIyCH_hfrWAseD3aoCuEYE-c/s562/Copy_Iperf_.JPG&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;142&quot; data-original-width=&quot;562&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCIwQXOSdh1rPCQD6qp2Xo3IwrIAqcN3l7J7saOThSsLxjKqQK2RDWnQkY02FtnnIlczyxp-ruh7cQLa4e0fh2yb2gMP4_fEqxF0UXjcOdx9w94TrQMnzL2Y2juckNt_DDkgRHSRp_4Hw7HdCGnVvEnk60iDRgpmWN-2UWIyCH_hfrWAseD3aoCuEYE-c/s16000/Copy_Iperf_.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;ul style=&quot;margin-top: 0cm;&quot; type=&quot;disc&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list 36.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;mso-ansi-language: EN-IN;&quot;&gt;On one server (server), run:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 36pt; text-indent: 36pt;&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-IN;&quot;&gt;Copy code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 36pt; text-indent: 36pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt; line-height: 115%; mso-ansi-language: EN-IN;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;iperf3 -s &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ514rLMDKLlaCRD-9tEfL9gtCLrUk9HEbPreqy2umWK9B16VHWmplh2pD8DxsWOipsvI4xGKoriWcIeleAaJTVlKx_7MimuOoIIEh3IL8nlXtRBbNEjFQmaCVOWh069O7oyeIuvCkmubUgLEG4062HcDj2HV8R3sH7XXkuMjbGpy1NK7gAWuWL1w6fJI/s537/Start_Iperf_.JPG&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ514rLMDKLlaCRD-9tEfL9gtCLrUk9HEbPreqy2umWK9B16VHWmplh2pD8DxsWOipsvI4xGKoriWcIeleAaJTVlKx_7MimuOoIIEh3IL8nlXtRBbNEjFQmaCVOWh069O7oyeIuvCkmubUgLEG4062HcDj2HV8R3sH7XXkuMjbGpy1NK7gAWuWL1w6fJI/s537/Start_Iperf_.JPG&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;ul style=&quot;display: inline !important; text-align: left;&quot;&gt;&lt;li style=&quot;display: inline !important;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;88&quot; data-original-width=&quot;537&quot; height=&quot;88&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ514rLMDKLlaCRD-9tEfL9gtCLrUk9HEbPreqy2umWK9B16VHWmplh2pD8DxsWOipsvI4xGKoriWcIeleAaJTVlKx_7MimuOoIIEh3IL8nlXtRBbNEjFQmaCVOWh069O7oyeIuvCkmubUgLEG4062HcDj2HV8R3sH7XXkuMjbGpy1NK7gAWuWL1w6fJI/w537-h88/Start_Iperf_.JPG&quot; width=&quot;537&quot; /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ514rLMDKLlaCRD-9tEfL9gtCLrUk9HEbPreqy2umWK9B16VHWmplh2pD8DxsWOipsvI4xGKoriWcIeleAaJTVlKx_7MimuOoIIEh3IL8nlXtRBbNEjFQmaCVOWh069O7oyeIuvCkmubUgLEG4062HcDj2HV8R3sH7XXkuMjbGpy1NK7gAWuWL1w6fJI/s537/Start_Iperf_.JPG&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ514rLMDKLlaCRD-9tEfL9gtCLrUk9HEbPreqy2umWK9B16VHWmplh2pD8DxsWOipsvI4xGKoriWcIeleAaJTVlKx_7MimuOoIIEh3IL8nlXtRBbNEjFQmaCVOWh069O7oyeIuvCkmubUgLEG4062HcDj2HV8R3sH7XXkuMjbGpy1NK7gAWuWL1w6fJI/s537/Start_Iperf_.JPG&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul style=&quot;margin-top: 0cm; text-align: left;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list 36.0pt;&quot;&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul style=&quot;margin-top: 0cm; text-align: left;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1; tab-stops: list 36.0pt;&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-IN;&quot;&gt;&lt;b&gt;On server (server2){Cline
     machine}, run:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 36pt; text-align: left; text-indent: 36pt;&quot;&gt;&lt;span style=&quot;mso-ansi-language: EN-IN;&quot;&gt;Copy code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 36pt; text-align: left; text-indent: 36pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt; line-height: 115%; mso-ansi-language: EN-IN;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;iperf3 -c
server1_IP&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrrxynPPbV-no1alRrRGJysF4VtCKztTn5ycwrCmGUyQC2kHA9ml7OHsF2FxRg2odFm8jH6nH-AeMvY_mdswgEkaODRrfa8RhKLpqLBuiSLbyNiqMcvKcqO6lZ6cio-wbKngT3sMoX7B44I8CrpRe8XuFaOnOgDxTXiplj9UsgwSAcANe2mhKBGb99Awc/s611/Start_Cline_Iperf_.JPG&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;221&quot; data-original-width=&quot;611&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrrxynPPbV-no1alRrRGJysF4VtCKztTn5ycwrCmGUyQC2kHA9ml7OHsF2FxRg2odFm8jH6nH-AeMvY_mdswgEkaODRrfa8RhKLpqLBuiSLbyNiqMcvKcqO6lZ6cio-wbKngT3sMoX7B44I8CrpRe8XuFaOnOgDxTXiplj9UsgwSAcANe2mhKBGb99Awc/s16000/Start_Cline_Iperf_.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Note&lt;/b&gt;: make sure to open port 5201 on the server.</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/2451735118596212512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/07/network-actual-bandwidth-between-servers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/2451735118596212512'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/2451735118596212512'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/07/network-actual-bandwidth-between-servers.html' title='Network actual bandwidth between servers.'/><author><name>Abhishek Yadav</name><uri>http://www.blogger.com/profile/14969156609350616769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLLeXaTghaTOdiIBjIRLtEfbaCY1nk9E4Q3Ifz3EVBvkd9t4IQKISCulKGud0NNj0-5GU1tG8Gp1h_hFG23L2DJXfYFZOiigA_DquwZUGEZKhiRb4rzOqvgZEdw38GRg/s220/IMG_5310.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCIwQXOSdh1rPCQD6qp2Xo3IwrIAqcN3l7J7saOThSsLxjKqQK2RDWnQkY02FtnnIlczyxp-ruh7cQLa4e0fh2yb2gMP4_fEqxF0UXjcOdx9w94TrQMnzL2Y2juckNt_DDkgRHSRp_4Hw7HdCGnVvEnk60iDRgpmWN-2UWIyCH_hfrWAseD3aoCuEYE-c/s72-c/Copy_Iperf_.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-7359018138730533391</id><published>2024-04-08T21:28:00.000+05:30</published><updated>2024-04-08T21:28:01.544+05:30</updated><title type='text'></title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Cloning In Oracle&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;In the context of Oracle databases,
&quot;cloning&quot; typically refers to the process of creating an exact
replica of a database, usually for purposes such as testing, development, or
disaster recovery. There are several methods for cloning an Oracle database,
each with its own advantages and use cases. Here&#39;s an overview of some common
cloning methods in Oracle:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;nbsp;RMAN (Recovery Manager) Cloning:&lt;/b&gt; &lt;/span&gt;RMAN
is a powerful Oracle utility for backup and recovery operations. With RMAN, you
can create a clone of a database by taking a backup of the source database and
then restoring it to a different location. RMAN also provides options for
efficiently copying data files and performing point-in-time recovery if needed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj1bdQgpf67JKo6nwVc5F9DVNITDOGG8ERaJOUk-LzW1ZG8VFxK4k3VKkbMFKrDotCW_0aw1dYaj5bv3OA5Xapt9Z7DmT_bBu5u0rICKFLedW2zZ5QSvP-1wQpjP1qLLpujCDQjJwRTtMgW55Gg1bcGP5iJSw98e5Ik7GfQLfYosI6yHLxuXO1WtnYGElY&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;610&quot; data-original-width=&quot;975&quot; height=&quot;393&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj1bdQgpf67JKo6nwVc5F9DVNITDOGG8ERaJOUk-LzW1ZG8VFxK4k3VKkbMFKrDotCW_0aw1dYaj5bv3OA5Xapt9Z7DmT_bBu5u0rICKFLedW2zZ5QSvP-1wQpjP1qLLpujCDQjJwRTtMgW55Gg1bcGP5iJSw98e5Ik7GfQLfYosI6yHLxuXO1WtnYGElY=w550-h393&quot; width=&quot;550&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;RMAN Client:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt; The RMAN client is the interface
through which database administrators interact with RMAN to perform backup,
recovery, and cloning tasks. Administrators use RMAN commands and scripts to
initiate and manage database operations.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Control File&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;:&lt;/span&gt; The control file is a critical
component of the Oracle database that stores metadata about the database
structure, including data file locations, redo log file information, and backup
details. RMAN interacts with the control file to obtain information necessary
for backup and recovery operations.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;RMAN Repository:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt; RMAN maintains a repository that
stores metadata and configuration information related to backup and recovery
operations. The repository can be stored in either the control file, a recovery
catalog (a separate database schema created specifically for RMAN metadata), or
both.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Channel&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;: &lt;/span&gt;RMAN channels are mechanisms for
communicating between the RMAN client and the database server during backup and
recovery operations. Channels can be allocated for different tasks, such as
reading data files, writing backup sets, or performing parallel operations.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Media Management Software&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;:&lt;/span&gt;
RMAN relies on media management software to perform backup and restore
operations to physical storage devices, such as tape drives, disk arrays, or
cloud storage. Media management software provides the interface between RMAN
and the storage devices, handling tasks such as data transfer, compression, and
encryption.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Data Files:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt; Data files are the primary
storage components of an Oracle database, containing user data, indexes, and
other database objects. RMAN interacts with data files to back them up, restore
them, and create copies during cloning or recovery operations.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Redo Logs&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;:&lt;/span&gt; Redo logs are files that record
changes made to the database, enabling recovery of transactions in the event of
a failure. RMAN uses redo logs during recovery operations to apply changes and
bring the database to a consistent state.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Backup Sets and Image Copies&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;:&lt;/span&gt;
RMAN can create backups in the form of backup sets (collections of data blocks)
or image copies (exact duplicates of data files). These backups are stored in
the configured backup destination, such as disk or tape.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Recovery Catalog (Optional):&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt; In
addition to the control file repository, RMAN can use a recovery catalog
database to store metadata and configuration information. The recovery catalog
provides additional flexibility and management capabilities, especially in
environments with multiple databases.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin-top: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Data Pump Export/Import:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;
&lt;/span&gt;Oracle Data Pump is another utility that allows you to export and import
database objects and data. You can use Data Pump to export the schema(s) or the
entire database from the source environment and then import it into the target
environment. This method is suitable for smaller databases or when you need to
clone specific schemas.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Export Process:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;1. When you run expdp, it connects
to the source database and reads metadata about the objects to be exported.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;2. It then creates one or more
dump files containing the exported data and metadata.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;













































&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;3. These dump files are stored in
the specified directory.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;expdp
username/password@database_name schemas=schema_name directory=dir_name
dumpfile=export.dmp&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Data Pump Import (impdp):&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Importing Data&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Data Pump Import (impdp) is used
to import data and metadata into Oracle databases.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;It reads the dump files created by
expdp and loads the data and metadata into the target database.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Similar to expdp, you can import
entire databases, specific schemas, tablespaces, or individual tables.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Import Process:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;When you run impdp, it connects to
the target database and reads the dump files created by expdp.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;It then loads the data and
metadata into the target database based on the specified parameters.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;You can control various aspects of
the import process such as parallelism, data transformation, error handling,
etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;impdp username/password@database_name directory=dir_name
dumpfile=export.dmp schemas=schema_name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Cold Backup&lt;/b&gt;:&lt;/span&gt; This method involves shutting down the
source database, copying its data files to the target location, and then
starting up the database in the target environment. While this approach is
straightforward, it requires downtime for the source database during the
cloning process.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Oracle Database Cold Backup:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Oracle Cold Database backup is
rarely used these days. DBAs hardly take cold database backup but sometimes it
is important to take one before decommissioning a database.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;• Key points &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;• Take Cold Backup &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Key Points&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;• Backup is a copy of original
data which will be used to recover databases&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;• If the data is reproducible and
backup not existing, still we can recover the data. But it is a tedious and
time consuming task&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;• Taking backup after shutting
down the database is called cold backup and because no transactions exist, the
backup will be consistent&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;• In real time, we will perform
cold backup very rarely&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Take Cold Backup&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;SQL&amp;gt; select name from
v$datafile;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;SQL&amp;gt; select member from
v$logfile; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;SQL&amp;gt; select name from
v$controlfile; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;SQL&amp;gt; shutdown immediate&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;[oracle@server1 ~]$ mkdir
/u03/coldbkp&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;[oracle@server1 ~]$ cp
/datafiles/prod/*.dbf /u03/coldbkp&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;[oracle@server1 ~]$ cp
/datafiles/prod/*.log /u03/coldbkp&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;[oracle@server1 ~]$ cp
/datafiles/prod/*.ctl /u03/coldbkp&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;[oracle@server1 ~]$ cp
$ORACLE_HOME/dbs/*.ora /u03/coldbkp&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;[oracle@server1 ~]$ sqlplus
&quot;/ as sysdba&quot; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;SQL&amp;gt; startup &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;SQL&amp;gt; alter database backup
controlfile to trace;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Archives are not required to be
copied with cold backup.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Oracle GoldenGate&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;:&lt;/span&gt;
Oracle GoldenGate is a data replication and integration tool that enables
real-time data movement between heterogeneous systems. It can be used for
database cloning by continuously capturing changes from the source database and
applying them to the target database, keeping the two databases in sync.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Real-time Data Integration:&lt;/span&gt;&lt;/b&gt;
GoldenGate captures changes made to data in source systems and delivers them in
real-time to target systems, ensuring that the data is synchronized across
multiple databases and platforms.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;High Availability and Disaster
Recovery:&lt;/span&gt;&lt;/b&gt; GoldenGate provides solutions for high availability and disaster
recovery by replicating data in real-time from primary systems to standby
systems, allowing for rapid failover and minimal data loss in case of system
failures.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Data Warehousing and Reporting:&lt;/span&gt;&lt;/b&gt;
GoldenGate facilitates data replication and consolidation for data warehousing
and reporting purposes, enabling organizations to analyze data from multiple
sources in real-time.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Data Migration and Upgrades:&lt;/b&gt;&lt;/span&gt;
GoldenGate can be used to migrate data between different database platforms or
versions with minimal downtime, allowing organizations to upgrade their systems
or move data to new environments seamlessly.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Business Intelligence and
Analytics:&lt;/b&gt;&lt;/span&gt; GoldenGate enables real-time data feeds for business intelligence
and analytics applications, providing up-to-date information for
decision-making processes.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Here are some key features and
components of Oracle GoldenGate:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Extract Process: &lt;/span&gt;&lt;/b&gt;The Extract
process captures data changes (inserts, updates, deletes) from the source
database&#39;s transaction logs (redo logs or archive logs) in real-time.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Data Pump Process:&lt;/span&gt;&lt;/b&gt; The Data Pump
process collects captured data from the Extract process and writes it to trail
files.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Replicat Process: &lt;/span&gt;&lt;/b&gt;The Replicat
process reads data from trail files and applies it to the target database,
ensuring that changes are replicated accurately and efficiently.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Manager Process:&lt;/span&gt;&lt;/b&gt; The Manager
process is responsible for managing GoldenGate processes, monitoring their
status, and handling administrative tasks.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Trail Files:&lt;/span&gt;&lt;/b&gt; Trail files are used
to store captured data changes in a platform-independent format, allowing for
easy transfer and replication of data between different systems.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Checkpointing:&lt;/span&gt;&lt;/b&gt; GoldenGate uses
checkpoints to track the progress of data replication, ensuring that
transactions are replicated in the correct order and consistency is maintained
between source and target systems.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Oracle Database Cloning Tools:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;
&lt;/span&gt;&lt;/b&gt;Oracle offers additional tools such as Oracle Database Cloning Assistant for
Standalone Database, Oracle Enterprise Manager (EM) Clone Database, and Oracle
Cloud Control Database Clone feature. These tools provide user-friendly
interfaces and automation capabilities for cloning databases.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Oracle provides several tools and
methods for cloning databases, each suited for different scenarios and
requirements. Here are some commonly used Oracle database cloning tools:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;RMAN (Recovery Manager):&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;RMAN can be used for creating
clones of databases using the DUPLICATE command.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;It allows for point-in-time
cloning, enabling you to create a clone of the database at a specific moment.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;RMAN cloning can be disk-based or
tape-based, depending on the backup destination.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;RMAN provides flexibility in terms
of customization and automation during the cloning process.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Oracle Enterprise Manager (OEM):&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Oracle Enterprise Manager provides
a graphical user interface for managing Oracle databases, including cloning
operations.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;OEM allows for easy and intuitive
cloning of databases with minimal manual intervention.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;It provides features for
scheduling and monitoring cloning jobs, as well as managing post-cloning tasks.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Data Pump Export/Import:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Oracle Data Pump is a utility for
exporting and importing database objects and data.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;It can be used for cloning by
exporting data from the source database and importing it into a new database
instance.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Data Pump export/import is
suitable for smaller databases or when specific customization is required
during the cloning process.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Manual Cloning (Cold Cloning):&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Manual cloning involves manually
copying database files (data files, control files, redo logs, etc.) from the
source database to the target location.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;This method is typically used for
non-production environments or when other cloning methods are not feasible.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Manual cloning requires downtime
for the source database during the copy process and may not be suitable for
large databases.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Snap Clone:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Oracle Snap Clone is a feature
available with Oracle Enterprise Manager and Oracle Database 12c and later
versions.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;It enables rapid provisioning of
database clones using storage snapshots.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Snap Clone leverages storage
technologies to create space-efficient copies of databases, minimizing storage
requirements and improving cloning speed.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Snapshot Cloning&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;:&lt;/span&gt;&lt;/b&gt; Some storage solutions offer
snapshot-based cloning, where a point-in-time snapshot of the source database&#39;s
storage is taken, and clones are created from that snapshot. This method can be
very fast and efficient but requires compatible storage infrastructure.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;When choosing a cloning method,
consider factors such as database size, downtime requirements, data
consistency, and available resources. It&#39;s also essential to carefully plan and
test the cloning process to ensure the integrity of the cloned database and
minimize any potential disruptions to production environments.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;











































































































































































































&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/7359018138730533391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/04/cloning-in-oracle-in-context-of-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/7359018138730533391'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/7359018138730533391'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/04/cloning-in-oracle-in-context-of-oracle.html' title=''/><author><name>Tarif Ahmed</name><uri>http://www.blogger.com/profile/14175281595420682850</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEj1bdQgpf67JKo6nwVc5F9DVNITDOGG8ERaJOUk-LzW1ZG8VFxK4k3VKkbMFKrDotCW_0aw1dYaj5bv3OA5Xapt9Z7DmT_bBu5u0rICKFLedW2zZ5QSvP-1wQpjP1qLLpujCDQjJwRTtMgW55Gg1bcGP5iJSw98e5Ik7GfQLfYosI6yHLxuXO1WtnYGElY=s72-w550-h393-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-8021421121889104175</id><published>2024-03-14T14:41:00.002+05:30</published><updated>2024-03-14T14:41:48.313+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="L1 DBA"/><title type='text'>Correlated Subquery</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #992211; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Correlated Subquery&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #992211; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Introduction-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #992211; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;A correlated subquery is
a SQL query in which the values of the inner query (subquery) are derived from
the outer query. Essentially, the subquery is conducted many times, one for
each row processed by the outer query. This makes correlated subqueries very
useful for complex data retrieval scenarios, but they can also be more
performance-intensive than non-correlated subqueries due to repeated execution.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Here&#39;s a step-by-step
explanation to understand correlated subqueries in a structured way:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;1. Basic Structure-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;A correlated subquery typically looks something like
this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SELECT column_name(s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;FROM table_name AS outer_table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;WHERE column_name OPERATOR&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (SELECT
column_name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM
table_name AS inner_table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE
outer_table.column = inner_table.column);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;2. Key Components&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Outer Query-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;This is the main query that first gets executed up to
the point of the subquery. It retrieves data from the outer table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Inner Query (Subquery)-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;This query is nested inside the outer query. Unlike a
regular subquery, it references columns from the outer query, creating a
dependency.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Correlation&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;The correlation happens through the condition that
links the inner and outer queries (e.g., outer_table.column =
inner_table.column). This condition is what makes the subquery
&quot;correlated&quot; because it must reference a column from the outer query
for each row it processes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;3. Execution Flow-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;The outer query starts executing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;For each row in the outer query, the inner (correlated)
subquery executes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;The subquery uses a value from the current row of the
outer query to perform its operation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;The result of the subquery is used to complete the
operation of the outer query for the current row.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Steps 2-4 repeat for each row processed by the outer
query.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;4. Use Cases&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Correlated subqueries are useful
for-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Row-by-row operations- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;When you need to perform calculations or comparisons on
each row individually.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Existence checks-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;To check if some
related data exists in another table for each row.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Aggregate calculations-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Such as finding
the minimum, maximum, average, etc., of grouped data specific to each row in
the outer query.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;5. Performance Considerations-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; box-sizing: border-box; white-space-collapse: preserve;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Since the subquery may&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;be executed once for each row in the outer query, correlated subqueries can be &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;slow, especially on large datasets. It&#39;s often recommended to look for&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;alternatives, such as JOINs or temporary tables, if performance becomes an &lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;issue.&lt;/span&gt;&lt;/div&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Example&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; box-sizing: border-box; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Consider two tables, employees and department, where you want to find the names of employees who earn more than the average salary in their respective departments-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SELECT e.name, e.salary&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;FROM employees e&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;WHERE e.salary &amp;gt; (&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT AVG(salary)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM employees&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE department_id = e.department_id&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;In this example, for
each employee in the outer query, the subquery calculates the average salary of
their department and checks if their salary is above this average. The
correlation between the outer and inner query is established through &lt;/span&gt;department_id.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/8021421121889104175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/03/correlated-subquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/8021421121889104175'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/8021421121889104175'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/03/correlated-subquery.html' title='Correlated Subquery'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-6479534916606260267</id><published>2024-03-11T19:52:00.001+05:30</published><updated>2024-03-11T19:52:06.425+05:30</updated><title type='text'></title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: 18.6667px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Database corruption&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Database corruption in Oracle can occur
due to various reasons, such as hardware failures, software bugs, or issues
during database operations. It&#39;s crucial to identify and address corruption
promptly to ensure data integrity. Here are some steps you can take to deal
with database corruption in Oracle:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #334155; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Physical
corruption&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;: &lt;/span&gt;&lt;/b&gt;This happens generally due to media
corruption. In this case, the block does have an invalid checksum. It may
contain zero. This is generally the result of infrastructure issues like media,
network, and memory.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;RMAN
block recovery can be used to remove physical corruption &lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;We
see the error ORA-01578: ORACLE data block corrupted in the alert log when
Oracle detects physical corruption. Oracle detects corruption by checking the
block header and block footer.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Logical
corruption:&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;&amp;nbsp;This happens when Oracle
find the block header and footer good but it finds internal consistency in the
block. Generally, it happens due to some bug in Oracle software. When Oracle
detects it, it throws the error in the alert log.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;ORA-08103
is a logical corruption error for a particular data block.&lt;br /&gt;
ORA-00600 [2662] – This error is related to block corruption and occurs due to
a higher SCN than database SCN.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: 0in; mso-outline-level: 2; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;How to check block corruption in
Oracle database&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Block corruption in Oracle Database can be found using the
below method&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;RMAN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p class=&quot;MsoListParagraph&quot; style=&quot;margin-bottom: 0in; mso-add-space: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Symbol; mso-bidi-font-size: 14.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;background: white; color: black; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Checking alert log for possible
occurrence&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;dbverify&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Export&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Analyze command&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 style=&quot;background: white; line-height: 14.4pt; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Using RMAN&lt;strong&gt;&lt;span style=&quot;font-family: Aldhabi;&quot;&gt;&amp;nbsp;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;Run below command&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: windowtext; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;RMAN&amp;gt; backup validate check logical database;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;The
“CHECK LOGICAL” option is used to identify both Physical and Logical Block
Corruptions.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;We
can use the below command in case we want to check selectively&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;BACKUP VALIDATE DATAFILE 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;BACKUP VALIDATE check logical DATAFILE 1;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;BACKUP VALIDATE TABLESPACE TOOLS;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;BACKUP VALIDATE check logical TABLESPACE TOOLS;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;BACKUP VALIDATE BACKUPSET 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;BACKUP VALIDATE CURRENT CONTROLFILE;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-theme-font: major-fareast;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For Multitenant&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;VALIDATE CHECK LOGICAL PLUGGABLE DATABASE test1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: white; color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;Select the view to
identify the corrupted blocks detected by RMAN.&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;QL&amp;gt; select * from v$database_block_corruption;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;For each row, find the segment impacted&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;SQL&amp;gt; SELECT TABLESPACE_NAME, SEGMENT_NAME, PARTITION_NAME, SEGMENT_TYPE &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;FROM DBA_EXTENTS&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;WHERE FILE_ID=&amp;amp;FILE_ID AND&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;amp;BLOCK_ID BETWEEN BLOCK_ID AND BLOCK_ID + BLOCKS - 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;Please
note that after a corrupt block is repaired, the row identifying the block is
deleted from the view.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;h3 style=&quot;background: white; line-height: 14.4pt; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Checking alert log for possible occurrence&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: windowtext; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;Check
alert. log file for corrupted blocks, data file list.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;For ex:- ORA-01578: ORACLE data block corrupted (file # 11, block # 45)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;ORA-01110: data file 5: &#39;/xyz/db01.dbf&#39;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;h3 style=&quot;background: white; line-height: 14.4pt; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;dbverify&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: windowtext; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;You
can also use the dbverify utility to identify Physical and Logical Intra Block
Corruptions.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;dbv file=datafile_name blocksize=datafile_block_size&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;You
can use the below command to generate the dbv command for all the datafiles&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;sqlplus /nolog&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;connect / as sysdba&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;set feedback off&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;set head off&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;set echo off&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;set linesize 200&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;set pagesize 2500&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;spool /tmp/dbvlogs/dbvchk.sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;select &#39;dbv file=&#39; || name || &#39; blocksize=&#39;|| block_size || &#39; logfile=&#39; ||&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;substr(name, instr(name, &#39;/&#39;, -1, 1) +1) ||&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&#39;.&#39; || file# || &#39;.log&#39; from v$datafile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;spool off&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;In
the case of RAW device&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;select&amp;nbsp;&#39;dbv&amp;nbsp;file=&#39;||name||&#39;&amp;nbsp;blocksize=&#39;||block_size||&#39;&amp;nbsp;end=&#39;||&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;(bytes/block_size)||&#39;&amp;nbsp;logfile=&#39;||&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;substr (name,&amp;nbsp;instr (name,&amp;nbsp;&#39;/&#39;,&amp;nbsp;-1,&amp;nbsp;1)&amp;nbsp;+ 1)||&#39;.&#39;||file#||&#39;.log&#39;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;from&amp;nbsp; v$datafile;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;In
the case of ASM storage&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;select &#39;dbv file=&#39; || name || &#39; blocksize=&#39;|| block_size || &#39; USERID=sys/&amp;amp;SYS_PASSWORD logfile=&#39; ||&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;substr(name, instr(name, &#39;/&#39;, -1, 1) +1) ||&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&#39;.&#39; || file# || &#39;.log&#39; from v$datafile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;h3 style=&quot;background: white; line-height: 14.4pt; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Export&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: windowtext; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;Using
the export of a table or schema will also find the corruption in the table or
schema&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;But
the big limitation with export is that It fails immediately after encountering
the first corruption., so the complete picture will be missed.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;h3 style=&quot;background: white; line-height: 14.4pt; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;ANALYZE command&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: windowtext; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;ANALYZE
has been referred to as the best utility that performs maximum checks.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;This
is the easy utility to check the corruptions associated with an index by any
means.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;To
check the corruption with a table do the following:&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;ANALYZE TABLE &amp;lt;OWNER.TABLE_NAME&amp;gt; VALIDATE STRUCTURE;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;To
check the corruption with an index do the following:&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;ANALYZE INDEX &amp;lt;OWNER.INDEX_NAME&amp;gt; VALIDATE STRUCTURE;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;To
check the corruption with the table and its index(s) to perform the
cross-reference checkings do the following:&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;ANALYZE TABLE &amp;lt;OWNER.TABLE_NAME&amp;gt; VALIDATE STRUCTURE CASCADE;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;For
partition tables, we need to use the ANALYZE command with the INTO INVALID_ROWS
option, similar to the following:&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;ANALYZE TABLE &amp;lt;OWNER.TABLE_NAME&amp;gt; VALIDATE STRUCTURE CASCADE INTO INVALID_ROWS;&lt;span style=&quot;color: #334155;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;h2 style=&quot;background: white; line-height: 15.0pt; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;How
to Correct the Block Corruption using RMAN Blockrecove&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;r&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;1. Recovering Data
blocks By Using All Available Backups&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Run the BLOCKRECOVER
command at the RMAN prompt, specifying the file and block numbers for the
corrupted blocks&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;RMAN&amp;gt;BLOCKRECOVER DATAFILE 11 BLOCK 15;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Recover multiple
blocks in a single command&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;RMAN&amp;gt;BLOCKRECOVER DATAFILE 11 BLOCK 15 DATAFILE 2 BLOCK 10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;2. Recovering Data
blocks Using Selected Backups&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Run the BLOCKRECOVER
command at the RMAN prompt, Specifying the data file and block numbers for the
corrupted blocks and limiting the backup candidates by means of the available
options. For example, specify what type of backup should be used to restore the
blocks.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;# restore from
backupset&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;
RMAN&amp;gt; BLOCKRECOVER DATAFILE 11 BLOCK 15 FROM BACKUPSET;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;# Restore from
datafile image copy&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;RMAN&amp;gt; BLOCKRECOVER DATAFILE 11 BLOCK 15 FROM DATAFILECOPY;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;# Restore from
backup set with tag “Sunday”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;
RMAN&amp;gt; BLOCKRECOVER DATAFILE 11 BLOCK 15 FROM TAG = Sunday&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;3 . Recovering
blocks listed in V$DATABASE_BLOCK_CORRUPTION view&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Run the below
command to recover all blocks marked corrupt in V$DATABASE_BLOCK_CORRUPTION&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;RMAN&amp;gt; BLOCKRECOVER CORRUPTION LIST;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Restores blocks from
backup sets created more than 7 days ago&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;RMAN&amp;gt; BLOCKRECOVER CORRUPTION LIST FROM BACKUPSET RESTORE UNTIL TIME &#39;SYSDATE-7&#39;;&lt;span style=&quot;color: #334155;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;h2 style=&quot;background: white; line-height: 15.0pt; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;How
to Correct the Block Corruption Using Backup&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;

&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Using
     data file recovery from backup or standby (if you have one)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Complete
     database recovery&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #334155; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/6479534916606260267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/03/database-corruption-database-corruption.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6479534916606260267'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6479534916606260267'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/03/database-corruption-database-corruption.html' title=''/><author><name>Tarif Ahmed</name><uri>http://www.blogger.com/profile/14175281595420682850</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-381698204594522219</id><published>2024-03-07T19:07:00.000+05:30</published><updated>2024-03-07T19:07:03.591+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DBMS Concepts"/><category scheme="http://www.blogger.com/atom/ns#" term="L1 DBA"/><title type='text'>Extended Events in SQL Server</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #992211; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Extended Events in SQL Server&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Introduction-&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Extended Events
(XEvents) is a highly scalable and adaptable event-driven monitoring system
that debuted with SQL Server 2008. It is intended to assist database
administrators (DBAs) and developers in gathering extensive information on SQL
Server behavior, such as performance issues, query execution, and system
diagnostics. Extended Events&#39; architecture provides for minimum performance
effect, making it appropriate for use in production applications.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Let us break down the
word &quot;Extended Events&quot; and explain each component:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Extended-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;The name indicates that this feature goes beyond
typical monitoring and tracing tools such as SQL Trace and SQL Server Profiler.
It has more events, targets, and configuration choices, making it more
adaptable and comprehensive.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Events-&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Events are locations of interest within the SQL Server
engine where activities take place. Examples include query execution, login
attempts, and failures. When an event occurs, the Extended Events system can
collect it, along with any pertinent data.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Extended Events are based on
several fundamental components:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Events-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; text-align: justify;&quot;&gt;These are the happenings
in SQL Server that you want to track. Each event is assigned a unique name and contains
detailed data about the occurrence.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Event Sessions-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; text-align: justify;&quot;&gt;To gather data, you must
create an event session. An event session specifies which events to monitor,
what data to gather, and how to store the data.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Targets-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; text-align: justify;&quot;&gt;The locations where the
information gathered during an event session is kept are known as targets.
Targets include things like event files, which write the data to disk files,
ring buffers, which store the data in memory, and histograms, which aggregate the
data according to predetermined standards.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Actions-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; text-align: justify;&quot;&gt;Further components, such
as the SQL Server process ID or the execution time, can be appended to session
events in order to gather further context.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Predicates-&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Predicates let you
filter occurrences according to particular standards, ensuring that you only
gather the information you&#39;re interested in. This lessens the effect on system
performance and helps to reduce the amount of data that is gathered.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt; text-align: left;&quot;&gt;Create Extended Events in SQL
Server-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt; text-align: left;&quot;&gt;Let us create an Event for 5
seconds. Which query takes 5 seconds to finish will be tracked by this event.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;IF&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EXISTS&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 1 &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;server_event_sessions&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;DurationOver5Sec&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DROP&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EVENT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SESSION&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;
[DurationOver5Sec] &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SERVER&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;GO&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CREATE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EVENT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SESSION&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;
[DurationOver5Sec]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SERVER&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ADD&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EVENT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;rpc_completed&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ACTION&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_app_name&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- ApplicationName from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_hostname&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- HostName from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_pid&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- ClientProcessID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;database_id&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- DatabaseID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;request_id&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- RequestID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;server_principal_name&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- LoginName from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;session_id&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- SPID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;duration &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 5000000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ADD&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EVENT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sql_batch_completed&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ACTION&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_app_name&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- ApplicationName from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_hostname&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- HostName from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_pid&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- ClientProcessID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;database_id&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- DatabaseID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;request_id&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- RequestID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;server_principal_name&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- LoginName from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;session_id&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- SPID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;duration &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 5000000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ADD&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EVENT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlos&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_info&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ACTION&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_app_name&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- ApplicationName from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_hostname&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- HostName from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_pid&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- ClientProcessID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;database_id&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- DatabaseID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;request_id&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- RequestID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;server_principal_name&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- LoginName from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; sqlserver&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;session_id&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- SPID from SQLTrace&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;duration &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 5000 &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;--This one is in milliseconds, and
I&#39;m not happy about that&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;((&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 0 &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 22&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- LCK_ waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 31 &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 38&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- LATCH_ waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 47 &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 54&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- PAGELATCH_ waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 63 &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 70&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- PAGEIOLATCH_ waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 96 &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 100&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- IO (Disk/Network) waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 107&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- RESOURCE_SEMAPHORE waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 113&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- SOS_WORKER waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 120&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- SOS_SCHEDULER_YIELD waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 178&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- WRITELOG waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 174 &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 177&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- FCB_REPLICA_ waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 186&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- CMEMTHREAD waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 187&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- CXPACKET waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 207&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- TRACEWRITE waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 269&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- RESOURCE_SEMAPHORE_MUTEX waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 283&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- RESOURCE_SEMAPHORE_QUERY_COMPILE waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OR&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;wait_type &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 284&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-- RESOURCE_SEMAPHORE_SMALL_QUERY waits&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;--OR (wait_type = 195) -- WAITFOR&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ADD&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;TARGET&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; package0&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;filename&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;DurationOver5Sec.xel&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;max_file_size &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 10&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;max_rollover_files &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WITH&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MAX_MEMORY &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 10MB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; MAX_EVENT_SIZE &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 10MB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; STARTUP_STATE &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; MAX_DISPATCH_LATENCY &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 5 SECONDS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; EVENT_RETENTION_MODE &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; ALLOW_MULTIPLE_EVENT_LOSS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ALTER&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EVENT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SESSION&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;
DurationOver5Sec&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SERVER&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;STATE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;START&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;How to Check the server for
events-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;This query allows us to simply
check the query.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DECLARE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;@SessionName &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SysName&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; @TopCount &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Int&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 1000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;--SELECT
@SessionName = &#39;UserErrors&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; @SessionName &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;DurationOver5Sec&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;--SELECT
@SessionName = &#39;system_health&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;/* &lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT * FROM
sys.traces&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Session_Name = s.name,
s.blocked_event_fire_time, s.dropped_buffer_count, s.dropped_event_count,
s.pending_buffers&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FROM
sys.dm_xe_session_targets t&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;INNER JOIN sys.dm_xe_sessions s ON
s.address = t.event_session_address&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHERE
target_name = &#39;event_file&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;--*/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;STATISTICS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;IO&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;TIME&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;IF&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OBJECT_ID&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;tempdb..#Events&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;IS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NOT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;BEGIN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DROP&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;TABLE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; #Events&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;END&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;IF&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;OBJECT_ID&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;tempdb..#Queries&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;IS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NOT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;BEGIN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DROP&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;TABLE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; #Queries &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;END&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DECLARE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; @Target_File &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NVarChar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;1000&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; @Target_Dir &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NVarChar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;1000&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; @Target_File_WildCard &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NVarChar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;1000&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; @Target_File &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;target_data &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;as&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;EventFileTarget[1]/File[1]/@name&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;NVARCHAR(256)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;dm_xe_session_targets&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; t&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;INNER&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;dm_xe_sessions&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; s &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; s&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;address&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; t&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_session_address&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; s&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; @SessionName&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; t&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;target_name &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;event_file&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; @Target_Dir &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;LEFT(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;@Target_File&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Len&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;@Target_File&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CHARINDEX&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;\&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;REVERSE&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;@Target_File&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; @Target_File_WildCard &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; @Target_Dir &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;\&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; @SessionName &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;_*.xel&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;--SELECT
@Target_File_WildCard&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;TOP &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;@TopCount&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_data &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;INTO&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; #Events&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;fn_xe_file_target_read_file&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;@Target_File_WildCard&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;null,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;null,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;null)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; F&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ORDER&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;BY&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;File_name&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DESC&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; file_offset &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DESC&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;EventType &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(event/@name)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;varchar(50)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; Duration_sec &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data[@name=&#39;&#39;duration&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)/&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CASE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHEN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(event/@name)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;varchar(50)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;LIKE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;wait%&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;THEN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 1000.0 &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ELSE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 1000000.0 &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;END&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;as&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DEC&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; CPU_sec &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data[@name=&#39;&#39;cpu_time&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;1000000.0 &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;as&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DEC&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; physical_reads_k &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;[@name=&#39;&#39;physical_reads&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;1000.0 &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;as&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DEC&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; logical_reads_k &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;[@name=&#39;&#39;logical_reads&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;1000.0 &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;as&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DEC&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; writes_k &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;[@name=&#39;&#39;writes&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;1000.0 &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;as&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DEC&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; row_count &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;row_count&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; Statement_Text &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ISNULL&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;statement&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;NVARCHAR(4000)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;batch_text&#39;&#39;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;NVARCHAR(4000)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;TimeStamp&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DateAdd&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Hour&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DateDiff&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Hour&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;GetUTCDate&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;GetDate&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;())&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(event/@timestamp)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;varchar(50)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;as&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DateTime2&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; SPID &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/action&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;session_id&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; Username &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/action&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;server_principal_name&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;NVARCHAR(256)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Database_Name&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DB_Name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/action&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;database_id&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; client_app_name &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/action&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;client_app_name&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;NVARCHAR(256)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; client_hostname &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/action&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;client_hostname&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;NVARCHAR(256)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; result &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ISNULL&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;result&#39;&#39;]/text)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;NVARCHAR(256)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;message&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;NVARCHAR(256)&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; Error &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;error_number&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; Severity &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;value &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;(/event/data&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[@name=&#39;&#39;severity&#39;&#39;]/value)[1]&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; EventDetails &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; event_data_XML &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;INTO&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; #Queries&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; #Events&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EventType&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Duration_sec&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CPU_sec&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;physical_reads_k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;logical_reads_k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;writes_k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;row_count&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Statement_Text&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;TimeStamp&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SPID&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Username&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Database_Name&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; client_app_name &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CASE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;LEFT(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_app_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 29&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 5;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHEN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;SQLAgent - TSQL JobStep (Job &#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;THEN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;SQLAgent Job: &#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;..&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sysjobs sj &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;substring&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_app_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;32&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;32&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)=(&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;substring&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;fn_varbintohexstr&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sj&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;job_id&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39; - &#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SUBSTRING&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_app_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; 67&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;len&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_app_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)-&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;67&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 5;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ELSE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_app_name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 5;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;END&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;client_hostname&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;result&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Error&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Severity&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; q&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EventDetails&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; #Queries q&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;--WHERE
eventtype NOT IN /*rather typical filtering*/
(&#39;security_error_ring_buffer_recorded&#39;, &#39;sp_server_diagnostics_component_result&#39;,
&#39;scheduler_monitor_system_health_ring_buffer_record&#39;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;--AND eventtype NOT IN /*specific troubleshooting filtering*/
(&#39;connectivity_ring_buffer_recorded&#39;, &#39;wait_info&#39;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ORDER&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;BY&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;TimeStamp&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 115%; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DESC&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/381698204594522219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/03/extended-events-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/381698204594522219'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/381698204594522219'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/03/extended-events-in-sql-server.html' title='Extended Events in SQL Server'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-6597306436971432049</id><published>2024-02-29T18:49:00.002+05:30</published><updated>2024-02-29T18:49:34.850+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="L1 DBA"/><title type='text'>OFFSET Command in SQL Server</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #992211; font-family: &amp;quot;Arial&amp;quot;,sans-serif; font-size: 13.5pt;&quot;&gt;OFFSET Command in SQL Server&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #992211; font-family: &amp;quot;Arial&amp;quot;,sans-serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Introduction-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;In SQL Server, the OFFSET command is used in
conjunction with the ORDER BY clause to specify the number of rows to skip
before starting to return rows from a query. This is particularly useful for
implementing pagination in applications or when you need to skip a certain
number of rows before fetching results.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; -webkit-text-stroke-width: 0px; background: white; box-sizing: border-box; font-variant-caps: normal; font-variant-ligatures: normal; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; white-space: pre-wrap; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Here&#39;s the basic syntax of the OFFSET command-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SELECT column1, column2,
...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;FROM table_name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;ORDER BY column1,
column2, ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;OFFSET {number_of_rows |
expression} ROWS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;FETCH {FIRST | NEXT}
{number_of_rows | expression} ROWS ONLY;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Let&#39;s break down each part:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: white; box-sizing: border-box; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;OFFSET-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;This specifies the number of rows to skip before starting to
return rows. It is always used with FETCH to define the number of rows to
return.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;{number_of_rows |
expression}-&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;This can be a numeric value or an expression that evaluates to
the number of rows to skip or fetch.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: white; box-sizing: border-box; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;ROWS-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;This keyword specifies that the value specified after OFFSET and
FETCH is in terms of rows.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: white; box-sizing: border-box; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;FETCH {FIRST | NEXT}-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;This part is used to specify whether to fetch the first or next
set of rows after the offset.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: white; box-sizing: border-box; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;{number_of_rows |
expression} ROWS ONLY-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;This part specifies the number of rows to fetch after the
offset.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; -webkit-text-stroke-width: 0px; box-sizing: border-box; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; white-space: pre-wrap; widows: 2; word-spacing: 0px;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Now let&#39;s see an example to understand how&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;to use the OFFSET command:&lt;/span&gt;&lt;/div&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Suppose we have a table called Employees with columns EmployeeID,
FirstName, and LastName. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;We want to fetch 5 rows from the table starting from the 6th
row, ordered by EmployeeID.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;SELECT EmployeeID, FirstName, LastName&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;FROM Employees&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;ORDER BY EmployeeID&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;OFFSET 5 ROWS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;FETCH NEXT 5 ROWS ONLY;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;In this example:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;OFFSET 5 ROWS-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Skips the first 5 rows.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;FETCH NEXT 5 ROWS ONLY- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Fetches the next 5 rows after skipping the first 5.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;This query will return 5 rows from the Employees table starting
from the 6th row, ordered by EmployeeID.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Keep in mind that the OFFSET and FETCH clauses are available in
SQL Server 2012 and later versions. If you&#39;re using an older version, you may
need to use alternative methods like ROW_NUMBER () function with subqueries to
achieve similar results.&lt;/span&gt;&lt;/p&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #992211; font-family: &amp;quot;Arial&amp;quot;,sans-serif; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/6597306436971432049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/02/offset-command-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6597306436971432049'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6597306436971432049'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/02/offset-command-in-sql-server.html' title='OFFSET Command in SQL Server'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-1353139192733416679</id><published>2024-02-15T17:47:00.001+05:30</published><updated>2024-02-15T17:48:41.277+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="L1 DBA"/><title type='text'>Normalization in SQL Server</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt; text-align: justify;&quot;&gt;Normalization
in SQL Server&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;-webkit-text-stroke-width: 0px; background: white; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Introduction-&lt;u1:p&gt;&lt;/u1:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Normalization in SQL
Server is a crucial concept in database design that aims to organize data
efficiently, reduce redundancy, and maintain data integrity. It involves
structuring relational databases to ensure that they meet certain criteria
regarding the relationships between tables and the dependencies among their
attributes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Normalization&#39;s primary objectives are-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Eliminating Redundancy- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Redundant data storage wastes space and can
lead to inconsistencies and anomalies when updating or deleting data.
Normalization helps to minimize redundancy by breaking down large tables into
smaller, more manageable ones.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Avoiding Update Anomalies-&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Update anomalies occur when updating data in one place but not
in others, leading to inconsistencies. Normalization helps prevent such
anomalies by ensuring that data is stored in a way that makes it easy to update
without risking inconsistency.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Ensuring Data Integrity-&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Data integrity refers to
the accuracy, consistency, and reliability of data stored in a database.
Normalization contributes to data integrity by structuring data to reduce the
risk of errors, inconsistencies, and inaccuracies.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Database Normalization-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Every database you construct should undergo the process of
database normalization. Normal Forms are a collection of formal criteria and
principles that are applied to a database design.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;The disadvantages of data redundancy include-&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: black; mso-color-alt: windowtext;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Data
upkeep becomes difficult; data deletion and upgrades become problematic. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;
It generates data discrepancies. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;
Insert, update, and delete abnormalities become common. An update anomaly, for
example, means that all copies of the same record, duplicated in different
places in the database, must be updated to maintain the record consistent. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;
Redundant data increases the size of a database and takes up an excessive
amount of space on disk.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Normal Forms-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;The goal of the following article is to present the essential
information about database normalization. Although normalization is a broad
topic, this article aims to give readers enough background knowledge to
comprehend the first three types of database normalization.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;
&lt;br /&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;
1 NF, or First Normal Form &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;
Form 2 Normal, second (NF) &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;
Form 3: Third Normal (3 NF) &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;If a database satisfies the prerequisites of the first three normal forms, it
is regarded as the third normal form.&lt;/span&gt;&lt;/div&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;p&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;First Normal Form (1NF)-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Ensures that each
column in a table contains atomic (indivisible) values.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Example: Original Table:&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Student_ID |
Name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Courses&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|------------|-----------------|--------------------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| John Doe&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Math, Physics&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Jane Smith&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Chemistry, Biology |&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;After normalization to 1NF-&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Students Table-&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Student_ID | Name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|------------|-----------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| John
Doe&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Jane Smith|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Courses Table-&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Student_ID | Course&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|------------|----------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Math&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|
Physics&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Chemistry|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|
Biology&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Second Normal Form (2NF)-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Every non-prime
attribute is fully functionally dependent on the primary key.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Example-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Original Table-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Student_ID |
Course&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Instructor&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|------------|----------|--------------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Math&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Mr. Smith&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Physics&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;| Mr. Johnson&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Chemistry| Mrs. Brown&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Biology&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;| Mr. Green&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;After normalization to 2NF-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Students Table-&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Student_ID |
Name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|------------|-----------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| John Doe&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Jane Smith|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Courses Table-&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Course&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Instructor |&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|----------|------------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Math&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Mr. Smith&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Physics&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;| Mr. Johnson|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Chemistry| Mrs.
Brown |&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Biology&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;| Mr. Green&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Enrollments Table-&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Student_ID |
Course&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|------------|----------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Math&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Physics&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Chemistry|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Biology&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Third Normal form (3NF)-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Every non-prime
attribute is non-transitively dependent on the primary key.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Example-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Original Table-&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Student_ID |
Course&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Instructor&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Instructor_Phone |&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|------------|----------|--------------|------------------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Math&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Mr. Smith&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| 555-1234&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Physics&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;| Mr. Johnson&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;| 555-5678&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Chemistry| Mrs. Brown&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| 555-9876&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Biology&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;| Mr. Green&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;| 555-4321&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;After normalization to 3NF-&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Students Table-&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Student_ID |
Name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|------------|-----------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| John Doe&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Jane Smith|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Course Table-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Course&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Instructor |&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|----------|------------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Math&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Mr. Smith&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Physics&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;| Mr. Johnson|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Chemistry| Mrs.
Brown |&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Biology&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;| Mr. Green&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Instructor Table-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Instructor&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Phone&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|--------------|-----------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Mr. Smith&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| 555-1234&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Mr. Johnson&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;| 555-5678&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Mrs. Brown&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| 555-9876&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Mr. Green&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| 555-4321&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Enrollment Table-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;font-size: 12pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| Student_ID |
Course&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;|------------|----------|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Math&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Physics&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Chemistry|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;| 2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;| Biology&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;These three
normalization forms are the ones that are discussed the most. Higher normal
forms do exist, albeit they are not as commonly employed in practice as
Boyce-Codd Normal Form (BCNF) and Fourth Normal Form (4NF). In a relational
database, each normalization form aids in reducing anomalies, redundancies, and
preserving data integrity.&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/1353139192733416679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/02/normalization-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/1353139192733416679'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/1353139192733416679'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/02/normalization-in-sql-server.html' title='Normalization in SQL Server'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-4098591446311665676</id><published>2024-02-08T12:25:00.003+05:30</published><updated>2024-02-08T12:25:35.137+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="L1 DBA"/><title type='text'>Trigger and create a simple logon Trigger</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Trigger and create a simple logon Trigger&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Introduction-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;In order to connect
using SSMS or client apps, SQL Server offers Windows and SQL authentication
methods. For DBAs, security is always the first priority, particularly in the
production setting. We can manage database access by giving users the minimal
and suitable permissions for their task. SQL Server&#39;s provide and DENY
statements can be used to provide each user the proper task permissions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Trigger-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;In SQL Server, a
trigger is a special kind of stored procedure that is triggered automatically
by specific events, such adding, modifying, or removing data from a table.
Triggers can be used to audit data changes, uphold data integrity, and enforce
business rules.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjoHQEOeMADQsPCon386MO-eMCK6FkJSj7eLidz7G-0TK5M3IcPVDUyz4v5AiZTQK16ymWzUXi7E1DXL1ttegif2dfBsJFcu7iTzoCuEvoD-U8HfsDBTboQaNrQNiDaqF-mXaqohSrWrFfb5TaPlly2ONlZIe2zycTnsfn1Vzao3cpmxv0d8TKXMRCNyvaH&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;348&quot; data-original-width=&quot;399&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjoHQEOeMADQsPCon386MO-eMCK6FkJSj7eLidz7G-0TK5M3IcPVDUyz4v5AiZTQK16ymWzUXi7E1DXL1ttegif2dfBsJFcu7iTzoCuEvoD-U8HfsDBTboQaNrQNiDaqF-mXaqohSrWrFfb5TaPlly2ONlZIe2zycTnsfn1Vzao3cpmxv0d8TKXMRCNyvaH&quot; width=&quot;275&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Types-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;DML (Data
Manipulation Language) and DDL (Data Definition Language) triggers are the two
primary categories of triggers in SQL Server. DDL triggers are triggered by
events connected to the database structure, including adding or removing
tables, whereas DML triggers are triggered by insert, update, or delete
statements.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Logon Trigger in SQL Server-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Database code known
as &quot;triggers&quot; is run when a specific event occurs. Login triggers are
a useful tool for managing SQL login security. When a logon event has place,
SQL Server initiates the logon triggers automatically. It is carried out prior
to the establishment of a user session and the accomplishment of
authentication.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;For an efficient database connection in any database, we use two terms.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Authentication- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;To establish a
connection using SQL authentication, we provide a username and password. It is
an authentication process for the user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Authorization-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Authorization is a
permission that grants you the ability to carry out particular tasks. You might
not be allowed to make any changes at the instance level, but you might be
granted complete access to a particular database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Create a simple Logon Trigger-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;USE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;master&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;GO&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CREATE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;TABLE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; LogonAudit&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp; LoginName &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;nvarchar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;128&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NOT&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NULL,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp; LoginTime &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;datetime&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NOT&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;GO&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CREATE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;TRIGGER&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;
LogonAuditTrigger&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ALL&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SERVER&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FOR&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; LOGON&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;BEGIN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;INSERT&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;INTO&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; LogonAudit&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;LoginName&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; LoginTime&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;VALUES &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ORIGINAL_LOGIN&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;());&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;END&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;In this example, we first create a table named
&quot;LogonAudit&quot; to store the login audit information. The table has two
columns: &quot;LoginName&quot; and &quot;LoginTime&quot;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Next, we create the logon trigger named
&quot;LogonAuditTrigger&quot; those fires for every LOGON event. The trigger is
created on the &quot;ALL SERVER&quot; scope, which means it applies to the
entire SQL Server instance.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;The trigger body is enclosed in the &quot;BEGIN&quot;
and &quot;END&quot; keywords. It contains a single statement that inserts the
login name and login time into the &quot;LogonAudit&quot; table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;The &quot;ORIGINAL_LOGIN()&quot; function returns the
name of the original SQL Server login that initiated the session. The
&quot;GETDATE()&quot; function returns the current date and time.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;The &quot;ORIGINAL_LOGIN()&quot; function returns the
name of the original SQL Server login that initiated the session. The
&quot;GETDATE()&quot; function returns the current date and time.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/4098591446311665676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/02/trigger-and-create-simple-logon-trigger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/4098591446311665676'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/4098591446311665676'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/02/trigger-and-create-simple-logon-trigger.html' title='Trigger and create a simple logon Trigger'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjoHQEOeMADQsPCon386MO-eMCK6FkJSj7eLidz7G-0TK5M3IcPVDUyz4v5AiZTQK16ymWzUXi7E1DXL1ttegif2dfBsJFcu7iTzoCuEvoD-U8HfsDBTboQaNrQNiDaqF-mXaqohSrWrFfb5TaPlly2ONlZIe2zycTnsfn1Vzao3cpmxv0d8TKXMRCNyvaH=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-5430475177096319222</id><published>2024-02-05T16:56:00.002+05:30</published><updated>2024-02-05T16:56:26.699+05:30</updated><title type='text'></title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: #161513; font-family: Aldhabi; font-size: 18.6667px;&quot;&gt;Automatic Diagnostic Repository&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;The&amp;nbsp;Automatic Diagnostic Repository (ADR)&amp;nbsp;is a
system-wide tracing and logging central repository for database diagnostic
data. It includes the following items:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEibYLSDs4As6s-kdVXnfyaXYdEY_M3vdp5ijD7hSRMEWGJ9K7xe9lhleHFalgaOMhCWQYV8POnw9Ax7RD9A9w99fPf7ZhK3_MTJ2_aS-W3luKqgRYeDqocL_ZvMGitdecTVWJMUCEWifm1mzUG251z8nYjOZey9ZkSW3Zd-6fw1q-DrHWX7DQpxVUn1fk4&quot; style=&quot;font-family: Aldhabi; font-size: 18.6667px; margin-left: 1em; margin-right: 1em; text-align: center; text-indent: -24px;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;877&quot; data-original-width=&quot;900&quot; height=&quot;454&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEibYLSDs4As6s-kdVXnfyaXYdEY_M3vdp5ijD7hSRMEWGJ9K7xe9lhleHFalgaOMhCWQYV8POnw9Ax7RD9A9w99fPf7ZhK3_MTJ2_aS-W3luKqgRYeDqocL_ZvMGitdecTVWJMUCEWifm1mzUG251z8nYjOZey9ZkSW3Zd-6fw1q-DrHWX7DQpxVUn1fk4=w517-h454&quot; width=&quot;517&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513;&quot;&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513;&quot;&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b style=&quot;color: red;&quot;&gt;Background
trace files&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #161513; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;Background trace files&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #161513; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;store
information from database&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #161513; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;background processes. When a process detects an
internal error, the process dumps&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #161513; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;information about the error to its trace
file. Some of the information written to a&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #161513; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;trace file is intended for the
database administrator, whereas other information is&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #161513; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;for Oracle Support
Services. Typically, database background process trace file&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #161513; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;names contain the
Oracle system identifier (SID), the background process name,&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #161513; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;and the operating
system process number&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Symbol; font-size: 10pt; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Symbol; font-size: 10pt; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 7pt; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14pt; text-indent: -0.25in;&quot;&gt;An example of a trace
file for the RECO process is&amp;nbsp;mytest_reco_10355.trc.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Common Background Processes
Generating Trace Files:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;PMON &lt;/span&gt;&lt;/b&gt;(Process Monitor): Monitors
the other background processes and performs process recovery.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;SMON&lt;/span&gt;&lt;/b&gt; (System Monitor): Performs
instance recovery when an instance fails.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;LGWR &lt;/span&gt;&lt;/b&gt;(Log Writer): Writes redo log
entries to disk.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;DBWn&lt;/span&gt;&lt;/b&gt; (Database Writer): Writes
modified blocks from the database buffer cache to data files.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;CKPT &lt;/span&gt;&lt;/b&gt;(Checkpoint): Performs
database checkpoints to synchronize the data files and control files.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Location of Background Trace
Files:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Background trace files are
typically located in the Automatic Diagnostic Repository (ADR).&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The ADR home path can be obtained
using the SHOW PARAMETER DIAGNOSTIC_DEST&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Enabling and Disabling Tracing:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Tracing
for background processes can be enabled or disabled dynamically using the ALTER
SYSTEM or ALTER SESSION commands.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;For example&lt;/span&gt;&lt;/b&gt;,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;to enable tracing for the LGWR process:&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&amp;nbsp;ALTER
SYSTEM SET EVENTS &#39;trace[LGWR]:[Level]&#39;;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Foreground trace file&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Foreground
trace files&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14pt;&quot;&gt;store information from
server processes. When a process detects an internal error, the process&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;dumps information about the error to its trace file. Server
process trace file names&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;contain the Oracle SID, the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;string&amp;nbsp;ora, and the operating system process number. An
example of a server&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;process trace file name&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14pt; text-indent: -0.25in;&quot;&gt;is&amp;nbsp;mytest_ora_10304.trc.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14pt; text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 0in; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 7pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Location
of Foreground Trace Files:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 0in; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Foreground trace files are typically located in the Automatic
Diagnostic Repository (ADR).&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 0in; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;The ADR home path can be obtained using the SHOW PARAMETER
DIAGNOSTIC_DEST&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Enabling and Disabling Tracing for
a Session:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Tracing for a specific user
session can be dynamically enabled or disabled using the ALTER SESSION command.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;For example, to enable tracing for
a session: ALTER SESSION SET TRACEFILE_IDENTIFIER=&#39;trace_identifier&#39;;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot; style=&quot;margin: 0in;&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: .75pt; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Dump files:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;are a
special type of trace file that contains detailed point-in-time information
about a state or structure. A dump file is typically a one-time output of
diagnostic data in response to an event, whereas a trace file tends to be a
continuous output of diagnostic data.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: .75pt; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: .75pt; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Health monitor reports:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Health monitor reports&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14pt;&quot;&gt;include
results of diagnostic checks from the Health Monitor framework. Health checks
detect file corruptions, physical and logical block corruptions, undo and redo
corruptions, data dictionary corruptions, and more. The health checks generate
reports of their findings and, in many cases, recommendations for resolving
problems.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: .75pt; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: .75pt; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 7pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Incident
package:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Incident package&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14pt;&quot;&gt;contain
information for uploading diagnostic data to Oracle Support. A package is a
collection of metadata that is stored in the ADR and points to diagnostic data
files and other files both in and outside of the ADR. When you create a
package, you select one or more problems to add to the package. The Support
Workbench then automatically adds to the package the problem information,
incident information, and diagnostic data (such as trace files and dumps)
associated with the selected problems.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: .75pt; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 7pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: .75pt; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif; font-size: 7pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;Incident dump:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;Incident
dumps&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #161513; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14pt;&quot;&gt;contain
diagnostic data that Oracle Database collects when an incident occurs. The
database writes one or more dumps to the incident directory created for the
incident. Incident dumps also contain the incident number in the file name.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in;&quot;&gt;







&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Alert log file&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The Oracle alert log file is a
critical component for monitoring and troubleshooting Oracle Database
instances. The alert log provides a chronological record of messages and events
that occur during the operation of the database. Database administrators (DBAs)
regularly review the alert log to identify issues, errors, or significant
events affecting the database. Here are key points about the Oracle alert log
file:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Location of the Alert Log:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The alert log is typically located in the Automatic
Diagnostic Repository (ADR), specifically in the &quot;alert&quot;
subdirectory.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The default file name is alert_&amp;lt;SID&amp;gt;.log,
where &amp;lt;SID&amp;gt; represents the system identifier of the database.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Purpose of the Alert Log:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The alert log serves as a comprehensive record of
database activities, including startup and shutdown events, errors, warnings,
and noteworthy occurrences.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;It is a critical source of information for
diagnosing issues, monitoring the health of the database, and maintaining a
historical record of significant events.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Content of the Alert Log:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The alert log contains messages generated by the
Oracle Database instance, including:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Startup and shutdown information.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Critical error messages.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Warnings and informational messages.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Changes in database configuration.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Log switches.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Block corruption messages.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Background process trace file names.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Automatic Diagnostic Repository (ADR):&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The alert log is part of the Automatic Diagnostic
Repository (ADR), which is a centralized location for database diagnostic data.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;ADR simplifies the management of diagnostic data
and provides tools like ADRCI (Automatic Diagnostic Repository Command
Interpreter) for accessing and managing diagnostic information.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Rotating and Archiving:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The alert log file may become large over time, and
Oracle Database has mechanisms for rotating and archiving the log to prevent it
from growing indefinitely.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Log rotation typically involves switching to a new
log file, and archived logs may be stored for historical purposes.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Viewing the Alert Log:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;DBAs can view the alert log using various tools,
including Oracle Enterprise Manager (EM), SQL*Plus, and ADRCI&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span style=&quot;background-color: white; color: #161513; font-family: Aldhabi; font-size: 14pt;&quot;&gt;SHOW PARAMETER
background_dump_dest;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Monitoring Tools:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Database monitoring tools often include features to
alert DBAs to critical messages in the alert log.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Oracle Enterprise Manager provides a graphical
interface for monitoring the alert log and receiving alerts for important
events.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Alert Log for Database Startup Issues:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The alert log is particularly crucial for
diagnosing issues during the startup of the database. Any errors or warnings
encountered during startup are typically recorded in the alert log.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Integration with Oracle Support:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;When troubleshooting issues, Oracle Support often
requests copies of the alert log to assist in diagnosing problems. Keeping a
record of the alert log is essential for obtaining support.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;























































































































































&lt;/p&gt;&lt;p class=&quot;selectable-text&quot;&gt;&lt;span class=&quot;selectable-text1&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Regularly reviewing the Oracle alert log is a
fundamental practice for database administrators to ensure the health and
reliability of the Oracle Database instance. It provides real-time insights
into the operational status of the database and serves as a primary resource
for diagnosing and resolving issues.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; margin-left: 18.75pt; margin-right: 33.75pt; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #161513; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/5430475177096319222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/02/automatic-diagnostic-repository.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/5430475177096319222'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/5430475177096319222'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/02/automatic-diagnostic-repository.html' title=''/><author><name>Tarif Ahmed</name><uri>http://www.blogger.com/profile/14175281595420682850</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEibYLSDs4As6s-kdVXnfyaXYdEY_M3vdp5ijD7hSRMEWGJ9K7xe9lhleHFalgaOMhCWQYV8POnw9Ax7RD9A9w99fPf7ZhK3_MTJ2_aS-W3luKqgRYeDqocL_ZvMGitdecTVWJMUCEWifm1mzUG251z8nYjOZey9ZkSW3Zd-6fw1q-DrHWX7DQpxVUn1fk4=s72-w517-h454-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-1586436218532143012</id><published>2024-01-29T15:54:00.000+05:30</published><updated>2024-01-29T15:54:29.964+05:30</updated><title type='text'></title><content type='html'>&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Oracle Data Dictionary and the Dynamic Performance
Views&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 10.5pt; margin-left: 0in; margin-right: 0in; margin-top: 10.5pt;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 10.5pt; margin-left: 0in; margin-right: 0in; margin-top: 10.5pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;An important part of an Oracle database is its data dictionary,
which is a read-only set of tables that provides administrative metadata about
the database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 10.5pt; margin-left: 0in; margin-right: 0in; margin-top: 10.5pt;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;A data dictionary contains information such as the following&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #1a1816; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 14.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The definitions of every &lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;schema object&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #1a1816; font-family: Aldhabi; font-size: 14pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14pt; text-indent: -0.25in;&quot;&gt;in the
database, including default values for columns and integrity constraint
information&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 6.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #1a1816; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 14.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The amount of space allocated for and currently used by the
schema&amp;nbsp;objects&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 6.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #1a1816; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 14.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The names of Oracle Database users, privileges and roles granted
to users, and auditing information related to users&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 10.5pt; margin-left: 0in; margin-right: 0in; margin-top: 10.5pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The data dictionary is a central part of data management for
every Oracle database. For example, the database performs the following
actions:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 6.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #1a1816; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 14.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Accesses the data dictionary to find information about users,
schema objects, and storage structures&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 6.0pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #1a1816; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 14.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Modifies the data dictionary every time that a DDL statement is
issued&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin: 0in;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Because Oracle Database stores data
dictionary data in tables, just like other data, users can&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;&lt;a href=&quot;https://docs.oracle.com/en/database/oracle/oracle-database/19/cncpt/Chunk520365104.html#GUID-CCF91C9F-A98A-498F-A84B-58A0FA16CD6E&quot;&gt;&lt;span class=&quot;xrefglossterm&quot;&gt;&lt;span style=&quot;color: black; mso-themecolor: text1; text-decoration: none; text-underline: none;&quot;&gt;query&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;the data with SQL. For example,
users can run&amp;nbsp;&lt;code&gt;&lt;span style=&quot;font-family: Aldhabi; mso-ansi-font-size: 14.0pt; mso-bidi-font-size: 14.0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;/code&gt;&amp;nbsp;statements to determine
their privileges, which tables exist in their schema, which columns are in
these tables, whether indexes are built on these columns, and so on.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin: 0in;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin: 0in;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Some commonly used Data Dictionary views
include:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;USER_ Views (or ALL_ and DBA_ Views)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;USER_TABLES&lt;/span&gt;:&lt;/b&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt; Information about tables owned by the current user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjSSvLft1dPAMMwYoAshJi4dFvC6TckKq-0whSDwKGIdM0bS1i7vq7sPwgEij3lIATJhAzMQTGpjQMfIjzt9vRSspAZWC50W0rBKsZsXkyPm3gQgut7tRR2tl1WRCOwyUxO_P7SvblqKyiNVywpdc0vzsvBx116mYmEhOhnj6SoBj3z6R3N9_OlGuZJXew&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;853&quot; data-original-width=&quot;859&quot; height=&quot;472&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjSSvLft1dPAMMwYoAshJi4dFvC6TckKq-0whSDwKGIdM0bS1i7vq7sPwgEij3lIATJhAzMQTGpjQMfIjzt9vRSspAZWC50W0rBKsZsXkyPm3gQgut7tRR2tl1WRCOwyUxO_P7SvblqKyiNVywpdc0vzsvBx116mYmEhOhnj6SoBj3z6R3N9_OlGuZJXew=w471-h472&quot; width=&quot;471&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEikNM4BGBdGi4lrVsDTsuWulm15_ZcAWNGxkEBF17WjgqJq2EHOKYUAiI68J4pLs9GPJ8fnrOQIhTE6OxeZ-ZhwEBxScFHIMlEjKefgqQJi8oL1nN2n5slHoEwBXTOVqnfQ5BKzt4FMNQ68JSZc0LU6hLaURTUv5g56c15_T1qz7J2-iTcFZ1H_ukPOg5s&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;225&quot; data-original-width=&quot;975&quot; height=&quot;132&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEikNM4BGBdGi4lrVsDTsuWulm15_ZcAWNGxkEBF17WjgqJq2EHOKYUAiI68J4pLs9GPJ8fnrOQIhTE6OxeZ-ZhwEBxScFHIMlEjKefgqQJi8oL1nN2n5slHoEwBXTOVqnfQ5BKzt4FMNQ68JSZc0LU6hLaURTUv5g56c15_T1qz7J2-iTcFZ1H_ukPOg5s=w472-h132&quot; width=&quot;472&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin-bottom: 10.5pt; margin-left: 0in; margin-right: 0in; margin-top: 10.5pt;&quot;&gt;



















&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;USER_COLUMNS&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt;: Details about columns of tables owned by the
current user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;USER_VIEWS&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt;: Information about views owned by the current user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgflSAaZjF2P_JsQ_mltCx_tU6b42bJ41_yN9r8-u8w1BmqOrBLyo13fg6z2MO0R6jJFCoru3H76Z29s1HTFM03apwKSz-P5W8QBzIHplpWHrprUpDWCDxtqP4hlTRfyHKnpO4T9nQCtPZPGxdp9LOMgQVjdVzYTj-5n-zqDiJYNxzKBBD_cyv8VsBy9w0&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;552&quot; data-original-width=&quot;975&quot; height=&quot;370&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgflSAaZjF2P_JsQ_mltCx_tU6b42bJ41_yN9r8-u8w1BmqOrBLyo13fg6z2MO0R6jJFCoru3H76Z29s1HTFM03apwKSz-P5W8QBzIHplpWHrprUpDWCDxtqP4hlTRfyHKnpO4T9nQCtPZPGxdp9LOMgQVjdVzYTj-5n-zqDiJYNxzKBBD_cyv8VsBy9w0=w498-h370&quot; width=&quot;498&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjyQ4mAEO0V73ItK_PmabqaLJdlPBRL8LEZbh2u61JaHqs2k-cPmsYb0MVUZPUQMW07IVG_2t5kLdCTN70tsuZfX0Ips10u0xzA1M6SjF56GYITn-Ky1DS7Zp1yHe9Cjrf2xfZC0tzTsJEqahHDLNE3qFwYpIDjfUrWDQE7qXHjZzJmRCXMoQ36cswm-DA&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;101&quot; data-original-width=&quot;975&quot; height=&quot;65&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjyQ4mAEO0V73ItK_PmabqaLJdlPBRL8LEZbh2u61JaHqs2k-cPmsYb0MVUZPUQMW07IVG_2t5kLdCTN70tsuZfX0Ips10u0xzA1M6SjF56GYITn-Ky1DS7Zp1yHe9Cjrf2xfZC0tzTsJEqahHDLNE3qFwYpIDjfUrWDQE7qXHjZzJmRCXMoQ36cswm-DA=w503-h65&quot; width=&quot;503&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ALL_ Views:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Similar to USER_ views, but they show information about objects
accessible to the current user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;DBA_ Views:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin: 0in;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;These views show information about all
objects in the database, but access to these views requires DBA privileges.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin: 0in;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Dynamic Performance
Views&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 10.5pt; margin-left: 0in; margin-right: 0in; margin-top: 10.5pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Throughout its operation, Oracle Database maintains a set of
virtual tables that record current database activity.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; margin: 0in;&quot;&gt;



&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;These views are dynamic because they are continuously updated
while a database is open and in use. The views are sometimes called&amp;nbsp;&lt;i&gt;V$
views&lt;/i&gt;&amp;nbsp;because their names begin with&amp;nbsp;V$.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 10.5pt; margin-left: 0in; margin-right: 0in; margin-top: 10.5pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Dynamic performance views contain information such as the
following:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; color: #1a1816; line-height: normal; margin-bottom: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;System
     and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;&lt;a href=&quot;https://docs.oracle.com/en/database/oracle/oracle-database/19/cncpt/Chunk520365104.html#GUID-0F44C072-9841-4E2E-B846-FB16A2E54139&quot;&gt;&lt;span style=&quot;color: black; text-decoration-line: none;&quot;&gt;session&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;parameters&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; color: #1a1816; line-height: normal; margin-bottom: 6.0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Memory
     usage and allocation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; color: #1a1816; line-height: normal; margin-bottom: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;File
     states (including&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Aldhabi; font-size: 14.0pt; mso-color-alt: windowtext;&quot;&gt;&lt;a href=&quot;https://docs.oracle.com/en/database/oracle/oracle-database/19/cncpt/Chunk520365104.html#GUID-13364DE9-0E15-488B-89E5-622316EC9796&quot;&gt;&lt;span style=&quot;color: black; text-decoration-line: none;&quot;&gt;RMAN&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;backup
     files)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; color: #1a1816; line-height: normal; margin-bottom: 6.0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Progress
     of jobs and tasks&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; color: #1a1816; line-height: normal; margin-bottom: 6.0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;SQL
     execution&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; color: #1a1816; line-height: normal; margin-bottom: 6.0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Statistics
     and metrics&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Some commonly used Dynamic Performance Views
include:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;V$SESSION&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in;&quot;&gt;







&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Information about current sessions, including
session ID, username, and status.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhdm6u-2a1v5M0EvFgCwc3GmyDCvo1JJL-NGEsLF1WwaDIqRdCH7yQOpTiu_2E4xWwM-89cUg37tOzbv4lT53oTrrC1dyDWNkuJ1mkNMJrLM0NlxVA-7H4hEcSOdS2ltMu9nAtuMMGTR7t33Tp-0tExrWgclPz2I8Drr5j-WY0PWRB2_SNMgycIBay1kaI&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;822&quot; data-original-width=&quot;911&quot; height=&quot;449&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhdm6u-2a1v5M0EvFgCwc3GmyDCvo1JJL-NGEsLF1WwaDIqRdCH7yQOpTiu_2E4xWwM-89cUg37tOzbv4lT53oTrrC1dyDWNkuJ1mkNMJrLM0NlxVA-7H4hEcSOdS2ltMu9nAtuMMGTR7t33Tp-0tExrWgclPz2I8Drr5j-WY0PWRB2_SNMgycIBay1kaI=w525-h449&quot; width=&quot;525&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt; mso-margin-top-alt: auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;V$SQL:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;

&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Details about
SQL statements currently in the shared SQL area, including SQL text and
execution statistics.&lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: &amp;quot;Segoe UI&amp;quot;,sans-serif; font-size: 12.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgaD31gjrR4dMGATrnGeB64beFfitm4qKiH7o3Vs4utRy5eQqAndLALSOEg3PRHi9gH6nMVxDz7qxcA_Euq71XvhKLyX2-8V_93O59Sl5e0sZq_OwoKUovMAFY5gcp2-IOng-CBtWFG1tmNV2KgYSLLSEN_7SEd_9ePB71SDp57q1mPbMNcTFzYF4Lnv48&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;882&quot; data-original-width=&quot;975&quot; height=&quot;445&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgaD31gjrR4dMGATrnGeB64beFfitm4qKiH7o3Vs4utRy5eQqAndLALSOEg3PRHi9gH6nMVxDz7qxcA_Euq71XvhKLyX2-8V_93O59Sl5e0sZq_OwoKUovMAFY5gcp2-IOng-CBtWFG1tmNV2KgYSLLSEN_7SEd_9ePB71SDp57q1mPbMNcTFzYF4Lnv48=w487-h445&quot; width=&quot;487&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;V$WAITSTAT&lt;/b&gt;:&lt;/span&gt;&lt;span style=&quot;color: #1a1816;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Information about wait statistics, showing
where sessions are waiting.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEji7Q3sksR9c7QIdDdHTeSXiLzWlQgkUv2h4VWXZAs1D2e6WLhsK9X_L75IMbmW-JVqxpEZuSC0t_LE4bXjnoH0nme4LVyy_iVSsKDxeC2APq2jkVWypmyLzw6R2cHDLAoD1HXaWY3vBsmm_X9nkQDSd_gxZ5TY3q_t6v9u4-AFZMou7NZZuiLaxLyPsKA&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;118&quot; data-original-width=&quot;668&quot; height=&quot;127&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEji7Q3sksR9c7QIdDdHTeSXiLzWlQgkUv2h4VWXZAs1D2e6WLhsK9X_L75IMbmW-JVqxpEZuSC0t_LE4bXjnoH0nme4LVyy_iVSsKDxeC2APq2jkVWypmyLzw6R2cHDLAoD1HXaWY3vBsmm_X9nkQDSd_gxZ5TY3q_t6v9u4-AFZMou7NZZuiLaxLyPsKA=w505-h127&quot; width=&quot;505&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;V$DATAFILE&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: &amp;quot;Segoe UI&amp;quot;,sans-serif; font-size: 12.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US;&quot;&gt;





&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Details about database data files, including
file name, size, and status.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: #1a1816; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiEm9Ecdt7rtAmoHyWG5GpJnF-4Ey2RVxmHjSbB32cmHUY-x7DZB747pNNCjlTqhaDywmeVLJkOccITsr5-ld7oHvBZ2TVvZ0Kv0Y8Lh7c96Lv7qiNYENd7bY-klLKrcsw5aLkbTWrEtq66d-0Iuu6IG5FFEKXyr6GnJpemY67l54oFqxdebKx75PojShw&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;823&quot; data-original-width=&quot;975&quot; height=&quot;458&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiEm9Ecdt7rtAmoHyWG5GpJnF-4Ey2RVxmHjSbB32cmHUY-x7DZB747pNNCjlTqhaDywmeVLJkOccITsr5-ld7oHvBZ2TVvZ0Kv0Y8Lh7c96Lv7qiNYENd7bY-klLKrcsw5aLkbTWrEtq66d-0Iuu6IG5FFEKXyr6GnJpemY67l54oFqxdebKx75PojShw=w502-h458&quot; width=&quot;502&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/1586436218532143012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/01/oracle-data-dictionary-and-dynamic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/1586436218532143012'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/1586436218532143012'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/01/oracle-data-dictionary-and-dynamic.html' title=''/><author><name>Tarif Ahmed</name><uri>http://www.blogger.com/profile/14175281595420682850</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjSSvLft1dPAMMwYoAshJi4dFvC6TckKq-0whSDwKGIdM0bS1i7vq7sPwgEij3lIATJhAzMQTGpjQMfIjzt9vRSspAZWC50W0rBKsZsXkyPm3gQgut7tRR2tl1WRCOwyUxO_P7SvblqKyiNVywpdc0vzsvBx116mYmEhOhnj6SoBj3z6R3N9_OlGuZJXew=s72-w471-h472-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-5405809492710160442</id><published>2024-01-27T13:13:00.003+05:30</published><updated>2024-01-27T13:13:48.863+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="L1 DBA"/><title type='text'>CDC in SQL Server</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt; text-align: justify;&quot;&gt;A brief description of SQL Server&#39;s CDC-&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Change Data Capture,
or CDC for short, was initially introduced in the SQL Server 2008 edition as a
useful feature to track and record changes made to SQL Server database tables
without requiring extra programming work. Prior to SQL Server 2016, a SQL
Server database could only have Change Data Capture enabled with the SQL Server
Enterprise edition; however, as of SQL Server 2016, this is no longer
necessary.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;A mirrored table
with the same column structure as the source tables and extra columns to
capture the description of these changes is created by Change Data Capture,
which keeps track of the INSERT, UPDATE, and DELETE actions on the database
table. For each INSERT statement, SQL Server creates one record that displays
the values that are inserted; for each DELETE statement, it creates one record
that displays the data that is deleted; and for each UPDATE statement, it
creates two records—one that displays the data that was there prior to the
change and the other that displays the data that was there after it was made.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Design and configuration-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;A
SQL Server instance must have a SQL Server Agent active in order to use Change
Data Capture. A SQL Server database table that has this feature enabled will
have two SQL Server Agent jobs created for it. The first job&#39;s task is to
update database change tables with the updated data, and the second job&#39;s task
is to tidy up the change tables by removing records that are older than the
three-day configurable retention period. As the data source changes, Change
Data Capture is dependent on the SQL Server Transaction Log. A modification
will be recorded in the Transaction Log file as soon as it is made.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Change Data Capture as a Solution for Audits-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Without
the ability to track SELECT statements, Change Data Capture can be used as an
asynchronous SQL Server Audit solution to monitor and audit DML changes made to
the table, such as INSERT, UPDATE, and DELETE operations.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Change
Data Capture is an effective SQL Server audit solution because it is simple to
set up with a few T-SQL statements, offers historical data about values prior
to the change process, and gives comprehensive information on the data
modification procedure.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Let&#39;s see how we can audit the SQL Server DML modifications
using Change Data Capture.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Enabling DAC-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 1-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Open the Management Studio for Microsoft SQL Server and make a
new database and&amp;nbsp;&lt;span style=&quot;font-size: 18.6667px;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; font-size: 18.6667px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;table.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;Create&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;Database&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt; CDC1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;use&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; CDC1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;CREATE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;TABLE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; CDC_TAB&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;ID &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;INT&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Name&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;50&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Place &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;50&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Salary &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;INT&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjiQUpoesi90273aDo-J75-WUoAFRNt2uBfWaXt3jK5-dYDkxIFVKfnI0w6Gklb6XTkjQKzlxSl8nSy9VbYLWAcOtRBTzYx4ckCMapScN3UEs7Gpnv9I_1AofxEbOqta05N-qfl_VfqHYFVpSAvLNIuAJNUML5DVmT403zkFot-TiXxwIs6_7iOnhRa0eaj&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;386&quot; data-original-width=&quot;785&quot; height=&quot;196&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjiQUpoesi90273aDo-J75-WUoAFRNt2uBfWaXt3jK5-dYDkxIFVKfnI0w6Gklb6XTkjQKzlxSl8nSy9VbYLWAcOtRBTzYx4ckCMapScN3UEs7Gpnv9I_1AofxEbOqta05N-qfl_VfqHYFVpSAvLNIuAJNUML5DVmT403zkFot-TiXxwIs6_7iOnhRa0eaj=w400-h196&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiHo0JomaIZ2o_KKnXnB6VZKC8nLtFV74VBtPJRHUEmYZPoCCzEI7rtcyZQHWIU1XRLJF_qa4OSPLHwU_W-0qRUxNF2ztVcjhk3RNSPuXI6Vg3Sx2XdhvLyKtzpQHvI6p8yEHzXJSYJmy_YcFHrl3nRcpMjQoSwMch_Dz4ZqY6JXFzCTForhGyGQmuDMo-E&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;383&quot; data-original-width=&quot;764&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiHo0JomaIZ2o_KKnXnB6VZKC8nLtFV74VBtPJRHUEmYZPoCCzEI7rtcyZQHWIU1XRLJF_qa4OSPLHwU_W-0qRUxNF2ztVcjhk3RNSPuXI6Vg3Sx2XdhvLyKtzpQHvI6p8yEHzXJSYJmy_YcFHrl3nRcpMjQoSwMch_Dz4ZqY6JXFzCTForhGyGQmuDMo-E=w400-h200&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 2-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;After creating the
previously mentioned database and table, use the following Insert SQL
Statements to add some data to the CDC_TAB table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEh798tozPXuHh7reix26qhirqjSj4MZk7CVDsULTHbf87uyXot19Nz64B4PkvSLrzDZoqSfFHsZdsJ5eq9w8zLghVTGbbrWW2VgiXMvZsp7-kk3JvAjTGy7ccsHABpN816KXl168VE-m2zYgrJ4Av5ibf_PZu2paI-fqkPOzHbsEZgDXEQrYJtSGBOKtLEn&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;516&quot; data-original-width=&quot;1011&quot; height=&quot;204&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEh798tozPXuHh7reix26qhirqjSj4MZk7CVDsULTHbf87uyXot19Nz64B4PkvSLrzDZoqSfFHsZdsJ5eq9w8zLghVTGbbrWW2VgiXMvZsp7-kk3JvAjTGy7ccsHABpN816KXl168VE-m2zYgrJ4Av5ibf_PZu2paI-fqkPOzHbsEZgDXEQrYJtSGBOKtLEn=w400-h204&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 3-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;CDC use in SQL
Server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;In SQL Server, CDC
must be enabled in two steps. They are listed in the following order:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;CDC must first be
enabled at the database level.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Next, we must
specify which tables require CDC activation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Enable CDC on
Database Level:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;To enable CDC on the
database level, run the following stored procedure in the system.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjKZHX0UC-NG0D__PI_7QB8pgYZ_d3Jerd1SYK_u327rre3XrlwyUM9EJFwalXadscxacr-awOg-b99_yqTBiDfpztdQdIFT_OraIE579wa2A17WoizVFwNSWtKOoZ-hYJl0UVIaZQOPHQMu5i_EUHRckY3rGCYuFdjci_kuffZ31c4WP979oLJF7ACK5Qe&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;216&quot; data-original-width=&quot;638&quot; height=&quot;108&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjKZHX0UC-NG0D__PI_7QB8pgYZ_d3Jerd1SYK_u327rre3XrlwyUM9EJFwalXadscxacr-awOg-b99_yqTBiDfpztdQdIFT_OraIE579wa2A17WoizVFwNSWtKOoZ-hYJl0UVIaZQOPHQMu5i_EUHRckY3rGCYuFdjci_kuffZ31c4WP979oLJF7ACK5Qe&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEikD9uAvpn-y0ozS8ci3wdzw86MTH2e5PLj0S7Mu6Y8QqIKUQn1-x8riwqiwFLrMgsQrHOB2yxKVDFLT0RlI0sre-ZvWimT3gOfsk8UjxbCzdJb2dcVnZdbwpqW95vUv3fr0EjfozQL0puNF_dqpZU-rhBMC-SzW1RsiNSdBP45yV_AG_z207I9o6u7jtzG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;283&quot; data-original-width=&quot;560&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEikD9uAvpn-y0ozS8ci3wdzw86MTH2e5PLj0S7Mu6Y8QqIKUQn1-x8riwqiwFLrMgsQrHOB2yxKVDFLT0RlI0sre-ZvWimT3gOfsk8UjxbCzdJb2dcVnZdbwpqW95vUv3fr0EjfozQL0puNF_dqpZU-rhBMC-SzW1RsiNSdBP45yV_AG_z207I9o6u7jtzG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 4-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Enable CDC at Table
Level&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Using the CDC1
database, we generated the CDC_TAB table. Let&#39;s now activate CDC for this
Employee table. As demonstrated below, we must run the system stored procedure
sp_cdc_enable_table in order to enable CDC at the table level. Here, we are
giving the stored procedure access to the schema, table name, and roll.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EXEC&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sp_cdc_enable_table&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;@source_schema &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;dbo&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;@source_name &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;CDC_TAB&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;@role_name &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjdVi6EY-c29eQmzzKi3UWNha3ETy6UBfcnQa2ROz0-Avsbn8zoOoZfw4n0PTkdU9AFbIh3UvTIoste8uD9ZjTuD6xmEV5JeRCYC12L9cXJb70vAENIlZTGVvb0410fQg5_q6AauA98CFvUSSosEcjI1x1osIAuk14veLgGykzh7b-gyVjJOoqu4yDs7dhQ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;246&quot; data-original-width=&quot;975&quot; height=&quot;101&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjdVi6EY-c29eQmzzKi3UWNha3ETy6UBfcnQa2ROz0-Avsbn8zoOoZfw4n0PTkdU9AFbIh3UvTIoste8uD9ZjTuD6xmEV5JeRCYC12L9cXJb70vAENIlZTGVvb0410fQg5_q6AauA98CFvUSSosEcjI1x1osIAuk14veLgGykzh7b-gyVjJOoqu4yDs7dhQ=w400-h101&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 5-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The SQL Server Agent
service&amp;nbsp;must&amp;nbsp;be running for the CDC to operate&amp;nbsp;&lt;span style=&quot;font-size: 18.6667px;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; font-size: 18.6667px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;properly.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-size: 18.6667px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-size: 18.6667px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj5CjRtaJVvwOdQSWSptUMg6_frCAxB1yDau6cfFmps6oNsgbV-Jn6Bq3dEKv7FD3V-VwVAFgQKaWhuMI5yS0DYlY1XBdd8EQ_C0-B-yVurfhrCO3SnSVLMWMRuUXNNt2b32eHprTtN0FfRlKse7Su-uj-JV2pezF4qaDIlpl5aoUu-17RjGSmjgVBG-T25&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;203&quot; data-original-width=&quot;336&quot; height=&quot;193&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj5CjRtaJVvwOdQSWSptUMg6_frCAxB1yDau6cfFmps6oNsgbV-Jn6Bq3dEKv7FD3V-VwVAFgQKaWhuMI5yS0DYlY1XBdd8EQ_C0-B-yVurfhrCO3SnSVLMWMRuUXNNt2b32eHprTtN0FfRlKse7Su-uj-JV2pezF4qaDIlpl5aoUu-17RjGSmjgVBG-T25&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 6-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The tables that
truly record insert, update, and delete action for a specific table are called
_CT tables. For instance, every Insert, Update, and Delete operations made on
the CDC_TAB table will be recorded in the dbo_CDC_TAB_CT table. A table named
dbo_EMP_CT will be created to record all DML operations made on the EMP table
if you have another table named EMP and you enable CDC for that table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiPeiBgiEkzLGufxs_GwWIELT-oGrEQhW2GlNqaQprKyoIm2HWQHPDRPl-32LGYGLCw3fEeC-eaHcOCDjHxj8ZVPLsI3se_UjI1yj-BnyB14uTYwKhXB3Tc9lil36dbWBgLFSSLWSQLtyVHmVHfbutV_epTfJUA8GF9p35uk3S_a-DYbMnYS5B-A46wq1Y_&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;310&quot; data-original-width=&quot;623&quot; height=&quot;159&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiPeiBgiEkzLGufxs_GwWIELT-oGrEQhW2GlNqaQprKyoIm2HWQHPDRPl-32LGYGLCw3fEeC-eaHcOCDjHxj8ZVPLsI3se_UjI1yj-BnyB14uTYwKhXB3Tc9lil36dbWBgLFSSLWSQLtyVHmVHfbutV_epTfJUA8GF9p35uk3S_a-DYbMnYS5B-A46wq1Y_&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 7-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;For instance,
updating data in the CDC_TAB table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;UPDATE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; CDC_TAB &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;Name&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;&#39;Ayush&#39;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; ID &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; 7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg7pzEDRMJklSBTa9Ax-ePxrZpvdgT9zIYZev7APoTgvtN3f3cS6OOV0w4olLwsw8769fArQWXjXbwMPGv1JD23WYVIB0Xu26pzN_OnHq1Mi1SPfhVt2D1xc-YyTm92pDFPDzA-1_aZsZ9WAEAIJI6U-WOUz38mOuu3r96_fv73kUPoejC2muW7rmjy75A_&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;328&quot; data-original-width=&quot;734&quot; height=&quot;143&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg7pzEDRMJklSBTa9Ax-ePxrZpvdgT9zIYZev7APoTgvtN3f3cS6OOV0w4olLwsw8769fArQWXjXbwMPGv1JD23WYVIB0Xu26pzN_OnHq1Mi1SPfhVt2D1xc-YyTm92pDFPDzA-1_aZsZ9WAEAIJI6U-WOUz38mOuu3r96_fv73kUPoejC2muW7rmjy75A_&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p align=&quot;center&quot; class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: center; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;UPDATE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; CDC_TAB &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;Name&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;&#39;Abhishek&#39;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; ID &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; 6&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjwTrd1EFdwTndp9Z1PLUQ3k49vr5XJBKjnNNtI6bzKMIWacp68FAOnMBZ6WxQ0baujrbszpmnIqvxYMkFkETPkWvyp2utBxL_w8QqLuDP3OrKVwM0jM_8It4rgJtgXaxTg6OhL988iDcrdjZaW0RQnMnqVFuupTSt5sTtKGQwOg7JAxae0SiDl3HlYRsxP&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;301&quot; data-original-width=&quot;731&quot; height=&quot;132&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjwTrd1EFdwTndp9Z1PLUQ3k49vr5XJBKjnNNtI6bzKMIWacp68FAOnMBZ6WxQ0baujrbszpmnIqvxYMkFkETPkWvyp2utBxL_w8QqLuDP3OrKVwM0jM_8It4rgJtgXaxTg6OhL988iDcrdjZaW0RQnMnqVFuupTSt5sTtKGQwOg7JAxae0SiDl3HlYRsxP&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 7-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;It will be recorded
in the system table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: center; vertical-align: baseline;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #333333; font-family: Aldhabi; font-size: 14pt; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhFe95ST9la5HlV_24Q-PT1GRlCBOcCUssYbgjDiiC4ANZ27ciXYwxodFrx-sDVzL3qTSd2MC8ifuPIQcRIjZQ35h-B_WyPdHjwoFRsy1rSfTAcTZqR5SPFS5DUeLTWX-7zEQcxKLcGiRQbSBtQ0cCrGXNXPql9Z2eCnhoezBKFyj_Xfeg0CC8JXMrG5s1t&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;243&quot; data-original-width=&quot;975&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhFe95ST9la5HlV_24Q-PT1GRlCBOcCUssYbgjDiiC4ANZ27ciXYwxodFrx-sDVzL3qTSd2MC8ifuPIQcRIjZQ35h-B_WyPdHjwoFRsy1rSfTAcTZqR5SPFS5DUeLTWX-7zEQcxKLcGiRQbSBtQ0cCrGXNXPql9Z2eCnhoezBKFyj_Xfeg0CC8JXMrG5s1t=w640-h160&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 8-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Deleting from the CDC_TAB
table, for instance&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;To observe what
occurs in the dbo_CDC_TAB_CT table, let&#39;s remove one record from the CDC_TAB.
In order to remove the CDC_TAB with ID number three, please run the SQL
statement below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;DELETE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; CDC_TAB &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; ID &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; 7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhFNfMIgZAqkLdDzO_w82Ajr4qQk0QKD53skb_BSnK9Nn7vfVF9EZIOan7v1Qc5jzEan0hdkljvesQmb1RG17HKGEqdJK3zVhUaLH4RL6BzgR2GjKGGtGmoekRjNTk44xC6c3dw2uS7XJ4jZ1O-mVsauFW4hJfv8QJbbios7sot4_V8ls_24Qe6wEl2sVHl&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;335&quot; data-original-width=&quot;823&quot; height=&quot;163&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhFNfMIgZAqkLdDzO_w82Ajr4qQk0QKD53skb_BSnK9Nn7vfVF9EZIOan7v1Qc5jzEan0hdkljvesQmb1RG17HKGEqdJK3zVhUaLH4RL6BzgR2GjKGGtGmoekRjNTk44xC6c3dw2uS7XJ4jZ1O-mVsauFW4hJfv8QJbbios7sot4_V8ls_24Qe6wEl2sVHl=w400-h163&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Please review the
dbo_CDC_TAB_CT table as indicated below after deleting the CDC_TAB. It creates
a single record for the removed CDC_TAB, as you can see.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg_F9m0Pw-GU4KAJ0z_ovhSlBFn4DQzCmJ7yVmYI_Igvl1huD2hv61CNt1rs6aJ8jUcEUf96S_Row0-ScWLx8USWS5YI2NwyNuYSIVhi8TACrCHB3lhnyV_Tph-1yo3KQ-_vgVrQDYr6tjCWP8MjL9LJx0Cz8CTO__qLRrXQQsGBJrmduY7rxs5BZxEuxQI&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;96&quot; data-original-width=&quot;975&quot; height=&quot;64&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg_F9m0Pw-GU4KAJ0z_ovhSlBFn4DQzCmJ7yVmYI_Igvl1huD2hv61CNt1rs6aJ8jUcEUf96S_Row0-ScWLx8USWS5YI2NwyNuYSIVhi8TACrCHB3lhnyV_Tph-1yo3KQ-_vgVrQDYr6tjCWP8MjL9LJx0Cz8CTO__qLRrXQQsGBJrmduY7rxs5BZxEuxQI=w640-h64&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 9-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Example: Inserting
into the CDC_TAB table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Let&#39;s add one record
to the CDC_TAB &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;INSERT&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;INTO&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; CDC_TAB &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;VALUES &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;&#39;Yash&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;&#39;meerut&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; 900000&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEichoZn-YvyNZzcE0FxHlMGxX6rShWXRQ32DA4-eAbv9letgvYT-RH1GcckGY3SqBRTYyWtgq7OtRGkKh_Y6LhFej4t2oHz-3DRLzeee_lGzH4cv3uh47-y50tKsJ_ayDl7YoBIv0JOTDzbcRrrDFlm70IsIDstYGgIXDH8gWChITx9YcLg8O_MU0Q1PORZ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;259&quot; data-original-width=&quot;811&quot; height=&quot;203&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEichoZn-YvyNZzcE0FxHlMGxX6rShWXRQ32DA4-eAbv9letgvYT-RH1GcckGY3SqBRTYyWtgq7OtRGkKh_Y6LhFej4t2oHz-3DRLzeee_lGzH4cv3uh47-y50tKsJ_ayDl7YoBIv0JOTDzbcRrrDFlm70IsIDstYGgIXDH8gWChITx9YcLg8O_MU0Q1PORZ=w640-h203&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjRdk8Qd4E-rtvhlpatH9Iy6ofb7etlXKm0qmkRXZZ93bp_cqVC8VpMDlFxMD-JCMq0aHzOMKXU84jeVUxBgP3xRat_7pMrdhLBUgctldXo2WY7LnBTx7_bMqDvRQGYqljo0jsfjYQ1mMkNVxQY421bHm0YsbIbcvlzUzjH991YnDu4teDeHAqmGPsX0z2-&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;129&quot; data-original-width=&quot;975&quot; height=&quot;84&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjRdk8Qd4E-rtvhlpatH9Iy6ofb7etlXKm0qmkRXZZ93bp_cqVC8VpMDlFxMD-JCMq0aHzOMKXU84jeVUxBgP3xRat_7pMrdhLBUgctldXo2WY7LnBTx7_bMqDvRQGYqljo0jsfjYQ1mMkNVxQY421bHm0YsbIbcvlzUzjH991YnDu4teDeHAqmGPsX0z2-=w640-h84&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 10 –&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Identify which row
is utilized for what type of activity.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;The operation column
can take one of four values (1, 2, 3, or 4), and we&#39;ll look at what each means.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Delete Statement = 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Insert Statement = 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Value before update statement = 3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Value after update statement = 4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiKz3Mao6jgCWnwwPaZiw6bezFWmAVLM8lkpvEK2fGdhi2RYgNK9TX67jetG_-TRx0MUyXN2rvqtvlLQa5c21bqXIFeUfJU5021ENb_splR9QH9KAn_4hptWNHpwSEmYBXuEBkTZ_5hla4YITbX9Yh5m9zkrBx5kxzOsKJZPe-cZz5SXTPvbnn7EVeSq0be&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;137&quot; data-original-width=&quot;975&quot; height=&quot;90&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiKz3Mao6jgCWnwwPaZiw6bezFWmAVLM8lkpvEK2fGdhi2RYgNK9TX67jetG_-TRx0MUyXN2rvqtvlLQa5c21bqXIFeUfJU5021ENb_splR9QH9KAn_4hptWNHpwSEmYBXuEBkTZ_5hla4YITbX9Yh5m9zkrBx5kxzOsKJZPe-cZz5SXTPvbnn7EVeSq0be=w640-h90&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Step 11-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;To Disabled CDC Database Level and
table level&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EXECUTE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sp_cdc_disable_db&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjDfUZUGgyKDUNmF82H7cVvEbtVFGbejjcjXULV3EmzoP0zwZMi_e3pdz2jLFwVnrMENxeEbr7SHhpXS3Jyo4BIudf4d19Td9VeLRhmV-CvB2z69WRHTrWapAI9GzB1WJk4Jn1W6tzTzjcBPyxNmfglsMrMYlcr2Uqyf0n_gD38n1oUz1rXcpKWY1AhBWQj&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;261&quot; data-original-width=&quot;720&quot; height=&quot;116&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjDfUZUGgyKDUNmF82H7cVvEbtVFGbejjcjXULV3EmzoP0zwZMi_e3pdz2jLFwVnrMENxeEbr7SHhpXS3Jyo4BIudf4d19Td9VeLRhmV-CvB2z69WRHTrWapAI9GzB1WJk4Jn1W6tzTzjcBPyxNmfglsMrMYlcr2Uqyf0n_gD38n1oUz1rXcpKWY1AhBWQj&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;EXEC&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sp_cdc_disable_table&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;@source_schema &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;dbo&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @source_name&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;CDC_TAB&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @capture_instance &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;all&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgK5PAF52oOmduG2CF3WYXK926gVQBvn1D83Jsnu4TKyYVHYEKMYdZJ_lAXypZ24EI2Tv4hJ1JWXmykbgvwuqPJqviLXVoYJi9LKfD6h73G7PB-am6_RSFwbGG_STaxpXcgBPOegPXlJnLWj0mzmKBe4qj6FQpfsEFMQ6EpBMOFWde3-Pgkolxd6SXUkOD-&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;339&quot; data-original-width=&quot;766&quot; height=&quot;142&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgK5PAF52oOmduG2CF3WYXK926gVQBvn1D83Jsnu4TKyYVHYEKMYdZJ_lAXypZ24EI2Tv4hJ1JWXmykbgvwuqPJqviLXVoYJi9LKfD6h73G7PB-am6_RSFwbGG_STaxpXcgBPOegPXlJnLWj0mzmKBe4qj6FQpfsEFMQ6EpBMOFWde3-Pgkolxd6SXUkOD-&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Advantages and Disadvantages-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Advantages of CDC in SQL Server-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Efficient Change Tracking-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;CDC provides an efficient mechanism for tracking changes to
data without the need for manual triggers or logging mechanisms.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;It captures changes at the database level, making it
suitable for scenarios where detailed change history is required.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Minimized Performance Impact-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;CDC is designed to have minimal impact on the performance of the
database system.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;It uses log-based change tracking, ensuring that changes are
captured without affecting the operational performance of the database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Support for ETL Processes-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;CDC is often used in conjunction with Extract, Transform,
Load (ETL) processes to identify and replicate changes to data between systems.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;ETL processes can use CDC to efficiently identify and
process only the changed data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Built-in Change Tables-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;CDC automatically creates change tables to store the
historical changes, making it easy to query and analyze the historical data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Integration with Replication-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;CDC can be integrated with transactional replication to
efficiently replicate changes to other databases or servers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Disadvantages of CDC in SQL Server-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Configuration Complexity-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Setting up and configuring CDC can be complex, especially
for users who are not familiar with the feature.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;It requires specific permissions and steps to enable CDC on
databases and tables.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Maintenance Overhead-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Change tables can grow in size over time, leading to
increased storage requirements.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Regular maintenance is required to manage and clean up
change tables, which may add administrative overhead.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Limited to Certain Editions-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;CDC is not available in all editions of SQL Server. For
example, it&#39;s not available in the Express edition, which may limit its use in
certain environments.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Lack of Granular Control-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;CDC operates at the database and table level, which means
that it may capture more data than necessary in certain scenarios.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;There is limited control over which specific columns or
types of changes to capture.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16.0pt;&quot;&gt;Increased Storage Requirements-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;The change tables can consume additional storage space,
especially in scenarios where there are frequent and significant changes to the
data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;In summary, CDC is a powerful feature for tracking changes
in SQL Server, especially in scenarios where a comprehensive change history is
required. However, its implementation should be carefully considered based on
the specific requirements and constraints of the environment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;That covers everything regarding the CDC.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/5405809492710160442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/01/cdc-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/5405809492710160442'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/5405809492710160442'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/01/cdc-in-sql-server.html' title='CDC in SQL Server'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjiQUpoesi90273aDo-J75-WUoAFRNt2uBfWaXt3jK5-dYDkxIFVKfnI0w6Gklb6XTkjQKzlxSl8nSy9VbYLWAcOtRBTzYx4ckCMapScN3UEs7Gpnv9I_1AofxEbOqta05N-qfl_VfqHYFVpSAvLNIuAJNUML5DVmT403zkFot-TiXxwIs6_7iOnhRa0eaj=s72-w400-h196-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-806616588827875622</id><published>2024-01-22T22:54:00.001+05:30</published><updated>2024-01-22T22:54:59.784+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle L1"/><title type='text'>Materialized Views in Oracle </title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: #992211; font-size: 13.5pt;&quot;&gt;Materialized Views in Oracle&amp;nbsp;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;A materialized view,
or snapshot as they were previously known, is a table segment whose contents
are periodically refreshed based on a query, either against a local or remote
table.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhgm4yupvxvzhmTTUDAivxIJyJYscedD-kHGMADV8P2jNtUYYtruCZYHUO5VRRBodvrL37mEZNkyM9ZFOji8qaQihv8q9jQjGqOHLY5B0OtE4u3dP9_m6KXYn1rS7X1lFGHS0yWc6Sx2T7hQlngM2FeXZVX31jbfZWiQQM4JvohkSCEcL85sGYq-pzTKWvI&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;371&quot; data-original-width=&quot;975&quot; height=&quot;153&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhgm4yupvxvzhmTTUDAivxIJyJYscedD-kHGMADV8P2jNtUYYtruCZYHUO5VRRBodvrL37mEZNkyM9ZFOji8qaQihv8q9jQjGqOHLY5B0OtE4u3dP9_m6KXYn1rS7X1lFGHS0yWc6Sx2T7hQlngM2FeXZVX31jbfZWiQQM4JvohkSCEcL85sGYq-pzTKWvI=w400-h153&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Basic Syntax-&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin-top: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{a6674aab-dbf9-44d9-98e7-0f50029e7403}{231}&quot; paraid=&quot;1738494252&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;The full syntax description for the&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;a href=&quot;http://docs.oracle.com/cd/E11882_01/server.112/e41084/statements_6002.htm&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #333333; text-decoration-line: none;&quot;&gt;&lt;span data-ccp-charstyle=&quot;Hyperlink&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;CREATE MATERIALIZED VIEW&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Aldhabi; font-size: 14pt;&quot;&gt;command is available in the documentation. Here we will only concern ourselves with the basics.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; paraeid=&quot;{a6674aab-dbf9-44d9-98e7-0f50029e7403}{242}&quot; paraid=&quot;857907914&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin-top: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle-defn=&quot;{&amp;quot;ObjectId&amp;quot;:&amp;quot;eb615885-c7b0-4f6c-bf18-770d3ee8820a|56&amp;quot;,&amp;quot;ClassId&amp;quot;:1073872969,&amp;quot;Properties&amp;quot;:[469775450,&amp;quot;selectable-text1&amp;quot;,201340122,&amp;quot;1&amp;quot;,134233614,&amp;quot;true&amp;quot;,469778129,&amp;quot;selectable-text1&amp;quot;,335572020,&amp;quot;1&amp;quot;,469778324,&amp;quot;Default Paragraph Font&amp;quot;]}&quot; data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;
--Normal&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; paraeid=&quot;{a6674aab-dbf9-44d9-98e7-0f50029e7403}{242}&quot; paraid=&quot;857907914&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin-top: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle-defn=&quot;{&amp;quot;ObjectId&amp;quot;:&amp;quot;eb615885-c7b0-4f6c-bf18-770d3ee8820a|56&amp;quot;,&amp;quot;ClassId&amp;quot;:1073872969,&amp;quot;Properties&amp;quot;:[469775450,&amp;quot;selectable-text1&amp;quot;,201340122,&amp;quot;1&amp;quot;,134233614,&amp;quot;true&amp;quot;,469778129,&amp;quot;selectable-text1&amp;quot;,335572020,&amp;quot;1&amp;quot;,469778324,&amp;quot;Default Paragraph Font&amp;quot;]}&quot; data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{a6674aab-dbf9-44d9-98e7-0f50029e7403}{248}&quot; paraid=&quot;787268388&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;CREATE MATERIALIZED VIEW view-name&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{a6674aab-dbf9-44d9-98e7-0f50029e7403}{254}&quot; paraid=&quot;722746375&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;BUILD [IMMEDIATE | DEFERRED]&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{5}&quot; paraid=&quot;970782457&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;REFRESH [FAST | COMPLETE | FORCE ]&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{13}&quot; paraid=&quot;736651350&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;ON [COMMIT | DEMAND]&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{21}&quot; paraid=&quot;1629158908&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;[[ENABLE | DISABLE] QUERY REWRITE]&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{27}&quot; paraid=&quot;95333453&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;AS&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{33}&quot; paraid=&quot;1613367715&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;SELECT ...;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{33}&quot; paraid=&quot;1613367715&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt; font-variant-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{33}&quot; paraid=&quot;1613367715&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt; font-variant-ligatures: none;&quot;&gt;-- Pre-Built&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{33}&quot; paraid=&quot;1613367715&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi; font-size: 16pt; font-variant-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{49}&quot; paraid=&quot;2094167285&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;CREATE MATERIALIZED VIEW view-name&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none;&quot;&gt;ON PREBUILT TABLE&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{61}&quot; paraid=&quot;2117959585&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;REFRESH [FAST | COMPLETE | FORCE ]&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{69}&quot; paraid=&quot;545295760&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;ON [COMMIT | DEMAND]&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{77}&quot; paraid=&quot;1987635218&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;[[ENABLE | DISABLE] QUERY REWRITE]&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{83}&quot; paraid=&quot;1317422973&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;AS&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{89}&quot; paraid=&quot;1108144990&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-charstyle=&quot;selectable-text1&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;SELECT ...;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{95}&quot; paraid=&quot;1571515515&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span class=&quot;eop&quot;&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt;&quot;&gt;&lt;/span&gt;&lt;span data-ccp-props=&quot;{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:200,&amp;quot;335559740&amp;quot;:276}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{99}&quot; paraid=&quot;1893435895&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;The&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;BUILD&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;clause options are shown below.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{99}&quot; paraid=&quot;1893435895&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{109}&quot; paraid=&quot;855684853&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span background-position-x:0=&quot;&quot; background-position-y:100=&quot;&quot; base64=&quot;&quot; border-bottom:transparent=&quot;&quot; ciagica8l2c=&quot;&quot; ciagica8zybpzd0iz3jhbw1hcl9kb3vibgvfbgluzsigc3ryb2tlpsjub25liibzdhjva2utd2lkdgg9ijeiigzpbgw9im5vbmuiigzpbgwtcnvszt0izxzlbm9kzcigc3ryb2tllwxpbmvjyxa9injvdw5kij4kicagicagica8zybpzd0ir3jhbw1hci1uawxllunvchkiihn0cm9rzt0iizmzntvgrii=&quot;&quot; ciagicagicagicagidxwyxroigq9ik0wldaunsbmnswwljuiiglkpsjmaw5lltitq29wes0xmci=&quot;&quot; cjwvc3znpg=&quot;=&#39;));&quot; data:image=&quot;&quot; pc9wyxropgogicagicagicagica8cgf0acbkpsjnmcwyljugtdusmi41iibpzd0itgluzs0ylunvchktmteipjwvcgf0ad4kicagicagica8l2c=&quot;&quot; pd94bwwgdmvyc2lvbj0ims4wiiblbmnvzgluzz0ivvrgltgipz4kphn2zyb3awr0ad0inxb4iibozwlnahq9ijnwecigdmlld0jved0imcawidugmyigdmvyc2lvbj0ims4xiib4bwxucz0iahr0cdovl3d3dy53my5vcmcvmjawmc9zdmciihhtbg5zonhsaw5rpsjodhrwoi8vd3d3lnczlm9yzy8xotk5l3hsaw5rij4kicagidwhls0gr2vuzxjhdg9yoibta2v0y2ggntuumiaonzgxodepic0gahr0chm6ly9za2v0y2hhchauy29tic0tpgogicagphrpdgxlpmdyyw1tyxjfzg91ymxlx2xpbmu8l3rpdgxlpgogicagpgrlc2m=&quot;&quot; q3jlyxrlzcb3axroifnrzxrjac48l2rlc2m=&quot;&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlContextualSpellingAndGrammarErrorV2, url(; user-select: text;&quot; svg=&quot;&quot; xml=&quot;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;IMMEDIATE-
&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;The materialized view is populated immediately.&lt;/span&gt;&lt;span class=&quot;eop&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #212529;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;eop&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #212529;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;eop&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #212529;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{118}&quot; paraid=&quot;932706654&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span background-position-x:0=&quot;&quot; background-position-y:100=&quot;&quot; base64=&quot;&quot; border-bottom:transparent=&quot;&quot; ciagica8l2c=&quot;&quot; ciagica8zybpzd0iz3jhbw1hcl9kb3vibgvfbgluzsigc3ryb2tlpsjub25liibzdhjva2utd2lkdgg9ijeiigzpbgw9im5vbmuiigzpbgwtcnvszt0izxzlbm9kzcigc3ryb2tllwxpbmvjyxa9injvdw5kij4kicagicagica8zybpzd0ir3jhbw1hci1uawxllunvchkiihn0cm9rzt0iizmzntvgrii=&quot;&quot; ciagicagicagicagidxwyxroigq9ik0wldaunsbmnswwljuiiglkpsjmaw5lltitq29wes0xmci=&quot;&quot; cjwvc3znpg=&quot;=&#39;));&quot; data:image=&quot;&quot; pc9wyxropgogicagicagicagica8cgf0acbkpsjnmcwyljugtdusmi41iibpzd0itgluzs0ylunvchktmteipjwvcgf0ad4kicagicagica8l2c=&quot;&quot; pd94bwwgdmvyc2lvbj0ims4wiiblbmnvzgluzz0ivvrgltgipz4kphn2zyb3awr0ad0inxb4iibozwlnahq9ijnwecigdmlld0jved0imcawidugmyigdmvyc2lvbj0ims4xiib4bwxucz0iahr0cdovl3d3dy53my5vcmcvmjawmc9zdmciihhtbg5zonhsaw5rpsjodhrwoi8vd3d3lnczlm9yzy8xotk5l3hsaw5rij4kicagidwhls0gr2vuzxjhdg9yoibta2v0y2ggntuumiaonzgxodepic0gahr0chm6ly9za2v0y2hhchauy29tic0tpgogicagphrpdgxlpmdyyw1tyxjfzg91ymxlx2xpbmu8l3rpdgxlpgogicagpgrlc2m=&quot;&quot; q3jlyxrlzcb3axroifnrzxrjac48l2rlc2m=&quot;&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlContextualSpellingAndGrammarErrorV2, url(; user-select: text;&quot; svg=&quot;&quot; xml=&quot;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;DEFERRED-
&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;The materialized view is populated on the
first requested refresh.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{127}&quot; paraid=&quot;728568559&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;The following refresh types are available.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{127}&quot; paraid=&quot;728568559&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{133}&quot; paraid=&quot;1119959619&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span background-position-x:0=&quot;&quot; background-position-y:100=&quot;&quot; base64=&quot;&quot; border-bottom:transparent=&quot;&quot; ciagica8l2c=&quot;&quot; ciagica8zybpzd0iz3jhbw1hcl9kb3vibgvfbgluzsigc3ryb2tlpsjub25liibzdhjva2utd2lkdgg9ijeiigzpbgw9im5vbmuiigzpbgwtcnvszt0izxzlbm9kzcigc3ryb2tllwxpbmvjyxa9injvdw5kij4kicagicagica8zybpzd0ir3jhbw1hci1uawxllunvchkiihn0cm9rzt0iizmzntvgrii=&quot;&quot; ciagicagicagicagidxwyxroigq9ik0wldaunsbmnswwljuiiglkpsjmaw5lltitq29wes0xmci=&quot;&quot; cjwvc3znpg=&quot;=&#39;));&quot; data:image=&quot;&quot; pc9wyxropgogicagicagicagica8cgf0acbkpsjnmcwyljugtdusmi41iibpzd0itgluzs0ylunvchktmteipjwvcgf0ad4kicagicagica8l2c=&quot;&quot; pd94bwwgdmvyc2lvbj0ims4wiiblbmnvzgluzz0ivvrgltgipz4kphn2zyb3awr0ad0inxb4iibozwlnahq9ijnwecigdmlld0jved0imcawidugmyigdmvyc2lvbj0ims4xiib4bwxucz0iahr0cdovl3d3dy53my5vcmcvmjawmc9zdmciihhtbg5zonhsaw5rpsjodhrwoi8vd3d3lnczlm9yzy8xotk5l3hsaw5rij4kicagidwhls0gr2vuzxjhdg9yoibta2v0y2ggntuumiaonzgxodepic0gahr0chm6ly9za2v0y2hhchauy29tic0tpgogicagphrpdgxlpmdyyw1tyxjfzg91ymxlx2xpbmu8l3rpdgxlpgogicagpgrlc2m=&quot;&quot; q3jlyxrlzcb3axroifnrzxrjac48l2rlc2m=&quot;&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlContextualSpellingAndGrammarErrorV2, url(; user-select: text;&quot; svg=&quot;&quot; xml=&quot;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;FAST-
&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;A fast refresh is attempted. If materialized view logs are not
present against the source tables in advance, the creation fails.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{142}&quot; paraid=&quot;1328105594&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span background-position-x:0=&quot;&quot; background-position-y:100=&quot;&quot; base64=&quot;&quot; border-bottom:transparent=&quot;&quot; ciagica8l2c=&quot;&quot; ciagica8zybpzd0iz3jhbw1hcl9kb3vibgvfbgluzsigc3ryb2tlpsjub25liibzdhjva2utd2lkdgg9ijeiigzpbgw9im5vbmuiigzpbgwtcnvszt0izxzlbm9kzcigc3ryb2tllwxpbmvjyxa9injvdw5kij4kicagicagica8zybpzd0ir3jhbw1hci1uawxllunvchkiihn0cm9rzt0iizmzntvgrii=&quot;&quot; ciagicagicagicagidxwyxroigq9ik0wldaunsbmnswwljuiiglkpsjmaw5lltitq29wes0xmci=&quot;&quot; cjwvc3znpg=&quot;=&#39;));&quot; data:image=&quot;&quot; pc9wyxropgogicagicagicagica8cgf0acbkpsjnmcwyljugtdusmi41iibpzd0itgluzs0ylunvchktmteipjwvcgf0ad4kicagicagica8l2c=&quot;&quot; pd94bwwgdmvyc2lvbj0ims4wiiblbmnvzgluzz0ivvrgltgipz4kphn2zyb3awr0ad0inxb4iibozwlnahq9ijnwecigdmlld0jved0imcawidugmyigdmvyc2lvbj0ims4xiib4bwxucz0iahr0cdovl3d3dy53my5vcmcvmjawmc9zdmciihhtbg5zonhsaw5rpsjodhrwoi8vd3d3lnczlm9yzy8xotk5l3hsaw5rij4kicagidwhls0gr2vuzxjhdg9yoibta2v0y2ggntuumiaonzgxodepic0gahr0chm6ly9za2v0y2hhchauy29tic0tpgogicagphrpdgxlpmdyyw1tyxjfzg91ymxlx2xpbmu8l3rpdgxlpgogicagpgrlc2m=&quot;&quot; q3jlyxrlzcb3axroifnrzxrjac48l2rlc2m=&quot;&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlContextualSpellingAndGrammarErrorV2, url(; user-select: text;&quot; svg=&quot;&quot; xml=&quot;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;COMPLETE-
&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;The table segment supporting the materialized view is truncated
and repopulated completely using the associated query.&lt;/span&gt;&lt;span class=&quot;eop&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #212529;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;eop&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #212529;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;eop&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #212529;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{151}&quot; paraid=&quot;734023062&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span background-position-x:0=&quot;&quot; background-position-y:100=&quot;&quot; base64=&quot;&quot; border-bottom:transparent=&quot;&quot; ciagica8l2c=&quot;&quot; ciagica8zybpzd0iz3jhbw1hcl9kb3vibgvfbgluzsigc3ryb2tlpsjub25liibzdhjva2utd2lkdgg9ijeiigzpbgw9im5vbmuiigzpbgwtcnvszt0izxzlbm9kzcigc3ryb2tllwxpbmvjyxa9injvdw5kij4kicagicagica8zybpzd0ir3jhbw1hci1uawxllunvchkiihn0cm9rzt0iizmzntvgrii=&quot;&quot; ciagicagicagicagidxwyxroigq9ik0wldaunsbmnswwljuiiglkpsjmaw5lltitq29wes0xmci=&quot;&quot; cjwvc3znpg=&quot;=&#39;));&quot; data:image=&quot;&quot; pc9wyxropgogicagicagicagica8cgf0acbkpsjnmcwyljugtdusmi41iibpzd0itgluzs0ylunvchktmteipjwvcgf0ad4kicagicagica8l2c=&quot;&quot; pd94bwwgdmvyc2lvbj0ims4wiiblbmnvzgluzz0ivvrgltgipz4kphn2zyb3awr0ad0inxb4iibozwlnahq9ijnwecigdmlld0jved0imcawidugmyigdmvyc2lvbj0ims4xiib4bwxucz0iahr0cdovl3d3dy53my5vcmcvmjawmc9zdmciihhtbg5zonhsaw5rpsjodhrwoi8vd3d3lnczlm9yzy8xotk5l3hsaw5rij4kicagidwhls0gr2vuzxjhdg9yoibta2v0y2ggntuumiaonzgxodepic0gahr0chm6ly9za2v0y2hhchauy29tic0tpgogicagphrpdgxlpmdyyw1tyxjfzg91ymxlx2xpbmu8l3rpdgxlpgogicagpgrlc2m=&quot;&quot; q3jlyxrlzcb3axroifnrzxrjac48l2rlc2m=&quot;&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-image: var(--urlContextualSpellingAndGrammarErrorV2, url(; user-select: text;&quot; svg=&quot;&quot; xml=&quot;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;FORCE-
&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;A fast refresh is
attempted. If one is not possible a complete refresh is performed.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{160}&quot; paraid=&quot;1897905767&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;A refresh can be triggered in one of two ways.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{160}&quot; paraid=&quot;1897905767&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{160}&quot; paraid=&quot;1897905767&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{166}&quot; paraid=&quot;656745396&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;ON COMMIT –&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{166}&quot; paraid=&quot;656745396&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;The refresh is triggered by a committed data change in one of
the dependent tables.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;eop&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #212529;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #212529;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;eop&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #212529;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;ON DEMAND-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;The refresh is
initiated by a manual request or a scheduled task.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{188}&quot; paraid=&quot;50685682&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;The&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;QUERY REWRITE&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;span style=&quot;font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;clause tells the optimizer if the materialized view should be &lt;/span&gt;&lt;span style=&quot;font-size: 18.6667px; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;considered. F&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;or query rewrite operations. An example of the query rewrite functionality is &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;shown below.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{188}&quot; paraid=&quot;50685682&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{202}&quot; paraid=&quot;2130590667&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;The&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;ON PREBUILT TABLE&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;span style=&quot;font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;clause tells the database to use an &lt;/span&gt;&lt;span style=&quot;font-size: 18.6667px; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;existing. &lt;/span&gt;&lt;span style=&quot;font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;table segment, which must have the same name as the materialized view and support the same column structure as the query.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{202}&quot; paraid=&quot;2130590667&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;span style=&quot;font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{212}&quot; paraid=&quot;48969615&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span class=&quot;eop&quot;&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Calibri&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt;&quot;&gt;&lt;/span&gt;&lt;span data-ccp-props=&quot;{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:200,&amp;quot;335559740&amp;quot;:276}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;font-size: 11pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p aria-level=&quot;2&quot; class=&quot;paragraph&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{216}&quot; paraid=&quot;1116860604&quot; role=&quot;heading&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;heading 2&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Check Privileges&amp;nbsp;-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{222}&quot; paraid=&quot;1194655867&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;span style=&quot;font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;Check the user &lt;/span&gt;&lt;span style=&quot;font-size: 18.6667px; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;who &lt;/span&gt;&lt;span style=&quot;font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;will own the materialized views has the correct privileges. At minimum they will require the&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;CREATE MATERIALIZED VIEW&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;privilege. If they are creating materialized views using database links, you may want to grant them&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;CREATE DATABASE LINK&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;privilege also.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{222}&quot; paraid=&quot;1194655867&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p aria-level=&quot;2&quot; class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{236}&quot; paraid=&quot;474597501&quot; role=&quot;heading&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;heading 2&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;GRANT CREATE MATERIALIZED VIEW TO username;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p aria-level=&quot;2&quot; class=&quot;MsoNoSpacing&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{242}&quot; paraid=&quot;818233426&quot; role=&quot;heading&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;heading 2&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;GRANT CREATE DATABASE LINK TO username;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p aria-level=&quot;2&quot; class=&quot;paragraph&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{248}&quot; paraid=&quot;1778755593&quot; role=&quot;heading&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span class=&quot;eop&quot;&gt;&lt;/span&gt;&lt;b&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;span data-ccp-props=&quot;{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559738&amp;quot;:0,&amp;quot;335559739&amp;quot;:0,&amp;quot;335559740&amp;quot;:276}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #4f81bd; font-size: 11pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p aria-level=&quot;2&quot; class=&quot;paragraph&quot; paraeid=&quot;{c86cf597-eb41-4d05-88e9-8f8dea2ecd51}{252}&quot; paraid=&quot;1513733091&quot; role=&quot;heading&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span class=&quot;eop&quot;&gt;&lt;/span&gt;&lt;b&gt;&lt;span face=&quot;Arial, sans-serif&quot; style=&quot;font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;span data-ccp-props=&quot;{&amp;quot;134245418&amp;quot;:true,&amp;quot;134245529&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559738&amp;quot;:0,&amp;quot;335559739&amp;quot;:0,&amp;quot;335559740&amp;quot;:276}&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #4f81bd; font-size: 11pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p aria-level=&quot;2&quot; class=&quot;paragraph&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{1}&quot; paraid=&quot;1136522027&quot; role=&quot;heading&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;heading 2&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Create Materialized View-&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p aria-level=&quot;2&quot; class=&quot;paragraph&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{1}&quot; paraid=&quot;1136522027&quot; role=&quot;heading&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;heading 2&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{7}&quot; paraid=&quot;1524555050&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Connect to the materialized view owner and create the database link and the materialized view itself.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{13}&quot; paraid=&quot;1213642792&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; outline: transparent solid 1px; user-select: text;&quot; xml:lang=&quot;EN-IN&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;CREATE MATERIALIZED VIEW A2.employee_salary_summary&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{19}&quot; paraid=&quot;345103198&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; outline: transparent solid 1px; user-select: text; white-space-collapse: preserve;&quot; xml:lang=&quot;EN-IN&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;BUILD &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;span style=&quot;font-size: 18.6667px; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;IMMEDIATE REFRESH&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; FAST ON&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{25}&quot; paraid=&quot;1462012250&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; outline: transparent solid 1px; user-select: text;&quot; xml:lang=&quot;EN-IN&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;COMMIT&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{31}&quot; paraid=&quot;480625820&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; outline: transparent solid 1px; user-select: text;&quot; xml:lang=&quot;EN-IN&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;AS&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{37}&quot; paraid=&quot;1040849586&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; outline: transparent solid 1px; user-select: text;&quot; xml:lang=&quot;EN-IN&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;SELECT employee_id, SUM(salary) as total_salary&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{53}&quot; paraid=&quot;1737554951&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; outline: transparent solid 1px; user-select: text;&quot; xml:lang=&quot;EN-IN&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;FROM A2.employees&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{59}&quot; paraid=&quot;424120720&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; outline: transparent solid 1px; user-select: text;&quot; xml:lang=&quot;EN-IN&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;GROUP BY employee_id;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{59}&quot; paraid=&quot;424120720&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; outline: transparent solid 1px; user-select: text;&quot; xml:lang=&quot;EN-IN&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; display: inline-block; user-select: text;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; cursor: move; display: inline-block; user-select: text;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEihr3BGhMKhXh8kPAt3iG26uN3TTRS6r8zjSA13f-iylDOj2LD7MrLs3J5hlX-X7VX4OTn_HqnkmHvqHlhWRrbn3-VjvDEMU1vdSUJsgUQq-ZCx_H_jGczdslO8K3VSHl0imoiws7_acAxqxnjrYJlIen4t0rWS8KqfZ5OSxDLe-99oQnC_BfedyOR0dNH_&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;356&quot; data-original-width=&quot;929&quot; height=&quot;154&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEihr3BGhMKhXh8kPAt3iG26uN3TTRS6r8zjSA13f-iylDOj2LD7MrLs3J5hlX-X7VX4OTn_HqnkmHvqHlhWRrbn3-VjvDEMU1vdSUJsgUQq-ZCx_H_jGczdslO8K3VSHl0imoiws7_acAxqxnjrYJlIen4t0rWS8KqfZ5OSxDLe-99oQnC_BfedyOR0dNH_=w400-h154&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Create Materialized View Logs-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{84}&quot; paraid=&quot;1134880218&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;span style=&quot;font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;Since a complete refresh involves truncating the materialized view segment and re-populating it &lt;/span&gt;&lt;span style=&quot;font-size: 18.6667px; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;is using&lt;/span&gt;&lt;span style=&quot;font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; the related query, it can be quite time consuming and involve a considerable amount of network traffic when performed against a remote table. To reduce the replication costs, materialized view logs can be created to capture all changes to the base table since the last refresh. This information allows a fast refresh, which only needs to apply the changes rather than a complete refresh of the materialized view.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{90}&quot; paraid=&quot;319888962&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;To take advantage of the of the fast refresh, connect to the master instance and create the
materialized view log&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{90}&quot; paraid=&quot;319888962&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{96}&quot; paraid=&quot;1936361573&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin-top: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; outline: transparent solid 1px; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;CREATE MATERIALIZED VIEW LOG ON employees;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{96}&quot; paraid=&quot;1936361573&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin-top: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; outline: transparent solid 1px; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{96}&quot; paraid=&quot;1936361573&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin-top: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; outline: transparent solid 1px; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjx1_NJknxNaaFHLY1LvEpygIpAfY2IiqiUWbwCv2R50_jR71snmerPYEGsZNoUaCva0wXC43qTfmL6qLo2FNwImzr9ZaB_eShR-uenX68zzIGIZxnQvcq4TpRW3aTTfhYyBperCySYuSW_E4ZfnQgDYHY7EuEv4p-16TfcyenzAh2VvwM-PXL1A0j7V8NW&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;139&quot; data-original-width=&quot;831&quot; height=&quot;68&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjx1_NJknxNaaFHLY1LvEpygIpAfY2IiqiUWbwCv2R50_jR71snmerPYEGsZNoUaCva0wXC43qTfmL6qLo2FNwImzr9ZaB_eShR-uenX68zzIGIZxnQvcq4TpRW3aTTfhYyBperCySYuSW_E4ZfnQgDYHY7EuEv4p-16TfcyenzAh2VvwM-PXL1A0j7V8NW=w400-h68&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;

&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Refresh Materialized Views-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; style=&quot;background: white; margin: 0in; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{113}&quot; paraid=&quot;3222468&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;If a materialized view is configured to refresh on commit, you should never need to manually refresh it, unless a rebuild is necessary. Remember, refreshing on commit is a very intensive operation for volatile base tables. It makes sense to use fast refreshes where possible.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{119}&quot; paraid=&quot;751991573&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;For on demand refreshes, you can choose to manually refresh the materialized view or refresh it as part of a refresh group.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{125}&quot; paraid=&quot;269126042&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;The following code creates a refresh group defined to refresh every minute and assigns a
materialized view to it.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{131}&quot; paraid=&quot;236243252&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Information about refresh groups and the materialize views in a refresh group can be queried from the&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;DBA_RGROUP&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;and&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;DBA_RCHILD&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;views respectively.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{145}&quot; paraid=&quot;779963208&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;A materialized view can be manually refreshed using the&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;DBMS_MVIEW&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;package.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{155}&quot; paraid=&quot;282430306&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Rather than using a refresh group, you can schedule&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;DBMS_MVIEW.REFRESH&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;called using the&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;a href=&quot;https://oracle-base.com/articles/10g/scheduler-10g&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #333333; text-decoration-line: none;&quot;&gt;&lt;span data-ccp-charstyle=&quot;Hyperlink&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;Oracle Scheduler&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{155}&quot; paraid=&quot;282430306&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p aria-level=&quot;2&quot; class=&quot;paragraph&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{170}&quot; paraid=&quot;1956331138&quot; role=&quot;heading&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;heading 2&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Cleaning Up-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{176}&quot; paraid=&quot;1539053734&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;To clean up we must remove all objects.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{182}&quot; paraid=&quot;1593341345&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;DROP MATERIALIZED VIEW your_materialized_view_name;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{192}&quot; paraid=&quot;394084490&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;DROP DATABASE LINK your_database_link_name;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{192}&quot; paraid=&quot;394084490&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;paragraph&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{202}&quot; paraid=&quot;1567187543&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin-top: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Considerations-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{202}&quot; paraid=&quot;1567187543&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; margin-top: 0in; overflow-wrap: break-word; text-align: justify; user-select: text; vertical-align: baseline; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{208}&quot; paraid=&quot;591460238&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span data-ccp-parastyle=&quot;Normal (Web)&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Before using materialized views and materialized view logs, consider the following:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{214}&quot; paraid=&quot;1837474325&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Populating a materialized view adds load to both servers involved. The source server is queried to capture the data, which is inserted into the destination server. Be sure the additional load does not adversely affect your primary system.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{214}&quot; paraid=&quot;1837474325&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{221}&quot; paraid=&quot;382934351&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Although materialized view logs improve the performance of materialized view refreshes, they do increase the work needed to perform DML on the base table. Check the additional work does not adversely affect performance on the primary system.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{228}&quot; paraid=&quot;1605662292&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;If regular refreshes are not performed, materialized view logs can grow very large, potentially reducing the performance of their maintenance and blowing tablespace limits.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{239}&quot; paraid=&quot;1130429726&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Depending on the Oracle version and the complexity of the associated query, fast refreshes may not be possible.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{246}&quot; paraid=&quot;225886766&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;When using materialized views to improve performance of transformations and aggregations &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{246}&quot; paraid=&quot;225886766&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text;&quot;&gt;&lt;span data-contrast=&quot;none&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;the&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;QUERY_REWRITE_INTEGRITY&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;and&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;QUERY_REWRITE_ENABLED&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;span style=&quot;font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;parameters must be &lt;/span&gt;&lt;span style=&quot;font-size: 18.6667px; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;set,&lt;/span&gt;&lt;span style=&quot;font-size: 14pt; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt; or the server will not be able to automatically take advantages of query rewrites. These parameters may be set in the pfile or spfile file if they are needed permanently. Later releases have them enabled by &lt;span style=&quot;font-size: 18.6667px;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; font-size: 18.6667px; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;default.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{246}&quot; paraid=&quot;225886766&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; text-align: justify; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-size: 18.6667px; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; paraeid=&quot;{35782501-9968-43e5-bf70-22fd6b693529}{246}&quot; paraid=&quot;225886766&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background: white; font-kerning: none; overflow-wrap: break-word; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-size: 18.6667px; font-variant-ligatures: none; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;--BY Tarif Ahmed&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;background: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/806616588827875622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/01/materialized-views-in-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/806616588827875622'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/806616588827875622'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/01/materialized-views-in-oracle.html' title='Materialized Views in Oracle '/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEhgm4yupvxvzhmTTUDAivxIJyJYscedD-kHGMADV8P2jNtUYYtruCZYHUO5VRRBodvrL37mEZNkyM9ZFOji8qaQihv8q9jQjGqOHLY5B0OtE4u3dP9_m6KXYn1rS7X1lFGHS0yWc6Sx2T7hQlngM2FeXZVX31jbfZWiQQM4JvohkSCEcL85sGYq-pzTKWvI=s72-w400-h153-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-5449921255130479543</id><published>2024-01-18T18:14:00.002+05:30</published><updated>2024-01-18T18:15:09.991+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle L1"/><title type='text'>Oracle Database Locking Mechanism</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: #992211; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Oracle Database Locking Mechanism&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: #992211; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;In the field&amp;nbsp;of database management, maintaining data
integrity and controlling concurrent access is paramount. Oracle Database, a
robust relational database management system, employs a sophisticated locking
mechanism to achieve these objectives. In this comprehensive guide, we delve
into the intricacies of the Oracle Database Locking Mechanism, exploring key
terms and concepts integral to its functionality.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjQ2ir5EM4O52jtiS_VWvi-VjZoShoVl9lE7LgcIclZe0v5_zyJ6iv25zEM9mRR-TxIlbTaRt92WxPZeqsOQ4dIZxzWMwdYvA2eT-FW7S8dj22vVmwVjJykYFj95oUQutkOGILpB8qxSFz9q-zcgbOL9cMaDLeelKYzFH-POjXdhRstlqc49K054uIWCpFJ&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;298&quot; data-original-width=&quot;770&quot; height=&quot;155&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjQ2ir5EM4O52jtiS_VWvi-VjZoShoVl9lE7LgcIclZe0v5_zyJ6iv25zEM9mRR-TxIlbTaRt92WxPZeqsOQ4dIZxzWMwdYvA2eT-FW7S8dj22vVmwVjJykYFj95oUQutkOGILpB8qxSFz9q-zcgbOL9cMaDLeelKYzFH-POjXdhRstlqc49K054uIWCpFJ=w400-h155&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Oracle Database:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;b&gt;&lt;u&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;color: #992211; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Oracle Database is a relational database management system
(RDBMS) developed by Oracle Corporation. It is widely used for managing and
storing data in a structured manner.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Locking Mechanism:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;In a database management system, a locking mechanism is a
mechanism that prevents multiple transactions from accessing the same data
simultaneously. It ensures data integrity and consistency by controlling access
to shared resources.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Transaction:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;A transaction in a database represents a sequence of one or
more SQL statements executed as a single unit of work. It is either completed
in its entirety or not at all to maintain the integrity of the data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Database Lock:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Definition: A database lock is a mechanism used to control
access to a database resource (e.g., a row, table, or page) to ensure that only
one transaction can modify it at a time. Locks can be shared or exclusive,
depending on the type of access required.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Concurrency Control:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Concurrency control is a mechanism that allows multiple
transactions to access the database simultaneously while maintaining data
consistency. Locking is one of the key methods used for concurrency control.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Lock Types:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Shared Lock:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;A shared lock allows multiple transactions to read a
resource simultaneously, but it prevents any of them from modifying it until
the lock is released.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Exclusive Lock:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;An exclusive lock prevents any other transaction from
accessing a resource, either for reading or writing, until the lock is
released.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Deadlock:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;A deadlock occurs when two or more transactions are unable
to proceed because each is waiting for the other to release a lock. This can
lead to a standstill in transaction processing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Oracle Lock Modes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Row-Level Locking:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Oracle supports row-level locking, allowing locks to be
applied at the granularity of individual rows.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Table-Level Locking:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Locks can also be applied at the table level, preventing
any transactions from accessing the entire table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Transaction Isolation Levels:&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Oracle supports different transaction isolation levels
(e.g., Read Committed, Serializable) that determine the visibility of
uncommitted changes to other transactions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16pt;&quot;&gt;Lock Escalation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Lock escalation is a process where a database system
automatically converts many fine-grained locks into fewer coarser-grained locks
to reduce overhead.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;In conclusion, understanding the Oracle Database Locking
Mechanism is crucial for managing concurrent transactions effectively, ensuring
data integrity, and preventing conflicts. By grasping the various lock types,
isolation levels, and mechanisms, database administrators can optimize system
performance and maintain a high level of data consistency.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/5449921255130479543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/01/oracle-database-locking-mechanism.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/5449921255130479543'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/5449921255130479543'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/01/oracle-database-locking-mechanism.html' title='Oracle Database Locking Mechanism'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjQ2ir5EM4O52jtiS_VWvi-VjZoShoVl9lE7LgcIclZe0v5_zyJ6iv25zEM9mRR-TxIlbTaRt92WxPZeqsOQ4dIZxzWMwdYvA2eT-FW7S8dj22vVmwVjJykYFj95oUQutkOGILpB8qxSFz9q-zcgbOL9cMaDLeelKYzFH-POjXdhRstlqc49K054uIWCpFJ=s72-w400-h155-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-1390413490032542533</id><published>2024-01-17T12:01:00.001+05:30</published><updated>2024-01-17T12:01:18.351+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="L1 DBA"/><title type='text'>ALL About TempDB</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: green; font-family: Consolas; text-align: justify;&quot;&gt;For TempDB&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;--Determining the amount of free space in tempdb&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;USE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;tempdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;unallocated_extent_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;[free pages]&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;unallocated_extent_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)*&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;1.0&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;128&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;[free space in
MB]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;dm_db_file_space_usage&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;--Determining the Amount of Space Used by User Objects&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;USE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;tempdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;user_object_reserved_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;[user object pages
used]&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;user_object_reserved_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)*&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;1.0&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;128&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;[user object space
in MB]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;dm_db_file_space_usage&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;use&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;tempdb&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;()&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;runtime&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,(&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;user_object_reserved_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;8&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;1024&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;usr_obj_mb&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;internal_object_reserved_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;8&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;internal_obj_kb&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,(&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;version_store_reserved_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;8&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;1024&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;version_store_mb&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,(&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;unallocated_extent_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;8&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;1024&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;freespace_mb&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,(&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;mixed_extent_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;8&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;1024&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;mixedextent_mb&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;dm_db_file_space_usage&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;use&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;tempdb&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;session_id&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;internal_objects_alloc_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;NumOfPagesAllocatedInTempDBforInternalTask&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;internal_objects_dealloc_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;NumOfPagesDellocatedInTempDBforInternalTask&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;user_objects_alloc_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;NumOfPagesAllocatedInTempDBforUserTask&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;user_objects_dealloc_page_count&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;NumOfPagesDellocatedInTempDBforUserTask&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;dm_db_task_space_usage&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;GROUP&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;BY&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;session_id&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;ORDER&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;BY&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;NumOfPagesAllocatedInTempDBforInternalTask&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;DESC&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;NumOfPagesAllocatedInTempDBforUserTask&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;DESC&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;select&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;from&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;dm_db_task_space_usage&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;select&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;*,&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;db_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;database_id&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;from&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;dm_db_session_space_usage&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,sans-serif; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Alter TempDB File Size&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;use&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;master&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;ALTER&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;DATABASE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;tempdb&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;MODIFY&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;FILE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;N&#39;tempdev&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;size&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;176080MB&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;For further information, click on the following link.&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;a href=&quot;https://clotat.blogspot.com/2020/05/all-about-tempdb.html&quot;&gt;https://clotat.blogspot.com/2020/05/all-about-tempdb.html&lt;/a&gt;&lt;/o:p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/1390413490032542533/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/01/all-about-tempdb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/1390413490032542533'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/1390413490032542533'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/01/all-about-tempdb.html' title='ALL About TempDB'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-3075782829336955224</id><published>2024-01-16T19:38:00.000+05:30</published><updated>2024-01-16T19:38:02.883+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle L1"/><title type='text'>Resource Manager and Task Schedular</title><content type='html'>&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Resource Manager and Task Schedular-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 16.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;In Oracle Database, the Resource
Manager is a feature that allows you to manage and allocate resources among
different users and applications. It enables you to control the number of
resources (CPU, memory, and parallel execution servers) consumed by database
sessions and helps in preventing runaway queries or resource-intensive
operations from adversely impacting the overall performance of the database.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Key features and components of Oracle
Resource Manager include:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Consumer Groups:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Resource Manager organizes database
sessions into &quot;consumer groups.&quot; Each consumer group represents a
category of users or applications that share similar resource requirements.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Resource Plans:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Resource plans are a set of rules that
define how resources should be allocated among different consumer groups. They
specify the resource allocation policies, priorities, and limits for each
group.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Directive and Consumer
Group Mapping:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Directives are rules defined within a
resource plan that specify how resources should be allocated to consumer
groups. These directives may include rules for CPU usage, parallel execution
servers, and other resources.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Consumer Group Mapping associates
database sessions with specific consumer groups.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Parallel Degree Limits:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Resource Manager allows you to set
limits on the degree of parallelism for specific operations. This helps in
controlling the parallel execution of queries to prevent excessive parallelism.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; paraeid=&quot;{2ca7b47b-2579-4231-9e0e-4015cde9ffb4}{227}&quot; paraid=&quot;834376611&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-kerning: none; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; overflow-wrap: break-word; text-align: justify; user-select: text; white-space: pre-wrap;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none !important; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Sub-Plan and Plan Directives:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Within a resource plan, you can define
sub-plans and plan directives to further customize resource allocation for
specific scenarios.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Automatic Consumer Group
Mapping:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; paraeid=&quot;{2ca7b47b-2579-4231-9e0e-4015cde9ffb4}{245}&quot; paraid=&quot;1877111544&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-kerning: none; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; overflow-wrap: break-word; text-align: justify; user-select: text; white-space: pre-wrap;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none !important; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Oracle Database can automatically map sessions to consumer groups based on user attributes, application attributes, or other criteria defined by the database administrator.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; paraeid=&quot;{2ca7b47b-2579-4231-9e0e-4015cde9ffb4}{251}&quot; paraid=&quot;2028678514&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-kerning: none; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; overflow-wrap: break-word; text-align: justify; user-select: text; white-space: pre-wrap;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none !important; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Monitoring and Statistics:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Resource Manager provides monitoring
views and statistics to track resource usage, plan effectiveness, and other
relevant metrics.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; paraeid=&quot;{82beaa83-f23f-4aad-9b88-a88971a3d2e0}{8}&quot; paraid=&quot;1848137834&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-kerning: none; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; overflow-wrap: break-word; text-align: justify; user-select: text; white-space: pre-wrap;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none !important; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Here&#39;s a simple example of creating a basic resource plan with Oracle Resource
Manager:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; paraeid=&quot;{82beaa83-f23f-4aad-9b88-a88971a3d2e0}{8}&quot; paraid=&quot;1848137834&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-kerning: none; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; overflow-wrap: break-word; text-align: justify; user-select: text; white-space: pre-wrap;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none !important; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;-- Create a simple resource plan&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;BEGIN&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; paraeid=&quot;{82beaa83-f23f-4aad-9b88-a88971a3d2e0}{26}&quot; paraid=&quot;1970974564&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-kerning: none; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; overflow-wrap: break-word; text-align: justify; user-select: text; white-space: pre-wrap;&quot;&gt;&lt;span data-contrast=&quot;auto&quot; style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-variant-ligatures: none !important; user-select: text;&quot; xml:lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; user-select: text;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;DBMS_RESOURCE_MANAGER.create_pending_area();&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;DBMS_RESOURCE_MANAGER.create_consumer_group(&#39;low_priority&#39;);&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;DBMS_RESOURCE_MANAGER.create_consumer_group(&#39;high_priority&#39;);&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;DBMS_RESOURCE_MANAGER.create_plan(&#39;my_plan&#39;);&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;DBMS_RESOURCE_MANAGER.create_plan_directive(&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;plan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
=&amp;gt; &#39;my_plan&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;group_or_subplan&amp;nbsp;&amp;nbsp; =&amp;gt;
&#39;low_priority&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;switch_group&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
=&amp;gt; &#39;TRUE&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;max_utilization&amp;nbsp;&amp;nbsp;&amp;nbsp;
=&amp;gt; 40);&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;DBMS_RESOURCE_MANAGER.create_plan_directive(&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;plan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
=&amp;gt; &#39;my_plan&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;group_or_subplan&amp;nbsp;&amp;nbsp; =&amp;gt;
&#39;high_priority&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;switch_group&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
=&amp;gt; &#39;TRUE&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;max_utilization&amp;nbsp;&amp;nbsp;&amp;nbsp;
=&amp;gt; 60);&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;DBMS_RESOURCE_MANAGER.submit_pending_area();&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;END;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;/&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;In this example, a resource plan named
&#39;my_plan&#39; is created with two consumer groups (&#39;low_priority&#39; and
&#39;high_priority&#39;). Directives are then defined to allocate resources based on
the maximum utilization for each consumer group.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Resource Manager is a powerful tool
for managing the performance of a multi-user Oracle Database by ensuring that
resources are allocated in a controlled and predictable manner. It is
particularly useful in environments where there is a need to prioritize and
allocate resources among different types of workloads or users.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Task Schedular-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Ask scheduling in Oracle typically
involves using the Oracle Scheduler, a comprehensive job scheduling solution
provided by Oracle Database. The Oracle Scheduler allows you to automate and
manage various database tasks, such as running PL/SQL procedures, calling
external programs, or executing SQL scripts at specified intervals.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Here are the basic steps to
create and manage scheduled tasks in Oracle:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Create a Job:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;You can create a job using the
DBMS_SCHEDULER.CREATE_JOB procedure.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Specify the job name, job type (PL/SQL
block, stored procedure, etc.), and other relevant parameters.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;BEGIN&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp; DBMS_SCHEDULER.CREATE_JOB (&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
job_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; &#39;MY_JOB&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
job_type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; &#39;PLSQL_BLOCK&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
job_action&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; &#39;BEGIN my_procedure; END;&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
start_date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; SYSTIMESTAMP,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; repeat_interval
=&amp;gt; &#39;FREQ=DAILY; BYHOUR=0; BYMINUTE=0; BYSECOND=0&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
enabled&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; TRUE&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp; );&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;END;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;/&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Task scheduling in Oracle typically
involves using the Oracle Scheduler, a comprehensive job scheduling solution
provided by Oracle Database. The Oracle Scheduler allows you to automate and
manage various database tasks, such as running PL/SQL procedures, calling
external programs, or executing SQL scripts at specified intervals.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Here are the basic steps to create and
manage scheduled tasks in Oracle:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Create a Job:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;You can create a job using the
DBMS_SCHEDULER.CREATE_JOB procedure.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Specify the job name, job type (PL/SQL
block, stored procedure, etc.), and other relevant parameters.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;BEGIN&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp; DBMS_SCHEDULER.CREATE_JOB (&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
job_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; &#39;MY_JOB&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
job_type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; &#39;PLSQL_BLOCK&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
job_action&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; &#39;BEGIN my_procedure; END;&#39;,&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;-- Disable a job&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;BEGIN&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;
DBMS_SCHEDULER.DISABLE(&#39;MY_JOB&#39;);&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;END;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;/&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;-- Enable a job&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;BEGIN&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;
DBMS_SCHEDULER.ENABLE(&#39;MY_JOB&#39;);&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;END;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;/&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;Dropping a Job:&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;If you want to remove a job from the
scheduler, use the DBMS_SCHEDULER.DROP_JOB procedure.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;sql&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;BEGIN&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&amp;nbsp;
DBMS_SCHEDULER.DROP_JOB(&#39;MY_JOB&#39;);&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;END;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Remember to have the necessary
privileges to create and manage jobs (e.g., CREATE JOB, CREATE PROCEDURE,
CREATE ANY JOB, etc.).&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Adjust the parameters and schedule
according to your specific requirements. The provided example is a basic
illustration, and you may need to customize it based on your needs.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt;&quot;&gt;--BY Tarif Ahmed&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/3075782829336955224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/01/resource-manager-and-task-schedular.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/3075782829336955224'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/3075782829336955224'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/01/resource-manager-and-task-schedular.html' title='Resource Manager and Task Schedular'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-2929991796700675974</id><published>2024-01-11T15:53:00.000+05:30</published><updated>2024-01-11T15:53:11.683+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle L1"/><title type='text'>New Features of Oracle 19c</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;color: #992211; font-family: &amp;quot;Times New Roman&amp;quot;,serif; font-size: 13.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;New Features of Oracle 19c-&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;Oracle Database 19c refers to the 19th
version of the Oracle Database, which is a relational database management
system (RDBMS) developed and marketed by Oracle Corporation. The &quot;c&quot;
in 19c stands for &quot;Cloud,&quot; indicating Oracle&#39;s commitment to cloud
computing and cloud-based solutions. Oracle 19c is the successor to Oracle
Database 18c and comes with several new features, enhancements, and
improvements over its predecessors.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjYGX0xEFiTp2zluZqEIGdU0Q-uPKwS0a9aZcfAAjTl9Y14MUbnuUg28_pvvXhiiBtIlltI_RIRHF1mn488K7q89x5A3gApq0K7Y2USfaor1_znAswNwWNPD907gimCgnwtSTkQurOXFIYEEUkZr3jJ7z6ljz2Yh0yOYt5xz2xmp4unH0HAIpJWzKEMkJFz&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;273&quot; data-original-width=&quot;454&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjYGX0xEFiTp2zluZqEIGdU0Q-uPKwS0a9aZcfAAjTl9Y14MUbnuUg28_pvvXhiiBtIlltI_RIRHF1mn488K7q89x5A3gApq0K7Y2USfaor1_znAswNwWNPD907gimCgnwtSTkQurOXFIYEEUkZr3jJ7z6ljz2Yh0yOYt5xz2xmp4unH0HAIpJWzKEMkJFz&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Oracle Database 19c, released by
Oracle Corporation, brought several significant features and enhancements to
improve performance, manageability, and security. Here&#39;s a more detailed
explanation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Multitenant Architecture
Enhancements:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Oracle 19c focused on enhancing its
Multitenant Architecture, allowing for more efficient management and
consolidation of databases. Notable improvements included features like PDB
snapshots, hot cloning, and cross-container operations, streamlining administrative
tasks.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Automatic Indexing:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;A major highlight was the introduction
of Automatic Indexing. This feature employs machine learning algorithms to
automatically create and fine-tune indexes based on the observed workload
patterns, simplifying the database optimization process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Real-Time Statistics:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;The addition of Real-Time Statistics
aimed at improving query optimization. This feature ensures that the query
optimizer has access to the most up-to-date statistics, particularly beneficial
for partitioned tables.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;SQL Quarantine:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Oracle 19c introduced SQL Quarantine,
a feature designed to prevent the execution of SQL statements identified as
problematic. This helps safeguard the database from potential performance
issues caused by problematic queries.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;In-Memory Database
Enhancements:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Oracle Database In-Memory received
enhancements, making it more versatile for both analytics and mixed workload
environments. These improvements contributed to faster query performance and
improved overall efficiency.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Blockchain Tables:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;The introduction of Blockchain Tables
aimed at simplifying the development and management of blockchain-enabled
applications within the Oracle Database environment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Enhanced Security Features:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Security received attention with
various enhancements, including the introduction of new algorithms for
Transparent Data Encryption (TDE), improvements in Data Redaction, and better
integration with Oracle Key Vault for enhanced data protection.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;JSON Enhancements:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Oracle 19c improved support for
working with JSON data, introducing features like JSON_TRANSFORM, JSON_TABLE,
and JSON_EXISTS, making it more seamless to work with JSON documents within the
database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: Aldhabi;&quot;&gt;&lt;span style=&quot;font-size: 18.6667px;&quot;&gt;&lt;b&gt;Shading&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;&amp;nbsp;Enhancements:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Oracle &lt;/span&gt;&lt;span style=&quot;font-size: 18.6667px;&quot;&gt;Shading&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;, a feature enabling
the distribution and management of data across multiple discrete Oracle
databases, saw improvements in manageability and performance, providing a more
robust and scalable solution.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Database Replay:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;The Database Replay functionality was
enhanced, allowing for more effective testing and validation of database
changes before implementing them in a production environment, reducing the risk
of potential issues.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #cc0000; font-family: Aldhabi; font-size: 14.0pt; line-height: 115%;&quot;&gt;Machine Learning in the
Database:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Aldhabi; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Oracle 19c integrated machine learning
algorithms directly into the database. This inclusion allowed users to perform
tasks such as predictive analysis, anomaly detection, and clustering without
the need for external tools, bringing machine learning capabilities closer to
the data.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/2929991796700675974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/01/new-features-of-oracle-19c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/2929991796700675974'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/2929991796700675974'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/01/new-features-of-oracle-19c.html' title='New Features of Oracle 19c'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjYGX0xEFiTp2zluZqEIGdU0Q-uPKwS0a9aZcfAAjTl9Y14MUbnuUg28_pvvXhiiBtIlltI_RIRHF1mn488K7q89x5A3gApq0K7Y2USfaor1_znAswNwWNPD907gimCgnwtSTkQurOXFIYEEUkZr3jJ7z6ljz2Yh0yOYt5xz2xmp4unH0HAIpJWzKEMkJFz=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-6685503141418308690</id><published>2024-01-05T15:14:00.017+05:30</published><updated>2024-10-02T09:21:57.044+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="High Availability"/><title type='text'>AOAG Log Sync Analysis</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;r&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_server_name&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Replica&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;DB_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;rs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;database_id&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;database_name&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;is_primary_replica IsPrimary&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;last_received_lsn&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;last_hardened_lsn&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;last_redone_lsn&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;end_of_log_lsn&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;last_commit_lsn&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;availability_replicas&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;r&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;INNER&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;dm_hadr_database_replica_states&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;rs&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;r&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;rs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_id&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ORDER&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;BY&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;replica&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;select&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;log_reuse_wait_desc&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;from&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;databases&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;where&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;like&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&#39;DB_Name&#39;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-align: left; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi-w7XmHKm6oWpaDzL7YSoeJoscfyr0xZy55eaioErT7pLuze8ipjxijbohzj0HPLh-Ju9bhGJzawb99O27F34VvXDfC9u6t-ypkYholzpR_5jY3Bj_wqCcp_TvzKZihakNyQ_mUvTO0Yah2jIGLd8aLX-ZWQEUqiVpCq-h9_twEZCvTpevTQ1JCncovj4&quot; style=&quot;clear: left; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;201&quot; data-original-width=&quot;1140&quot; height=&quot;114&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi-w7XmHKm6oWpaDzL7YSoeJoscfyr0xZy55eaioErT7pLuze8ipjxijbohzj0HPLh-Ju9bhGJzawb99O27F34VvXDfC9u6t-ypkYholzpR_5jY3Bj_wqCcp_TvzKZihakNyQ_mUvTO0Yah2jIGLd8aLX-ZWQEUqiVpCq-h9_twEZCvTpevTQ1JCncovj4=w651-h114&quot; width=&quot;651&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-align: right; text-autospace: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp; ar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_server_name&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;as&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Replica&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; adc&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;database_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;is_local&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;is_primary_replica&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;synchronization_state_desc&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;is_commit_participant&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;synchronization_health_desc&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;recovery_lsn&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;dm_hadr_database_replica_states&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;drs&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;INNER&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;availability_databases_cluster&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;adc&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;drs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;adc&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;drs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_database_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;adc&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_database_id&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;INNER&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;availability_groups&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;drs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;INNER&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;availability_replicas&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;drs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;drs&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_id&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ORDER&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;BY&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;Replica&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEh-Cm5vWIZT62M2pRUWJ7XdzWj1jyHfpuSxtyGegrcNX4BrIsKJRcrvV_yYdCVMSHdSUm3HZsSpRiRw32ikpctJQUZ7ajBpMUcmjd32XymtAJIppT9SAw4_cgGzqqH5NUpWK-DeRy5clhiP3Neljzr6i_Owze6ZXP4iNd0Sj5tLV5dJ421UAtZ9LHvnH5A&quot; style=&quot;clear: left; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 14.85px; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;201&quot; data-original-width=&quot;1106&quot; height=&quot;119&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEh-Cm5vWIZT62M2pRUWJ7XdzWj1jyHfpuSxtyGegrcNX4BrIsKJRcrvV_yYdCVMSHdSUm3HZsSpRiRw32ikpctJQUZ7ajBpMUcmjd32XymtAJIppT9SAw4_cgGzqqH5NUpWK-DeRy5clhiP3Neljzr6i_Owze6ZXP4iNd0Sj5tLV5dJ421UAtZ9LHvnH5A=w657-h119&quot; width=&quot;657&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; font-weight: bold;&quot;&gt;Secondary replica is lagging behind the Primary replica&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_server_name&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag_replica_server&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;db_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;dr_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;database_id&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;database_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;is_ag_replica_local&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CASE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHEN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;is_local&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;1&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;THEN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;N&#39;LOCAL&#39;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ELSE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;REMOTE&#39;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;END&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;ag_replica_role&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CASE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHEN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;role_desc&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;IS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;THEN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;N&#39;DISCONNECTED&#39;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ELSE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;role_desc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;END&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;dr_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;last_hardened_lsn&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;dr_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;last_hardened_time&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;datediff&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;s&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;last_hardened_time&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;())&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;seconds behind primary&#39;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FROM&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;((&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;availability_groups&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;availability_replicas&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;dm_hadr_availability_replica_states&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar_state&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_id&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;dm_hadr_database_replica_states&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;dr_state&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;dr_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;dr_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_id&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; font-weight: bold;&quot;&gt;Status of Replica&amp;nbsp;&lt;/i&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_server_name&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag_replica_server&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;db_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;dr_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;database_id&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;database_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;is_ag_replica_local&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CASE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHEN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;is_local&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;1&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;THEN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;N&#39;LOCAL&#39;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ELSE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&#39;REMOTE&#39;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;END&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;ag_replica_role&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;CASE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;WHEN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;role_desc&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;IS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;THEN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;N&#39;DISCONNECTED&#39;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ELSE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;role_desc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;END&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;ar_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;connected_state_desc&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;availability_mode_desc&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;dr_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;synchronization_state_desc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;FROM&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;((&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;availability_groups&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;availability_replicas&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ag&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;group_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;dm_hadr_availability_replica_states&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar_state&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;ar_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;replica_id&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: lime; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;dm_hadr_database_replica_states&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;dr_state&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;ag&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;group_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;dr_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;group_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;dr_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;replica_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;&amp;nbsp;ar_state&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; line-height: 14.5667px;&quot;&gt;replica_id&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;&quot; style=&quot;background-color: white; color: #383838; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif; font-size: 19px; font-style: normal;&quot;&gt;Database Replica&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;background-color: white; color: #383838; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif; font-size: 19px;&quot;&gt;Log remaining for undo&lt;/em&gt;&lt;/b&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #383838; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;i&gt;SELECT [instance_name], [object_name],&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #383838; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;i&gt;[counter_name],&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #383838; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;i&gt;[cntr_value] FROM sys.dm_os_performance_counters&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #383838; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;i&gt;WHERE [object_name] LIKE &#39;%Database Replica%&#39;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;i style=&quot;color: #383838; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif; font-size: 19px;&quot;&gt;AND [counter_name] = &#39;Log remaining for undo&#39;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; font-weight: bold;&quot;&gt;Monitor Log Send Queue Size&amp;nbsp;&lt;/i&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #2b00fe; font-family: Consolas; font-size: 12.6667px; line-height: 14.5667px;&quot;&gt;&lt;i&gt;SELECT DB_Name(database_id) as &#39;DB_Name&#39;, log_send_queue_size, log_send_rate, redo_queue_size , redo_rate FROM sys.dm_hadr_database_replica_states&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #2b00fe; font-family: Consolas; font-size: 12.6667px; line-height: 14.5667px;&quot;&gt;&lt;i&gt;--WHERE&amp;nbsp; &amp;nbsp; is_local = 0;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;font-family: Consolas; font-size: 12.6667px;&quot;&gt;log_send_queue_size&lt;/b&gt;&lt;span style=&quot;font-family: Consolas; font-size: 12.6667px;&quot;&gt;: The amount of transaction log (in KB) that needs to be sent to the secondary replica.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&lt;b&gt;log_send_rate&lt;/b&gt;: The rate at which the transaction log is being sent to the secondary replica (in KB per second).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&lt;b&gt;redo_queue_size&lt;/b&gt;: The amount of transaction log (in KB) that needs to be redone on the secondary replica.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&lt;span style=&quot;font-family: Consolas; line-height: 14.5667px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&lt;b&gt;redo_rate&lt;/b&gt;: The rate at which the transaction log is being redone on the secondary replica (in KB per second).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 12.6667px; line-height: 14.5667px;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 12.6667px; line-height: 14.5667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 12.6667px; line-height: 14.5667px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg-ZGgnz-csKp1bH6cSIJkX0fUnRm0wOcy_eV6mD76QtKIe6oNiY30WEYDXAPvueIQ_JhvPmD3KfZF_dP7D74c9pESHEApvmjoCAm5kkaxqfgL_xDD4XE3IYaeszSmFnf0M0Sdc9ykj78-wqtotloceDPMHIGnPnC1Xf7ksPMhwyo2LZ0A4_SzAHaS4zvM&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;167&quot; data-original-width=&quot;972&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg-ZGgnz-csKp1bH6cSIJkX0fUnRm0wOcy_eV6mD76QtKIe6oNiY30WEYDXAPvueIQ_JhvPmD3KfZF_dP7D74c9pESHEApvmjoCAm5kkaxqfgL_xDD4XE3IYaeszSmFnf0M0Sdc9ykj78-wqtotloceDPMHIGnPnC1Xf7ksPMhwyo2LZ0A4_SzAHaS4zvM=s16000&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Consolas; font-size: 12.6667px; line-height: 14.5667px;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiRBR-2RllUaTt-3zA9k711RHLJd7ePbd8c5rShNC0GdQcUEfMjrJclNvKxB__j8P9GgsR4smBAS9yXF_32VfLqC-jU0kERxIxYIfU4xkzDp8-enrYR5Z2dY_Ui_XwXKoeNRkYn2uvIjt_ErCzWSSBWEn76ieihPkX8Aa2IQ8URfsBfvqjJJJazoGKdeHY&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;221&quot; data-original-width=&quot;788&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiRBR-2RllUaTt-3zA9k711RHLJd7ePbd8c5rShNC0GdQcUEfMjrJclNvKxB__j8P9GgsR4smBAS9yXF_32VfLqC-jU0kERxIxYIfU4xkzDp8-enrYR5Z2dY_Ui_XwXKoeNRkYn2uvIjt_ErCzWSSBWEn76ieihPkX8Aa2IQ8URfsBfvqjJJJazoGKdeHY=s16000&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/6685503141418308690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/01/aoag-log-sync-analysis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6685503141418308690'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6685503141418308690'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/01/aoag-log-sync-analysis.html' title='AOAG Log Sync Analysis'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEi-w7XmHKm6oWpaDzL7YSoeJoscfyr0xZy55eaioErT7pLuze8ipjxijbohzj0HPLh-Ju9bhGJzawb99O27F34VvXDfC9u6t-ypkYholzpR_5jY3Bj_wqCcp_TvzKZihakNyQ_mUvTO0Yah2jIGLd8aLX-ZWQEUqiVpCq-h9_twEZCvTpevTQ1JCncovj4=s72-w651-h114-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8590075019798060845.post-6669677241083572403</id><published>2024-01-05T15:11:00.005+05:30</published><updated>2024-12-11T17:59:27.863+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Backup and Recovery"/><title type='text'>DB Backup and Restore History</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; color: green; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt;&quot;&gt;--DB Backup History&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size: 18px; font-stretch: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-variation-settings: normal; font-weight: normal; line-height: normal; margin: 0px; position: relative;&quot;&gt;&lt;div style=&quot;border: 1pt solid rgb(136, 136, 136); mso-border-alt: solid #888888 .25pt; mso-element: para-border-div; padding: 2pt;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;CHAR&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt;&quot;&gt;SERVERPROPERTY&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&#39;Servername&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Server&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;database_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backup_start_date&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backup_finish_date&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;expiration_date&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;CASE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;..&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;WHEN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&#39;D&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;THEN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&#39;Database&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;WHEN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&#39;L&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;THEN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&#39;Log&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;WHEN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&#39;I&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;THEN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&#39;Diff&#39;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;END&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;backup_type&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backup_size&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupmediafamily&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;logical_device_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupmediafamily&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;physical_device_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;backupset_name&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;description&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupmediafamily&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;INNER&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupmediafamily&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;media_set_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;media_set_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;WHERE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;datetime&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backup_start_date&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;102&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: Consolas; font-size: 9.5pt;&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;()&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;30&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;and&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;msdb&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;backupset&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;database_name&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Consolas; font-size: 9.5pt;&quot;&gt;like&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&#39;DB_Name&#39;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;order&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;by&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;3&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;desc&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 13.5533px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 13.5533px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 13.5533px;&quot;&gt;&lt;div style=&quot;border: 1pt solid rgb(136, 136, 136); mso-border-alt: solid #888888 .25pt; mso-element: para-border-div; padding: 2pt;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: green; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; mso-ansi-language: EN-IN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;--&lt;b&gt;DB Restore History&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: grey; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;font-size: 9.5pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [rh]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[destination_database_name]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [rh]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[restore_date]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [b]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[backup_start_date]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [b]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[backup_finish_date]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [b]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[type]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [b]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[first_lsn]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [b]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[last_lsn]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [b]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[checkpoint_lsn]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [b]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[database_backup_lsn]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;[msdb]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[dbo]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[restorehistory]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;[rh]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;JOIN&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;[msdb]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[dbo]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[backupset]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;[b]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt;&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;[rh]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[backup_set_id]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;[b]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[backup_set_id]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;[rh]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[destination_database_name]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-size: 9.5pt;&quot;&gt;&#39;DB_Name&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt;&quot;&gt;ORDER&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt;&quot;&gt;BY&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;&amp;nbsp;[rh]&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-size: 9.5pt;&quot;&gt;[restore_date]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 9.5pt;&quot;&gt;DESC&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; mso-ansi-language: EN-IN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 14.85px;&quot;&gt;======================================================================================================================&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 13.5533px; mso-ansi-language: EN-IN; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: left;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; mso-ansi-language: EN-IN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none; text-align: left;&quot;&gt;--&lt;b&gt;DB Backup&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&lt;b&gt;--Full backup of DB_Name&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;BACKUP DATABASE [DB_Name] TO&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;DISK = N&#39;T:\DB_Backup\DB_Name\DB_Name_FULL_Backup_1.bak&#39;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;DISK = N&#39;T:\DB_Backup\DB_Name\DB_Name_FULL_Backup_2.bak&#39;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;DISK = N&#39;T:\DB_Backup\DB_Name\DB_Name_FULL_Backup_3.bak&#39;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;DISK = N&#39;T:\DB_Backup\DB_Name\DB_Name_FULL_Backup_4.bak&#39;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;DISK = N&#39;T:\DB_Backup\DB_Name\DB_Name_FULL_Backup_5.bak&#39;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;DISK = N&#39;T:\DB_Backup\DB_Name\DB_Name_FULL_Backup_6.bak&#39;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;DISK = N&#39;T:\DB_Backup\DB_Name\DB_Name_FULL_Backup_7.bak&#39;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;DISK = N&#39;T:\DB_Backup\DB_Name\DB_Name_FULL_Backup_8.bak&#39;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;DISK = N&#39;T:\DB_Backup\DB_Name\DB_Name_FULL_Backup_9.bak&#39;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;DISK = N&#39;T:\DB_Backup\DB_Name\DB_Name_FULL_Backup_10.bak&#39;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;WITH NOFORMAT, NOINIT,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;NAME = N&#39;DB_Name-Full Database Backup&#39;, SKIP, NOREWIND, NOUNLOAD, Compression, STATS = 1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;b style=&quot;color: blue; font-family: Consolas; font-size: 12.6667px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;b style=&quot;color: blue; font-family: Consolas; font-size: 12.6667px;&quot;&gt;--Diff backup of DB_Name&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;b style=&quot;color: blue; font-family: Consolas; font-size: 12.6667px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;border: none; line-height: normal; margin-bottom: 0cm; padding: 0cm; text-align: left;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;BACKUP DATABASE [&lt;/span&gt;&lt;span style=&quot;color: #800180; font-family: Consolas; font-size: 12.6667px;&quot;&gt;DB_Name&lt;/span&gt;&lt;span style=&quot;color: #800180;&quot;&gt;] TO&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #800180;&quot;&gt;DISK = N&#39;T:\DB_Backup\&lt;/span&gt;&lt;span style=&quot;color: #800180; font-family: Consolas; font-size: 12.6667px;&quot;&gt;DB_Name&lt;/span&gt;&lt;span style=&quot;color: #800180;&quot;&gt;_Diff_Backup_1.bak&#39;,&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #800180;&quot;&gt;DISK = N&#39;T:\DB_Backup\&lt;/span&gt;&lt;span style=&quot;color: #800180; font-family: Consolas; font-size: 12.6667px;&quot;&gt;DB_Name&lt;/span&gt;&lt;span style=&quot;color: #800180;&quot;&gt;_Diff_Backup_2.bak&#39;,&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #800180;&quot;&gt;DISK = N&#39;T:\DB_Backup\&lt;/span&gt;&lt;span style=&quot;color: #800180; font-family: Consolas; font-size: 12.6667px;&quot;&gt;DB_Name&lt;/span&gt;&lt;span style=&quot;color: #800180;&quot;&gt;_Diff_Backup_3.bak&#39;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #800180;&quot;&gt;WITH DIFFERENTIAL, NOFORMAT, NOINIT,&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #800180;&quot;&gt;NAME = N&#39;Diff Backup&#39;, SKIP, NOREWIND, NOUNLOAD, compression, STATS = 10&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #800180;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;&lt;b&gt;--T Log backup of DB_Name&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: #800180; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;BACKUP Log [DB_Name] TO&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #800180; font-family: Consolas; font-size: 12.6667px;&quot;&gt;DISK = N&#39;T:\DB_Backup\DB_Name_T_Log_Backup_1.trn&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #800180; font-family: Consolas; font-size: 12.6667px;&quot;&gt;WITH NOFORMAT, NOINIT,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #800180; font-family: Consolas; font-size: 12.6667px;&quot;&gt;NAME = N&#39;T:\DB_Backup\DB_Name-T_Log Database Backup&#39;, SKIP, NOREWIND, NOUNLOAD, compression, STATS = 1&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: normal; margin-bottom: 0cm; mso-border-alt: solid #888888 .25pt; mso-padding-alt: 2.0pt 2.0pt 2.0pt 2.0pt; padding: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12.6667px;&quot;&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;background: white; color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 13.5533px; text-align: justify;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 13.5533px; text-align: justify;&quot;&gt;&lt;b style=&quot;font-size: 14.85px;&quot;&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;-webkit-text-stroke-width: 0px;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 14.85px;&quot;&gt;======================================================================================================================&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;&quot;&gt;&lt;i&gt;Restarting a single Db&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;use&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;master&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;alter&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;database&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;YourDatabase&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;set&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;offline&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;with&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;rollback&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;immediate&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;go&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;alter&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;database&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;YourDatabase&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;set&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;online&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;background: white; color: grey; font-family: Consolas; font-size: 9.5pt; line-height: 13.5533px; text-align: justify;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas; mso-font-kerning: 0pt;&quot;&gt;go&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://clotat.blogspot.com/feeds/6669677241083572403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://clotat.blogspot.com/2024/01/db-backup-and-restore-history.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6669677241083572403'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8590075019798060845/posts/default/6669677241083572403'/><link rel='alternate' type='text/html' href='https://clotat.blogspot.com/2024/01/db-backup-and-restore-history.html' title='DB Backup and Restore History'/><author><name>Abhishek Sharma Software Engineer Clota Technology</name><uri>http://www.blogger.com/profile/09086504325942694638</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyGhl0vBYlq1QZ6fYTH3lQNX5dypUo7MrVsTBG4nA0g_DZUgLtVrpbdPt0rrAYkiDuV7IK1B55Id772XRo-8dFcSDu5YjVboU4jy-7UZqyG7pJnX0g13-DYpHdEi_xpg/s113/abhishek.jpg'/></author><thr:total>0</thr:total></entry></feed>