<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lakshmikanth on Medium]]></title>
        <description><![CDATA[Stories by Lakshmikanth on Medium]]></description>
        <link>https://medium.com/@lakshmikanthlk01?source=rss-2097b3566589------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Lakshmikanth on Medium</title>
            <link>https://medium.com/@lakshmikanthlk01?source=rss-2097b3566589------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 06:09:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lakshmikanthlk01/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Oracle RAC Startup Issues Explained: srvctl, OCR, and db_unique_name Mismatches]]></title>
            <link>https://lakshmikanthlk01.medium.com/oracle-rac-startup-issues-explained-srvctl-ocr-and-db-unique-name-mismatches-36cd2b6a7820?source=rss-2097b3566589------2</link>
            <guid isPermaLink="false">https://medium.com/p/36cd2b6a7820</guid>
            <category><![CDATA[oracle-dba]]></category>
            <dc:creator><![CDATA[Lakshmikanth]]></dc:creator>
            <pubDate>Fri, 09 Jan 2026 08:31:54 GMT</pubDate>
            <atom:updated>2026-01-13T06:15:27.492Z</atom:updated>
            <content:encoded><![CDATA[<p>Oracle RAC environments are designed to provide high availability and scalability, but they also introduce an additional layer of complexity in database management. One of the most common issues faced by DBAs in RAC is a situation where the database starts successfully using SQL*Plus, but fails or shows incorrect status when managed using srvctl</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FbEdjEat6Sz9bfBncQmViw.png" /></figure><p><strong>Cause of the Issue</strong></p><p>The major reason for this issue is the db_unique_name mismatch between the Oracle cluster Registry and the Database Instance.</p><p>The db_unique_name will be different when using the <br><strong>show parameter db_unique_name</strong> and <br><strong>srvctl config database -d &lt;database name&gt;</strong></p><p>The srvctl command does not read information from the database instance<strong>.</strong> Instead, it relies on the <strong>Oracle Cluster Registry (OCR)</strong>, which stores cluster-wide configuration metadata.</p><p>So even if:</p><ul><li>The database is running</li><li>The SPFILE contains the correct db_unique_name</li></ul><p>srvctl may still report incorrect details if the OCR metadata is outdated or incorrect.</p><p><strong>Steps to overcome the issue:</strong></p><p>1.Verify db_unique_name from the Database</p><pre>SQL&gt;show parameter db_unique_name;</pre><p>2.Check Database Configuration in OCR</p><pre>srvctl config database -d &lt;db_unique_name&gt;</pre><p>The db_unique_name must match if not follow the below steps.</p><p>3.Stop the Database Manually (Because CRS Can’t)</p><pre>sql&gt;shutdown immediate;</pre><p>4.Clean Up Incorrect CRS Registration</p><pre>srvctl remove database -d &lt;incorrect_name&gt;</pre><p>5.Re-Register Database with Correct db_unique_name</p><pre>srvctl add database -d PROD_DBNAME -oraclehome /u01/local/oracle/19.3.0.0 -spfile +DATA01/PROD_DBNAME/PARAMETERFILE/spfile.391.1222314915<br></pre><p>6.Add instances</p><pre>srvctl add instance -d PROD_DBNAME -instance PRODDB1 -node  xstdby-ora01<br>srvctl add instance -d PROD_DBNAME -instance  PRODDB2 -node xstdby-ora02</pre><p>7.Start the database properly and verify status</p><pre>srvctl start database -d &lt;correct_db_unique_name&gt;<br><br>srvctl status database -d &lt;correct_db_unique_name&gt;</pre><p><strong>Conclusion</strong></p><p>Oracle RAC startup issues involving db_unique_name are usually caused by Clusterware misalignment, not database failure. A database started manually can run perfectly while remaining invisible to CRS.When OCR metadata is incorrect, srvctl cannot manage or stop the database reliably.<br>The fix is to realign OCR and SPFILE and let Clusterware fully own the database.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36cd2b6a7820" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[FRA & Archive Log Management in 19c]]></title>
            <link>https://lakshmikanthlk01.medium.com/fra-archive-log-management-in-19c-ed88831b4cb3?source=rss-2097b3566589------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed88831b4cb3</guid>
            <category><![CDATA[oracle-dba]]></category>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <dc:creator><![CDATA[Lakshmikanth]]></dc:creator>
            <pubDate>Mon, 05 Jan 2026 09:53:10 GMT</pubDate>
            <atom:updated>2026-01-13T09:49:14.974Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/539/0*7cJeooJ0kEqXob1e.jpg" /></figure><p>As a DBA, one of the most common problems we face is the <strong>Flash Recovery Area (FRA) filling up unexpectedly</strong>. You might see errors like:</p><blockquote><em>ORA-19809: limit exceeded for recovery files<br>ORA-19804: unable to create file in recovery area</em></blockquote><p>Even if there seems to be enough space, these errors can stop backups, prevent redo logs from being archived, or even affect the database’s normal operation.</p><h4><strong>Cause of the Issue:</strong></h4><ol><li><strong>Archive Logs Accumulation</strong><br>When the database runs in ARCHIVE LOG mode, new archive logs are constantly created.If these logs are <strong>not backed up or deleted regularly</strong>, they pile up and consume FRA space quickly.</li><li><strong>Old or Obsolete RMAN Backups in FRA<br></strong>Old backups that are not deleted via DELETE OBSOLETE or retention policies occupy space until FRA is full.</li><li><strong>Flashback Logs and Flashback Database Usage<br></strong>Heavy DML activity or a long flashback retention period can use a lot of space.</li><li><strong>Redo Logs / Log Switch Frequency<br></strong>If the database switches redo logs very frequently, many archive logs are generated in a short time, causing spikes in FRA usage.</li><li><strong>Small FRA Size Setting<br></strong>If <strong>DB_RECOVERY_FILE_DEST_SIZE </strong>is too low for your workload, even normal operations like archive log creation or backups can fill the FRA.</li></ol><h4><strong>Steps to solve:</strong></h4><p><strong>1.Managing Archive Logs to Prevent FRA Full</strong></p><pre>--Backup archivelog and delete archive logs older than 3 days<br><br>RMAN&gt; BACKUP ARCHIVELOG ALL;<br><br>RMAN&gt; DELETE ARCHIVELOG ALL COMPLETED BEFORE &#39;SYSDATE-3&#39;;</pre><p><strong>2.Managing RMAN Backups to Free FRA Space</strong></p><pre>--crosscheck backups to verify status and delete obsolete<br><br>RMAN&gt; CROSSCHECK BACKUP;<br>RMAN&gt; DELETE OBSOLETE;</pre><p><strong>3.Controlling Flashback Log Growth in FRA</strong></p><pre>--Check FRA usage by flashback logs<br>SELECT FILE_TYPE, SPACE_USED/1024/1024 AS MB_USED<br>FROM V$FLASH_RECOVERY_AREA_USAGE;<br><br>--reduce flashback retention period if not needed<br>ALTER SYSTEM SET DB_FLASHBACK_RETENTION_TARGET = 1440</pre><p><strong>4.Control Log Switch Frequency and Free FRA Space</strong></p><pre>--Check log switch frequency<br>SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME <br>FROM V$ARCHIVED_LOG <br>ORDER BY SEQUENCE# DESC;<br><br>--Increase redo log file size to reduce switches<br>ALTER DATABASE ADD LOGFILE (&#39;/path/redolog02.log&#39;) SIZE 500M;</pre><p><strong>5.Resizing the FRA to Match Database Workload</strong></p><pre>--check FRA size and usage<br><br>SELECT SPACE_LIMIT/1024/1024 AS FRA_SIZE_MB,<br>       SPACE_USED/1024/1024 AS USED_MB,<br>       SPACE_RECLAIMABLE/1024/1024 AS RECLAIMABLE_MB<br>FROM V$RECOVERY_FILE_DEST;<br><br>--Increase FRA size<br><br>ALTER SYSTEM SET DB_RECOVERY_FILE_DEST_SIZE = 50G;</pre><p>In addition to the above, we can also use the formula below to calculate the FRA size in advance because in an environment where the workload varies vastly, we can use this formula to calculate the FRA.</p><p><strong>FRA Size = (Weekly Backup Size + Weekly Archive Log Volume) × Retention Window (in weeks) + Buffer Space</strong></p><p><strong>Example Calculation:</strong></p><p>• If your backup size is 10 GB and you take 3 backups a week, your weekly backup total is 30 GB.</p><p>• If your system generates 1 GB of archive logs daily (approx. 10 GB per week for safety), your weekly log total is 10 GB.</p><p>• The total for one week is 40 GB.</p><p>• For a <strong>two-week retention</strong>, you will need 80 GB (40 GB × 2).</p><p>For the buffer space 20–30% of the total base requirement</p><p><strong>Conclusion</strong></p><p>FRA issues in Oracle 19c are mostly caused by poor archive log and backup management rather than sudden failures.Regular cleanup of archive logs and obsolete RMAN backups is essential to prevent space exhaustion. Flashback settings and redo log switch frequency should be aligned with actual workload requirements.Proper FRA sizing using a workload-based formula helps avoid unexpected outages. A well-managed FRA ensures stable backups, smooth database operations, and overall system reliability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed88831b4cb3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>