<?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 Md Muqeemudeen M on Medium]]></title>
        <description><![CDATA[Stories by Md Muqeemudeen M on Medium]]></description>
        <link>https://medium.com/@muqeemudeen7?source=rss-47226a5fd697------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qphlMnaL3PKmFXqM8FnBpg.jpeg</url>
            <title>Stories by Md Muqeemudeen M on Medium</title>
            <link>https://medium.com/@muqeemudeen7?source=rss-47226a5fd697------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 05:50:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@muqeemudeen7/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[SQL Server Temp DB: The Silent Killer of Performance]]></title>
            <link>https://medium.com/@muqeemudeen7/sql-server-temp-db-the-silent-killer-of-performance-36656c080dbd?source=rss-47226a5fd697------2</link>
            <guid isPermaLink="false">https://medium.com/p/36656c080dbd</guid>
            <category><![CDATA[performance-bottlenecks]]></category>
            <category><![CDATA[tempdb]]></category>
            <category><![CDATA[database-administration]]></category>
            <category><![CDATA[sql-server]]></category>
            <dc:creator><![CDATA[Md Muqeemudeen M]]></dc:creator>
            <pubDate>Tue, 06 Jan 2026 14:09:27 GMT</pubDate>
            <atom:updated>2026-01-06T14:09:27.968Z</atom:updated>
            <content:encoded><![CDATA[<p><em>When SQL Server slows down without warning, Temp DB is often the hidden culprit</em></p><p>In many SQL Server environments, performance issues occur even when CPU, memory, and disk usage appear normal. Queries slow down, sessions start waiting, and applications become unresponsive. In most cases, the root cause is Temp DB contention, which often goes unnoticed until it significantly impacts performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*swKtfKadipnmHwPHKXl9SA.png" /></figure><h3>Why we need to do / Cause of the issue</h3><p>Temp DB is a shared system database used for temporary objects, sorting, hashing, and versioning. When it is not sized or configured correctly, real-world errors and waits start appearing.</p><ul><li><strong>Temp DB file contention</strong><br> Common waits and errors seen:<br> PAGELATCH_UP, PAGELATCH_EX on Temp DB allocation pages<br> Queries appear stuck even with low CPU usage.</li><li><strong>Temp DB space exhaustion</strong><br> Errors seen:<br> Msg 1105, Level 17: Could not allocate space for object in database &#39;tempdb&#39;<br> Occurs when Temp DB data or log files run out of space.</li><li><strong>Version store growth</strong><br> Errors and symptoms:<br> Long-running snapshot transactions<br> Sudden Temp DB growth due to READ COMMITTED SNAPSHOT or snapshot isolation.</li><li><strong>Auto growth and log bottlenecks</strong><br> Errors seen:<br> Msg 9002: The transaction log for database &#39;tempdb&#39; is full<br> Caused by frequent auto growth or slow disk I/O.</li></ul><p><strong>Impact:</strong><br> Query failures, blocking, application timeouts, and unexpected outages.</p><h3>How do we solve</h3><p>These issues can be resolved with proper Temp DB configuration and monitoring.</p><p><strong>Configure multiple Temp DB data files</strong></p><pre>SELECT * FROM sys.dm_os_schedulers WHERE status = &#39;VISIBLE ONLINE&#39;;</pre><p><strong>Pre-size Temp DB data and log files</strong></p><pre>ALTER DATABASE tempdb<br>MODIFY FILE (NAME=&#39;tempdev&#39;, SIZE=20GB, FILEGROWTH=1GB);</pre><p><strong>Monitor Temp DB space usage</strong></p><pre>SELECT * FROM sys.dm_db_file_space_usage;</pre><p><strong>Identify long-running transactions</strong></p><pre>DBCC OPENTRAN;</pre><p><strong>Reduce unnecessary Temp DB usage</strong></p><ul><li>Avoid excessive temp tables and cursors</li><li>Optimize queries with large sorts and hash operations</li></ul><h3>Conclusion</h3><p>Temp DB issues often surface as unexplained slowness rather than clear errors. Waits such as PAGELATCH_UP, space errors like <strong>Msg 1105</strong>, and log full errors like <strong>Msg 9002</strong> indicate Temp DB configuration gaps, not hardware limitations. By pre-sizing Temp DB, configuring multiple data files, monitoring space usage, and tuning queries, Temp DB-related performance problems can be effectively resolved.</p><p><em>Temp DB problems don’t announce themselves — they quietly drain performance until everything slows down.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36656c080dbd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RMAN Backups That Look Successful but Fail During Restore — Why?]]></title>
            <link>https://medium.com/@muqeemudeen7/rman-backups-that-look-successful-but-fail-during-restore-why-2b0ce6fceb47?source=rss-47226a5fd697------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b0ce6fceb47</guid>
            <category><![CDATA[rman]]></category>
            <category><![CDATA[disaster-recovery]]></category>
            <category><![CDATA[database-administration]]></category>
            <category><![CDATA[oracle-database]]></category>
            <dc:creator><![CDATA[Md Muqeemudeen M]]></dc:creator>
            <pubDate>Mon, 05 Jan 2026 13:57:44 GMT</pubDate>
            <atom:updated>2026-01-05T13:57:44.087Z</atom:updated>
            <content:encoded><![CDATA[<h3>RMAN Backups That Look Successful but Fail During Restore — Why?</h3><p>A successful RMAN backup does not always mean a recoverable database — and many DBAs learn this only during an outage.</p><p>RMAN backups often complete successfully without errors. However, during restore or disaster recovery scenarios, the database restore fails with RMAN or ORA errors. This leads to situations where backups exist, but the database cannot be restored, causing unexpected downtime.</p><p>This blog addresses why <strong>RMAN backups appear successful but fail during restore</strong> and how to fix it.</p><h4>Why we need to do / Cause of the issue</h4><p>This issue occurs when required recovery components are missing or recovery steps are not followed correctly.</p><ul><li><strong>Missing Archive logs</strong><br> Errors seen:<br> RMAN-06054: media recovery requesting unknown archived log<br> ORA-00308: cannot open archived log<br> Archive logs may be deleted manually or not included in backups, preventing recovery.</li><li><strong>Control file Auto backup Missing</strong><br> Errors seen:<br> RMAN-06172: no control file auto backup found<br> ORA-00205: error in identifying control file<br> Without a valid control file, RMAN cannot locate backup metadata.</li><li><strong>DBID Not Set</strong><br> Error seen:<br> RMAN-06495: must explicitly set DBID before restoring control file<br> RMAN cannot associate backups with the database.</li><li><strong>Restore Without Recovery</strong><br> Errors seen:<br> ORA-01113: file needs media recovery<br> ORA-01110: data file needs media recovery<br> Restore alone does not make the database consistent.</li></ul><p><strong>Impact:</strong><br> Restore failure and prolonged downtime during critical incidents.</p><h4>How do we solve</h4><p><strong>Take backup with archive logs</strong></p><pre>RMAN&gt; BACKUP DATABASE PLUS ARCHIVELOG;</pre><p><strong>Enable control file auto backup</strong></p><pre>RMAN&gt; CONFIGURE CONTROLFILE AUTOBACKUP ON;</pre><p><strong>Set DBID before restoring</strong></p><pre>RMAN&gt; SET DBID 123456789;</pre><p><strong>Restore and recover database</strong></p><pre>RMAN&gt; RESTORE CONTROLFILE FROM AUTOBACKUP;<br>RMAN&gt; RESTORE DATABASE;<br>RMAN&gt; RECOVER DATABASE;<br>SQL&gt; ALTER DATABASE OPEN RESETLOGS;</pre><p><strong>Validate restore readiness</strong></p><pre>RMAN&gt; RESTORE DATABASE VALIDATE;</pre><h4>Conclusion</h4><p>RMAN backup success does not guarantee recovery success. Errors such as <strong>RMAN-06054</strong>, <strong>RMAN-06172</strong>, <strong>RMAN-06495</strong>, and <strong>ORA-01113</strong> indicate missing components or incorrect recovery steps. By including archive logs, enabling control file auto backups, setting DBID correctly, and performing both restore and recovery, reliable database recovery can be ensured.</p><p>If backups are your insurance, restore testing is the claim process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b0ce6fceb47" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>