<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>FOA(Fun Oracle Apps) - Learning Never Stops</title><description>Discover comprehensive insights into Oracle DBA, including Core DBA, RAC, Data Guard, EBS R12.2, Unix Shell Scripting, OAM, IDM, OID, SSO, Oracle Cloud, Leadership, Management,Excel and Linux. Enhance your skills with expert tips and remote job support.</description><managingEditor>noreply@blogger.com (Himanshu)</managingEditor><pubDate>Sun, 29 Nov 2026 14:54:29 +0530</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1165</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">3</openSearch:itemsPerPage><link>http://www.funoracleapps.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle>Discover comprehensive insights into Oracle DBA, including Core DBA, RAC, Data Guard, EBS R12.2, Unix Shell Scripting, OAM, IDM, OID, SSO, Oracle Cloud, Leadership, Management,Excel and Linux. Enhance your skills with expert tips and remote job support.</itunes:subtitle><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><title>Oracle RDS on AWS: Step by Step Guide from Beginner to Advanced</title><link>http://www.funoracleapps.com/2026/11/oracle-rds-aws-step-by-step-guide.html</link><category>AWS</category><category>funoracleapps</category><category>Oracle</category><author>noreply@blogger.com (Himanshu)</author><pubDate>Thu, 19 Nov 2026 12:20:23 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6369673212267799064.post-8902799608617375298</guid><description>&lt;h1 data-source-line="12-12" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 26px; line-height: 1.3; list-style: none; margin: 30px 0px 10px; padding: 0px;"&gt;Oracle RDS on AWS: Step by Step Guide from Beginner to Advanced&lt;/h1&gt;&lt;p data-source-line="14-14" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Running an Oracle database usually means servers, storage, patches, and a lot of 2 AM calls.&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Amazon RDS for Oracle&lt;/span&gt;&amp;nbsp;takes most of that off your plate: AWS manages the OS, the storage, the backups, and the patching, and you focus on the database itself. In this post I will walk you through&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Oracle RDS on AWS&lt;/span&gt;&amp;nbsp;from the very first click to the advanced stuff like Multi-AZ, read replicas, and migrating an on-prem database with Data Pump.&lt;/p&gt;&lt;p data-source-line="16-16" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;I have been running Oracle on AWS for a while now, and the one thing I tell every DBA before they start: RDS is not a regular database server. You do not get SYSDBA and you do not get SSH. Once you accept that, everything else makes sense.&lt;/p&gt;&lt;hr data-source-line="20-20" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="22-22" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;What is Amazon RDS for Oracle?&lt;/h2&gt;&lt;p data-source-line="24-24" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Amazon RDS (Relational Database Service) is a managed database service. You pick the Oracle version, the instance size, and the storage, and AWS provisions the whole stack for you: the EC2 host, the Oracle binaries, the listener, the storage volumes, the backups.&lt;/p&gt;&lt;p data-source-line="26-26" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;What AWS manages for you:&lt;/p&gt;&lt;ul data-source-line="28-33" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="28-28" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Installation and patching of the Oracle engine (Release Updates, RU)&lt;/li&gt;&lt;li data-source-line="29-29" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Automated backups and point-in-time recovery&lt;/li&gt;&lt;li data-source-line="30-30" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Storage management and volume resizing&lt;/li&gt;&lt;li data-source-line="31-31" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Failover to a standby in another Availability Zone (if you enable Multi-AZ)&lt;/li&gt;&lt;li data-source-line="32-33" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Basic monitoring through Amazon CloudWatch&lt;/li&gt;&lt;/ul&gt;&lt;p data-source-line="34-34" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;What you still own:&lt;/p&gt;&lt;ul data-source-line="36-40" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="36-36" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Schemas, users, tablespaces inside the database&lt;/li&gt;&lt;li data-source-line="37-37" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Application tuning, SQL tuning, AWR review&lt;/li&gt;&lt;li data-source-line="38-38" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Oracle licensing decisions (BYOL or License Included)&lt;/li&gt;&lt;li data-source-line="39-40" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Database design, exports, migrations&lt;/li&gt;&lt;/ul&gt;&lt;p data-source-line="41-41" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;And the big one:&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;no SYSDBA and no SSH access.&lt;/span&gt;&amp;nbsp;The master user you create has DBA privileges with some restrictions. For tasks that need SYS objects, RDS gives you the&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;rdsadmin&lt;/code&gt;&amp;nbsp;package instead. I will show examples further down.&lt;/p&gt;&lt;h2 data-source-line="43-43" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Supported Versions, Editions, and Licensing&lt;/h2&gt;&lt;p data-source-line="45-45" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Per the&amp;nbsp;&lt;a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Oracle.html" rel="noopener noreferrer" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: black; cursor: pointer; display: inline-flex; line-height: calc(1em + 2px); max-width: 100%; outline: none; position: relative; text-decoration: none; transition: 0.3s;" target="_blank"&gt;AWS RDS for Oracle documentation&lt;/a&gt;, RDS currently supports:&lt;/p&gt;&lt;ul data-source-line="47-50" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="47-47" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Oracle Database 26ai (26.0.0.0) — Enterprise Edition only&lt;/li&gt;&lt;li data-source-line="48-48" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Oracle Database 21c (21.0.0.0) — deprecation planned after Oracle's end of support on July 31, 2027&lt;/li&gt;&lt;li data-source-line="49-50" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Oracle Database 19c (19.0.0.0)&lt;/li&gt;&lt;/ul&gt;&lt;p data-source-line="51-51" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;11g, 12c, and 18c are no longer supported on RDS.&lt;/p&gt;&lt;p data-source-line="53-53" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Two licensing models:&lt;/p&gt;&lt;div class="table-container" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; margin: 30px 0px 0px; position: relative;"&gt;&lt;table class="table-scroll-init" data-source-line="55-58" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-collapse: collapse; border-style: solid; border-width: 0px; display: block; margin: 0px; min-width: 100px; overflow-x: auto; padding: 0px; position: relative;"&gt;&lt;thead data-source-line="55-55" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="55-55" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Model&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Editions&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Who it fits&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody data-source-line="57-58" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="57-57" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;License Included (LI)&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Standard Edition 2 only&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Dev/test or small workloads, no existing licenses&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="58-58" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Bring Your Own License (BYOL)&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Enterprise Edition and Standard Edition 2&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Production, you already own Oracle licenses&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p data-source-line="60-60" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;A couple of practical notes from my side:&lt;/p&gt;&lt;ul data-source-line="62-65" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="62-62" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;26ai is EE-only, so the cheapest way to try things is 19c SE2 with License Included.&lt;/li&gt;&lt;li data-source-line="63-63" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;BYOL on AWS is counted per vCPU of the DB instance class, so size carefully before you spin up a big instance.&lt;/li&gt;&lt;li data-source-line="64-65" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;AWS added bare metal instances for RDS Oracle EE BYOL in September 2025 and SE2 BYOL in January 2026.&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-source-line="66-66" id="architecture-overview" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Architecture Overview&lt;/h3&gt;&lt;p data-source-line="68-68" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Here is the picture I keep in my head when someone asks how a production RDS for Oracle setup hangs together:&lt;/p&gt;&lt;p data-source-line="70-70" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhroWS87Hld5N31EQDRtkiXDp-KAYACHg6nKxOpSCJu9Y-jv_Kj_wMcHXuEZIa-tPHgGBvoaU-w9aDIKrTApBfYckLoXJGyW2ygq_y46sUaXdKJW8f75Dh1Db4d_BQoXomCzyqPT8qgqSRuU-LZQMEeGHvjupHEqUcH2QCUsq6pZmJ4e-_y3zggpwmABrE/s1600/image.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="" data-original-height="768" data-original-width="1376" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhroWS87Hld5N31EQDRtkiXDp-KAYACHg6nKxOpSCJu9Y-jv_Kj_wMcHXuEZIa-tPHgGBvoaU-w9aDIKrTApBfYckLoXJGyW2ygq_y46sUaXdKJW8f75Dh1Db4d_BQoXomCzyqPT8qgqSRuU-LZQMEeGHvjupHEqUcH2QCUsq6pZmJ4e-_y3zggpwmABrE/w640-h358/image.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p data-source-line="72-72" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;em style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Caption: A typical RDS for Oracle architecture — app tier connects over SQL&lt;/em&gt;Net, Multi-AZ keeps a sync standby in a second AZ, a read replica offloads reporting, and automated backups land on S3.*&lt;/p&gt;&lt;hr data-source-line="76-76" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="78-78" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Part 1 — Beginner: Create Your First RDS for Oracle Instance&lt;/h2&gt;&lt;p data-source-line="80-80" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Let us start from scratch. Everything below uses us-east-1 as an example region — use whichever region your users are closest to.&lt;/p&gt;&lt;h3 data-source-line="82-82" id="prerequisites" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Prerequisites&lt;/h3&gt;&lt;ul data-source-line="84-87" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="84-84" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;An AWS account with an IAM user that has RDS, EC2, and S3 permissions&lt;/li&gt;&lt;li data-source-line="85-85" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;A VPC with&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;at least two subnets in different Availability Zones&lt;/span&gt;&amp;nbsp;(RDS needs two for the DB subnet group)&lt;/li&gt;&lt;li data-source-line="86-87" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Basic familiarity with the AWS Console or the AWS CLI&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-source-line="88-88" id="step-1%3A-create-a-db-subnet-group" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Step 1: Create a DB Subnet Group&lt;/h3&gt;&lt;p data-source-line="90-90" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;The DB subnet group tells RDS which subnets and AZs it can launch into.&lt;/p&gt;&lt;p data-source-line="92-92" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;1.1. Open the RDS console, go to&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Subnet groups&lt;/span&gt;, click&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Create DB subnet group&lt;/span&gt;.&lt;/p&gt;&lt;p data-source-line="94-94" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;1.2. Pick your VPC, select two or more private subnets, and save.&lt;/p&gt;&lt;p data-source-line="96-96" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Or with the AWS CLI:&lt;/p&gt;&lt;pre data-source-line="98-103" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="90fc9d60f896a8ec" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;aws rds create-db-subnet-group \
  --db-subnet-group-name foa-oracle-subnets \
  --db-subnet-group-description &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"Subnet group for Oracle RDS"&lt;/span&gt; \
  --subnet-ids subnet-aaaa1111 subnet-bbbb2222
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="105-105" id="step-2%3A-create-a-security-group-for-the-listener" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Step 2: Create a Security Group for the Listener&lt;/h3&gt;&lt;p data-source-line="107-107" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;RDS Oracle listens on port 1521. Keep it closed to the world.&lt;/p&gt;&lt;p data-source-line="109-109" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;2.1. Create a security group in the same VPC:&lt;/p&gt;&lt;pre data-source-line="111-116" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="887f36797e3bee08" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;aws ec2 create-security-group \
  --group-name foa-oracle-sg \
  --description &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"Oracle RDS listener access"&lt;/span&gt; \
  --vpc-id vpc-abcdef12
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="118-118" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;2.2. Allow inbound 1521 only from your application tier security group (never from 0.0.0.0/0):&lt;/p&gt;&lt;pre data-source-line="120-126" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="ba606ea1161b1d79" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;aws ec2 authorize-security-group-ingress \
  --group-id sg-1234abcd \
  --protocol tcp \
  --port 1521 \
  --source-group sg-app-5678
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="128-128" id="step-3%3A-launch-the-db-instance" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Step 3: Launch the DB Instance&lt;/h3&gt;&lt;p data-source-line="130-130" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;3.1. In the RDS console click&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Create database&lt;/span&gt;, choose&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Standard create&lt;/span&gt;, engine&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Oracle Database&lt;/span&gt;.&lt;/p&gt;&lt;p data-source-line="132-132" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;3.2. Edition: for a cheap sandbox pick&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Standard Edition 2 + License Included&lt;/span&gt;; for production BYOL pick Enterprise Edition and upload your license math to your cloud team, not to the console.&lt;/p&gt;&lt;p data-source-line="134-134" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;3.3. Version: pick&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Oracle 19c&lt;/span&gt;&amp;nbsp;or&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;26ai&lt;/span&gt;. For 19c the console asks whether you want the multitenant (CDB) architecture; 26ai is CDB-only because Oracle stopped supporting non-CDB from 21c onward.&lt;/p&gt;&lt;p data-source-line="136-136" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;3.4. Templates: Free tier / Dev/Test / Production as per your need.&lt;/p&gt;&lt;p data-source-line="138-138" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;3.5. Settings: DB instance identifier (I use&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;foa-orcl&lt;/code&gt;), master username, and a strong master password. Save that password in your vault, you will need it everywhere.&lt;/p&gt;&lt;p data-source-line="140-140" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;3.6. Instance class:&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;db.t3.medium&lt;/code&gt;&amp;nbsp;is fine for learning; production usually starts at&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;db.m6i.large&lt;/code&gt;&amp;nbsp;or bigger.&lt;/p&gt;&lt;p data-source-line="142-142" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;3.7. Storage: gp3, with storage autoscaling enabled so a runaway batch job does not fill your database at midnight.&lt;/p&gt;&lt;p data-source-line="144-144" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;3.8. Connectivity: your VPC, the subnet group from Step 1,&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;public access = No&lt;/span&gt;, security group from Step 2.&lt;/p&gt;&lt;p data-source-line="146-146" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;3.9. Backup retention: 7 days to start. Then click&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Create database&lt;/span&gt;.&lt;/p&gt;&lt;p data-source-line="148-148" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;The same thing via CLI:&lt;/p&gt;&lt;pre data-source-line="150-168" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="5beed533d6a88ca7" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;aws rds create-db-instance \
  --db-instance-identifier foa-orcl \
  --engine oracle-se2 \
  --engine-version 19.0.0.0 \
  --db-instance-class db.m5.large \
  --allocated-storage 100 \
  --max-allocated-storage 400 \
  --storage-type gp3 \
  --master-username foaadmin \
  --master-user-password &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;lt;YOUR_STRONG_PASSWORD&amp;gt;'&lt;/span&gt; \
  --db-name ORCL \
  --vpc-security-group-ids sg-1234abcd \
  --db-subnet-group-name foa-oracle-subnets \
  --backup-retention-period 7 \
  --multi-az \
  --no-publicly-accessible \
  --storage-encrypted
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="170-170" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Note:&lt;/span&gt;&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;19.0.0.0&lt;/code&gt;&amp;nbsp;is the base version. RDS ships each Oracle Release Update as its own engine version (for example the July 2026 RU). List what is available in your region before you pin one:&lt;/p&gt;&lt;pre data-source-line="172-177" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="3bed5b3caceb7e94" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;aws rds describe-db-engine-versions \
  --engine oracle-se2 \
  --query &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"DBEngineVersions[].EngineVersion"&lt;/span&gt; \
  --output table
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="179-179" id="step-4%3A-connect-to-the-instance" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Step 4: Connect to the Instance&lt;/h3&gt;&lt;p data-source-line="181-181" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;4.1. Wait until the instance status shows&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Available&lt;/span&gt;&amp;nbsp;(takes 10 to 20 minutes, Multi-AZ a bit longer).&lt;/p&gt;&lt;p data-source-line="183-183" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;4.2. Grab the endpoint from the console (&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Connectivity &amp;amp; security&lt;/span&gt;&amp;nbsp;tab). It looks like&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;foa-orcl.abcdefgh.us-east-1.rds.amazonaws.com&lt;/code&gt;.&lt;/p&gt;&lt;p data-source-line="185-185" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;4.3. Connect with SQL*Plus using the easy connect string and the&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;service name&lt;/span&gt;&amp;nbsp;(the DB name you chose, or the PDB name on CDB instances):&lt;/p&gt;&lt;pre data-source-line="187-189" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="2c602270f44cf8d7" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;sqlplus foaadmin@//foa-orcl.abcdefgh.us-east-1.rds.amazonaws.com:1521/ORCL
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="191-191" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;4.4. Run your first checks:&lt;/p&gt;&lt;pre data-source-line="193-197" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="e7febf5350b0cb27" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; instance_name, status &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$instance;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; version_full &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; product_component_version &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; ROWNUM &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SHOW&lt;/span&gt; PDBS
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="199-199" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Expected output (abbreviated):&lt;/p&gt;&lt;pre data-source-line="201-210" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="7209267d25523d15" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;INSTANCE_NAME    STATUS
---------------- ------------
ORCL             OPEN

CON_ID CON_NAME                       OPEN MODE  RESTRICTED
------ ------------------------------ ---------- ----------
     1 CDB$ROOT                       READ WRITE NO
     3 RDDSA                          READ WRITE NO
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="212-212" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;That is it. You have a managed Oracle database. SQL Developer connects exactly the same way — hostname, port 1521, service name, master user.&lt;/p&gt;&lt;hr data-source-line="214-214" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="216-216" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Part 2 — Intermediate: Day-2 DBA Tasks on RDS&lt;/h2&gt;&lt;h3 data-source-line="218-218" id="monitoring%3A-cloudwatch-and-performance-insights" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Monitoring: CloudWatch and Performance Insights&lt;/h3&gt;&lt;ul data-source-line="220-223" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="220-220" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;CloudWatch metrics&lt;/span&gt;&amp;nbsp;come free: CPU, free storage, connections, IOPS, replica lag.&lt;/li&gt;&lt;li data-source-line="221-221" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Enhanced Monitoring&lt;/span&gt;&amp;nbsp;shows OS-level numbers (memory, processes) at extra cost, down to 1-second granularity.&lt;/li&gt;&lt;li data-source-line="222-223" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Performance Insights&lt;/span&gt;&amp;nbsp;gives you the top SQL by wait events. If you have ever lived in AWR, this is the closest thing RDS gives you out of the box, and it is worth enabling.&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-source-line="224-224" id="backups-and-point-in-time-recovery" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Backups and Point-in-Time Recovery&lt;/h3&gt;&lt;ul data-source-line="226-229" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="226-226" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Automated backups run during your backup window; retention up to 35 days.&lt;/li&gt;&lt;li data-source-line="227-227" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Manual snapshots live until you delete them — I always take one right before a big change.&lt;/li&gt;&lt;li data-source-line="228-229" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Point-in-time recovery restores to any second inside the retention window.&lt;/li&gt;&lt;/ul&gt;&lt;p data-source-line="230-230" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Taking a manual snapshot:&lt;/p&gt;&lt;pre data-source-line="232-236" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="21aa051aa9545df7" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;aws rds create-db-snapshot \
  --db-instance-identifier foa-orcl \
  --db-snapshot-identifier foa-orcl-pre-change
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="238-238" id="parameter-groups-and-option-groups" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Parameter Groups and Option Groups&lt;/h3&gt;&lt;ul data-source-line="240-242" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="240-240" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Parameter groups&lt;/span&gt;&amp;nbsp;hold init.ora style parameters. Change a value, reboot if the parameter is static.&lt;/li&gt;&lt;li data-source-line="241-242" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Option groups&lt;/span&gt;&amp;nbsp;add extras to the instance: S3 integration, OEM agents, Statspack, Spatial. You create the group, add the option, and attach the group to the instance. I will use this in Part 3.&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-source-line="243-243" id="the-rdsadmin-package%3A-your-sysdba-substitute" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;The rdsadmin Package: Your SYSDBA Substitute&lt;/h3&gt;&lt;p data-source-line="245-245" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;You cannot connect as SYS. Almost everything that used to need SYSDBA is exposed through&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;rdsadmin&lt;/code&gt;. The most common one is granting access to SYS-owned objects:&lt;/p&gt;&lt;pre data-source-line="247-249" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="8ecfd31c7cf347c5" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;EXEC&lt;/span&gt; rdsadmin.rdsadmin_util.grant_sys_object(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'DBMS_RLS'&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'FOA_APP'&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'EXECUTE'&lt;/span&gt;);
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="251-251" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Other useful examples: enabling archivelog mode, switching logfiles, flushing the shared pool, killing sessions. When the docs don't say it clearly (and they often don't), the&amp;nbsp;&lt;a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.CommonDBATasks.html" rel="noopener noreferrer" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: black; cursor: pointer; display: inline-flex; line-height: calc(1em + 2px); max-width: 100%; outline: none; position: relative; text-decoration: none; transition: 0.3s;" target="_blank"&gt;AWS common DBA tasks for Oracle&lt;/a&gt;&amp;nbsp;page is where I go to find the matching rdsadmin call.&lt;/p&gt;&lt;hr data-source-line="253-253" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="255-255" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Part 3 — Advanced: Multi-AZ, Read Replicas, and Migration&lt;/h2&gt;&lt;h3 data-source-line="257-257" id="multi-az%3A-managed-ha-with-a-synchronous-standby" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Multi-AZ: Managed HA with a Synchronous Standby&lt;/h3&gt;&lt;p data-source-line="259-259" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;With Multi-AZ, RDS provisions a synchronous standby in a second Availability Zone. Writes are committed on both before the primary acknowledges. If the primary fails, RDS fails over to the standby automatically and the endpoint DNS flips — no code change needed.&lt;/p&gt;&lt;ul data-source-line="261-264" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="261-261" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;It is an&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;HA, not a DR&lt;/span&gt;&amp;nbsp;solution: both AZs are in the same region.&lt;/li&gt;&lt;li data-source-line="262-262" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;It protects against AZ and instance failure, not against a bad UPDATE statement. A bad update replicates to the standby happily.&lt;/li&gt;&lt;li data-source-line="263-264" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;You can flip to standby manually with&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Reboot with failover&lt;/span&gt;&amp;nbsp;when you need to patch the OS layer.&lt;/li&gt;&lt;/ul&gt;&lt;p data-source-line="265-265" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Caution:&lt;/span&gt;&amp;nbsp;Multi-AZ sync replication adds write latency. For write-heavy batch systems, test your load before you commit to it.&lt;/p&gt;&lt;h3 data-source-line="267-267" id="read-replicas%3A-active-data-guard%2C-managed" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Read Replicas: Active Data Guard, Managed&lt;/h3&gt;&lt;p data-source-line="269-269" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;RDS for Oracle read replicas run Oracle Data Guard underneath. You can create&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;up to five replicas&lt;/span&gt;&amp;nbsp;from one source, even in a different region. Two modes:&lt;/p&gt;&lt;div class="table-container" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; margin: 30px 0px 0px; position: relative;"&gt;&lt;table class="table-scroll-init" data-source-line="271-275" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-collapse: collapse; border-style: solid; border-width: 0px; display: block; margin: 0px; min-width: 100px; overflow-x: auto; padding: 0px; position: relative;"&gt;&lt;thead data-source-line="271-271" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="271-271" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Feature&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Mounted replica&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Read-only replica&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody data-source-line="273-275" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="273-273" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Query access&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;No&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Yes, SELECT only&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="274-274" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;License need&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;EE (Data Guard)&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;EE + Active Data Guard&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="275-275" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Main use&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Cross-region DR&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Reporting offload + DR&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p data-source-line="277-277" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Creating a read-only replica:&lt;/p&gt;&lt;pre data-source-line="279-284" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="7011923f079ecfee" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;aws rds create-db-instance-read-replica \
  --db-instance-identifier foa-orcl-rep1 \
  --source-db-instance-identifier foa-orcl \
  --db-instance-class db.m5.large
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="286-286" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;If replication ever falls behind, the primary keeps archived logs until all cross-region replicas have applied them. You can tune retention with&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;rdsadmin.rdsadmin_util.set_configuration&lt;/code&gt;. If you have used Data Guard on-prem (I have posts on&amp;nbsp;&lt;a href="https://www.funoracleapps.com/2024/09/step-by-step-guide-to-set-up-data-guard.html" rel="noopener noreferrer" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: black; cursor: pointer; display: inline-flex; line-height: calc(1em + 2px); max-width: 100%; outline: none; position: relative; text-decoration: none; transition: 0.3s;" target="_blank"&gt;setting up Data Guard Broker&lt;/a&gt;&amp;nbsp;and the&amp;nbsp;&lt;a href="https://www.funoracleapps.com/2019/01/datagaurd-useful-commands.html" rel="noopener noreferrer" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: black; cursor: pointer; display: inline-flex; line-height: calc(1em + 2px); max-width: 100%; outline: none; position: relative; text-decoration: none; transition: 0.3s;" target="_blank"&gt;daily Data Guard commands&lt;/a&gt;), you will recognize what AWS is doing under the covers — you just never touch the broker config yourself.&lt;/p&gt;&lt;h3 data-source-line="288-288" id="s3-integration%3A-move-files-in-and-out" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;S3 Integration: Move Files In and Out&lt;/h3&gt;&lt;p data-source-line="290-290" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;There is no SCP into RDS, so how do you get a Data Pump dump onto the instance? The&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;S3_INTEGRATION&lt;/span&gt;&amp;nbsp;option. The instance and the bucket must be in the same region.&lt;/p&gt;&lt;p data-source-line="292-292" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;5.1. Create an IAM role trusting RDS, with permissions on your bucket:&lt;/p&gt;&lt;pre data-source-line="294-305" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-json" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="750f9c0d2709effb" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;{&lt;/span&gt;
  &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Version"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"2012-10-17"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
  &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Statement"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;[&lt;/span&gt;
    &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;{&lt;/span&gt;
      &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Effect"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"Allow"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
      &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Principal"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;{&lt;/span&gt; &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Service"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"rds.amazonaws.com"&lt;/span&gt; &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;}&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
      &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Action"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"sts:AssumeRole"&lt;/span&gt;
    &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;}&lt;/span&gt;
  &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;]&lt;/span&gt;
&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="307-307" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;5.2. Attach a policy that allows the S3 actions the transfer tasks need:&lt;/p&gt;&lt;pre data-source-line="309-330" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-json" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="45f3fcb231309e72" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;{&lt;/span&gt;
  &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Version"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"2012-10-17"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
  &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Statement"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;[&lt;/span&gt;
    &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;{&lt;/span&gt;
      &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Sid"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"s3integration"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
      &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Effect"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"Allow"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
      &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Action"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;[&lt;/span&gt;
        &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"s3:GetObject"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
        &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"s3:ListBucket"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
        &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"s3:PutObject"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
        &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"s3:AbortMultipartUpload"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
        &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"s3:ListMultipartUploadParts"&lt;/span&gt;
      &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;]&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
      &lt;span class="hljs-attr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;"Resource"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;:&lt;/span&gt; &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;[&lt;/span&gt;
        &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"arn:aws:s3:::foa-migration-bucket"&lt;/span&gt;&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;,&lt;/span&gt;
        &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"arn:aws:s3:::foa-migration-bucket/*"&lt;/span&gt;
      &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;]&lt;/span&gt;
    &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;}&lt;/span&gt;
  &lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;]&lt;/span&gt;
&lt;span class="hljs-punctuation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="332-332" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;5.3. Create an option group and add the S3 integration option:&lt;/p&gt;&lt;pre data-source-line="334-345" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="af0cd0d99dcdb12f" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;aws rds create-option-group \
  --option-group-name foa-oracle-og \
  --engine-name oracle-se2 \
  --major-engine-version 19 \
  --option-group-description &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;"S3 integration for FOA"&lt;/span&gt;

aws rds add-option-to-option-group \
  --option-group-name foa-oracle-og \
  --options S3_INTEGRATION \
  --apply-immediately
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="347-347" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;5.4. Attach the option group to the instance and associate the IAM role:&lt;/p&gt;&lt;pre data-source-line="349-354" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="ec5073c4cee2cd7c" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;aws rds modify-db-instance \
  --db-instance-identifier foa-orcl \
  --option-group-name foa-oracle-og \
  --apply-immediately
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="356-356" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Create the IAM role with the trust policy from 5.1 and attach the policy from 5.2, then associate the role with your DB instance following the AWS page&amp;nbsp;&lt;a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-s3-integration.preparing.option-group.html" rel="noopener noreferrer" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: black; cursor: pointer; display: inline-flex; line-height: calc(1em + 2px); max-width: 100%; outline: none; position: relative; text-decoration: none; transition: 0.3s;" target="_blank"&gt;Adding the Amazon S3 integration option&lt;/a&gt;.&lt;/p&gt;&lt;p data-source-line="358-358" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;5.5. Download a dump file from S3 into the RDS Data Pump directory:&lt;/p&gt;&lt;pre data-source-line="360-366" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="5805956e0162c756" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; rdsadmin.rdsadmin_s3_tasks.download_from_s3(
         p_bucket_name    &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'foa-migration-bucket'&lt;/span&gt;,
         p_s3_prefix      &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'foa_schema.dmp'&lt;/span&gt;,
         p_directory_name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'DATA_PUMP_DIR'&lt;/span&gt;) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; task_id
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; DUAL;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="368-368" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;5.6.&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;upload_to_s3&lt;/code&gt;&amp;nbsp;works the same way in the other direction:&lt;/p&gt;&lt;pre data-source-line="370-377" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="386f691d8a52d64e" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; rdsadmin.rdsadmin_s3_tasks.upload_to_s3(
         p_bucket_name    &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'foa-migration-bucket'&lt;/span&gt;,
         p_prefix         &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;''&lt;/span&gt;,
         p_s3_prefix      &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;''&lt;/span&gt;,
         p_directory_name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'DATA_PUMP_DIR'&lt;/span&gt;) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; task_id
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; DUAL;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="379-379" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Note:&lt;/span&gt;&amp;nbsp;Both procedures run asynchronously and return a task ID. Watch the matching RDS event, or read the task log file&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;/rdsdbdata/log/trace/dbtask-&amp;lt;task-id&amp;gt;.log&lt;/code&gt;&amp;nbsp;to see progress. If a file with the same name already exists in the download directory,&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;download_from_s3&lt;/code&gt;&amp;nbsp;silently skips it — remove the old file with&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;UTL_FILE.FREMOVE&lt;/code&gt;&amp;nbsp;first.&lt;/p&gt;&lt;p data-source-line="381-381" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;This single option unlocks the most common migration path, which is next.&lt;/p&gt;&lt;h3 data-source-line="383-383" id="migrate-an-on-prem-database-with-data-pump-%2B-s3" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 20px 0px 8px; padding: 0px;" tabindex="-1"&gt;Migrate an On-Prem Database with Data Pump + S3&lt;/h3&gt;&lt;p data-source-line="385-385" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;For databases from a few hundred GB up to a few TB, Data Pump through S3 is my default. The flow:&lt;/p&gt;&lt;p data-source-line="387-387" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN8kguRKc8xeIInH4ZzyaxLVwz8jD7SSkWkygCC4MdMG0AuH56JRcSMO3rrkMfkq4vAvI8t1ydde-dTmk8SM9YFmfo-InDybmIPXeoOhyphenhyphensqz1-6KwUSmsvEoX1fJ5hrhakhvg7mrrnu4Waj_FtbHfAJk6KNjIxdn3Wyvd7jvD49BaXm_gHi588_Ov23Es/s1600/image.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="" data-original-height="768" data-original-width="1376" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN8kguRKc8xeIInH4ZzyaxLVwz8jD7SSkWkygCC4MdMG0AuH56JRcSMO3rrkMfkq4vAvI8t1ydde-dTmk8SM9YFmfo-InDybmIPXeoOhyphenhyphensqz1-6KwUSmsvEoX1fJ5hrhakhvg7mrrnu4Waj_FtbHfAJk6KNjIxdn3Wyvd7jvD49BaXm_gHi588_Ov23Es/w640-h358/image.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p data-source-line="389-389" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;em style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Caption: On-prem to RDS migration with Data Pump — export, upload to S3, download to DATA_PUMP_DIR, import.&lt;/em&gt;&lt;/p&gt;&lt;p data-source-line="391-391" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Alt text:&lt;/span&gt;&amp;nbsp;Oracle Data Pump migration flow from on-premises to Amazon RDS for Oracle using Amazon S3.&lt;/p&gt;&lt;p data-source-line="393-393" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;6.1. Export on the source:&lt;/p&gt;&lt;pre data-source-line="395-402" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="b4a2ae81a395d725" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;expdp system@SOURCE_DB \
  SCHEMAS=FOA_APP \
  DIRECTORY=dp_dir \
  DUMPFILE=foa_schema.dmp \
  LOGFILE=exp_foa.log \
  REUSE_DUMPFILES=Y
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="404-404" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;6.2. Upload the dump to S3:&lt;/p&gt;&lt;pre data-source-line="406-408" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="b4f48467336c879e" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;aws s3 &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;cp&lt;/span&gt; foa_schema.dmp s3://foa-migration-bucket/
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="410-410" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;6.3. Download it on RDS with&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;download_from_s3&lt;/code&gt;&amp;nbsp;(Step 5.5 above).&lt;/p&gt;&lt;p data-source-line="412-412" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;6.4. Import on RDS as the master user:&lt;/p&gt;&lt;pre data-source-line="414-420" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="571aa39e3f32090b" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;impdp foaadmin@//foa-orcl.abcdefgh.us-east-1.rds.amazonaws.com:1521/ORCL \
  DIRECTORY=DATA_PUMP_DIR \
  DUMPFILE=foa_schema.dmp \
  LOGFILE=imp_foa.log \
  SCHEMAS=FOA_APP
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="422-422" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;6.5. Check the log and the object count, then cutover.&lt;/p&gt;&lt;p data-source-line="424-424" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;If the target schema name must change, add&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;REMAP_SCHEMA=FOA_APP:FOA_APP2&lt;/code&gt;. For very large or zero-downtime moves, AWS also documents transportable tablespaces and&amp;nbsp;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;AWS DMS&lt;/span&gt;&amp;nbsp;for near-zero downtime replication — the table in the&amp;nbsp;&lt;a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Oracle.Procedural.Importing.html" rel="noopener noreferrer" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: black; cursor: pointer; display: inline-flex; line-height: calc(1em + 2px); max-width: 100%; outline: none; position: relative; text-decoration: none; transition: 0.3s;" target="_blank"&gt;AWS importing guide&lt;/a&gt;&amp;nbsp;is a good decision aid.&lt;/p&gt;&lt;div class="table-container" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; margin: 30px 0px 0px; position: relative;"&gt;&lt;table class="table-scroll-init" data-source-line="426-432" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-collapse: collapse; border-style: solid; border-width: 0px; display: block; margin: 0px; min-width: 100px; overflow-x: auto; padding: 0px; position: relative;"&gt;&lt;thead data-source-line="426-426" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="426-426" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Method&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Best for&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody data-source-line="428-432" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="428-428" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;SQL Developer&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Simple schemas under 100 MB&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="429-429" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Data Pump via S3&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;100 MB to 5 TB, no network link needed&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="430-430" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Data Pump over database link&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Any size, with VPN/VPC link to source&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="431-431" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Transportable tablespaces&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Multi-TB, EE, low downtime&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="432-432" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;AWS DMS&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Ongoing replication, near-zero downtime cutover&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;hr data-source-line="434-434" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="436-436" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Fast Troubleshooting Table&lt;/h2&gt;&lt;div class="table-container" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; margin: 30px 0px 0px; position: relative;"&gt;&lt;table class="table-scroll-init" data-source-line="438-448" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-collapse: collapse; border-style: solid; border-width: 0px; display: block; margin: 0px; min-width: 100px; overflow-x: auto; padding: 0px; position: relative;"&gt;&lt;thead data-source-line="438-438" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="438-438" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Error / Symptom&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Root cause&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Fix&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody data-source-line="440-448" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="440-440" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;ORA-12505, listener does not know of SID&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Connecting with SID instead of service name&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Use easy connect&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;//host:1521/DBNAME&lt;/code&gt;, not the SID&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="441-441" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Connection timeout&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Security group blocks 1521&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Add inbound 1521 from the app tier SG only&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="442-442" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;ORA-01045 user lacks CREATE SESSION&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;New user not granted session&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;GRANT CREATE SESSION TO &amp;lt;user&amp;gt;;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="443-443" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;ORA-01950 no privileges on tablespace&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Schema has no quota&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Grant quota or&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;UNLIMITED TABLESPACE&lt;/code&gt;&amp;nbsp;to the schema&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="444-444" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;impdp cannot open logfile&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Wrong DIRECTORY or file name&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Point DIRECTORY to DATA_PUMP_DIR and use a unique LOGFILE name for every run&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="445-445" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;download_from_s3 does nothing&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;IAM role missing or not associated with the instance&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Confirm the role trusts rds.amazonaws.com and is associated per the AWS S3 integration page&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="446-446" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;S3 option errors at creation&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Bucket and instance in different regions&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Recreate the bucket in the instance's region&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="447-447" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;download_from_s3 skips a file&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;File with same name already in the directory&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Delete it with UTL_FILE.FREMOVE, then rerun&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="448-448" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;PDB not open after failover&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Pluggable not saved to open&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;ALTER PLUGGABLE DATABASE &amp;lt;name&amp;gt; SAVE STATE;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h2 data-source-line="450-450" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Best Practices Checklist&lt;/h2&gt;&lt;ul data-source-line="452-459" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="452-452" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Keep public access off; restrict 1521 to the app tier security group.&lt;/li&gt;&lt;li data-source-line="453-453" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Storage encrypted at rest, master password in a vault, not in a wiki.&lt;/li&gt;&lt;li data-source-line="454-454" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Backup retention 7 to 35 days based on compliance needs, plus a manual snapshot before every change.&lt;/li&gt;&lt;li data-source-line="455-455" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Multi-AZ for anything production; read replica in a second region for real DR.&lt;/li&gt;&lt;li data-source-line="456-456" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Pin the engine to a specific RU and test patches on a snapshot-restored clone first.&lt;/li&gt;&lt;li data-source-line="457-457" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Watch free storage space with a CloudWatch alarm at 15 percent.&lt;/li&gt;&lt;li data-source-line="458-459" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Do your licensing homework: BYOL vCPU counting and SE2 vs EE decides most of your bill.&lt;/li&gt;&lt;/ul&gt;&lt;h2 data-source-line="460-460" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;FAQ&lt;/h2&gt;&lt;p data-source-line="462-463" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Q: Do I get SYSDBA on RDS for Oracle?&lt;/span&gt;&amp;nbsp;No. The master user has DBA with restrictions, and AWS exposes restricted operations through the&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(245, 245, 245); border-radius: 4px; border-style: solid; border-width: 0px; color: #606366; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 14px; padding: 1px 6px; vertical-align: baseline;"&gt;rdsadmin&lt;/code&gt;&amp;nbsp;package. That is the trade for a managed service.&lt;/p&gt;&lt;p data-source-line="465-466" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Q: Is Oracle 26ai available on RDS?&lt;/span&gt;&amp;nbsp;Yes, in Enterprise Edition. 21c and 19c are also supported; 21c will be deprecated after Oracle's July 31, 2027 end of support.&lt;/p&gt;&lt;p data-source-line="468-469" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Q: Can I use my existing Oracle licenses?&lt;/span&gt;&amp;nbsp;Yes, with BYOL for Enterprise Edition or Standard Edition 2. License Included is available for SE2 only.&lt;/p&gt;&lt;p data-source-line="471-472" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;span style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; font-weight: 700;"&gt;Q: How do I move a 2 TB on-prem database to RDS with minimum downtime?&lt;/span&gt;&amp;nbsp;Data Pump via S3 for the bulk load, then AWS DMS (or materialized views over a database link) to catch up changes and cut over. For multi-TB with EE, look at transportable tablespaces.&lt;/p&gt;&lt;h2 data-source-line="474-474" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 1.3; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Summary&lt;/h2&gt;&lt;p data-source-line="476-476" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;Oracle RDS on AWS gives you a managed Oracle platform without the patching and storage headaches, as long as you work within its rules: no SYSDBA, no SSH, rdsadmin for the restricted stuff. Start with a small 19c SE2 instance to learn the flow, wire up Multi-AZ and a read replica before production, and use the S3 integration plus Data Pump for the migration. Do that, and your first cutover will be a non-event — which is exactly what you want.&lt;/p&gt;&lt;p data-source-line="478-478" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;em style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/em&gt;&lt;/p&gt;&lt;p data-source-line="478-478" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;em style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/em&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;em style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;b&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8HqZyS_4WbHp_XDoifTCyp2RApcWc1DN74h5ZSWlaOSNgZbdQNlQd1ZN1XDbxCUKxcrnxDYeRuJk6giBaBGPrDU18nBr3bguxjTgUrI_UvORGNXdkg0Mi6Rg0ddFyL7gHCJ2iEAd-l81qoz2L9Kp6wVEyM4ltOIfFI-xPci_7bPEDiv1qeaHhJQZKkLA/s189/funoracleapps_logo.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" data-original-height="141" data-original-width="189" height="141" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8HqZyS_4WbHp_XDoifTCyp2RApcWc1DN74h5ZSWlaOSNgZbdQNlQd1ZN1XDbxCUKxcrnxDYeRuJk6giBaBGPrDU18nBr3bguxjTgUrI_UvORGNXdkg0Mi6Rg0ddFyL7gHCJ2iEAd-l81qoz2L9Kp6wVEyM4ltOIfFI-xPci_7bPEDiv1qeaHhJQZKkLA/s1600/funoracleapps_logo.png" width="189" /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/em&gt;&lt;/div&gt;&lt;em style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/em&gt;&lt;p&gt;&lt;/p&gt;&lt;p data-source-line="478-478" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 16px; padding: 0px;"&gt;&lt;em style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Please do like and subscribe to my youtube channel:&amp;nbsp;&lt;a href="https://www.youtube.com/@foalabs" rel="noopener noreferrer" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; cursor: pointer; display: inline-flex; line-height: calc(1em + 2px); max-width: 100%; outline: none; position: relative; text-decoration: none; transition: 0.3s;" target="_blank"&gt;https://www.youtube.com/@foalabs&lt;/a&gt;&amp;nbsp;If you like this post please follow, share and comment&lt;/span&gt;&lt;/b&gt;&lt;/em&gt;&lt;/p&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhroWS87Hld5N31EQDRtkiXDp-KAYACHg6nKxOpSCJu9Y-jv_Kj_wMcHXuEZIa-tPHgGBvoaU-w9aDIKrTApBfYckLoXJGyW2ygq_y46sUaXdKJW8f75Dh1Db4d_BQoXomCzyqPT8qgqSRuU-LZQMEeGHvjupHEqUcH2QCUsq6pZmJ4e-_y3zggpwmABrE/s72-w640-h358-c/image.png" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Oracle RMAN Backup Performance Tuning: Step by Step Guide</title><link>http://www.funoracleapps.com/2026/11/oracle-rman-backup-performance-tuning.html</link><category>funoracleapps</category><category>Oracle</category><author>noreply@blogger.com (Himanshu)</author><pubDate>Fri, 13 Nov 2026 15:09:42 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6369673212267799064.post-2718735554597608246</guid><description>&lt;div&gt;&lt;h1 data-source-line="13-13" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; line-height: normal; list-style: none; margin: 30px 0px 10px; padding: 0px;"&gt;Oracle RMAN Backup Performance Tuning: Step by Step Guide&lt;/h1&gt;&lt;p data-source-line="15-15" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Every DBA inherits at least one database where the nightly backup has crept from forty minutes to five hours. Nobody changed the backup script. The database just grew, and one day the backup started running into the morning batch jobs.&lt;/p&gt;&lt;p data-source-line="17-17" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;The usual reaction is to add channels. Sometimes that works. A lot of the time it makes the backup slower, because the bottleneck was never the read side.&lt;/p&gt;&lt;p data-source-line="19-19" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;This post is the method I use to find the real bottleneck and fix it, with the queries to measure each stage and the settings that actually move the numbers. It applies to 11g through 26ai, and I will flag the bits that changed in 26ai.&lt;/p&gt;&lt;p data-source-line="21-21" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWRY4seQx1c8QdMUs8FUJUlLl-YlSr8Aj10fBu6LaqMwOALvu5toH64k5-73XwfOCuiLjDF6YKXJqEcc-wVT6Y99dfXy7tXytTyFIicqqwFKS5-i1D_Yqw-iHV8saPYYUdt80Jbq8068L6OWNmaY_0TKTMdFxS2sMnWL81FXGzx-XvvnsXILagkxvATR4/s1600/image.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="" data-original-height="1504" data-original-width="3200" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWRY4seQx1c8QdMUs8FUJUlLl-YlSr8Aj10fBu6LaqMwOALvu5toH64k5-73XwfOCuiLjDF6YKXJqEcc-wVT6Y99dfXy7tXytTyFIicqqwFKS5-i1D_Yqw-iHV8saPYYUdt80Jbq8068L6OWNmaY_0TKTMdFxS2sMnWL81FXGzx-XvvnsXILagkxvATR4/w640-h300/image.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p data-source-line="21-21" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p data-source-line="23-23" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;em style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Figure 1: The four stages of an RMAN backup. A backup runs at the speed of its slowest stage, so tune the slow one, not all of them.&lt;/em&gt;&lt;/p&gt;&lt;hr data-source-line="25-25" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="27-27" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Why is my RMAN backup slow?&lt;/h2&gt;&lt;p data-source-line="29-29" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;An RMAN backup moves data through four stages: read the blocks, optionally compress and encrypt them, write the backupset, then verify the result. Your throughput is capped by the slowest of those four.&lt;/p&gt;&lt;p data-source-line="31-31" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;That single idea kills most bad tuning. Doubling the channel count doubles the number of processes reading, but if the destination disk can only absorb 300 MB/s, you have added CPU load and contention and gained nothing. On tape, more channels than the media manager's stream limit will actually slow you down.&lt;/p&gt;&lt;p data-source-line="33-33" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;So the sequence is always the same. Measure, find the ceiling, fix that ceiling, measure again.&lt;/p&gt;&lt;hr data-source-line="35-35" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="37-37" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Step 1: Measure the current backup properly&lt;/h2&gt;&lt;p data-source-line="39-39" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Do not tune by feel. RMAN records every job in&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;v$rman_backup_job_details&lt;/code&gt;, including the input and output rates. That one view tells you which side is the bottleneck.&lt;/p&gt;&lt;pre data-source-line="41-58" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="dd2702dd428bb563" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Last 10 RMAN jobs with read and write throughput&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; session_key,
       command_id,
       input_type,
       status,
       start_time,
       end_time,
       ROUND(input_bytes&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;)               &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; in_mb,
       ROUND(output_bytes&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;)              &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; out_mb,
       ROUND(input_bytes_per_sec&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;)    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; in_mbps,
       ROUND(output_bytes_per_sec&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;)   &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; out_mbps,
       time_taken_display                          &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; elapsed,
       ROUND(compression_ratio, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;)                 &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; comp_ratio
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt;   v$rman_backup_job_details
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt;  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; start_time &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FETCH&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FIRST&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;10&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ROWS&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ONLY&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="60-60" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Expected output:&lt;/strong&gt;&lt;/p&gt;&lt;pre data-source-line="62-66" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="9f183cb4e1de507e" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;SESSION_KEY COMMAND_ID INPUT_TYPE  STATUS    IN_MB   OUT_MB  IN_MBPS OUT_MBPS ELAPSED   COMP_RATIO
       1041       1841 DB FULL     COMPLETED 921600  198430    412.6    88.7   00:37:12        4.65
       1040       1832 ARCHIVELOG  COMPLETED   8420    2180    186.4    48.2   00:00:45        3.86
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="68-68" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Read it like this. Input 412 MB/s against output 88 MB/s with a compression ratio of 4.65 means the write side is fine and the CPU is doing real work. Input 400 MB/s against output 390 MB/s means you are moving raw data as fast as either side allows, and math says the destination is the ceiling.&lt;/p&gt;&lt;p data-source-line="70-70" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;A gap between&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;in_mbps&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;out_mbps&lt;/code&gt;&amp;nbsp;that is not explained by the compression ratio means the write side is stalling. That is a storage or media manager problem, not an RMAN problem.&lt;/p&gt;&lt;p data-source-line="72-72" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Note:&lt;/strong&gt;&amp;nbsp;column names in these views are stable across 19c to 26ai, but run&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;DESC v$rman_backup_job_details&lt;/code&gt;&amp;nbsp;on your own release before you build a script around them. I have been bitten by assuming.&lt;/p&gt;&lt;p data-source-line="74-74" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Take a baseline on the current settings, write the numbers down, and compare after every change. Without a baseline you cannot tell whether a change helped or whether the database was just quieter that night.&lt;/p&gt;&lt;hr data-source-line="76-76" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="78-78" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Step 2: Right-size channel parallelism&lt;/h2&gt;&lt;p data-source-line="80-80" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Channels are the processes that do the work. Each channel reads one file at a time and writes its own output. The honest rule is that channel count should match the number of independent read paths you have, not the number of CPUs.&lt;/p&gt;&lt;p data-source-line="82-82" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;To see what you are configured for:&lt;/p&gt;&lt;pre data-source-line="84-86" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-bash" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="cbcf885e82be8784" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;rman target /
&lt;/code&gt;&lt;/pre&gt;&lt;pre data-source-line="88-90" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="ad1b943bd052a7f6" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; SHOW DEVICE TYPE;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="92-92" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Expected output:&lt;/strong&gt;&lt;/p&gt;&lt;pre data-source-line="94-97" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="4962e7c8b120fbed" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN configuration parameters for database with db_unique_name PROD are:
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="99-99" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Most systems are sitting at the default of 1. That is a single process reading your entire multi-terabyte database. Change it:&lt;/p&gt;&lt;pre data-source-line="101-103" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="4d47b5354c1fe8cc" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; CONFIGURE DEVICE TYPE DISK PARALLELISM 4;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="105-105" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Or set it per job so you do not change behaviour for everything else:&lt;/p&gt;&lt;pre data-source-line="107-115" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="f4d7b100cb7550c8" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; RUN {
  ALLOCATE CHANNEL c1 DEVICE TYPE DISK;
  ALLOCATE CHANNEL c2 DEVICE TYPE DISK;
  ALLOCATE CHANNEL c3 DEVICE TYPE DISK;
  ALLOCATE CHANNEL c4 DEVICE TYPE DISK;
  BACKUP INCREMENTAL LEVEL 0 DATABASE PLUS ARCHIVELOG;
}
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="117-117" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;How many is right? On local disk or a SAN LUN set, four to eight channels is the practical range for a large database. On ASM, one channel per disk group used by the datafiles is a sensible start. On tape or an SBT destination, the media manager's supported stream count is your hard ceiling, and going past it makes jobs queue rather than run faster.&lt;/p&gt;&lt;p data-source-line="119-119" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Caution:&lt;/strong&gt;&amp;nbsp;each channel allocates its own memory buffers and its own output files. On a small server, jumping from 1 to 16 channels can push the box into swap and make the backup slower than when you started. Change one thing at a time and watch&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;top&lt;/code&gt;&amp;nbsp;and the destination throughput while it runs.&lt;/p&gt;&lt;hr data-source-line="121-121" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="123-123" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Step 3: Use multisection backups for very large datafiles&lt;/h2&gt;&lt;p data-source-line="125-125" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;If one datafile is 500 GB and one channel owns it, the other channels sit idle while that file is read single-threaded. Multisection backup splits a single datafile across several channels. Each channel reads a byte range of the same file, in parallel.&lt;/p&gt;&lt;pre data-source-line="127-129" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="d0af6379c61ba0b6" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; BACKUP DATABASE SECTION SIZE 4G;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="131-131" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;You can also do it for a specific file when only one is the problem:&lt;/p&gt;&lt;pre data-source-line="133-135" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="a518aa422a2356ee" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; BACKUP DATAFILE 7 SECTION SIZE 8G;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="137-137" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;The output shows each section as&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;piece&lt;/code&gt;, with the same file number and a different block range. That is how you know it worked.&lt;/p&gt;&lt;p data-source-line="139-139" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Note:&lt;/strong&gt;&amp;nbsp;multisection backups require Enterprise Edition, and you restore them as a normal backupset — RMAN handles the sections transparently. Do not go and split your datafiles by hand; that is not what this feature is for.&lt;/p&gt;&lt;p data-source-line="141-141" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Pick a section size that gives you four to eight sections per large file. A 500 GB datafile with a 4 GB section produces 125 sections, which is pointless overhead.&lt;/p&gt;&lt;hr data-source-line="143-143" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="145-145" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Step 4: Stop reading blocks that have not changed&lt;/h2&gt;&lt;p data-source-line="147-147" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;A full backup reads every block of every datafile, whether it changed or not. For a database that changes 5 percent a day, that is 95 percent wasted I/O. Two features fix this, and they solve different problems.&lt;/p&gt;&lt;p data-source-line="149-149" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Block change tracking (BCT) lets a level 1 incremental read only the blocks that changed since the last level 0. That is the biggest single win available for daily backups.&lt;/p&gt;&lt;pre data-source-line="151-155" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="3e3c10d6c11228c9" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Is BCT enabled?&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; status, filename, bytes
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt;   v$block_change_tracking;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="157-157" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Expected output before enabling:&lt;/strong&gt;&lt;/p&gt;&lt;pre data-source-line="159-162" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="b40df1498e68d551" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;STATUS    FILENAME                            BYTES
DISABLED
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="164-164" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Enable it:&lt;/p&gt;&lt;pre data-source-line="166-169" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="69c7faf0d3d26e84" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; DATABASE ENABLE BLOCK CHANGE TRACKING
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;USING&lt;/span&gt; FILE &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'/u01/app/oracle/bct/PROD_bct.ctf'&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="171-171" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Expected output after:&lt;/strong&gt;&lt;/p&gt;&lt;pre data-source-line="173-176" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="7068e8b59099c794" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;STATUS    FILENAME                            BYTES
ENABLED   /u01/app/oracle/bct/PROD_bct.ctf   11534336
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="178-178" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Backup optimization is a different thing. It skips whole files that have not changed at all since the last backup of the same type, which is useful for a database with many read-only tablespaces and nearly useless for an OLTP database where every datafile changes constantly.&lt;/p&gt;&lt;pre data-source-line="180-182" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="bb8047a200f0652c" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; CONFIGURE BACKUP OPTIMIZATION ON;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="184-184" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Read the distinction carefully, because people mix them up constantly. BCT works inside a file, block by block, and only for incremental backups. Backup optimization works at file level and only skips files with no changes at all. Neither one makes your level 0 faster.&lt;/p&gt;&lt;p data-source-line="186-186" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Important:&lt;/strong&gt;&amp;nbsp;check your edition's licensing before enabling BCT in production. Then check the tracking file is on fast storage, not on the same saturated disk as your backups.&lt;/p&gt;&lt;p data-source-line="188-188" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Once BCT is on and you have a level 0, measure the daily incremental again. On a large OLTP database this is routinely the difference between a four-hour window and a twenty-minute one.&lt;/p&gt;&lt;hr data-source-line="190-190" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="192-192" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Step 5: Pick the compression that matches your CPU&lt;/h2&gt;&lt;p data-source-line="194-194" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Compression reduces write volume and increases CPU work. Whether it helps depends entirely on which side is your bottleneck, which is why Step 1 came first.&lt;/p&gt;&lt;pre data-source-line="196-198" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="16f2785a972386e3" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; SHOW COMPRESSION ALGORITHM;
&lt;/code&gt;&lt;/pre&gt;&lt;pre data-source-line="200-202" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="2b7f9333afc9cbe6" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; CONFIGURE COMPRESSION ALGORITHM 'MEDIUM';
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="204-204" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;MEDIUM is the setting I use by default. It gets most of the space saving at a fraction of the CPU cost of HIGH, and the difference in elapsed time on a busy server is noticeable.&lt;/p&gt;&lt;p data-source-line="206-206" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;A useful pattern for a tight window is compress the archive logs hard and leave the datafiles alone. Archive logs compress extremely well and are usually small relative to the database:&lt;/p&gt;&lt;pre data-source-line="208-211" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="d1fbd4bcfc9e918c" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; BACKUP AS COMPRESSED BACKUPSET ARCHIVELOG ALL;
RMAN&amp;gt; BACKUP INCREMENTAL LEVEL 0 DATABASE;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="213-213" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Note:&lt;/strong&gt;&amp;nbsp;only BASIC compression is free with Enterprise Edition. The other algorithms require the Advanced Compression Option, so confirm licensing before you configure MEDIUM or HIGH. If the option is not licensed, BASIC still reduces write volume, it just costs more CPU per byte.&lt;/p&gt;&lt;p data-source-line="215-215" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;If the backup got slower after you turned compression on, you were already CPU bound. Go back to Step 1, look at the input and output rates, and turn it off or move to a cheaper algorithm.&lt;/p&gt;&lt;hr data-source-line="217-217" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="219-219" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Step 6: Tune the destination side&lt;/h2&gt;&lt;p data-source-line="221-221" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;If Step 1 showed the write side stalling, no amount of RMAN tuning on the source will help. The problem is where the bytes land.&lt;/p&gt;&lt;p data-source-line="223-223" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Check the fast recovery area first, because a nearly full FRA makes RMAN behave strangely:&lt;/p&gt;&lt;pre data-source-line="225-230" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="591e2f3ac9f1b686" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; name, ROUND(space_limit&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;) limit_gb,
       ROUND(space_used&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;)        used_gb,
       ROUND(space_reclaimable&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;) reclaim_gb
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt;   v$recovery_file_dest;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="232-232" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;If&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;used_gb&lt;/code&gt;&amp;nbsp;is close to&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;limit_gb&lt;/code&gt;, RMAN spends time deleting old backups mid-job and the whole thing stretches out. Either raise the limit:&lt;/p&gt;&lt;pre data-source-line="234-236" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="bb824646a49b5076" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SET&lt;/span&gt; db_recovery_file_dest_size &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;T &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SCOPE&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BOTH&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="238-238" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;or move the backups off the FRA and keep only archive logs there, which is what I prefer on large systems.&lt;/p&gt;&lt;p data-source-line="240-240" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Then look at the filesystem itself.&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;iostat -x 5&lt;/code&gt;&amp;nbsp;during a backup tells you whether the destination device is at 100 percent utilisation. If it is, you need faster storage or a second destination, not more tuning.&lt;/p&gt;&lt;p data-source-line="242-242" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Spreading a backup across two destinations is easy:&lt;/p&gt;&lt;pre data-source-line="244-250" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="97ca83db5a7f7ee8" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RUN {
  ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '/backup_lun1/%U';
  ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT '/backup_lun2/%U';
  BACKUP INCREMENTAL LEVEL 0 DATABASE FILESPERSET 8;
}
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="252-252" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Two channels pointed at two separate paths is clearer to read six months later than one clever command, and&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;FILESPERSET 8&lt;/code&gt;&amp;nbsp;keeps any single backupset from spanning too many files.&lt;/p&gt;&lt;p data-source-line="254-254" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Note for 26ai:&lt;/strong&gt;&amp;nbsp;starting with Oracle AI Database 26ai, RMAN's native SBT libraries ship inside the Oracle home, so you no longer download a separate SBT library from OTN to back up to OCI Object Storage, Amazon S3 or Azure Blob Storage. If your cloud backup setup still depends on a downloaded library, this is worth revisiting — it removes a version-matching headache at every upgrade.&lt;/p&gt;&lt;p data-source-line="256-256" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Also worth flagging: Oracle Secure Backup 19.1 had desupport announced on 1 May 2026, with premier support ending 30 September 2027. If your tape backups ride on OSB, that date belongs in your planning document now.&lt;/p&gt;&lt;hr data-source-line="258-258" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="260-260" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Step 7: Validate instead of backing up twice&lt;/h2&gt;&lt;p data-source-line="262-262" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;A backup nobody has validated is a hope, not a backup. But validating by restoring the whole database every week wastes the same I/O you just spent hours optimising.&lt;/p&gt;&lt;p data-source-line="264-264" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;RMAN can read the backup and verify it without restoring anything:&lt;/p&gt;&lt;pre data-source-line="266-268" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="85310cc4503ec921" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; BACKUP VALIDATE CHECK LOGICAL DATABASE ARCHIVELOG ALL;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="270-270" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;This reads every block in the backupsets and checks it against the recorded checksums. It exercises the storage and the backup files, and it catches corruption before you need the backup. To check that the files are still present and registered:&lt;/p&gt;&lt;pre data-source-line="272-276" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="0082369f381373d0" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; CROSSCHECK BACKUP;
RMAN&amp;gt; CROSSCHECK ARCHIVELOG ALL;
RMAN&amp;gt; DELETE EXPIRED BACKUP;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="278-278" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;To find out whether a restore would actually work, and how long it would take, without moving a byte:&lt;/p&gt;&lt;pre data-source-line="280-282" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="c80c8568ec7e251a" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;RMAN&amp;gt; RESTORE DATABASE PREVIEW SUMMARY;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="284-284" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;That preview output is the document you show when someone asks whether the backup is usable. A validate run plus a preview is ten minutes of your week and it is the difference between a backup strategy and a backup habit.&lt;/p&gt;&lt;hr data-source-line="286-286" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="288-288" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Step 8: Put it on a schedule and watch the trend&lt;/h2&gt;&lt;p data-source-line="290-290" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Tuning once is not tuning. Databases grow, and the same backup that ran in forty minutes last quarter will run in ninety next quarter. Record the throughput every night so you notice the drift before it becomes an incident.&lt;/p&gt;&lt;pre data-source-line="292-303" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; max-width: 100%; overflow-x: auto; position: relative;"&gt;&lt;code class="hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="95b337b36a53014b" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Weekly trend: average throughput and elapsed time per day&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; TRUNC(start_time)              &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;day&lt;/span&gt;,
       &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;COUNT&lt;/span&gt;(&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt;)                       &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; jobs,
       ROUND(&lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;AVG&lt;/span&gt;(input_bytes_per_sec&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;),&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;)  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; avg_in_mbps,
       ROUND(&lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;AVG&lt;/span&gt;(output_bytes_per_sec&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;),&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; avg_out_mbps,
       &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;MAX&lt;/span&gt;(time_taken_display)        &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; longest_job
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt;   v$rman_backup_job_details
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt;  start_time &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; SYSDATE &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;-&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;30&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;GROUP&lt;/span&gt;  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; TRUNC(start_time)
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt;  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;day&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="305-305" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Keep that output in a table of your own, because&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;v$rman_backup_job_details&lt;/code&gt;&amp;nbsp;only holds a limited history and control file retention will eventually purge it. A simple&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;INSERT INTO rman_perf_history SELECT ...&lt;/code&gt;&amp;nbsp;from a nightly job is enough.&lt;/p&gt;&lt;hr data-source-line="307-307" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="309-309" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Troubleshooting: fast table for slow and failing backups&lt;/h2&gt;&lt;div class="table-container" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; margin: 30px 0px 0px; position: relative;"&gt;&lt;table class="table-scroll-init" data-source-line="311-321" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-collapse: collapse; border-style: solid; border-width: 0px; display: block; margin: 0px; min-width: 100px; overflow-x: auto; padding: 0px; position: relative;"&gt;&lt;thead data-source-line="311-311" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="311-311" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Symptom or error&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Where it shows up&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Root cause&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Fix&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody data-source-line="313-321" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="313-313" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Backup slower after adding channels&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Whole job&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Destination saturated, or media manager stream limit reached&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Reduce channels, check&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;iostat&lt;/code&gt;&amp;nbsp;on the destination, confirm the media manager's stream count&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="314-314" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Backup slower after enabling compression&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Whole job&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;CPU bound, compression cost exceeds I/O saving&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Use BASIC or MEDIUM instead of HIGH, or disable compression for datafiles and keep it for archive logs&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="315-315" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;ORA-19809: limit exceeded for recovery files&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Near the end of the job&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;FRA full during the backup&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Raise&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;db_recovery_file_dest_size&lt;/code&gt;, or move backupsets out of the FRA&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="316-316" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;ORA-00257: archiver error. Connect internal only, until freed&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;During the job, then the database stalls&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;FRA full and log switches are blocked&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Same as above, plus check&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;ARCHIVELOG DELETION POLICY&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="317-317" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;RMAN-08137: WARNING: archived log not deleted, needed for standby&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;End of the job&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Data Guard standby still needs the log&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Set&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBYS&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="318-318" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;RMAN-06059: expected archived log not found&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Start of backup or restore&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Archive log deleted or missing from disk&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;CROSSCHECK ARCHIVELOG ALL&lt;/code&gt;, then&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;DELETE EXPIRED&lt;/code&gt;, then take a fresh backup&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="319-319" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Incremental backup takes as long as a full&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Whole job&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;BCT disabled, or invalidated after a restore&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Check&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;v$block_change_tracking&lt;/code&gt;, re-enable, take a new level 0&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="320-320" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Job runs but one channel does nothing&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Job output&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Too few large files for the channel count, or a section size that produces one section&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Enable multisection, or reduce channels to match the file count&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="321-321" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Backup hangs with no progress after minutes&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Channel output&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Media manager waiting on a tape mount, or an offline destination&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Check the media manager log, not the RMAN log, for the real message&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="table-scroll-button" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background: rgb(35, 36, 37); border-radius: 8px; border-style: solid; border-width: 0px; box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 10px; color: white; cursor: pointer; display: flex; height: 26px; justify-content: center; position: absolute; right: 8px; top: 10px; width: 56px; z-index: 10;"&gt;&lt;div class="scroll-icon" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; animation: 1s ease 0s infinite normal none running moveAround-98eeb14e; border-style: solid; border-width: 0px; height: 16px; transform: translate(-2px); width: 16px;"&gt;&lt;svg fill="none" height="16" viewbox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M9.5556 3L12.2812 5.643C13.4271 6.75412 14 7.30962 14 8C14 8.69037 13.4271 9.24587 12.2812 10.357L9.5556 13M2 3L4.72564 5.643C5.87147 6.75412 6.4444 7.30962 6.4444 8C6.4444 8.69037 5.87147 9.24587 4.72565 10.357L2 13" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.33333" stroke="currentColor"&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p data-source-line="323-323" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;The pattern in that table is worth remembering: most "RMAN is slow" tickets are destination tickets wearing an RMAN costume.&lt;/p&gt;&lt;hr data-source-line="325-325" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="327-327" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Best practices that hold up in production&lt;/h2&gt;&lt;ul data-source-line="329-336" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="329-329" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Measure before and after every change. One variable at a time, one night at a time.&lt;/li&gt;&lt;li data-source-line="330-330" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Size the window from the slowest night of the month, not the average. Month-end close changes everything.&lt;/li&gt;&lt;li data-source-line="331-331" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Keep level 0 on the weekend and level 1 daily, with BCT enabled and verified.&lt;/li&gt;&lt;li data-source-line="332-332" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Put archive log backups on their own schedule. Fifteen-minute log backups mean a restore loses fifteen minutes, not a day.&lt;/li&gt;&lt;li data-source-line="333-333" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Never let a backup run without a&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;CROSSCHECK&lt;/code&gt;&amp;nbsp;and a&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;DELETE EXPIRED&lt;/code&gt;&amp;nbsp;in the same job, or your catalog slowly fills with ghosts.&lt;/li&gt;&lt;li data-source-line="334-334" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Test a real restore of one tablespace quarterly. It is the only proof that matters.&lt;/li&gt;&lt;li data-source-line="335-336" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Document the channel count and why it is that number. The next DBA will otherwise change it.&lt;/li&gt;&lt;/ul&gt;&lt;hr data-source-line="337-337" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="339-339" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;FAQ&lt;/h2&gt;&lt;p data-source-line="341-341" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;How many channels should I use for an RMAN backup?&lt;/strong&gt;&lt;/p&gt;&lt;p data-source-line="343-343" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Start with four and measure. Increase only while&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;out_mbps&lt;/code&gt;&amp;nbsp;in&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;v$rman_backup_job_details&lt;/code&gt;&amp;nbsp;keeps rising. The moment output throughput flattens and elapsed time does not improve, you have found your ceiling and more channels will only add contention.&lt;/p&gt;&lt;p data-source-line="345-345" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Does compression make an RMAN backup faster?&lt;/strong&gt;&lt;/p&gt;&lt;p data-source-line="347-347" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Only when the write side is the bottleneck. Compression reduces bytes written but costs CPU. If your server is already CPU bound, enabling it makes the backup slower. Check the input and output rates before you decide.&lt;/p&gt;&lt;p data-source-line="349-349" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Does block change tracking speed up full backups?&lt;/strong&gt;&lt;/p&gt;&lt;p data-source-line="351-351" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;No. BCT only helps incremental backups, because it tracks which blocks changed so a level 1 can skip the rest. A level 0 or full backup still reads every block. If your full backup is the problem, look at channels, multisection and destination throughput instead.&lt;/p&gt;&lt;p data-source-line="353-353" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Can I take an RMAN backup while users are working?&lt;/strong&gt;&lt;/p&gt;&lt;p data-source-line="355-355" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Yes, and that is the normal case for archive log backups and online backups. The cost is extra I/O and redo generation. Watch the destination and the host CPU, and avoid running the level 0 in the middle of your busiest batch window.&lt;/p&gt;&lt;p data-source-line="357-357" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Why is my incremental backup as slow as my full backup?&lt;/strong&gt;&lt;/p&gt;&lt;p data-source-line="359-359" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Almost always block change tracking is off, or it was invalidated. Restores and some operations reset the tracking file. Check&amp;nbsp;&lt;code style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;v$block_change_tracking&lt;/code&gt;, re-enable if needed, and take a fresh level 0 before expecting fast incrementals again.&lt;/p&gt;&lt;hr data-source-line="361-361" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px;" /&gt;&lt;h2 data-source-line="363-363" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: normal; list-style: none; margin: 24px 0px 10px; padding: 0px;"&gt;Summary&lt;/h2&gt;&lt;p data-source-line="365-365" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;RMAN backup performance tuning is not a list of magic parameters. It is one measurement and one decision. Find out whether your backup is limited by reading, processing or writing, then fix that specific stage. Channels and multisection fix the read side. Compression algorithm choices fix the process side, at a CPU price. Faster storage, a correctly sized FRA and a sane media manager stream count fix the write side.&lt;/p&gt;&lt;p data-source-line="367-367" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Get the baseline, change one thing, measure again, and keep the numbers. Do that for a month and your oracle rman backup slow problem stops being a recurring fire and becomes a trend line you can see coming.&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red; font-family: arial;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red; font-family: arial;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="color: red; font-family: arial;"&gt;&lt;b&gt;&lt;div&gt;&lt;span style="color: red; font-family: arial;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: red; font-family: arial;"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZX8-paoO4euer6UKYoOKWaTrL9U4drjyL4wmsPi5yEDjtcLqRlmyvmYkrlpyAOpiDBgXmdSZb2sTh5wNkvku8vqC94CpESh3YSAclfwygYBVQyW42fT8EWQ_GwEKfV3jANQCCV3wEfmgZHdRi5IwzhcuG-32U77J-zl6pxyBJvrvN2Jx-lYAE-l6tzaE/s189/funoracleapps_logo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" data-original-height="141" data-original-width="189" height="141" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZX8-paoO4euer6UKYoOKWaTrL9U4drjyL4wmsPi5yEDjtcLqRlmyvmYkrlpyAOpiDBgXmdSZb2sTh5wNkvku8vqC94CpESh3YSAclfwygYBVQyW42fT8EWQ_GwEKfV3jANQCCV3wEfmgZHdRi5IwzhcuG-32U77J-zl6pxyBJvrvN2Jx-lYAE-l6tzaE/s1600/funoracleapps_logo.png" width="189" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;Please do like and subscribe to my youtube channel: 
https://www.youtube.com/@foalabs

If you like this post please follow,share and comment&lt;/b&gt;&lt;/span&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWRY4seQx1c8QdMUs8FUJUlLl-YlSr8Aj10fBu6LaqMwOALvu5toH64k5-73XwfOCuiLjDF6YKXJqEcc-wVT6Y99dfXy7tXytTyFIicqqwFKS5-i1D_Yqw-iHV8saPYYUdt80Jbq8068L6OWNmaY_0TKTMdFxS2sMnWL81FXGzx-XvvnsXILagkxvATR4/s72-w640-h300-c/image.png" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Oracle Database Performance Tuning Step by Step Beginner to Advanced Guide</title><link>http://www.funoracleapps.com/2026/10/oracle-database-performance-tuning-step-by-step-guide.html</link><category>funoracleapps</category><category>Oracle</category><author>noreply@blogger.com (Himanshu)</author><pubDate>Wed, 14 Oct 2026 11:21:50 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6369673212267799064.post-5348855735401042742</guid><description>&lt;h1 data-source-line="14-14" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Oracle Database Performance Tuning Step by Step Beginner to Advanced Guide&lt;/h1&gt;&lt;p data-source-line="16-16" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Performance tuning is the most critical skill for any Oracle DBA. A slow database affects every user, every transaction, and every business process. This guide walks you through the complete performance tuning process from basic health checks to advanced optimization techniques. Every query and step here is production-tested and ready to use.&lt;/p&gt;&lt;p data-source-line="18-18" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;This is not about guessing. We follow a structured method: identify the problem, analyze the root cause, fix it, and validate the fix. Whether you manage Oracle 11g, 12c, 19c, or the latest 23ai, these steps apply to all versions.&lt;/p&gt;&lt;p data-source-line="18-18" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQuArzpY1vXDo27RyHayJLAKHEQayag9AAw8NYfQdrfsYJ-xoWPUzc4TiSGAXK1bQXofwiju3pnJt9Rn-HZWbYMMOcG4ebps31oMuicRkJGwNkSnri8JmWxaWjvBZlgVRCQeZmX5S5Jpb2WFt9_vITZhEOxP3cg9Po2Z7GJzP3iWbojJhFjriB81i2niY/s1600/image.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="" data-original-height="1536" data-original-width="1024" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQuArzpY1vXDo27RyHayJLAKHEQayag9AAw8NYfQdrfsYJ-xoWPUzc4TiSGAXK1bQXofwiju3pnJt9Rn-HZWbYMMOcG4ebps31oMuicRkJGwNkSnri8JmWxaWjvBZlgVRCQeZmX5S5Jpb2WFt9_vITZhEOxP3cg9Po2Z7GJzP3iWbojJhFjriB81i2niY/w427-h640/image.png" width="427" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p data-source-line="20-22" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p data-source-line="20-22" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;/p&gt;&lt;h2 data-source-line="26-26" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;What is Oracle Database Performance Tuning?&lt;/h2&gt;&lt;p data-source-line="28-28" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Performance tuning means identifying and removing bottlenecks that slow down your database. The bottleneck could be poorly written SQL, missing indexes, memory pressure, disk I/O waits, locking issues, or configuration problems.&lt;/p&gt;&lt;p data-source-line="30-30" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;The Oracle database tracks everything it does. Every wait, every SQL execution, every I/O operation gets recorded. Our job is to read those records and fix what is broken.&lt;/p&gt;&lt;hr data-source-line="32-32" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="34-34" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Prerequisites&lt;/h2&gt;&lt;p data-source-line="36-36" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Before you start tuning:&lt;/p&gt;&lt;ol data-source-line="38-42" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style: decimal; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="38-38" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;You need SELECT access on DBA views (DBA_TABLES, DBA_INDEXES, V$ views).&lt;/li&gt;&lt;li data-source-line="39-39" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Diagnostic and Tuning pack license is required for AWR, ADDM, ASH, and SQL Tuning Advisor.&lt;/li&gt;&lt;li data-source-line="40-40" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;SYSDBA or DBA role for most tuning operations.&lt;/li&gt;&lt;li data-source-line="41-42" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;A baseline period: you cannot tune if you do not know what normal performance looks like.&lt;/li&gt;&lt;/ol&gt;&lt;p data-source-line="43-43" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Note:&lt;/strong&gt;&amp;nbsp;If your database does not have the Diagnostic Pack license, use Statspack instead of AWR. The method is the same but the views and reports are different.&lt;/p&gt;&lt;hr data-source-line="45-45" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="47-47" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Step 1: Establish a Performance Baseline&lt;/h2&gt;&lt;p data-source-line="49-49" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;A baseline is a snapshot of your database during normal operation. You compare current performance against this baseline to see what changed.&lt;/p&gt;&lt;h3 data-source-line="51-51" id="1.1-check-awr-snapshot-configuration" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;1.1 Check AWR Snapshot Configuration&lt;/h3&gt;&lt;p data-source-line="53-53" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;AWR (Automatic Workload Repository) takes snapshots of database performance metrics every hour by default and retains them for 8 days.&lt;/p&gt;&lt;pre data-source-line="55-58" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="c6fd59e82dd65632" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Check AWR snapshot settings&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; snap_interval, retention &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_hist_wr_control;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="60-60" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Expected output:&lt;/strong&gt;&lt;/p&gt;&lt;pre data-source-line="61-64" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="22e2755aeb49ede1" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;SNAP_INTERVAL              RETENTION
+00000 01:00:00.0         +00008 00:00:00.0
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="66-66" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;If AWR is not enabled or the interval is too long, modify it:&lt;/p&gt;&lt;pre data-source-line="68-77" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="ea5714fa23717f41" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Modify AWR settings (SYSDBA required)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BEGIN&lt;/span&gt;
  DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS(
    retention &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;10080&lt;/span&gt;,      &lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- 7 days in minutes&lt;/span&gt;
    &lt;span class="hljs-type" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;interval&lt;/span&gt;  &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;30&lt;/span&gt;          &lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- snapshot every 30 minutes&lt;/span&gt;
  );
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;END&lt;/span&gt;;
&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="79-79" id="1.2-take-a-manual-awr-snapshot" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;1.2 Take a Manual AWR Snapshot&lt;/h3&gt;&lt;p data-source-line="81-81" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;When you start a tuning exercise, take a manual snapshot so you have a clear before-and-after comparison.&lt;/p&gt;&lt;pre data-source-line="83-86" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="e4d8a365f4a926fa" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Take manual snapshot&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;EXEC&lt;/span&gt; DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="88-88" id="1.3-generate-an-awr-report" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;1.3 Generate an AWR Report&lt;/h3&gt;&lt;p data-source-line="90-90" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Run the database under normal load for at least 1 hour, then generate the AWR report.&lt;/p&gt;&lt;pre data-source-line="92-98" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="01cac5f73ea340e0" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- For single instance database&lt;/span&gt;
@?&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;rdbms&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;admin&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;awrrpt.sql

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- For RAC database&lt;/span&gt;
@?&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;rdbms&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;admin&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;awrgrpt.sql
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="100-100" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;You will be prompted for:&lt;/p&gt;&lt;ul data-source-line="101-104" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="101-101" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Report type: html or text (choose html)&lt;/li&gt;&lt;li data-source-line="102-102" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Begin snapshot ID&lt;/li&gt;&lt;li data-source-line="103-104" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;End snapshot ID&lt;/li&gt;&lt;/ul&gt;&lt;p data-source-line="105-105" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;The report gets saved to your current directory. Open it in a browser.&lt;/p&gt;&lt;p data-source-line="107-107" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;What to look for in AWR report:&lt;/strong&gt;&lt;/p&gt;&lt;ul data-source-line="108-112" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="108-108" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Top 5 Timed Events section: shows where the database spends most of its time&lt;/li&gt;&lt;li data-source-line="109-109" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;SQL ordered by Elapsed Time: the slowest queries&lt;/li&gt;&lt;li data-source-line="110-110" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Load Profile: transactions per second, logical reads, physical reads&lt;/li&gt;&lt;li data-source-line="111-112" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Instance Efficiency: buffer cache hit ratio, library cache hit ratio&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-source-line="113-113" id="1.4-run-addm-(automatic-database-diagnostic-monitor)" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;1.4 Run ADDM (Automatic Database Diagnostic Monitor)&lt;/h3&gt;&lt;p data-source-line="115-115" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;ADDM analyzes AWR data and gives you recommendations automatically.&lt;/p&gt;&lt;pre data-source-line="117-125" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="8c3cf7482761885b" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Get the latest snapshot IDs&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;MAX&lt;/span&gt;(snap_id) &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;-&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; begin_snap, &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;MAX&lt;/span&gt;(snap_id) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AS&lt;/span&gt; end_snap 
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_hist_snapshot 
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; instance_number &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; (&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; instance_number &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$instance);

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Generate ADDM report&lt;/span&gt;
@?&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;rdbms&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;admin&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;addmrpt.sql
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="127-127" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Enter the begin and end snapshot IDs from the query above. ADDM will tell you exactly what is slow and what to fix.&lt;/p&gt;&lt;hr data-source-line="129-129" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="131-131" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Step 2: Analyze Wait Events (The Heart of Tuning)&lt;/h2&gt;&lt;p data-source-line="133-133" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Oracle wait events tell you why sessions are waiting instead of working. This is the single most important diagnostic data.&lt;/p&gt;&lt;h3 data-source-line="135-135" id="2.1-check-current-wait-events" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;2.1 Check Current Wait Events&lt;/h3&gt;&lt;pre data-source-line="137-145" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="f4b0981931eb9dde" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- See what the database is waiting for right now&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; event, total_waits, time_waited, average_wait
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$system_event
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; event &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;NOT&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;IN&lt;/span&gt; (&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'SQL*Net message from client'&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'rdbms ipc message'&lt;/span&gt;, 
                    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'smon timer'&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'pmon timer'&lt;/span&gt;)
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; time_waited &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FETCH&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FIRST&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;10&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ROWS&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ONLY&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="147-147" id="2.2-top-wait-events-from-awr" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;2.2 Top Wait Events from AWR&lt;/h3&gt;&lt;pre data-source-line="149-162" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="2692f185a9a1ee91" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Top wait events in the last 24 hours&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    event_name,
    total_waits,
    time_waited_micro&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000000&lt;/span&gt; time_waited_sec,
    ROUND(time_waited_micro&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;100&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;SUM&lt;/span&gt;(time_waited_micro) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;OVER&lt;/span&gt; (), &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) pct_time
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_hist_system_event
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; snap_id &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BETWEEN&lt;/span&gt; (&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;MAX&lt;/span&gt;(snap_id)&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;-24&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_hist_snapshot) 
                  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; (&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;MAX&lt;/span&gt;(snap_id) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_hist_snapshot)
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; wait_class &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;!=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'Idle'&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; time_waited_micro &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FETCH&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FIRST&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;10&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ROWS&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ONLY&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="164-164" id="2.3-common-wait-events-and-what-they-mean" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;2.3 Common Wait Events and What They Mean&lt;/h3&gt;&lt;div class="table-container" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 30px 0px 0px; position: relative;"&gt;&lt;table class="table-scroll-init" data-source-line="166-175" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-collapse: collapse; border-style: solid; border-width: 0px; display: block; margin: 0px; min-width: 100px; overflow-x: auto; padding: 0px; position: relative;"&gt;&lt;thead data-source-line="166-166" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="166-166" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Wait Event&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Root Cause&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Fix&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody data-source-line="168-175" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="168-168" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;db file scattered read&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Full table scans, index range scans&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Add indexes, rewrite SQL, increase db_file_multiblock_read_count&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="169-169" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;db file sequential read&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Single block reads (index lookups on large tables)&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Check index efficiency, partition large tables, faster disks&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="170-170" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;log file sync&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Slow redo log writes, commit frequency&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Move redo logs to faster disks, reduce commits, check I/O subsystem&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="171-171" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;log file parallel write&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Slow disk I/O for redo logs&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Move redo to SSD or faster storage, check for I/O bottleneck&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="172-172" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;enq: TX - row lock contention&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Multiple sessions updating same rows&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Application fix - reduce lock duration, change batch logic&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="173-173" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;library cache lock/pin&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Hard parsing, shared pool contention&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Use bind variables, increase shared_pool_size&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="174-174" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;latch: cache buffers chains&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Hot block contention in buffer cache&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Reverse key indexes, partition the table, increase freelists&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="175-175" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;direct path read/write&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Parallel query, temp operations&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Expected for big queries, check temp tablespace size&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h3 data-source-line="177-177" id="2.4-find-sessions-causing-waits-right-now" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;2.4 Find Sessions Causing Waits Right Now&lt;/h3&gt;&lt;pre data-source-line="179-195" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="d90b73330954471a" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Active sessions and their wait events&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    s.sid,
    s.serial#,
    s.username,
    s.program,
    s.event,
    s.seconds_in_wait,
    s.sql_id,
    q.sql_text
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$session s
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;LEFT&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;JOIN&lt;/span&gt; v$&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;sql&lt;/span&gt; q &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ON&lt;/span&gt; s.sql_id &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; q.sql_id
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; s.status &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'ACTIVE'&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; s.username &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;IS&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;NOT NULL&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; s.seconds_in_wait &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;hr data-source-line="197-197" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="199-199" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Step 3: SQL Tuning (Fixing the Queries)&lt;/h2&gt;&lt;p data-source-line="201-201" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Most performance problems are bad SQL. Fix the SQL and you fix 80% of performance issues.&lt;/p&gt;&lt;h3 data-source-line="203-203" id="3.1-find-top-resource-consuming-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;3.1 Find Top Resource-Consuming SQL&lt;/h3&gt;&lt;pre data-source-line="205-221" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="d912131c8a06a0b6" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Top SQL by elapsed time (from AWR)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    sql_id,
    ROUND(elapsed_time_delta&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000000&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) elapsed_sec,
    executions_delta executions,
    ROUND(elapsed_time_delta&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;executions_delta&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000000&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;4&lt;/span&gt;) avg_sec,
    ROUND(cpu_time_delta&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000000&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) cpu_sec,
    ROUND(iowait_delta&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000000&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) io_sec,
    disk_reads_delta,
    buffer_gets_delta
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_hist_sqlstat
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; snap_id &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; (&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;MAX&lt;/span&gt;(snap_id) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_hist_snapshot)
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; executions_delta &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;0&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; elapsed_time_delta &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FETCH&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FIRST&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;20&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ROWS&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ONLY&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="223-223" id="3.2-get-the-full-sql-text" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;3.2 Get the Full SQL Text&lt;/h3&gt;&lt;pre data-source-line="225-235" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="0641f214c73e991f" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Retrieve full SQL text for a SQL_ID&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; sql_text 
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_hist_sqltext 
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; sql_id &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;sql_id'&lt;/span&gt;;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Or from current cache&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; sql_fulltext 
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;sql&lt;/span&gt; 
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; sql_id &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;sql_id'&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="237-237" id="3.3-check-execution-plan" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;3.3 Check Execution Plan&lt;/h3&gt;&lt;pre data-source-line="239-245" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="827086b683321e17" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Get execution plan from cursor cache&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;TABLE&lt;/span&gt;(DBMS_XPLAN.DISPLAY_CURSOR(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;sql_id'&lt;/span&gt;, &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;NULL&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'ALLSTATS LAST'&lt;/span&gt;));

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Get execution plan from AWR&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;TABLE&lt;/span&gt;(DBMS_XPLAN.DISPLAY_AWR(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;sql_id'&lt;/span&gt;));
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="247-247" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;What to look for in execution plans:&lt;/strong&gt;&lt;/p&gt;&lt;ul data-source-line="248-253" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="248-248" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;FULL table scans on large tables (Rows: millions, Access: FULL)&lt;/li&gt;&lt;li data-source-line="249-249" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;TABLE ACCESS FULL when an index exists&lt;/li&gt;&lt;li data-source-line="250-250" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Nested loops joining millions of rows (should be hash join)&lt;/li&gt;&lt;li data-source-line="251-251" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;High cardinality estimates vs actual rows&lt;/li&gt;&lt;li data-source-line="252-253" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Missing indexes (check Predicate Information section)&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-source-line="254-254" id="3.4-run-sql-tuning-advisor" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;3.4 Run SQL Tuning Advisor&lt;/h3&gt;&lt;p data-source-line="256-256" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;SQL Tuning Advisor is Oracle's built-in AI for SQL. It suggests indexes, SQL profiles, and rewrites.&lt;/p&gt;&lt;pre data-source-line="258-280" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="d96ed99e4ba9387e" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Create tuning task for a SQL_ID&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DECLARE&lt;/span&gt;
  l_task_name VARCHAR2(&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;100&lt;/span&gt;);
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BEGIN&lt;/span&gt;
  l_task_name :&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; DBMS_SQLTUNE.CREATE_TUNING_TASK(
    sql_id      &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;sql_id'&lt;/span&gt;,
    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;scope&lt;/span&gt;       &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; DBMS_SQLTUNE.SCOPE_COMPREHENSIVE,
    time_limit  &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;300&lt;/span&gt;,
    task_name   &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'TUNE_&amp;amp;sql_id'&lt;/span&gt;,
    description &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'Tuning task for SQL_ID &amp;amp;sql_id'&lt;/span&gt;
  );
  DBMS_OUTPUT.PUT_LINE(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'Task Name: '&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;||&lt;/span&gt; l_task_name);
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;END&lt;/span&gt;;
&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Execute the task&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;EXEC&lt;/span&gt; DBMS_SQLTUNE.EXECUTE_TUNING_TASK(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'TUNE_&amp;amp;sql_id'&lt;/span&gt;);

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Get recommendations&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SET&lt;/span&gt; LONG &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000000&lt;/span&gt; LONGCHUNKSIZE &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000000&lt;/span&gt; LINESIZE &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;200&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; DBMS_SQLTUNE.REPORT_TUNING_TASK(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'TUNE_&amp;amp;sql_id'&lt;/span&gt;) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; DUAL;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="282-282" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;The report will tell you:&lt;/p&gt;&lt;ul data-source-line="283-287" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="283-283" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Missing indexes (with exact CREATE INDEX statement)&lt;/li&gt;&lt;li data-source-line="284-284" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Whether to accept a SQL Profile for better plan&lt;/li&gt;&lt;li data-source-line="285-285" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Statistics that need refresh&lt;/li&gt;&lt;li data-source-line="286-287" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;SQL rewrites to consider&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-source-line="288-288" id="3.5-check-table-and-index-statistics" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;3.5 Check Table and Index Statistics&lt;/h3&gt;&lt;p data-source-line="290-290" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Stale or missing statistics cause the optimizer to choose bad plans.&lt;/p&gt;&lt;pre data-source-line="292-315" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="6db974ca560321b8" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Check table statistics age&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    table_name,
    num_rows,
    blocks,
    last_analyzed,
    ROUND((SYSDATE &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;-&lt;/span&gt; last_analyzed), &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) days_old
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_tables
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; owner &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;owner'&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; table_name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;table_name'&lt;/span&gt;;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Check index statistics&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    index_name,
    blevel,
    leaf_blocks,
    distinct_keys,
    clustering_factor,
    last_analyzed
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_indexes
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; owner &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;owner'&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; table_name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;table_name'&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="317-317" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Gather statistics if last_analyzed is more than 7 days old or NULL:&lt;/strong&gt;&lt;/p&gt;&lt;pre data-source-line="319-328" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="9c7fd805dd5e2f83" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Gather table stats&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;EXEC&lt;/span&gt; DBMS_STATS.GATHER_TABLE_STATS(ownname &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;owner'&lt;/span&gt;, tabname &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;table_name'&lt;/span&gt;, estimate_percent &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; DBMS_STATS.AUTO_SAMPLE_SIZE, cascade &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-literal" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;TRUE&lt;/span&gt;);

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Gather schema stats&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;EXEC&lt;/span&gt; DBMS_STATS.GATHER_SCHEMA_STATS(ownname &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;owner'&lt;/span&gt;, estimate_percent &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; DBMS_STATS.AUTO_SAMPLE_SIZE, cascade &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-literal" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;TRUE&lt;/span&gt;);

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Gather database stats (run during low usage)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;EXEC&lt;/span&gt; DBMS_STATS.GATHER_DATABASE_STATS(estimate_percent &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; DBMS_STATS.AUTO_SAMPLE_SIZE, cascade &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-literal" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;TRUE&lt;/span&gt;);
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="330-330" id="3.6-identify-missing-indexes" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;3.6 Identify Missing Indexes&lt;/h3&gt;&lt;pre data-source-line="332-350" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="79bddd49fb8a5682" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Find columns used in WHERE clause without indexes&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    owner,
    table_name,
    column_name,
    num_distinct,
    density
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_tab_columns
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; owner &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;owner'&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; table_name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;table_name'&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; column_name &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;NOT&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;IN&lt;/span&gt; (
      &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; column_name 
      &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_ind_columns 
      &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; table_owner &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;owner'&lt;/span&gt; 
        &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; table_name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;table_name'&lt;/span&gt;
  )
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; num_distinct &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="352-352" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Create indexes on columns with high selectivity (num_distinct close to number of rows).&lt;/p&gt;&lt;pre data-source-line="354-363" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="a0212e719ef34c44" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Create index template&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;CREATE&lt;/span&gt; INDEX &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;owner..idx_&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;table_name_&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;column_name 
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ON&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;owner..&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;table_name(&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;column_name) 
TABLESPACE &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;index_tablespace 
PARALLEL &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;4&lt;/span&gt; NOLOGGING;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Rebuild index as logging after creation&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; INDEX &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;owner.idx_&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;table_name_&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;column_name LOGGING NOPARALLEL;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="365-365" id="3.7-check-for-index-fragmentation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;3.7 Check for Index Fragmentation&lt;/h3&gt;&lt;pre data-source-line="367-382" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="30364b231ff3611c" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Identify fragmented indexes (blevel &amp;gt; 3 or deleted entries &amp;gt; 20%)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    owner,
    index_name,
    blevel,
    leaf_blocks,
    distinct_keys,
    ROUND((leaf_blocks &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt; distinct_keys), &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) blocks_per_key,
    clustering_factor,
    status
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_indexes
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; owner &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;owner'&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; (blevel &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;3&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;OR&lt;/span&gt; status &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;!=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'VALID'&lt;/span&gt;)
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; blevel &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="384-384" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Rebuild fragmented indexes:&lt;/p&gt;&lt;pre data-source-line="386-390" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="0a59dadabfec3fa4" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Rebuild index online (no downtime)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; INDEX &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;owner.&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;index_name REBUILD ONLINE PARALLEL &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;4&lt;/span&gt;;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; INDEX &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;owner.&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;index_name NOPARALLEL;
&lt;/code&gt;&lt;/pre&gt;&lt;hr data-source-line="392-392" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="394-394" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Step 4: Memory Tuning (SGA and PGA)&lt;/h2&gt;&lt;p data-source-line="396-396" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Memory is the fastest storage. The more you keep in memory, the less you hit disk.&lt;/p&gt;&lt;h3 data-source-line="398-398" id="4.1-check-current-memory-allocation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;4.1 Check Current Memory Allocation&lt;/h3&gt;&lt;pre data-source-line="400-420" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="9dc692a097893823" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- SGA components&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    component,
    current_size&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt; current_mb,
    min_size&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt; min_mb,
    max_size&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt; max_mb
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$sga_dynamic_components
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; current_size &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- PGA usage&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    name,
    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;value&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt; value_mb
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$pgastat
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; name &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;IN&lt;/span&gt; (&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'aggregate PGA target parameter'&lt;/span&gt;, 
               &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'aggregate PGA auto target'&lt;/span&gt;,
               &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'total PGA inuse'&lt;/span&gt;,
               &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'total PGA allocated'&lt;/span&gt;,
               &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'maximum PGA allocated'&lt;/span&gt;);
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="422-422" id="4.2-check-buffer-cache-hit-ratio" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;4.2 Check Buffer Cache Hit Ratio&lt;/h3&gt;&lt;p data-source-line="424-424" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;The buffer cache holds data blocks in memory. A hit ratio below 90% means too much disk I/O.&lt;/p&gt;&lt;pre data-source-line="426-438" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="a1e430360cc21c3c" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Buffer cache hit ratio (should be &amp;gt; 95%)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    ROUND((&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;-&lt;/span&gt; (phy.value &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt; (cur.value &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;+&lt;/span&gt; con.value))) &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;100&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) buffer_cache_hit_ratio
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; 
    v$sysstat cur,
    v$sysstat con,
    v$sysstat phy
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; 
    cur.name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'db block gets'&lt;/span&gt;
    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; con.name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'consistent gets'&lt;/span&gt;
    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; phy.name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'physical reads'&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="440-440" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;If hit ratio &amp;lt; 90%:&lt;/strong&gt;&amp;nbsp;Increase db_cache_size or sga_target.&lt;/p&gt;&lt;h3 data-source-line="442-442" id="4.3-check-library-cache-hit-ratio" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;4.3 Check Library Cache Hit Ratio&lt;/h3&gt;&lt;p data-source-line="444-444" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Library cache stores parsed SQL and PL/SQL. Low hit ratio means hard parsing (CPU expensive).&lt;/p&gt;&lt;pre data-source-line="446-454" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="e78ffa6b83ebb58b" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Library cache hit ratio (should be &amp;gt; 95%)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    namespace,
    ROUND(gethitratio &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;100&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) hit_ratio,
    ROUND(pinhitratio &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;100&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) pin_hit_ratio
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$librarycache
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; namespace;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="456-456" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;If hit ratio &amp;lt; 90%:&lt;/strong&gt;&amp;nbsp;Sessions are not using bind variables. Check for literal SQL.&lt;/p&gt;&lt;pre data-source-line="458-472" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="efca0806615c8c27" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Find SQL with literals (not using bind variables)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    sql_id,
    executions,
    version_count,
    SUBSTR(sql_text, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;80&lt;/span&gt;) sql_text
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$sqlarea
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; executions &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;lt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;5&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; version_count &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;UPPER&lt;/span&gt;(sql_text) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;LIKE&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'%WHERE%'&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;UPPER&lt;/span&gt;(sql_text) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;NOT&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;LIKE&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'%BIND%'&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; version_count &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FETCH&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FIRST&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;20&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ROWS&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ONLY&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="474-474" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Force application developers to use bind variables.&lt;/p&gt;&lt;h3 data-source-line="476-476" id="4.4-check-shared-pool-fragmentation" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;4.4 Check Shared Pool Fragmentation&lt;/h3&gt;&lt;pre data-source-line="478-485" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="cfcde305cf670d07" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Shared pool free memory&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    ROUND(&lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;SUM&lt;/span&gt;(bytes)&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) free_mb
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$sgastat
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; pool &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'shared pool'&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'free memory'&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="487-487" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;If free memory is very low and library cache hit ratio is also low:&lt;/strong&gt;&lt;/p&gt;&lt;pre data-source-line="489-492" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="6d0b77b015c98df2" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Flush shared pool (only in test environment, causes hard parsing spike)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; FLUSH SHARED_POOL;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="494-494" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;In production, increase shared_pool_size.&lt;/p&gt;&lt;h3 data-source-line="496-496" id="4.5-pga-tuning-for-sorting-and-hashing" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;4.5 PGA Tuning for Sorting and Hashing&lt;/h3&gt;&lt;p data-source-line="498-498" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;PGA memory is used for sorts, hash joins, and bitmap operations. If PGA is too small, sorts spill to temp tablespace (slow).&lt;/p&gt;&lt;pre data-source-line="500-508" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="4ac7884554e08e30" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Check PGA advice&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    pga_target_for_estimate&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt; pga_target_mb,
    estd_pga_cache_hit_percentage cache_hit_pct,
    estd_overalloc_count
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$pga_target_advice
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; pga_target_for_estimate;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="510-510" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Pick a PGA size where cache hit percentage is above 95% and overallocation count is zero.&lt;/p&gt;&lt;pre data-source-line="512-515" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="55363bec2342f2fe" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Set PGA aggregate target (requires restart or use ALTER SYSTEM)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SET&lt;/span&gt; pga_aggregate_target &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;4&lt;/span&gt;G &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SCOPE&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BOTH&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="517-517" id="4.6-automatic-memory-management-(amm)" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;4.6 Automatic Memory Management (AMM)&lt;/h3&gt;&lt;p data-source-line="519-519" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;For Oracle 11g and above, you can let Oracle manage memory automatically.&lt;/p&gt;&lt;pre data-source-line="521-527" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="d571fab4fd07aa08" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Check current memory management mode&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SHOW&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;PARAMETER&lt;/span&gt; memory_target;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SHOW&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;PARAMETER&lt;/span&gt; memory_max_target;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SHOW&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;PARAMETER&lt;/span&gt; sga_target;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SHOW&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;PARAMETER&lt;/span&gt; pga_aggregate_target;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="529-529" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;If memory_target = 0:&lt;/strong&gt;&amp;nbsp;You are using manual or ASMM (Automatic Shared Memory Management).&lt;/p&gt;&lt;p data-source-line="531-531" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Switch to AMM:&lt;/strong&gt;&lt;/p&gt;&lt;pre data-source-line="533-541" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="38a8a2006ee37003" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Set total memory size&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SET&lt;/span&gt; memory_target &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;8&lt;/span&gt;G &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SCOPE&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;SPFILE;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SET&lt;/span&gt; memory_max_target &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;12&lt;/span&gt;G &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SCOPE&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;SPFILE;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Restart database&lt;/span&gt;
SHUTDOWN IMMEDIATE;
STARTUP;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="543-543" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Oracle now manages SGA and PGA automatically.&lt;/p&gt;&lt;p data-source-line="545-545" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Note:&lt;/strong&gt;&amp;nbsp;On Oracle 12.2+ on Linux, AMM is not recommended. Use ASMM instead (set sga_target and pga_aggregate_target, leave memory_target = 0).&lt;/p&gt;&lt;hr data-source-line="547-547" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="549-549" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Step 5: I/O Tuning (Disk Performance)&lt;/h2&gt;&lt;p data-source-line="551-551" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Disk I/O is the slowest part of the system. Even a small I/O reduction gives big performance gains.&lt;/p&gt;&lt;h3 data-source-line="553-553" id="5.1-identify-top-i%2Fo-consuming-objects" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;5.1 Identify Top I/O Consuming Objects&lt;/h3&gt;&lt;pre data-source-line="555-568" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="3f0d180b6a977d79" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Top segments by physical reads&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    owner,
    object_name,
    object_type,
    statistic_name,
    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;value&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$segment_statistics
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; statistic_name &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;IN&lt;/span&gt; (&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'physical reads'&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'physical writes'&lt;/span&gt;)
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;value&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;value&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FETCH&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FIRST&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;20&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ROWS&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ONLY&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="570-570" id="5.2-check-tablespace-i%2Fo-distribution" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;5.2 Check Tablespace I/O Distribution&lt;/h3&gt;&lt;pre data-source-line="572-585" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="f67b0b44dc17fa2f" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- I/O per datafile&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    df.tablespace_name,
    df.file_name,
    fs.phyrds physical_reads,
    fs.phywrts physical_writes,
    fs.readtim read_time_cs,
    fs.writetim write_time_cs,
    ROUND(fs.readtim &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt; &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;NULLIF&lt;/span&gt;(fs.phyrds, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;0&lt;/span&gt;), &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) avg_read_time_cs
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$filestat fs
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;JOIN&lt;/span&gt; dba_data_files df &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ON&lt;/span&gt; fs.file# &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; df.file_id
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; fs.phyrds &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="587-587" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;If one datafile has 10x more reads than others:&lt;/strong&gt;&amp;nbsp;Spread that tablespace across multiple disks or move hot objects to SSD.&lt;/p&gt;&lt;h3 data-source-line="589-589" id="5.3-check-temp-tablespace-usage" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;5.3 Check Temp Tablespace Usage&lt;/h3&gt;&lt;p data-source-line="591-591" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Large sorts and hash joins use temp. If temp is full, queries fail.&lt;/p&gt;&lt;pre data-source-line="593-608" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="680857ae9ed20a33" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Temp usage by session&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    s.sid,
    s.serial#,
    s.username,
    s.program,
    t.tablespace,
    ROUND(t.blocks &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;8192&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) temp_mb,
    q.sql_id,
    SUBSTR(q.sql_text, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;100&lt;/span&gt;) sql_text
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$tempseg_usage t
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;JOIN&lt;/span&gt; v$session s &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ON&lt;/span&gt; t.session_addr &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; s.saddr
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;LEFT&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;JOIN&lt;/span&gt; v$&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;sql&lt;/span&gt; q &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ON&lt;/span&gt; s.sql_id &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; q.sql_id
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; t.blocks &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="610-610" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Add more tempfiles if temp is constantly full:&lt;/p&gt;&lt;pre data-source-line="612-615" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="9208405170986f21" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Add tempfile&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; TABLESPACE TEMP &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ADD&lt;/span&gt; TEMPFILE &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'/u01/oradata/PROD/temp02.dbf'&lt;/span&gt; SIZE &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;10&lt;/span&gt;G AUTOEXTEND &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ON&lt;/span&gt; NEXT &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;G MAXSIZE &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;32&lt;/span&gt;G;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="617-617" id="5.4-monitor-redo-log-performance" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;5.4 Monitor Redo Log Performance&lt;/h3&gt;&lt;p data-source-line="619-619" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Redo logs must be fast. Slow redo writes cause log file sync waits.&lt;/p&gt;&lt;pre data-source-line="621-630" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="60156aee0dc342b3" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Redo log switch frequency&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    TO_CHAR(first_time, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'YYYY-MM-DD HH24'&lt;/span&gt;) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;hour&lt;/span&gt;,
    &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;COUNT&lt;/span&gt;(&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt;) switches
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$log_history
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; first_time &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; SYSDATE &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;-&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;GROUP&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; TO_CHAR(first_time, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'YYYY-MM-DD HH24'&lt;/span&gt;)
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;hour&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="632-632" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;If switches happen every 5-10 minutes:&lt;/strong&gt;&amp;nbsp;Redo logs are too small. Increase redo log size to reduce switch frequency to once per hour.&lt;/p&gt;&lt;pre data-source-line="634-643" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="40d471c47bbd0e9d" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Add new larger redo log group (do this for each group)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; DATABASE &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ADD&lt;/span&gt; LOGFILE &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;GROUP&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;4&lt;/span&gt; (&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'/u01/oradata/PROD/redo04a.log'&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'/u02/oradata/PROD/redo04b.log'&lt;/span&gt;) SIZE &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;G;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Switch to new group&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; SWITCH LOGFILE;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Drop old small group after it is inactive&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; DATABASE &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DROP&lt;/span&gt; LOGFILE &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;GROUP&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="645-645" id="5.5-check-undo-retention-and-usage" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;5.5 Check UNDO Retention and Usage&lt;/h3&gt;&lt;p data-source-line="647-647" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;UNDO tablespace holds old versions of rows for read consistency and flashback.&lt;/p&gt;&lt;pre data-source-line="649-660" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="7d20bc675037229d" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- UNDO usage&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    tablespace_name,
    ROUND(&lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;SUM&lt;/span&gt;(bytes)&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) size_mb,
    ROUND(&lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;SUM&lt;/span&gt;(bytes)&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;-&lt;/span&gt; &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;SUM&lt;/span&gt;(DECODE(status, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'EXPIRED'&lt;/span&gt;, bytes, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;0&lt;/span&gt;))&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) used_mb
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_undo_extents
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;GROUP&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; tablespace_name;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- UNDO retention&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SHOW&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;PARAMETER&lt;/span&gt; undo_retention;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="662-662" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;If you get "ORA-01555 snapshot too old":&lt;/strong&gt;&amp;nbsp;Increase undo_retention or add space to UNDO tablespace.&lt;/p&gt;&lt;pre data-source-line="664-666" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="79b6d3d3d0760cbe" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SET&lt;/span&gt; undo_retention &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;3600&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SCOPE&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BOTH&lt;/span&gt;;  &lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- 1 hour retention&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;hr data-source-line="668-668" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="670-670" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Step 6: Locking and Contention Issues&lt;/h2&gt;&lt;p data-source-line="672-672" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Locks prevent data corruption but also block other sessions. Lock waits kill performance.&lt;/p&gt;&lt;h3 data-source-line="674-674" id="6.1-find-blocking-sessions" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;6.1 Find Blocking Sessions&lt;/h3&gt;&lt;pre data-source-line="676-704" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="b5ca02ec81df08d6" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Blocking session tree&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    LPAD(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;' '&lt;/span&gt;, LEVEL &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;||&lt;/span&gt; s.sid &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;||&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;','&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;||&lt;/span&gt; s.serial# blocking_tree,
    s.username,
    s.program,
    s.status,
    s.event,
    s.seconds_in_wait,
    s.sql_id
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$session s
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;START&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WITH&lt;/span&gt; s.blocking_session &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;IS&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;NOT NULL&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;CONNECT&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; PRIOR s.sid &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; s.blocking_session
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; SIBLINGS &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; s.sid;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Who is blocking whom (simple view)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    blocking.sid blocking_sid,
    blocking.serial# blocking_serial,
    blocking.username blocking_user,
    blocked.sid blocked_sid,
    blocked.serial# blocked_serial,
    blocked.username blocked_user,
    blocked.event,
    blocked.seconds_in_wait
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$session blocking
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;JOIN&lt;/span&gt; v$session blocked &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ON&lt;/span&gt; blocking.sid &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; blocked.blocking_session
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; blocked.blocking_session &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;IS&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;NOT NULL&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="706-706" id="6.2-identify-lock-type-and-object" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;6.2 Identify Lock Type and Object&lt;/h3&gt;&lt;pre data-source-line="708-730" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="6ea8d537a2ce3a33" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Locked objects&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    s.sid,
    s.serial#,
    s.username,
    o.owner,
    o.object_name,
    o.object_type,
    l.locked_mode,
    DECODE(l.locked_mode, 
        &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;0&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'None'&lt;/span&gt;,
        &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'Null'&lt;/span&gt;,
        &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'Row Share'&lt;/span&gt;,
        &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;3&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'Row Exclusive'&lt;/span&gt;,
        &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;4&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'Share'&lt;/span&gt;,
        &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;5&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'Share Row Exclusive'&lt;/span&gt;,
        &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;6&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'Exclusive'&lt;/span&gt;) lock_mode
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$locked_object l
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;JOIN&lt;/span&gt; dba_objects o &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ON&lt;/span&gt; l.object_id &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; o.object_id
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;JOIN&lt;/span&gt; v$session s &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ON&lt;/span&gt; l.session_id &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; s.sid
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; s.sid;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="732-732" id="6.3-kill-a-blocking-session-(last-resort)" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;6.3 Kill a Blocking Session (Last Resort)&lt;/h3&gt;&lt;p data-source-line="734-734" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Only kill a session if it is truly stuck and blocking critical work.&lt;/p&gt;&lt;pre data-source-line="736-742" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="e1bb55df5a0880ed" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Kill session&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; KILL SESSION &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'sid,serial#'&lt;/span&gt; IMMEDIATE;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Example&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; KILL SESSION &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'123,45678'&lt;/span&gt; IMMEDIATE;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="744-744" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Note:&lt;/strong&gt;&amp;nbsp;Killing a session rolls back its transaction. This can take time if the transaction is large.&lt;/p&gt;&lt;h3 data-source-line="746-746" id="6.4-reduce-lock-contention-at-application-level" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;6.4 Reduce Lock Contention at Application Level&lt;/h3&gt;&lt;p data-source-line="748-748" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Most lock contention is an application design issue:&lt;/p&gt;&lt;ul data-source-line="750-755" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="750-750" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Use smaller transactions (commit more often in batch jobs)&lt;/li&gt;&lt;li data-source-line="751-751" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Use SELECT FOR UPDATE NOWAIT to fail fast instead of waiting&lt;/li&gt;&lt;li data-source-line="752-752" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Avoid long-running transactions during peak hours&lt;/li&gt;&lt;li data-source-line="753-753" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Partition large tables to reduce row contention&lt;/li&gt;&lt;li data-source-line="754-755" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Use application-level queuing instead of database locks&lt;/li&gt;&lt;/ul&gt;&lt;hr data-source-line="756-756" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="758-758" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Step 7: Configuration and Initialization Parameters&lt;/h2&gt;&lt;p data-source-line="760-760" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Some init.ora parameters directly affect performance.&lt;/p&gt;&lt;h3 data-source-line="762-762" id="7.1-review-current-parameters" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;7.1 Review Current Parameters&lt;/h3&gt;&lt;pre data-source-line="764-774" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="36426ab9e0f7a6b0" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Show all non-default parameters&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    name,
    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;value&lt;/span&gt;,
    isdefault,
    ismodified
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;parameter&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; isdefault &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'FALSE'&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; name;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="776-776" id="7.2-key-performance-parameters-to-check" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;7.2 Key Performance Parameters to Check&lt;/h3&gt;&lt;pre data-source-line="778-799" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="ff1e160348c494e4" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Critical parameters&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; name, &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;value&lt;/span&gt;, description 
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;parameter&lt;/span&gt; 
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; name &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;IN&lt;/span&gt; (
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'sga_target'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'pga_aggregate_target'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'memory_target'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'db_cache_size'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'shared_pool_size'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'processes'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'sessions'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'open_cursors'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'cursor_sharing'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'optimizer_mode'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'optimizer_index_cost_adj'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'db_file_multiblock_read_count'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'parallel_max_servers'&lt;/span&gt;,
    &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'parallel_degree_policy'&lt;/span&gt;
)
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; name;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="801-801" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Recommended settings for OLTP workloads:&lt;/strong&gt;&lt;/p&gt;&lt;div class="table-container" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; margin: 30px 0px 0px; position: relative;"&gt;&lt;table class="table-scroll-init" data-source-line="803-811" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-collapse: collapse; border-style: solid; border-width: 0px; display: block; margin: 0px; min-width: 100px; overflow-x: auto; padding: 0px; position: relative;"&gt;&lt;thead data-source-line="803-803" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="803-803" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Parameter&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Recommended Value&lt;/th&gt;&lt;th style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f8f8f8; border: 1px solid rgb(204, 204, 204); font-size: 18px; min-width: 100px; padding: 8px 16px; text-align: left;"&gt;Notes&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody data-source-line="805-811" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;tr data-source-line="805-805" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;cursor_sharing&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;EXACT&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Use bind variables in code, not FORCE&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="806-806" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;optimizer_mode&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;ALL_ROWS&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;For OLTP; use FIRST_ROWS_n for reports&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="807-807" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;optimizer_index_cost_adj&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;100&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Default; reduce if optimizer ignores indexes&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="808-808" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;db_file_multiblock_read_count&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;8-16&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Higher for DW, lower for OLTP&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="809-809" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;open_cursors&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;300-1000&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Increase if you get ORA-01000&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="810-810" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;processes&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;(connections * 1.2) + 50&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Leave headroom&lt;/td&gt;&lt;/tr&gt;&lt;tr data-source-line="811-811" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;sessions&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;processes * 1.5&lt;/td&gt;&lt;td style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 1px solid rgb(204, 204, 204); min-width: 100px; padding: 8px 16px;"&gt;Auto-derived&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h3 data-source-line="813-813" id="7.3-enable-parallel-query-for-large-tables-(use-carefully)" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;7.3 Enable Parallel Query for Large Tables (Use Carefully)&lt;/h3&gt;&lt;p data-source-line="815-815" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Parallel query splits a query across multiple CPU cores.&lt;/p&gt;&lt;pre data-source-line="817-825" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="d65230bb43cf208a" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Check parallel execution stats&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    name,
    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;value&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$sysstat
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; name &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;LIKE&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'%parallel%'&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; name;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="827-827" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Do not enable parallel on OLTP tables.&lt;/strong&gt;&amp;nbsp;It is for large batch reports and DW loads only.&lt;/p&gt;&lt;pre data-source-line="829-835" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="fc1202c2de79322b" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Enable parallel on a table (DW only)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER TABLE&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;owner..&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;table_name PARALLEL &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;4&lt;/span&gt;;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Disable parallel (OLTP)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER TABLE&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;owner..&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;table_name NOPARALLEL;
&lt;/code&gt;&lt;/pre&gt;&lt;hr data-source-line="837-837" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="839-839" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Step 8: Monitoring and Validation&lt;/h2&gt;&lt;p data-source-line="841-841" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;After tuning, you must validate that performance actually improved.&lt;/p&gt;&lt;h3 data-source-line="843-843" id="8.1-take-another-awr-snapshot" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;8.1 Take Another AWR Snapshot&lt;/h3&gt;&lt;pre data-source-line="845-847" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="55519817ed3cdcc5" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;EXEC&lt;/span&gt; DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="849-849" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Wait for the same workload period (1-2 hours), then take another snapshot and generate the AWR report.&lt;/p&gt;&lt;h3 data-source-line="851-851" id="8.2-compare-before-and-after" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;8.2 Compare Before and After&lt;/h3&gt;&lt;p data-source-line="853-853" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Compare these sections in the new AWR report:&lt;/p&gt;&lt;ul data-source-line="855-859" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style: disc; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="855-855" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Load Profile:&lt;/strong&gt;&amp;nbsp;Are transactions per second higher? Are physical reads lower?&lt;/li&gt;&lt;li data-source-line="856-856" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Top 5 Timed Events:&lt;/strong&gt;&amp;nbsp;Did the top wait event drop in percentage?&lt;/li&gt;&lt;li data-source-line="857-857" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;SQL ordered by Elapsed Time:&lt;/strong&gt;&amp;nbsp;Did the problematic SQL_IDs drop in rank or disappear?&lt;/li&gt;&lt;li data-source-line="858-859" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Instance Efficiency Percentages:&lt;/strong&gt;&amp;nbsp;Did buffer cache hit ratio improve?&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-source-line="860-860" id="8.3-monitor-sql-execution-time-over-time" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;8.3 Monitor SQL Execution Time Over Time&lt;/h3&gt;&lt;pre data-source-line="862-876" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="e1e5937c5b137cc3" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Track a specific SQL_ID performance trend&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    TO_CHAR(s.begin_interval_time, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'YYYY-MM-DD HH24:MI'&lt;/span&gt;) snap_time,
    h.executions_delta executions,
    ROUND(h.elapsed_time_delta&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000000&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) elapsed_sec,
    ROUND(h.elapsed_time_delta&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;h.executions_delta&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000000&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;4&lt;/span&gt;) avg_sec,
    h.plan_hash_value
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_hist_sqlstat h
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;JOIN&lt;/span&gt; dba_hist_snapshot s &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ON&lt;/span&gt; h.snap_id &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; s.snap_id
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; h.sql_id &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;sql_id'&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; h.executions_delta &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;0&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; s.begin_interval_time &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; SYSDATE &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;-&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;7&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; s.begin_interval_time;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="878-878" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;If avg_sec decreased after your tuning, you succeeded.&lt;/p&gt;&lt;h3 data-source-line="880-880" id="8.4-set-up-alerts-for-future-issues" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;8.4 Set Up Alerts for Future Issues&lt;/h3&gt;&lt;pre data-source-line="882-899" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="3bef21655f1705f4" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Create alert for tablespace usage &amp;gt; 85%&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BEGIN&lt;/span&gt;
  DBMS_SERVER_ALERT.SET_THRESHOLD(
    metrics_id              &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; DBMS_SERVER_ALERT.TABLESPACE_PCT_FULL,
    warning_operator        &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; DBMS_SERVER_ALERT.OPERATOR_GE,
    warning_value           &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'85'&lt;/span&gt;,
    critical_operator       &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; DBMS_SERVER_ALERT.OPERATOR_GE,
    critical_value          &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'95'&lt;/span&gt;,
    observation_period      &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;,
    consecutive_occurrences &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;,
    instance_name           &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;NULL&lt;/span&gt;,
    object_type             &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
    object_name             &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'USERS'&lt;/span&gt;
  );
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;END&lt;/span&gt;;
&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="901-901" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Check alerts:&lt;/p&gt;&lt;pre data-source-line="903-910" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="8d04709b8c4fddf8" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    reason,
    creation_time,
    message_level
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_outstanding_alerts
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; creation_time &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;hr data-source-line="912-912" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="914-914" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Advanced Tuning Techniques&lt;/h2&gt;&lt;h3 data-source-line="916-916" id="9.1-partitioning-large-tables" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;9.1 Partitioning Large Tables&lt;/h3&gt;&lt;p data-source-line="918-918" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Tables with hundreds of millions of rows should be partitioned. This improves query performance through partition pruning.&lt;/p&gt;&lt;pre data-source-line="920-934" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="23b10e8e7c831b15" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Identify large tables (&amp;gt; 10 GB)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    owner,
    table_name,
    ROUND(bytes&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) size_gb,
    num_rows,
    partitioned
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_tables t
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;JOIN&lt;/span&gt; dba_segments s &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ON&lt;/span&gt; t.owner &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; s.owner &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; t.table_name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; s.segment_name
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; t.owner &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;NOT&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;IN&lt;/span&gt; (&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'SYS'&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'SYSTEM'&lt;/span&gt;)
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; bytes &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;10737418240&lt;/span&gt;  &lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- 10 GB&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; partitioned &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'NO'&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; bytes &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="936-936" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Partition by a column frequently used in WHERE clauses (date, region, status).&lt;/p&gt;&lt;pre data-source-line="938-951" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="0a650aec5e995882" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Example: Partition by date range&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;CREATE TABLE&lt;/span&gt; orders_partitioned (
    order_id NUMBER,
    order_date &lt;span class="hljs-type" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DATE&lt;/span&gt;,
    customer_id NUMBER,
    amount NUMBER
)
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;PARTITION&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;RANGE&lt;/span&gt; (order_date) (
    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;PARTITION&lt;/span&gt; orders_2023 &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;VALUES&lt;/span&gt; LESS THAN (TO_DATE(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'2024-01-01'&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'YYYY-MM-DD'&lt;/span&gt;)),
    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;PARTITION&lt;/span&gt; orders_2024 &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;VALUES&lt;/span&gt; LESS THAN (TO_DATE(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'2025-01-01'&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'YYYY-MM-DD'&lt;/span&gt;)),
    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;PARTITION&lt;/span&gt; orders_2025 &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;VALUES&lt;/span&gt; LESS THAN (TO_DATE(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'2026-01-01'&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'YYYY-MM-DD'&lt;/span&gt;))
);
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="953-953" id="9.2-result-cache-(12c%2B)" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;9.2 Result Cache (12c+)&lt;/h3&gt;&lt;p data-source-line="955-955" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Result cache stores query results in memory. Identical queries return cached results instantly.&lt;/p&gt;&lt;pre data-source-line="957-963" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="00f949492d842335" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Enable result cache&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SHOW&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;PARAMETER&lt;/span&gt; result_cache_max_size;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- If 0, set it&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SET&lt;/span&gt; result_cache_max_size &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;G &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SCOPE&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BOTH&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="965-965" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Use it in queries:&lt;/p&gt;&lt;pre data-source-line="967-969" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="7596a2785f3f4609" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; &lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;/*+ RESULT_CACHE */&lt;/span&gt; &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;COUNT&lt;/span&gt;(&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt;) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; large_table &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; status &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'ACTIVE'&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="971-971" id="9.3-in-memory-column-store-(12c%2B)" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;9.3 In-Memory Column Store (12c+)&lt;/h3&gt;&lt;p data-source-line="973-973" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;In-Memory Column Store keeps tables in columnar format in memory for analytic queries.&lt;/p&gt;&lt;pre data-source-line="975-993" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="a9fa6407ffb98c54" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Enable In-Memory&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SHOW&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;PARAMETER&lt;/span&gt; inmemory_size;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Set In-Memory pool size&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SET&lt;/span&gt; inmemory_size &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;4&lt;/span&gt;G &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SCOPE&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;SPFILE;
&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Restart required&lt;/span&gt;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Enable a table for In-Memory&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER TABLE&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;owner..&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;table_name INMEMORY;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Check In-Memory status&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    segment_name,
    inmemory_size,
    bytes_not_populated,
    populate_status
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$im_segments;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="995-995" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Only use In-Memory for read-heavy tables in DW and reporting environments.&lt;/p&gt;&lt;h3 data-source-line="997-997" id="9.4-adaptive-query-optimization-(12c%2B)" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;9.4 Adaptive Query Optimization (12c+)&lt;/h3&gt;&lt;p data-source-line="999-999" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Oracle 12c introduced adaptive plans that adjust at runtime.&lt;/p&gt;&lt;pre data-source-line="1001-1008" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="38c372185035e4f5" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Check if adaptive features are enabled&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    name,
    &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;value&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;parameter&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; name &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;LIKE&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'optimizer_adaptive%'&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="1010-1010" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Recommended settings:&lt;/strong&gt;&lt;/p&gt;&lt;pre data-source-line="1011-1014" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="071180b1bbe29397" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SET&lt;/span&gt; optimizer_adaptive_reporting_only &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-literal" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;FALSE&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SCOPE&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BOTH&lt;/span&gt;;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SET&lt;/span&gt; optimizer_adaptive_features &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-literal" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;TRUE&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SCOPE&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BOTH&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="1016-1016" id="9.5-sql-plan-management-(spm)" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;9.5 SQL Plan Management (SPM)&lt;/h3&gt;&lt;p data-source-line="1018-1018" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;SPM locks down good execution plans so Oracle does not change them.&lt;/p&gt;&lt;pre data-source-line="1020-1042" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="963db39989ea2ca4" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Load a plan from cursor cache into a baseline&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DECLARE&lt;/span&gt;
  l_plans_loaded PLS_INTEGER;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BEGIN&lt;/span&gt;
  l_plans_loaded :&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE(
    sql_id &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;sql_id'&lt;/span&gt;,
    plan_hash_value &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;amp;&lt;/span&gt;plan_hash_value
  );
  DBMS_OUTPUT.PUT_LINE(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'Plans loaded: '&lt;/span&gt; &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;||&lt;/span&gt; l_plans_loaded);
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;END&lt;/span&gt;;
&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Check SQL Plan Baselines&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    sql_handle,
    plan_name,
    enabled,
    accepted,
    fixed,
    origin
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_sql_plan_baselines;
&lt;/code&gt;&lt;/pre&gt;&lt;hr data-source-line="1044-1044" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="1046-1046" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Troubleshooting Common Performance Problems&lt;/h2&gt;&lt;h3 data-source-line="1048-1048" id="ora-04031%3A-unable-to-allocate-memory-in-shared-pool" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;ORA-04031: Unable to Allocate Memory in Shared Pool&lt;/h3&gt;&lt;p data-source-line="1050-1050" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Root Cause:&lt;/strong&gt;&amp;nbsp;Shared pool fragmentation or too small.&lt;/p&gt;&lt;p data-source-line="1052-1052" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Fix:&lt;/strong&gt;&lt;/p&gt;&lt;pre data-source-line="1053-1059" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="89535c2ca9e6ef56" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Immediate (flush shared pool - causes hard parsing spike)&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; FLUSH SHARED_POOL;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Permanent&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ALTER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SYSTEM&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SET&lt;/span&gt; shared_pool_size &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;G &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SCOPE&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BOTH&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="1061-1061" id="high-cpu-usage-with-no-wait-events" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;High CPU Usage with No Wait Events&lt;/h3&gt;&lt;p data-source-line="1063-1063" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Root Cause:&lt;/strong&gt;&amp;nbsp;Inefficient SQL causing excessive logical I/O (buffer gets).&lt;/p&gt;&lt;p data-source-line="1065-1065" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Fix:&lt;/strong&gt;&amp;nbsp;Find CPU-intensive SQL:&lt;/p&gt;&lt;pre data-source-line="1066-1077" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="d856abfb10af677b" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    sql_id,
    executions,
    ROUND(cpu_time&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000000&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) cpu_sec,
    ROUND(cpu_time&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;executions&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1000000&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;4&lt;/span&gt;) avg_cpu_sec,
    SUBSTR(sql_text, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;100&lt;/span&gt;) sql_text
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;sql&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; cpu_time &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;10000000&lt;/span&gt;  &lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- More than 10 seconds total CPU&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; cpu_time &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FETCH&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FIRST&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;20&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ROWS&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ONLY&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;p data-source-line="1079-1079" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Tune those SQLs.&lt;/p&gt;&lt;h3 data-source-line="1081-1081" id="database-slow-after-statistics-gather" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Database Slow After Statistics Gather&lt;/h3&gt;&lt;p data-source-line="1083-1083" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Root Cause:&lt;/strong&gt;&amp;nbsp;New statistics changed execution plans.&lt;/p&gt;&lt;p data-source-line="1085-1085" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Fix:&lt;/strong&gt;&amp;nbsp;Restore old statistics:&lt;/p&gt;&lt;pre data-source-line="1086-1098" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="719013100839db0d" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Check stats history&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    table_name,
    stats_update_time
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; dba_tab_stats_history
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; owner &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;owner'&lt;/span&gt;
  &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;AND&lt;/span&gt; table_name &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;table_name'&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; stats_update_time &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;DESC&lt;/span&gt;;

&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Restore old stats&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;EXEC&lt;/span&gt; DBMS_STATS.RESTORE_TABLE_STATS(ownname &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;owner'&lt;/span&gt;, tabname &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'&amp;amp;table_name'&lt;/span&gt;, as_of_timestamp &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;=&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; TO_TIMESTAMP(&lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'2025-01-15 10:00:00'&lt;/span&gt;, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'YYYY-MM-DD HH24:MI:SS'&lt;/span&gt;));
&lt;/code&gt;&lt;/pre&gt;&lt;h3 data-source-line="1100-1100" id="log-file-sync-wait-spikes" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Log File Sync Wait Spikes&lt;/h3&gt;&lt;p data-source-line="1102-1102" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Root Cause:&lt;/strong&gt;&amp;nbsp;Slow redo log I/O or excessive commits.&lt;/p&gt;&lt;p data-source-line="1104-1104" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Fix:&lt;/strong&gt;&lt;/p&gt;&lt;ol data-source-line="1105-1108" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style: decimal; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="1105-1105" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Move redo logs to faster disks (SSD).&lt;/li&gt;&lt;li data-source-line="1106-1106" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Reduce commit frequency in batch jobs.&lt;/li&gt;&lt;li data-source-line="1107-1108" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Check for I/O bottleneck on redo log disks.&lt;/li&gt;&lt;/ol&gt;&lt;pre data-source-line="1109-1119" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #fafafa; border-radius: 10px; border-style: solid; border-width: 0px; color: #232425; font-size: 16px; padding: 10px; position: relative;"&gt;&lt;code class="hljs hljs language-sql" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: rgb(255, 255, 255); border-radius: 12px; border-style: solid; border-width: 0px; color: #24292e; display: block; font-size: 14px; overflow-x: auto; padding: 1em; position: relative; white-space: pre-wrap; word-break: break-word;"&gt;&lt;button class="hljs-copy-button" id="569b49965e89bdd6" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #efefef; border-radius: 6px; border-style: solid; border-width: 0px; color: #232425; cursor: pointer; font-size: 13px; padding: 2px 8px; position: absolute; right: 8px; top: 8px;"&gt;Copy&lt;/button&gt;&lt;span class="hljs-comment" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #6a737d;"&gt;-- Check redo I/O stats&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;SELECT&lt;/span&gt; 
    TO_CHAR(first_time, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'YYYY-MM-DD HH24'&lt;/span&gt;) &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;hour&lt;/span&gt;,
    &lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;COUNT&lt;/span&gt;(&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;*&lt;/span&gt;) log_switches,
    ROUND(&lt;span class="hljs-built_in" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #e36209;"&gt;AVG&lt;/span&gt;(bytes)&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;&lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;/&lt;/span&gt;&lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1024&lt;/span&gt;, &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;2&lt;/span&gt;) avg_redo_mb
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;FROM&lt;/span&gt; v$log_history
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;WHERE&lt;/span&gt; first_time &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;&amp;gt;&lt;/span&gt; SYSDATE &lt;span class="hljs-operator" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;-&lt;/span&gt; &lt;span class="hljs-number" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #005cc5;"&gt;1&lt;/span&gt;
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;GROUP&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; TO_CHAR(first_time, &lt;span class="hljs-string" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #032f62;"&gt;'YYYY-MM-DD HH24'&lt;/span&gt;)
&lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;ORDER&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;BY&lt;/span&gt; &lt;span class="hljs-keyword" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; color: #d73a49;"&gt;hour&lt;/span&gt;;
&lt;/code&gt;&lt;/pre&gt;&lt;hr data-source-line="1121-1121" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="1123-1123" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Best Practices Checklist&lt;/h2&gt;&lt;p data-source-line="1125-1125" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Before you close any tuning exercise, verify:&lt;/p&gt;&lt;ol data-source-line="1127-1137" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style: decimal; margin: 0px 0px 20px; padding: 0px 0px 0px 20px;"&gt;&lt;li data-source-line="1127-1127" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;AWR report shows reduced Top 5 Wait times.&lt;/li&gt;&lt;li data-source-line="1128-1128" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Problem SQL_IDs no longer appear in top 20 by elapsed time.&lt;/li&gt;&lt;li data-source-line="1129-1129" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Buffer cache hit ratio &amp;gt; 95%.&lt;/li&gt;&lt;li data-source-line="1130-1130" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Library cache hit ratio &amp;gt; 95%.&lt;/li&gt;&lt;li data-source-line="1131-1131" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;No tablespace &amp;gt; 85% full.&lt;/li&gt;&lt;li data-source-line="1132-1132" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;No index with blevel &amp;gt; 4.&lt;/li&gt;&lt;li data-source-line="1133-1133" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;All production tables have current statistics (&amp;lt; 7 days old).&lt;/li&gt;&lt;li data-source-line="1134-1134" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Redo log switches happen &amp;lt; once per hour.&lt;/li&gt;&lt;li data-source-line="1135-1135" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;No blocking sessions during peak hours.&lt;/li&gt;&lt;li data-source-line="1136-1137" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; line-height: 28px; list-style: inherit; margin: 0px 0px 0px 20px; padding: 0px;"&gt;Application team confirmed improved response times.&lt;/li&gt;&lt;/ol&gt;&lt;p data-source-line="1138-1138" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Document everything you changed.&lt;/strong&gt;&amp;nbsp;If performance gets worse later, you need a rollback plan.&lt;/p&gt;&lt;hr data-source-line="1140-1140" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="1142-1142" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;Summary&lt;/h2&gt;&lt;p data-source-line="1144-1144" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Oracle database performance tuning is not magic. It is a repeatable process: collect data (AWR, ASH, wait events), identify the bottleneck (SQL, I/O, memory, locks), fix it with the right tool (indexes, statistics, rewrites, memory increase), and validate the improvement with another AWR comparison.&lt;/p&gt;&lt;p data-source-line="1146-1146" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Start with wait events. They tell you exactly where the database is slow. Then tune the SQL causing those waits. Refresh statistics and add indexes where needed. Adjust memory if cache hit ratios are low. Move to I/O tuning only if waits point there.&lt;/p&gt;&lt;p data-source-line="1148-1148" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Do not tune blindly. Do not add indexes everywhere. Do not increase memory parameters randomly. Every change must target a specific measured bottleneck.&lt;/p&gt;&lt;p data-source-line="1150-1150" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;Use this guide as a checklist every time performance degrades. Follow the steps in order and you will find and fix the problem faster than guessing.&lt;/p&gt;&lt;p data-source-line="1152-1152" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Please do like and subscribe to my youtube channel:&amp;nbsp;&lt;a href="https://www.youtube.com/@foalabs" rel="noopener noreferrer" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px; cursor: pointer; display: inline-flex; line-height: calc(1em + 2px); max-width: 100%; outline: none; position: relative; text-decoration: none; transition: 0.3s;" target="_blank"&gt;https://www.youtube.com/@foalabs&lt;/a&gt;&amp;nbsp;If you like this post please follow, share and comment&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;hr data-source-line="1154-1154" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #eaeaea; border-color: rgb(234, 234, 234) currentcolor currentcolor; border-image: initial; border-style: solid none none; border-width: 1px medium medium; color: #eaeaea; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px;" /&gt;&lt;h2 data-source-line="1156-1156" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 1em; line-height: normal; list-style: none; margin: 20px 0px 8px; padding: 0px;"&gt;FAQ&lt;/h2&gt;&lt;p data-source-line="1158-1159" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Q1: How often should I run AWR reports?&lt;/strong&gt;&lt;br style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;" /&gt;Run AWR daily during peak hours to establish a baseline. When performance problems occur, run AWR for the problem period and compare it to the baseline.&lt;/p&gt;&lt;p data-source-line="1161-1162" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Q2: Can I use these steps on Oracle Standard Edition?&lt;/strong&gt;&lt;br style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;" /&gt;Most steps yes, but AWR, ADDM, ASH, and SQL Tuning Advisor require Enterprise Edition with Diagnostic and Tuning Pack license. Use Statspack instead for Standard Edition.&lt;/p&gt;&lt;p data-source-line="1164-1165" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Q3: What is the fastest way to identify the performance problem?&lt;/strong&gt;&lt;br style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;" /&gt;Check the Top 5 Timed Events in AWR report first. That tells you the category (SQL, I/O, memory, locks). Then drill down from there.&lt;/p&gt;&lt;p data-source-line="1167-1168" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Q4: Should I increase SGA or PGA first?&lt;/strong&gt;&lt;br style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;" /&gt;Check buffer cache hit ratio and PGA cache hit ratio. Increase whichever has the lower percentage first. Usually buffer cache matters more for OLTP.&lt;/p&gt;&lt;p data-source-line="1170-1171" style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: white; border-style: solid; border-width: 0px; color: #232425; font-family: Arial, Inter, -apple-system, &amp;quot;system-ui&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; line-height: 28px; list-style: none; margin: 0px 0px 12px; padding: 0px;"&gt;&lt;strong style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;"&gt;Q5: How do I tune without affecting production?&lt;/strong&gt;&lt;br style="--tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border-style: solid; border-width: 0px;" /&gt;Test all changes in a non-production environment first. For production, use online index rebuild, statistics gather at low-usage hours, and SQL profiles instead of SQL rewrites.&lt;/p&gt;&lt;br /&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQuArzpY1vXDo27RyHayJLAKHEQayag9AAw8NYfQdrfsYJ-xoWPUzc4TiSGAXK1bQXofwiju3pnJt9Rn-HZWbYMMOcG4ebps31oMuicRkJGwNkSnri8JmWxaWjvBZlgVRCQeZmX5S5Jpb2WFt9_vITZhEOxP3cg9Po2Z7GJzP3iWbojJhFjriB81i2niY/s72-w427-h640-c/image.png" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item></channel></rss>