<?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 Piotr Praszkiewicz on Medium]]></title>
        <description><![CDATA[Stories by Piotr Praszkiewicz on Medium]]></description>
        <link>https://medium.com/@dbapp?source=rss-a97687c01e16------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pPJbvmnDxYF_3-uW</url>
            <title>Stories by Piotr Praszkiewicz on Medium</title>
            <link>https://medium.com/@dbapp?source=rss-a97687c01e16------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 04:41:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dbapp/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[The database that quietly read itself, from scratch, every single night]]></title>
            <link>https://medium.com/@dbapp/the-database-that-quietly-read-itself-from-scratch-every-single-night-2c658ae3ef6b?source=rss-a97687c01e16------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c658ae3ef6b</guid>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[database-administration]]></category>
            <dc:creator><![CDATA[Piotr Praszkiewicz]]></dc:creator>
            <pubDate>Sat, 18 Jul 2026 15:04:47 GMT</pubDate>
            <atom:updated>2026-07-18T15:21:21.649Z</atom:updated>
            <content:encoded><![CDATA[<h3>A recovery catalog incarnation mismatch, how it stayed invisible for months, and what it took to fix it</h3><blockquote><strong>A note before we begin.</strong> Every identifier in this article — database name, DBID, hostname, SCNs, reset timestamps, ticket numbers, backup sizes — has been changed or generalized. Nothing here can be traced back to a real environment. What is preserved is the logic of the failure and the shape of the repair, so someone reading this can recognize it in their own system.</blockquote><h3>The symptom</h3><p>A recurring pattern in the RMAN reports that shouldn’t have been possible:</p><pre>BACKUP_TYPE   LEVEL   PIECES   TOTAL_SIZE<br>FULL_DB       0       ~150     a few TB<br>INCR_DB       1        ~60     several TB</pre><p>The Level 1 backup — the incremental one, by definition a fraction of the Level 0 — was consistently <strong>larger than the full backup it was built on top of</strong>. Not for one bad night. Every window, for months.</p><p>A closer look at per‑job statistics confirmed it: each Level 1 was reading hundreds of gigabytes of input, running for close to an hour, and writing back almost as much as it read. That is not an incremental backup. That is a full backup with a smaller label.</p><h3>What a Level 1 is supposed to do</h3><p>The design of a Level 1 backup in RMAN is straightforward: read only the blocks that have changed since the last Level 0, skip everything else.</p><p>To do that, RMAN needs two things:</p><ul><li>a reliable way to identify changed blocks, normally provided by <strong>Block Change Tracking (BCT)</strong>,</li><li>a coherent view of the database’s history, so it can determine which Level 0 is the valid parent of the current incremental.</li></ul><p>If either of these is missing or inconsistent, RMAN silently falls back to reading every block and deciding by SCN. No error, no warning, job status COMPLETED. The only footprint is the volume.</p><h3>Ruling out the obvious</h3><p>Before assuming anything unusual, the boring checks:</p><ul><li>V$BLOCK_CHANGE_TRACKING — status ENABLED, file present, no invalidations.</li><li>Latest Level 0 backup — AVAILABLE, validated, no corruptions.</li><li>RMAN retention policy — parent Level 0 within retention window, not expired or obsoleted.</li><li>No recent flashback, no media recovery, no OPEN RESETLOGS initiated by an operator.</li></ul><p>All clean. Which meant the fallback had to be triggered by the second condition — a broken view of the database’s own history.</p><h3>The mismatch</h3><p>The recovery catalog view was the first place the inconsistency became visible:</p><pre>RC_DATABASE_INCARNATION</pre><pre>DB_KEY   DBINC_KEY   RESETLOGS_CHANGE#   RESETLOGS_TIME   CURRENT<br>------   ---------   -----------------   --------------   -------<br>   A          A1                     1     YYYY-mm-01       NO<br>   A          A2               1234567     YYYY-mm-02       YES<br>   A          A3           987654321000    YYYY-mm-03       NO</pre><p>The row marked CURRENT had a <strong>lower</strong> RESETLOGS_CHANGE# than a row marked as older. That contradicts the definition of an incarnation: a newer branch of the database&#39;s history must have a higher reset SCN. The catalog was describing an impossible timeline.</p><p>Confirming the same picture against the database itself:</p><pre>SOURCE                RESETLOGS_CHANGE#   RESETLOGS_TIME<br>V$DATABASE               987654321000      YYYY-mm-03<br>CURRENT_INCARNATION           1234567      YYYY-mm-02</pre><p>The database was physically operating on one incarnation. The controlfile’s own view of “current” was pointing at another. This was not a target‑vs‑catalog inconsistency — it was a target inconsistent with itself. The catalog was simply mirroring what the controlfile had been telling it all along.</p><p>From RMAN’s perspective, walking back from a Level 1 to find its Level 0 parent led to a fork with a wrong signpost. Unable to build a chain it could trust, RMAN did the conservative thing: fell back to reading every block. Every night. For most of a year.</p><h3>The repair — what actually happened, step by step</h3><p>This is the sequence of operations performed on the affected CDB. All identifiers are anonymized; the ordering and command shape are what matters.</p><h3>Step 1 — take a fresh backup and open a maintenance window</h3><p>Non‑negotiable. The change itself is metadata‑only and, when the target incarnation is the one the database already physically operates on, does not shift the database’s state. That does not remove the need for a proper safety net.</p><h3>Step 2 — bring the database to MOUNT</h3><p>The reset of the current incarnation is done with the database mounted, not open.</p><pre>SQL&gt; shutdown immediate;<br>SQL&gt; startup mount;<br><br>STATUS       DATABASE_STATUS<br>------------ -----------------<br>MOUNTED      ACTIVE</pre><p>Step 3 — confirm the mismatch is still there in the mounted state</p><pre>SET LINESIZE 200<br>SET PAGESIZE 100<br>COLUMN source            FORMAT A22<br>COLUMN resetlogs_change# FORMAT 999999999999999<br>COLUMN resetlogs_time    FORMAT A22<br><br>SELECT &#39;V$DATABASE&#39;          AS source,<br>       resetlogs_change#,<br>       TO_CHAR(resetlogs_time, &#39;YYYY-MM-DD HH24:MI:SS&#39;) AS resetlogs_time<br>FROM   v$database<br>UNION ALL<br>SELECT &#39;CURRENT_INCARNATION&#39; AS source,<br>       resetlogs_change#,<br>       TO_CHAR(resetlogs_time, &#39;YYYY-MM-DD HH24:MI:SS&#39;) AS resetlogs_time<br>FROM   v$database_incarnation<br>WHERE  status = &#39;CURRENT&#39;;</pre><h3>Step 4 — connect RMAN to the target only, without the catalog</h3><p>The catalog is deliberately left out of this step. The catalog is a mirror of the controlfile, and at this moment the controlfile itself is the source of truth we want to correct.</p><pre>RMAN&gt; list incarnation of database;<br><br>DB Key  Inc Key  DB Name    STATUS    Reset SCN         Reset Time<br>------  -------  --------   -------   --------------    ----------<br>   1        1    DEMOCDB    PARENT                 1    YYYY-mm-01<br>   2        2    DEMOCDB    CURRENT          1234567    YYYY-mm-02<br>   3        3    DEMOCDB    ORPHAN      987654321000    YYYY-mm-03</pre><p>The incarnation the database is actually running on is listed as ORPHAN.</p><p>Step 5 — reset the current incarnation to the one matching reality</p><pre>RMAN&gt; RESET DATABASE TO INCARNATION 3;<br>database reset to incarnation 3</pre><p>Step 6 — verify</p><pre>RMAN&gt; list incarnation of database;<br><br>DB Key  Inc Key  DB Name    STATUS     Reset SCN         Reset Time<br>   1        1    DEMOCDB    PARENT                  1    YYYY-mm-01<br>   2        2    DEMOCDB    PARENT            1234567    YYYY-mm-02<br>   3        3    DEMOCDB    CURRENT      987654321000    YYYY-mm-03</pre><p>Cross‑checked against the database views:</p><pre>SOURCE                RESETLOGS_CHANGE#   RESETLOGS_TIME<br>V$DATABASE               987654321000      YYYY-mm-03<br>CURRENT_INCARNATION      987654321000      YYYY-mm-03</pre><p>V$DATABASE and V$DATABASE_INCARNATION finally agree.</p><p>Step 7 — open the database normally</p><pre>SQL&gt; alter database open;<br><br>STATUS       DATABASE_STATUS<br>------------ -----------------<br>OPEN         ACTIVE</pre><p>No RESETLOGS, no recovery. All PDBs return to READ WRITE. The database has not moved — only its own description of itself has been corrected.</p><h3>Step 8 — resync the recovery catalog</h3><p>Once the controlfile is consistent, the catalog is reconnected and told to catch up.</p><pre>RMAN&gt; RESYNC CATALOG;<br>database reset to incarnation A3<br>starting full resync of recovery catalog<br>full resync complete</pre><p>The catalog registers the corrected incarnation on its own.</p><h3>Step 9 — validate on the next scheduled Level 1</h3><p>The following incremental ran against the corrected timeline:</p><pre>BACKUP_TYPE   LEVEL   INPUT_BYTES   OUTPUT_BYTES   ELAPSED<br>INCR             1     a few GB      a fraction     a few minutes</pre><p>Two orders of magnitude smaller than the previous night. Level 1 behaving as a Level 1 again.</p><h3>What I would take away from this</h3><p>The technical part is narrow — one metadata row pointing at the wrong incarnation, one command to correct it. The uncomfortable part is broader.</p><ul><li><strong>A </strong><strong>COMPLETED status is not the same as a correct backup.</strong> The whole failure lived inside successful jobs. Monitoring based on job status alone would never have caught it.</li><li><strong>When two views of the database’s own state disagree, treat that as an incident.</strong> V$DATABASE and V$DATABASE_INCARNATION returning different rows for &quot;current&quot; is not a curiosity. It is the failure.</li><li><strong>A recovery catalog reflects the controlfile — it does not verify it.</strong> If the source of truth at the target is wrong, the catalog will faithfully reproduce that wrongness until someone reads the two side by side.</li><li><strong>Add a second pair of eyes as an automated check.</strong> A daily comparison of the latest Level 1 size against the latest Level 0, with an alert on ratios that don’t make physical sense, would have surfaced this in the first week. It didn’t exist. It does now.</li></ul><p>The cost of this issue wasn’t dramatic on any single night. It was patient. A predictable amount of extra tape and extra window time, every night, multiplied by a very large number of nights. That is often the shape of the failures that matter most — the ones that never trigger a page, never miss an SLA, and quietly consume resources until someone happens to notice that a number looks wrong.</p><p>In this case, the whole thing came down to a single field in a single metadata row. Everything else — the volume, the runtime, the wasted storage, the months of unnoticed regression — was a downstream effect of that one wrong flag.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c658ae3ef6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle 19c Quarterly Patching — From 19.3 to 19.31 (Step-by-Step with Real Output)]]></title>
            <link>https://medium.com/@dbapp/oracle-19c-quarterly-patching-from-19-3-to-19-31-step-by-step-with-real-output-7964215f1419?source=rss-a97687c01e16------2</link>
            <guid isPermaLink="false">https://medium.com/p/7964215f1419</guid>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[database-administration]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Piotr Praszkiewicz]]></dc:creator>
            <pubDate>Mon, 25 May 2026 08:34:05 GMT</pubDate>
            <atom:updated>2026-05-25T08:34:05.479Z</atom:updated>
            <content:encoded><![CDATA[<p>Running Oracle databases on outdated patch levels is a risk that compounds with every quarter you skip. Release Updates (RUs) aren’t optional extras — they carry security patches, optimizer corrections, and fixes for bugs that can silently affect your production workloads.</p><p>This post documents a patching session where I an Oracle 19c environment <strong>from 19.3.0.0.0 all the way to 19.31 RU</strong>, including the OJVM component — with actual terminal output and lessons observed along the way.</p><h3>Oracle 19c Release Update 19.31.0.0 — Non-Security Bug Fixes Breakdown (April 2026 CPU)</h3><p>Patch analysis based on: MOS Doc ID KB850150 — Database 19 Release Updates and Revisions Bugs Fixed Lists:</p><pre># Oracle Database 19.31.0.0 DBRU (April 2026)<br><br>---<br><br>&gt; **Source:** MOS Doc ID KB850150 – Database 19 Release Updates and Revisions Bugs Fixed Lists  <br>&gt; **Note:** This list contains ONLY important non-security bugs tagged by Oracle Support.  <br>&gt; NOT all fixes in 19.31 are listed. RU patches are cumulative (19.31 includes all prior fixes).  <br><br>---<br><br>## 🔖 Severity Legend<br><br>| Icon | Tag | Covers these impact types | DBA action |<br>|------|-----|--------------------------|------------|<br>| 🔴 | `CRITICAL` | ORA-600, ORA-7445 (core dump), instance crash/termination, data/block/redo corruption | Patch immediately |<br>| 🟠 | `HIGH` | Functional failure, hang, memory leak, DG switchover/failover issue, deadlock, Oracle errors blocking operations | Patch in next maintenance window |<br>| 🟡 | `MEDIUM` | Performance regression, data accuracy issue, contention/locking | Schedule within quarter |<br>| ⚠️ | `DATA INTEGRITY` | Wrong results — queries return incorrect data silently | Validate affected queries post-patch |<br>| 🔵 | `LOW / ENH` | General bug fix, enhancement, diagnostics improvement, internal tracking | Apply with next regular RU cycle |<br><br>---<br><br>## Advance Queuing<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 1 | 38112119 | (See MOS for details) | 🔵 Bug fix |<br>| 2 | 38705713 | ORA-7445: [lstup()+47] — kwqjsetregname | 🔴 Core dump (ORA-7445) — crash risk |<br><br>---<br><br>## Automatic Storage Management<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 3 | 38464814 | ASM Scrubbing Showing Corrupted Block on Transportable Tablespaces Metadata Dumpfiles | 🔴 Data/block corruption risk |<br>| 4 | 38830085 | [ASM] Gen0 Terminating The Instance Due To ORA-4031 — Leaking Allocation &quot;ksv work msg::asm kff slave&quot; | 🔴 Instance crash / termination |<br><br>---<br><br>## Generic (Core RDBMS)<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 5 | 34179531 | WRONG RESULTS WHEN _OPTIMIZER_AGGR_GROUPBY_ELIM=TRUE | ⚠️ Wrong results — data integrity risk |<br>| 6 | 36937503 | CREATE TABLE dbms_sqlpatch_state failing with ORA-00001: unique constraint (SYS.I_CON2) violated | 🟠 Functional failure |<br>| 7 | 38349674 | WRONG RESULT (NO ROWS) WITH JPPD AND BITMAP JOIN INDEX | ⚠️ Wrong results — data integrity risk |<br>| 8 | 38354673 | FUNCTION KKSCSSEARCHCHILDLIST() TO CONDITIONALLY SPOOL ORA-44203 DIAGNOSTICS | 🔵 Enhancement / diagnostics |<br>| 9 | 38482035 | CREATE VIEW STMT FAILED AT ORA-979 AFTER UPGRADING TO 19.27 | 🟠 Functional failure |<br>| 10 | 38595450 | [LOB ACCESS] OCI: ORA-600: internal error code, arguments: [17114], [0x7f26ba680dc0] | 🔴 Internal error (ORA-600) — potential crash |<br>| 11 | 38750088 | AFTER APPLYING 19.29 OCTOBER DB RU, MVIEW PURGE LOG CALLS FAIL WITH INSUFFICIENT PRIVILEGE | 🟠 Functional failure |<br>| 12 | 38801899 | HIGH PROCESS DUMP EXECUTED WHICH HAS CAUSED HIGH CPU UTILIZATION CAUSED DB HANG SITUATION | 🟠 Hang — availability risk |<br>| 13 | 38885238 | AFTER APPLYING 19.29 DBRU GET ORA-00600 [KKPOCRPPC: INTERVAL FLAG] ON SELECT ON A REFERENCE PARTITIONED TABLE | 🔴 Internal error (ORA-600) — potential crash |<br>| 14 | 38888288 | ORA-00600 [kglgtbo1] library cache lock | 🔴 Internal error (ORA-600) — potential crash |<br>| 15 | 39187620 | CREATE VIEW FAILED AT ORA-979 ON 19.27 WITH REFERENCED COLUMNS IN WHERE CLAUSE | 🟠 Functional failure |<br><br>---<br><br>## High Availability (Data Guard / RAC / Recovery)<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 16 | 37214017 | RESYNC CATALOG failing with ORA-1: unique constraint (&lt;OWNER&gt;.ts_u4) After Switchover | 🟠 DG switchover/failover issue |<br>| 17 | 37559363 | ENH# Use one temp bucket for multiple immutable buckets | 🔵 Enhancement / diagnostics |<br>| 18 | 38118515 | Multiple Instances Hang And One of Instance Not Starting | 🟠 Hang — availability risk |<br>| 19 | 38134024 | Standby switchover/failover fails with ORA-01154 because of RMAN sessions holding IS-enqueue | 🟠 DG switchover/failover issue |<br>| 20 | 38247316 | PGA memory leak and break out of decompressed region LCR processing in HCC processing | 🟠 Memory leak |<br>| 21 | 38381642 | Logminer modules causing ORA-04036 after upgraded db to 19.28 | 🟠 Oracle error |<br>| 22 | 38494439 | &#39;ENQ:CF-CONTENTION&#39; DURING RMAN BACKUP AND INSTANCE CRASH WITH ORA-29770 | 🔴 Instance crash / termination |<br>| 23 | 38573621 | [DATAGUARD_TRAN] ORA-600 [3020] or ORA-00752: recovery detected a lost write of a data block after Primary crashes | 🔴 Internal error (ORA-600) — potential crash |<br>| 24 | 38854064 | [RAC] (DB55) RAC rolling database update when fix 34352668 is present may cause data/redo corruption | 🔴 Data/block corruption risk |<br><br>---<br><br>## Oracle Heterogeneous Services<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 25 | 31551303 | extproc intermittently fail with ORA-28576 after upgrading to 19c | 🟠 Functional failure |<br><br>---<br><br>## Oracle Net Services<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 26 | 38383048 | sqlnet client memory leak | 🟠 Memory leak |<br><br>---<br><br>## Oracle Secure Files<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 27 | 38315817 | Skip Flash Cache Temp Reuse for Temporary Lob | 🔵 Bug fix |<br>| 28 | 38722716 | ORA-7445 [kdlireadpos] during lob access | 🔴 Core dump (ORA-7445) — crash risk |<br><br>---<br><br>## Oracle Space Management<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 29 | 39142906 | Enq: Tx — Contention With the Blocker as Ktsj Slave From 19.30 Onwards | 🟡 Contention / locking |<br><br>---<br><br>## Oracle Storage Server Service Layer<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 30 | 38047996 | ASM Partner Read Database Side Fixes | 🔵 Bug fix |<br><br>---<br><br>## Oracle Transaction<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 31 | 35144094 | aim:ORA-600 [4000], [11], [0], [0] — xctrollbacktxn_option | 🔴 Internal error (ORA-600) — potential crash |<br>| 32 | 36126343 | DB:DISTRIB:AIM: ORA-600 [4080] Over Dblink | 🔴 Internal error (ORA-600) — potential crash |<br>| 33 | 37941473 | (See MOS for details) | 🔵 Bug fix |<br><br>---<br><br>## PL/SQL<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 34 | 29168721 | AWRLOAD.SQL CAN NOT IMPORT AWR DATA WITH LOCAL DBID | 🔵 Bug fix |<br>| 35 | 30759530 | ORA-6502 or wrong result from PL/SQL function using an UNPIVOT or UNION ALL | ⚠️ Wrong results — data integrity risk |<br>| 36 | 36098572 | ADG + AUTOCOMP: HIT ORA-00600:[KTSPFUPDST-12] IN TPCDS SCHEMA | 🔴 Internal error (ORA-600) — potential crash |<br>| 37 | 36110139 | comment in WITH clause may cause ORA-32031 | 🟠 Oracle error |<br>| 38 | 37559428 | latch free wait after applying merge patch 37385991 | 🔵 Bug fix |<br>| 39 | 37612575 | AWR REPORT NOT GENERATING EVEN APPLYING PATCH TO 19.25 AND ADDING BUG PATCH 36550015 | 🔵 Bug fix |<br>| 40 | 38040639 | audit policy with top level is not working as expected in 19.25 | 🔵 Bug fix |<br>| 41 | 38284873 | INCORRECT STATS IN TABLESPACE IO STATS AND FILE IO STATS SECTIONS IN AWR | 🟡 Data accuracy issue |<br>| 42 | 38836005 | PX PLAN NO LONGER PRODUCED AFTER 19.28 RU | 🔵 Bug fix |<br><br>---<br><br>## Utilities<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 43 | 31892579 | json event source validate only mode needs to be toggled on/off | 🔵 Bug fix |<br>| 44 | 35213658 | (See MOS for details) | 🔵 Bug fix |<br>| 45 | 36154293 | PDB ISOLATION: DESTRUCTIVE/REPEATED ACTION HIT ORA-4031 [SHARED POOL] | 🟠 Oracle error |<br>| 46 | 37499419 | tracking bug for rti(s) 30336847 caused by txn suelee_bug-37436039 | 🔵 Enhancement / diagnostics |<br>| 47 | 37764329 | after patching, CMU-AD is reporting ORA-28043: invalid bind credentials for DB-OID connection | 🟠 Oracle error |<br>| 48 | 37805897 | create index on LRS geometry fails | 🟠 Functional failure |<br>| 49 | 37836088 | impdp is truncating the time portion of the date information | 🟡 Data accuracy issue |<br>| 50 | 37956673 | ORA-32701: Possible hangs Detected or Hang With No Error With kgnfs_exec_remote_mount() in the Blocker Stack | 🟠 Hang — availability risk |<br>| 51 | 38373967 | aim:ORA-600 [99999] — kghxcb_internal | 🔴 Internal error (ORA-600) — potential crash |<br>| 52 | 38490670 | create index 5x slower when using sdo_geom_mbr() instead of sdo_geom.sdo_mbr() function | 🟡 Performance issue |<br>| 53 | 38641793 | X10M:FADB23:FA:ADMIN SERVER NOT STARTING — ORA-17401: PROTOCOL VIOLATION | 🟠 Oracle error |<br>| 54 | 38750008 | tracking bug for rti 26490612 | 🔵 Enhancement / diagnostics |<br>| 55 | 38763780 | Deadlock Seen as Part of Fix 38657092 | 🟠 Deadlock risk |<br>| 56 | 38851987 | aim:ORA-7445 [__strlen_avx2] — dbklwdi | 🔴 Core dump (ORA-7445) — crash risk |<br>| 57 | 38945031 | regression tracking bug filed from mergereq for saikkond_rti-32366409 | 🔵 Enhancement / diagnostics |<br>| 58 | 38969361 | ORA-04039 Insufficient Hugepages to Grow System Global Area (SGA) | 🟠 Oracle error |<br>| 59 | 39002881 | upg: adg: sqlplus connection hit OCI-21500: internal error code, arguments: [kpugattr_1] | 🟠 Functional failure |<br>| 60 | 39013744 | TRACKING BUG TO FIX QKSAN_OPT FLAG OVERLAP | 🔵 Enhancement / diagnostics |<br>| 61 | 39196073 | ORA-28382 Observed During Successful Wallet Redo Apply After Applying Patch 34272031 | 🟠 Oracle error |<br><br>---<br><br>## XStream<br><br>| # | Bug ID | Description | Impact |<br>|---|--------|-------------|--------|<br>| 62 | 35052804 | DB:XSTREAM: &quot;ignore_transaction&quot; not accepting values except null with xstreams | 🔵 Bug fix |<br><br>---<br></pre><h3>🔧 Environment Overview</h3><ul><li>Oracle Database: <strong>19c Enterprise Edition</strong></li><li>Initial version: <strong>19.3.0.0.0</strong></li><li>Target version: <strong>19.31.0.0.0 (April 2026 RU)</strong></li><li>Patch applied:</li><li><strong>Database RU:</strong> 39034528</li><li><strong>OJVM RU:</strong> 38906621</li></ul><p>Before applying the patch, ensure everything is properly stopped — no shortcuts here.</p><pre>SQL*Plus: Release 19.0.0.0.0 - Production on Sun May 24 11:46:11 2026<br>Version 19.3.0.0.0<br><br>Copyright (c) 1982, 2019, Oracle.  All rights reserved.<br><br><br>Connected to:<br>Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production<br>Version 19.3.0.0.0<br><br>SQL&gt; shutdown immediate;<br>Database closed.<br>Database dismounted.<br>ORACLE instance shut down.<br>SQL&gt; exit<br>Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production<br>Version 19.3.0.0.0<br>oracle@oracle19c [cora19] /u01/app/oracle/media/patching/39034528 $ lsnrctl stop LISTENER<br><br>LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 24-MAY-2026 11:48:17<br><br>Copyright (c) 1991, 2019, Oracle.  All rights reserved.<br><br>Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle19c)(PORT=1521)))<br>The command completed successfully</pre><p>Apply Database Release Update (19.31)</p><pre>oracle@oracle19c [cora19] /u01/app/oracle/media/patching/39034528 $ opatch apply<br>Oracle Interim Patch Installer version 12.2.0.1.51<br>Copyright (c) 2026, Oracle Corporation.  All rights reserved.<br><br><br>Oracle Home       : /u01/app/oracle/product/19.0.0/dbhome_1<br>Central Inventory : /u01/app/oraInventory<br>   from           : /u01/app/oracle/product/19.0.0/dbhome_1/oraInst.loc<br>OPatch version    : 12.2.0.1.51<br>OUI version       : 12.2.0.7.0<br>Log file location : /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-05-24_11-48-21AM_1.log<br><br>Verifying environment and performing prerequisite checks...<br>OPatch continues with these patches:   39034528<br><br>Do you want to proceed? [y|n]<br>y<br>User Responded with: Y<br>All checks passed.<br><br>Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.<br>(Oracle Home = &#39;/u01/app/oracle/product/19.0.0/dbhome_1&#39;)<br><br><br>Is the local system ready for patching? [y|n]<br>y<br>User Responded with: Y<br>Backing up files...<br>Applying interim patch &#39;39034528&#39; to OH &#39;/u01/app/oracle/product/19.0.0/dbhome_1&#39;<br>ApplySession: Optional component(s) [ oracle.network.gsm, 19.0.0.0.0 ] , [ oracle.assistants.asm, 19.0.0.0.0 ] , [ oracle.datamining, 19.0.0.0.0 ] , [ oracle.java.sqlj.sqljruntime, 19.0.0.0.0 ] , [ oracle.crypto.rsf, 19.0.0.0.0 ] , [ oracle.oraolap.mgmt, 19.0.0.0.0 ] , [ oracle.pg4appc, 19.0.0.0.0 ] , [ oracle.pg4mq, 19.0.0.0.0 ] , [ oracle.precomp.companion, 19.0.0.0.0 ] , [ oracle.rdbms.ic, 19.0.0.0.0 ] , [ oracle.rdbms.tg4db2, 19.0.0.0.0 ] , [ oracle.sdo.companion, 19.0.0.0.0 ] , [ oracle.tfa, 19.0.0.0.0 ] , [ oracle.rdbms.tg4ifmx, 19.0.0.0.0 ] , [ oracle.oid.client, 19.0.0.0.0 ] , [ oracle.rdbms.tg4sybs, 19.0.0.0.0 ] , [ oracle.ldap.ztk, 19.0.0.0.0 ] , [ oracle.ons.eons.bwcompat, 19.0.0.0.0 ] , [ oracle.net.cman, 19.0.0.0.0 ] , [ oracle.ons.cclient, 19.0.0.0.0 ] , [ oracle.xdk.companion, 19.0.0.0.0 ] , [ oracle.options.olap, 19.0.0.0.0 ] , [ oracle.rdbms.tg4msql, 19.0.0.0.0 ] , [ oracle.rdbms.tg4tera, 19.0.0.0.0 ] , [ oracle.network.cman, 19.0.0.0.0 ] , [ oracle.options.olap.api, 19.0.0.0.0 ] , [ oracle.jdk, 1.8.0.191.0 ] , [ oracle.jdk, 1.8.0.391.11 ]  not present in the Oracle Home or a higher version is found.<br><br>Patching component oracle.rdbms.util, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.rsf, 19.0.0.0.0...<br><br>Patching component oracle.rdbms, 19.0.0.0.0...<br><br>Patching component oracle.assistants.acf, 19.0.0.0.0...<br><br>Patching component oracle.assistants.deconfig, 19.0.0.0.0...<br><br>Patching component oracle.assistants.server, 19.0.0.0.0...<br><br>Patching component oracle.blaslapack, 19.0.0.0.0...<br><br>Patching component oracle.buildtools.rsf, 19.0.0.0.0...<br><br>Patching component oracle.wwg.plsql, 19.0.0.0.0...<br><br>Patching component oracle.ctx, 19.0.0.0.0...<br><br>Patching component oracle.dbdev, 19.0.0.0.0...<br><br>Patching component oracle.dbjava.ic, 19.0.0.0.0...<br><br>Patching component oracle.dbjava.jdbc, 19.0.0.0.0...<br><br>Patching component oracle.dbjava.ucp, 19.0.0.0.0...<br><br>Patching component oracle.duma, 19.0.0.0.0...<br><br>Patching component oracle.javavm.client, 19.0.0.0.0...<br><br>Patching component oracle.ldap.client, 19.0.0.0.0...<br><br>Patching component oracle.ldap.owm, 19.0.0.0.0...<br><br>Patching component oracle.ldap.rsf, 19.0.0.0.0...<br><br>Patching component oracle.ldap.security.osdt, 19.0.0.0.0...<br><br>Patching component oracle.marvel, 19.0.0.0.0...<br><br>Patching component oracle.network.rsf, 19.0.0.0.0...<br><br>Patching component oracle.nlsrtl.rsf, 19.0.0.0.0...<br><br>Patching component oracle.nlsrtl.rsf.core, 19.0.0.0.0...<br><br>Patching component oracle.nlsrtl.rsf.ic, 19.0.0.0.0...<br><br>Patching component oracle.odbc.ic, 19.0.0.0.0...<br><br>Patching component oracle.ons, 19.0.0.0.0...<br><br>Patching component oracle.ons.ic, 19.0.0.0.0...<br><br>Patching component oracle.oracore.rsf, 19.0.0.0.0...<br><br>Patching component oracle.perlint, 5.28.1.0.0...<br><br>Patching component oracle.precomp.common.core, 19.0.0.0.0...<br><br>Patching component oracle.precomp.rsf, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.crs, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.deconfig, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.install.common, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.oci, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.rsf.ic, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.scheduler, 19.0.0.0.0...<br><br>Patching component oracle.rhp.db, 19.0.0.0.0...<br><br>Patching component oracle.rsf, 19.0.0.0.0...<br><br>Patching component oracle.sdo, 19.0.0.0.0...<br><br>Patching component oracle.sdo.locator.jrf, 19.0.0.0.0...<br><br>Patching component oracle.sqlj.sqljruntime, 19.0.0.0.0...<br><br>Patching component oracle.sqlplus, 19.0.0.0.0...<br><br>Patching component oracle.sqlplus.ic, 19.0.0.0.0...<br><br>Patching component oracle.tfa.db, 19.0.0.0.0...<br><br>Patching component oracle.wwg.plsql, 19.0.0.0.0...<br><br>Patching component oracle.xdk.rsf, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.hs_common, 19.0.0.0.0...<br><br>Patching component oracle.javavm.server, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.install.plugins, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.locator, 19.0.0.0.0...<br><br>Patching component oracle.oraolap.api, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.hsodbc, 19.0.0.0.0...<br><br>Patching component oracle.network.client, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.drdaas, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.dm, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.rman, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.rat, 19.0.0.0.0...<br><br>Patching component oracle.ovm, 19.0.0.0.0...<br><br>Patching component oracle.odbc, 19.0.0.0.0...<br><br>Patching component oracle.xdk.server, 19.0.0.0.0...<br><br>Patching component oracle.oraolap.dbscripts, 19.0.0.0.0...<br><br>Patching component oracle.xdk.xquery, 19.0.0.0.0...<br><br>Patching component oracle.network.listener, 19.0.0.0.0...<br><br>Patching component oracle.dbtoolslistener, 19.0.0.0.0...<br><br>Patching component oracle.ldap.rsf.ic, 19.0.0.0.0...<br><br>Patching component oracle.xdk.parser.java, 19.0.0.0.0...<br><br>Patching component oracle.sdo.locator, 19.0.0.0.0...<br><br>Patching component oracle.ctx.rsf, 19.0.0.0.0...<br><br>Patching component oracle.ldap.ssl, 19.0.0.0.0...<br><br>Patching component oracle.oraolap, 19.0.0.0.0...<br><br>Patching component oracle.mgw.common, 19.0.0.0.0...<br><br>Patching component oracle.install.deinstalltool, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.dv, 19.0.0.0.0...<br><br>Patching component oracle.xdk, 19.0.0.0.0...<br><br>Patching component oracle.nlsrtl.rsf.lbuilder, 19.0.0.0.0...<br><br>Patching component oracle.ctx.atg, 19.0.0.0.0...<br><br>Patching component oracle.network.aso, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.lbac, 19.0.0.0.0...<br><br>Patching component oracle.precomp.lang, 19.0.0.0.0...<br><br>Patching component oracle.precomp.common, 19.0.0.0.0...<br><br>Patching component oracle.jdk, 1.8.0.201.0...<br>Patch 39034528 successfully applied.<br>Sub-set patch [29517242] has become inactive due to the application of a super-set patch [39034528].<br>Please refer to Doc ID 2161861.1 for any possible further required actions.<br>Log file location: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-05-24_11-48-21AM_1.log<br><br>OPatch succeeded.<br>oracle@oracle19c [cora19] /u01/app/oracle/media/patching/39034528 $<br><br><br>OPatch succeeded.<br>oracle@oracle19c [cora19] /u01/app/oracle/media/patching/39034528 $<br>oracle@oracle19c [cora19] /u01/app/oracle/media/patching/39034528 $<br>oracle@oracle19c [cora19] /u01/app/oracle/media/patching/39034528 $<br>oracle@oracle19c [cora19] /u01/app/oracle/media/patching/39034528 $ sqlplus &quot;/as sysdba&quot;<br><br>SQL*Plus: Release 19.0.0.0.0 - Production on Sun May 24 12:03:05 2026<br>Version 19.31.0.0.0<br><br>Copyright (c) 1982, 2026, Oracle.  All rights reserved.<br><br>Connected to an idle instance.<br><br>SQL&gt; startup;<br>ORACLE instance started.<br><br>Total System Global Area  859828632 bytes<br>Fixed Size                  9183640 bytes<br>Variable Size             230686720 bytes<br>Database Buffers          612368384 bytes<br>Redo Buffers                7589888 bytes<br>Database mounted.<br>Database opened.<br>SQL&gt; alter pluggable database all open;<br><br>Pluggable database altered.<br><br>SQL&gt; quit<br>Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production<br>Version 19.31.0.0.0<br>oracle@oracle19c [cora19] /u01/app/oracle/media/patching/39034528 $ cd $ORACLE_HOME/OPatch<br>oracle@oracle19c [cora19] /u01/app/oracle/product/19.0.0/dbhome_1/OPatch $ ./datapatch -sanity_checks<br>SQL Patching sanity checks version 19.31.0.0.0 on Sun 24 May 2026 12:04:02 CEST<br>Copyright (c) 2021, 2026, Oracle.  All rights reserved.<br><br>Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20260524_120402_70062/sanity_checks_20260524_120402_70062.log<br><br>Running checks<br>JSON report generated in /u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20260524_120402_70062/sqlpatch_sanity_checks_summary.json file<br>Checks completed. Printing report:<br><br>Check: Database component status - OK<br>Check: PDB Violations - OK<br>Check: Invalid System Objects - OK<br>Check: Tablespace Status - OK<br>Check: Backup jobs - OK<br>Check: Temp file exists - OK<br>Check: Temp file online - OK<br>Check: Data Pump running - OK<br>Check: Container status - OK<br>Check: Oracle Database Keystore - OK<br>Check: Dictionary statistics gathering - WARNING<br>  Patching the database without recent data dictionary statistics gathered may lead to performance issues.<br>  Data dictionary statistics are older than 7 days.<br>  Run the following queries to start gathering the dictionary statistics:<br>    EXEC DBMS_STATS.GATHER_DICTIONARY_STATS;<br>    EXEC DBMS_SYSTEM.GATHER_FIXED_OBJECTS_STATS;<br>  Refer to MOS 457926.1 for more details.<br>  PDB$SEED:<br>    |     LATEST      |        OPERATION        |  STATUS   |<br>    |-----------------+-------------------------+-----------|<br>    | 17-APR-19 02:03 | gather_dictionary_stats | COMPLETED |<br>    |-----------------+-------------------------+-----------|<br>  PDBORA19:<br>    |     LATEST      |        OPERATION        |  STATUS   |<br>    |-----------------+-------------------------+-----------|<br>    | 17-APR-19 02:03 | gather_dictionary_stats | COMPLETED |<br>    |-----------------+-------------------------+-----------|<br>Check: Scheduled Jobs - OK<br>Check: GoldenGate triggers - OK<br>Check: Logminer DDL triggers - OK<br>Check: Check sys public grants - OK<br>Check: Statistics gathering running - OK<br>Check: Optim dictionary upgrade parameter - OK<br>Check: Symlinks on oracle home path - OK<br>Check: Central Inventory - OK<br>Check: Java Virtual Machine Enable - OK<br>Check: Oracle Database Vault Enabled - OK<br>Check: Queryable Inventory database directories - OK<br>Check: Queryable Inventory locks - OK<br>Check: Queryable Inventory package - OK<br>Check: Queryable Inventory external table - OK<br>Check: Imperva processes - OK<br>Check: Guardium processes - OK<br>Check: Locale - OK<br><br>Refer to MOS Note 2975965.1 and debug log<br>/u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20260524_120402_70062/sanity_checks_debug_20260524_120402_70062.log<br><br>SQL Patching sanity checks completed on Sun 24 May 2026 12:04:11 CEST<br>oracle@oracle19c [cora19] /u01/app/oracle/product/19.0.0/dbhome_1/OPatch $<br><br><br>oracle@oracle19c [cora19] /u01/app/oracle/product/19.0.0/dbhome_1/OPatch $ ./datapatch -verbose<br>SQL Patching tool version 19.31.0.0.0 Production on Sun May 24 12:27:28 2026<br>Copyright (c) 2012, 2026, Oracle.  All rights reserved.<br><br>Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_71702_2026_05_24_12_27_28/sqlpatch_invocation.log<br><br>Connecting to database...OK<br>Gathering database info...done<br><br>Note:  Datapatch will only apply or rollback SQL fixes for PDBs<br>       that are in an open state, no patches will be applied to closed PDBs.<br>       Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation<br>       (Doc ID 1585822.1)<br><br>Bootstrapping registry and package to current versions...done<br>Determining current state...done<br><br>Current state of interim SQL patches:<br>  No interim patches found<br><br>Current state of release update SQL patches:<br>  Binary registry:<br>    19.31.0.0.0 Release_Update 260426152757: Installed<br>  PDB CDB$ROOT:<br>    Applied 19.3.0.0.0 Release_Update 190410122720 successfully on 24-MAY-26 11.04.02.575364<br>  PDB PDB$SEED:<br>    Applied 19.3.0.0.0 Release_Update 190410122720 successfully on 24-MAY-26 11.13.32.926017<br>  PDB PDBORA19:<br>    Applied 19.3.0.0.0 Release_Update 190410122720 successfully on 24-MAY-26 11.13.32.926017<br><br>Adding patches to installation queue and performing prereq checks...done<br>Installation queue:<br>  For the following PDBs: CDB$ROOT PDB$SEED PDBORA19<br>    No interim patches need to be rolled back<br>    Patch 39034528 (Database Release Update : 19.31.0.0.260421 (39034528)):<br>      Apply from 19.3.0.0.0 Release_Update 190410122720 to 19.31.0.0.0 Release_Update 260426152757<br>    No interim patches need to be applied<br><br>Installing patches...<br><br><br>Patch installation complete.  Total patches installed: 3<br><br>Validating logfiles...done<br>Patch 39034528 apply (pdb CDB$ROOT): SUCCESS<br>  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/39034528/28700584/39034528_apply_CORA19_CDBROOT_2026May24_12_27_58.log (no errors)<br>Patch 39034528 apply (pdb PDB$SEED): SUCCESS<br>  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/39034528/28700584/39034528_apply_CORA19_PDBSEED_2026May24_12_34_57.log (no errors)<br>Patch 39034528 apply (pdb PDBORA19): SUCCESS<br>  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/39034528/28700584/39034528_apply_CORA19_PDBORA19_2026May24_12_34_57.log (no errors)<br>SQL Patching tool complete on Sun May 24 12:48:46 2026</pre><h3>Apply OJVM Patch</h3><p>Why separate step?<br> Because <strong>OJVM is not part of the base RU</strong></p><pre>oracle@oracle19c [cora19] /u01/app/oracle/media/patching $ unzip -a ojvm_p38906621_190000_Linux-x86-64.zip <br>Archive:  ojvm_p38906621_190000_Linux-x86-64.zip<br>   creating: 38906621/<br> extracting: 38906621/README.txt     [text]  <br>  inflating: 38906621/README.html    [text]  <br>   creating: 38906621/files/<br>   creating: 38906621/files/rdbms/<br>   creating: 38906621/files/rdbms/lib/<br>  inflating: 38906621/files/rdbms/lib/jox.o  [binary]<br>  inflating: 38906621/files/rdbms/lib/joxoff.o  [binary]<br>   creating: 38906621/files/javavm/<br>   creating: 38906621/files/javavm/admin/<br>  inflating: 38906621/files/javavm/admin/fixTZa.sql  [text]  <br>  inflating: 38906621/files/javavm/admin/fixTZb.sql  [text]  <br>   creating: 38906621/files/javavm/jdk/<br>   creating: 38906621/files/javavm/jdk/jdk8/<br>   creating: 38906621/files/javavm/jdk/jdk8/admin/<br>  inflating: 38906621/files/javavm/jdk/jdk8/admin/lfclasses.bin  [binary]<br>  inflating: 38906621/files/javavm/jdk/jdk8/admin/classes.bin  [binary]<br>   creating: 38906621/files/javavm/jdk/jdk8/lib/<br>  inflating: 38906621/files/javavm/jdk/jdk8/lib/sunjce_provider.jar  [binary]<br>  inflating: 38906621/files/javavm/jdk/jdk8/lib/jce.jar  [binary]<br>   creating: 38906621/files/javavm/jdk/jdk8/lib/security/<br>  inflating: 38906621/files/javavm/jdk/jdk8/lib/security/US_export_policy.jar  [binary]<br>  inflating: 38906621/files/javavm/jdk/jdk8/lib/security/cacerts  [binary]<br>  inflating: 38906621/files/javavm/jdk/jdk8/lib/security/local_policy.jar  [binary]<br>  inflating: 38906621/files/javavm/jdk/jdk8/lib/security/java.security  [text]  <br>  inflating: 38906621/files/javavm/jdk/jdk8/lib/libjavavm19.a  [binary]<br>  inflating: 38906621/files/javavm/jdk/jdk8/lib/sunec.jar  [binary]<br>   creating: 38906621/files/javavm/install/<br>  inflating: 38906621/files/javavm/install/jvmdwgrd.sql  [text]  <br>  inflating: 38906621/files/javavm/install/bug26451793.sql  [text]  <br>  inflating: 38906621/files/javavm/install/bug37273789_rollback.sql  [text]  <br>  inflating: 38906621/files/javavm/install/bug34854671_apply.sql  [text]  <br>  inflating: 38906621/files/javavm/install/catjvm.sql  [text]  <br>  inflating: 38906621/files/javavm/install/udjvmrm.sql  [text]  <br>  inflating: 38906621/files/javavm/install/bug35933540_rollback.sql  [text]  <br>  inflating: 38906621/files/javavm/install/deinstall_fips.sql  [text]  <br>  inflating: 38906621/files/javavm/install/bug37273777_apply.sql  [text]  <br>  inflating: 38906621/files/javavm/install/jvmpsui.sql  [text]  <br>  inflating: 38906621/files/javavm/install/jvmpsupi.sql  [text]  <br>  inflating: 38906621/files/javavm/install/initjvma.sql  [text]  <br>  inflating: 38906621/files/javavm/install/initjvm5.sql  [text]  <br>  inflating: 38906621/files/javavm/install/bug34854671_rollback.sql  [text]  <br>  inflating: 38906621/files/javavm/install/jvmpsu.sql  [text]  <br>  inflating: 38906621/files/javavm/install/bug37273789_apply.sql  [text]  <br>  inflating: 38906621/files/javavm/install/jvmpsupdi.sql  [text]  <br>  inflating: 38906621/files/javavm/install/jvmpsupii.sql  [text]  <br>  inflating: 38906621/files/javavm/install/README_FIPS_140.txt  [text]  <br>  inflating: 38906621/files/javavm/install/bug37273777_rollback.sql  [text]  <br>  inflating: 38906621/files/javavm/install/jvmpsupdii.sql  [text]  <br>  inflating: 38906621/files/javavm/install/bug35933540_apply.sql  [text]  <br>  inflating: 38906621/files/javavm/install/install_fips.sql  [text]  <br>  inflating: 38906621/files/javavm/install/jvma180.sql  [text]  <br>   creating: 38906621/files/javavm/ojvmwcu/<br>   creating: 38906621/files/javavm/ojvmwcu/install/<br>  inflating: 38906621/files/javavm/ojvmwcu/install/configure_ojvmwcu.sql  [text]  <br>  inflating: 38906621/files/javavm/ojvmwcu/install/load_ojvmwcu.sql  [text]  <br>  inflating: 38906621/files/javavm/ojvmwcu/install/export_ojvmwcu_classes.sql  [text]  <br>   creating: 38906621/files/javavm/ojvmwcu/lib/<br>  inflating: 38906621/files/javavm/ojvmwcu/lib/oracle-jaxrs-ri.jar  [binary]<br>  inflating: 38906621/files/javavm/ojvmwcu/lib/ojvmwcu.jar  [binary]<br>  inflating: 38906621/files/javavm/ojvmwcu/lib/ojvmwcu-utls.jar  [binary]<br>   creating: 38906621/files/javavm/lib/<br>  inflating: 38906621/files/javavm/lib/tzdb.dat  [binary]<br> extracting: 38906621/files/javavm/lib/aurora.zip  [binary]<br>   creating: 38906621/files/jlib/<br>  inflating: 38906621/files/jlib/jta.jar  [binary]<br>  inflating: 38906621/files/jlib/jakarta.activation.jar  [binary]<br>  inflating: 38906621/files/jlib/jakarta.mail.jar  [binary]<br>   creating: 38906621/files/sqlpatch/<br>   creating: 38906621/files/sqlpatch/38906621/<br>   creating: 38906621/files/sqlpatch/38906621/28588735/<br>  inflating: 38906621/files/sqlpatch/38906621/28588735/38906621_rollback.sql  [text]  <br>   creating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/<br>   creating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/<br>   creating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/<br>   creating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/<br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/bug37273789_rollback.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/catjvm.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/bug35933540_rollback.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/jvmpsui.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/jvmpsupi.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/initjvma.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/bug34854671_rollback.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/jvmpsu.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/jvmpsupdi.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/jvmpsupii.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/bug37273777_rollback.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/rollback_files/19.1.0.0.0/javavm/install/jvmpsupdii.sql  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/38906621.xml  [text]  <br>  inflating: 38906621/files/sqlpatch/38906621/28588735/38906621_apply.sql  [text]  <br>   creating: 38906621/files/lib/<br>   creating: 38906621/files/lib/libserver19.a/<br>  inflating: 38906621/files/lib/libserver19.a/joxwtp.o  [binary]<br>  inflating: 38906621/files/lib/http_client.jar  [binary]<br>   creating: 38906621/etc/<br>   creating: 38906621/etc/config/<br>  inflating: 38906621/etc/config/actions.xml  [text]  <br>  inflating: 38906621/etc/config/inventory.xml  [text]  <br>replace PatchSearch.xml? [y]es, [n]o, [A]ll, [N]one, [r]ename: A<br>  inflating: PatchSearch.xml         [text]  <br>oracle@oracle19c [cora19] /u01/app/oracle/media/patching $ <br><br><br><br><br><br><br>oracle@oracle19c [cora19] /u01/app/oracle/media/patching/38906621 $ opatch apply<br>Oracle Interim Patch Installer version 12.2.0.1.51<br>Copyright (c) 2026, Oracle Corporation.  All rights reserved.<br><br><br>Oracle Home       : /u01/app/oracle/product/19.0.0/dbhome_1<br>Central Inventory : /u01/app/oraInventory<br>   from           : /u01/app/oracle/product/19.0.0/dbhome_1/oraInst.loc<br>OPatch version    : 12.2.0.1.51<br>OUI version       : 12.2.0.7.0<br>Log file location : /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-05-24_12-54-37PM_1.log<br><br>Verifying environment and performing prerequisite checks...<br>OPatch continues with these patches:   38906621  <br><br>Do you want to proceed? [y|n]<br>y<br>User Responded with: Y<br>All checks passed.<br><br>Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.<br>(Oracle Home = &#39;/u01/app/oracle/product/19.0.0/dbhome_1&#39;)<br><br><br>Is the local system ready for patching? [y|n]<br>y<br>User Responded with: Y<br>Backing up files...<br>Applying interim patch &#39;38906621&#39; to OH &#39;/u01/app/oracle/product/19.0.0/dbhome_1&#39;<br><br>Patching component oracle.javavm.server, 19.0.0.0.0...<br><br>Patching component oracle.javavm.server.core, 19.0.0.0.0...<br><br>Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...<br><br>Patching component oracle.rdbms, 19.0.0.0.0...<br><br>Patching component oracle.javavm.client, 19.0.0.0.0...<br>Patch 38906621 successfully applied.<br>Log file location: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-05-24_12-54-37PM_1.log<br><br>OPatch succeeded.<br><br><br><br><br><br>oracle@oracle19c [cora19] /u01/app/oracle/product/19.0.0/dbhome_1/OPatch $ ./datapatch -verbose<br>SQL Patching tool version 19.31.0.0.0 Production on Sun May 24 13:01:07 2026<br>Copyright (c) 2012, 2026, Oracle.  All rights reserved.<br><br>Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_77122_2026_05_24_13_01_07/sqlpatch_invocation.log<br><br>Connecting to database...OK<br>Gathering database info...done<br><br>Note:  Datapatch will only apply or rollback SQL fixes for PDBs<br>       that are in an open state, no patches will be applied to closed PDBs.<br>       Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation<br>       (Doc ID 1585822.1)<br><br>Bootstrapping registry and package to current versions...done<br>Determining current state...done<br><br>Current state of interim SQL patches:<br>Interim patch 38906621 (OJVM RELEASE UPDATE: 19.31.0.0.260421 (38906621)):<br>  Binary registry: Installed<br>  PDB CDB$ROOT: Not installed<br>  PDB PDB$SEED: Not installed<br>  PDB PDBORA19: Not installed<br><br>Current state of release update SQL patches:<br>  Binary registry:<br>    19.31.0.0.0 Release_Update 260426152757: Installed<br>  PDB CDB$ROOT:<br>    Applied 19.31.0.0.0 Release_Update 260426152757 successfully on 24-MAY-26 12.34.45.078825 PM<br>  PDB PDB$SEED:<br>    Applied 19.31.0.0.0 Release_Update 260426152757 successfully on 24-MAY-26 12.47.53.460062 PM<br>  PDB PDBORA19:<br>    Applied 19.31.0.0.0 Release_Update 260426152757 successfully on 24-MAY-26 12.47.39.916574 PM<br><br>Adding patches to installation queue and performing prereq checks...done<br>Installation queue:<br>  For the following PDBs: CDB$ROOT PDB$SEED PDBORA19<br>    No interim patches need to be rolled back<br>    No release update patches need to be installed<br>    The following interim patches will be applied:<br>      38906621 (OJVM RELEASE UPDATE: 19.31.0.0.260421 (38906621))<br><br>Installing patches...<br>Patch installation complete.  Total patches installed: 3<br><br>Validating logfiles...done<br>Patch 38906621 apply (pdb CDB$ROOT): SUCCESS<br>  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/38906621/28588735/38906621_apply_CORA19_CDBROOT_2026May24_13_01_54.log (no errors)<br>Patch 38906621 apply (pdb PDB$SEED): SUCCESS<br>  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/38906621/28588735/38906621_apply_CORA19_PDBSEED_2026May24_13_04_02.log (no errors)<br>Patch 38906621 apply (pdb PDBORA19): SUCCESS<br>  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/38906621/28588735/38906621_apply_CORA19_PDBORA19_2026May24_13_04_02.log (no errors)<br>SQL Patching tool complete on Sun May 24 13:05:30 2026</pre><h3>Final Verification</h3><p>Using a my SQL script:</p><pre>oracle@oracle19c [cora19] ~ $ sqlp<br><br>SQL*Plus: Release 19.0.0.0.0 - Production on Sun May 24 13:06:59 2026<br>Version 19.31.0.0.0<br><br>Copyright (c) 1982, 2026, Oracle.  All rights reserved.<br><br><br>Connected to:<br>Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production<br>Version 19.31.0.0.0<br><br>SQL&gt; @oracle_v.sql<br><br>==========================================<br>Enter value for database: cora19<br> INSTANCE cora19 INFO<br>==========================================<br><br>PARAMETER        | VALUE<br>----------------------------------------------------------------------------------------------------<br>Instance         | cora19<br>Host             | oracle19c<br>Version          | 19.31.0.0.0<br>Status           | OPEN<br><br><br><br>==========================================<br>  PATCH HISTORY (last 5)<br>==========================================<br><br>Date             | ACTION          | DESCRIPTION<br>---------------- | --------------- | ----------------------------------------------------------------------------------------------------<br>2026-05-24 13:04 | APPLY           | OJVM RELEASE UPDATE: 19.31.0.0.260421 (38906621)<br>2026-05-24 12:34 | APPLY           | Database Release Update : 19.31.0.0.260421 (39034528)<br>2026-05-24 11:04 | APPLY           | Database Release Update : 19.3.0.0.190416 (29517242)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7964215f1419" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle AI Database 26ai — Patch 23.26.2.0.0: What DBAs Should Know]]></title>
            <link>https://medium.com/@dbapp/oracle-ai-database-26ai-patch-23-26-2-0-0-what-dbas-should-know-061a1abf74ef?source=rss-a97687c01e16------2</link>
            <guid isPermaLink="false">https://medium.com/p/061a1abf74ef</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[oracle-database]]></category>
            <dc:creator><![CDATA[Piotr Praszkiewicz]]></dc:creator>
            <pubDate>Fri, 08 May 2026 20:52:08 GMT</pubDate>
            <atom:updated>2026-05-08T20:52:08.605Z</atom:updated>
            <content:encoded><![CDATA[<p>Oracle has released <strong>Release Update 23.26.2.0.0</strong> for <strong>Oracle AI Database 26ai</strong>, continuing the regular quarterly patching cadence introduced with 23ai.</p><p>This is a <strong>cumulative RU</strong> focused on what DBAs actually care about: security fixes, stability, performance improvements, and incremental enhancements — including areas like <strong>AI Vector Search</strong>, <strong>Data Guard</strong>, <strong>JSON Relational Duality Views</strong>, and graph/vector indexing.</p><p>Importantly, <strong>26ai is a continuation of 23ai, not a disruptive new release</strong>. The internal architecture remains compatible, so for most environments this update is a <strong>standard patching exercise</strong>, not a database upgrade or re‑certification effort.</p><p>For DBAs, the message is clear: <strong>Oracle AI Database 26ai should be treated as a Long Term Support platform</strong>, with quarterly RUs applied to stay secure, supported, and aligned with Oracle’s AI roadmap.</p><h3>Patch 23.26.2.0.0 output [include OCW RELEASE UPDATE] :</h3><pre>+----------------------+---------------------------+<br>| Name                 | Value                     |<br>+----------------------+---------------------------+<br>| Database Name (CDB)  | CORA26                    |<br>| Database Version     | Oracle AI Database 26ai   |<br>| Release              | 23.26.1.0.0               |<br>| Host                 | o9ai26                    |<br>| Instance Name        | cora26                    |<br>| Open Mode            | READ WRITE                |<br>| Instance Role        | PRIMARY_INSTANCE          |<br>+----------------------+---------------------------+</pre><pre>oracle@o9ai26 [cora26] /u01/app/oracle/media/patching/39093711 $ <br><br>$ORACLE_HOME/OPatch/opatch version<br><br>OPatch Version: 12.2.0.1.51<br><br>OPatch succeeded.<br>oracle@o9ai26 [cora26] /u01/app/oracle/media/patching/39093711 $<br><br><br>oracle@o9ai26 [cora26] ~ $ opatch lspatches<br>38743688;OCW RELEASE UPDATE 23.26.1.0.0 (38743688)<br>38743669;Database Release Update : 23.26.1.0.0 (38743669)<br><br>OPatch succeeded.<br><br><br>oracle@o9ai26 [cora26] /u01/app/oracle/media/patching/39093711 $ opatch apply<br>Oracle Interim Patch Installer version 12.2.0.1.51<br>Copyright (c) 2026, Oracle Corporation.  All rights reserved.<br><br><br>Oracle Home       : /u01/app/oracle/product/23.26.1/dbhome_1<br>Central Inventory : /u01/app/oraInventory<br>   from           : /u01/app/oracle/product/23.26.1/dbhome_1/oraInst.loc<br>OPatch version    : 12.2.0.1.51<br>OUI version       : 12.2.0.9.0<br>Log file location : /u01/app/oracle/product/23.26.1/dbhome_1/cfgtoollogs/opatch/opatch2026-05-06_16-40-38pm_1.log<br><br>Verifying environment and performing prerequisite checks...<br><br>--------------------------------------------------------------------------------<br>Start OOP by Prereq process.<br>Launch OOP...<br><br>Oracle Interim Patch Installer version 12.2.0.1.51<br>Copyright (c) 2026, Oracle Corporation.  All rights reserved.<br><br><br>Oracle Home       : /u01/app/oracle/product/23.26.1/dbhome_1<br>Central Inventory : /u01/app/oraInventory<br>   from           : /u01/app/oracle/product/23.26.1/dbhome_1/oraInst.loc<br>OPatch version    : 12.2.0.1.51<br>OUI version       : 12.2.0.9.0<br>Log file location : /u01/app/oracle/product/23.26.1/dbhome_1/cfgtoollogs/opatch/opatch2026-05-06_16-41-08pm_1.log<br><br>Verifying environment and performing prerequisite checks...<br>OPatch continues with these patches:   39093711<br><br>Do you want to proceed? [y|n]<br>y<br>User Responded with: Y<br>All checks passed.<br><br>Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.<br>(Oracle Home = &#39;/u01/app/oracle/product/23.26.1/dbhome_1&#39;)<br><br><br>Is the local system ready for patching? [y|n]<br>y<br>User Responded with: Y<br>Backing up files...<br>Applying interim patch &#39;39093711&#39; to OH &#39;/u01/app/oracle/product/23.26.1/dbhome_1&#39;<br>ApplySession: Optional component(s) [ oracle.client, 23.0.0.0.0 ] , [ oracle.companionCD.db, 23.0.0.0.0 ] , [ oracle.dbjava.dev, 23.0.0.0.0 ] , [ oracle.dslm, 23.0.0.0.0 ] , [ oracle.has.client.cvu, 23.0.0.0.0 ] , [ oracle.has.gsm.cvu, 23.0.0.0.0 ] , [ oracle.ldap.companion, 23.0.0.0.0 ] , [ oracle.mgw.common.companion, 23.0.0.0.0 ] , [ oracle.network.cman, 23.0.0.0.0 ] , [ oracle.nlsrtl.companion, 23.0.0.0.0 ] , [ oracle.odbc.companion, 23.0.0.0.0 ] , [ oracle.oraolap.mgmt, 23.0.0.0.0 ] , [ oracle.perlint, 5.38.2.0.0 ] , [ oracle.pg4appc, 23.0.0.0.0 ] , [ oracle.pg4mq, 23.0.0.0.0 ] , [ oracle.precomp.companion, 23.0.0.0.0 ] , [ oracle.rdbms.companion, 23.0.0.0.0 ] , [ oracle.rdbms.ic, 23.0.0.0.0 ] , [ oracle.rdbms.tg4db2, 23.0.0.0.0 ] , [ oracle.rdbms.tg4ifmx, 23.0.0.0.0 ] , [ oracle.rdbms.tg4msql, 23.0.0.0.0 ] , [ oracle.rdbms.tg4sybs, 23.0.0.0.0 ] , [ oracle.rdbms.tg4tera, 23.0.0.0.0 ] , [ oracle.sdo.companion, 23.0.0.0.0 ] , [ oracle.sqlj, 23.0.0.0.0 ] , [ oracle.sqlj.companion, 23.0.0.0.0 ] , [ oracle.sqlplus.companion, 23.0.0.0.0 ] , [ oracle.tg, 23.0.0.0.0 ] , [ oracle.xdk.companion, 23.0.0.0.0 ] , [ oracle.jdk, 11.0.25.9.0 ] , [ oracle.python, 3.12.5.0.0 ]  not present in the Oracle Home or a higher version is found.<br><br>Patching component oracle.assistants.acf, 23.0.0.0.0...<br><br>Patching component oracle.assistants.asm, 23.0.0.0.0...<br><br>Patching component oracle.assistants.deconfig, 23.0.0.0.0...<br><br>Patching component oracle.assistants.netca.client, 23.0.0.0.0...<br><br>Patching component oracle.assistants.server, 23.0.0.0.0...<br><br>Patching component oracle.bali.ewt, 12.2.1.0.0...<br><br>Patching component oracle.bali.ice, 6.1.3.2.0...<br><br>Patching component oracle.bali.jewt, 11.1.1.1.0...<br><br>Patching component oracle.bali.share, 12.2.1.0.0...<br><br>Patching component oracle.blaslapack, 23.0.0.0.0...<br><br>Patching component oracle.buildtools.common, 23.0.0.0.0...<br><br>Patching component oracle.buildtools.rsf, 23.0.0.0.0...<br><br>Patching component oracle.crypto.fips, 23.0.0.0.0...<br><br>Patching component oracle.crypto.ojmisc, 23.0.0.0.0...<br><br>Patching component oracle.crypto.pki, 23.0.0.0.0...<br><br>Patching component oracle.crypto.rsa, 23.0.0.0.0...<br><br>Patching component oracle.crypto.rsf, 23.0.0.0.0...<br><br>Patching component oracle.ctx, 23.0.0.0.0...<br><br>Patching component oracle.ctx.atg, 23.0.0.0.0...<br><br>Patching component oracle.ctx.companion, 23.0.0.0.0...<br><br>Patching component oracle.ctx.rsf, 23.0.0.0.0...<br><br>Patching component oracle.dbdev, 23.0.0.0.0...<br><br>Patching component oracle.dbjava.ic, 23.0.0.0.0...<br><br>Patching component oracle.dbjava.jdbc, 23.0.0.0.0...<br><br>Patching component oracle.dbjava.server, 23.0.0.0.0...<br><br>Patching component oracle.dbjava.ucp, 23.0.0.0.0...<br><br>Patching component oracle.dbtoolslistener, 23.0.0.0.0...<br><br>Patching component oracle.hadoopcore, 23.0.0.0.0...<br><br>Patching component oracle.has.common, 23.0.0.0.0...<br><br>Patching component oracle.has.common.cvu, 23.0.0.0.0...<br><br>Patching component oracle.has.db, 23.0.0.0.0...<br><br>Patching component oracle.has.db.cvu, 23.0.0.0.0...<br><br>Patching component oracle.has.rsf, 23.0.0.0.0...<br><br>Patching component oracle.help.ohj, 11.1.2.0.0...<br><br>Patching component oracle.help.share, 11.1.2.0.0...<br><br>Patching component oracle.install.deinstalltool, 23.0.0.0.0...<br><br>Patching component oracle.javavm.client, 23.0.0.0.0...<br><br>Patching component oracle.javavm.companion, 23.0.0.0.0...<br><br>Patching component oracle.javavm.server, 23.0.0.0.0...<br><br>Patching component oracle.javavm.server.core, 23.0.0.0.0...<br><br>Patching component oracle.jdk, 11.0.24.7.0...<br><br>Patching component oracle.ldap.admin, 23.0.0.0.0...<br><br>Patching component oracle.ldap.client, 23.0.0.0.0...<br><br>Patching component oracle.ldap.rsf, 23.0.0.0.0...<br><br>Patching component oracle.mgw.common, 23.0.0.0.0...<br><br>Patching component oracle.network, 23.0.0.0.0...<br><br>Patching component oracle.network.aso, 23.0.0.0.0...<br><br>Patching component oracle.network.client, 23.0.0.0.0...<br><br>Patching component oracle.network.gsm, 23.0.0.0.0...<br><br>Patching component oracle.network.listener, 23.0.0.0.0...<br><br>Patching component oracle.network.netmgr, 23.0.0.0.0...<br><br>Patching component oracle.network.rsf, 23.0.0.0.0...<br><br>Patching component oracle.nlsrtl.rsf, 23.0.0.0.0...<br><br>Patching component oracle.nlsrtl.rsf.core, 23.0.0.0.0...<br><br>Patching component oracle.nlsrtl.rsf.ic, 23.0.0.0.0...<br><br>Patching component oracle.nlsrtl.rsf.lbuilder, 23.0.0.0.0...<br><br>Patching component oracle.odbc, 23.0.0.0.0...<br><br>Patching component oracle.odbc.ic, 23.0.0.0.0...<br><br>Patching component oracle.onnx, 23.0.0.0.0...<br><br>Patching component oracle.ons, 23.0.0.0.0...<br><br>Patching component oracle.ons.core, 23.0.0.0.0...<br><br>Patching component oracle.ons.ic, 23.0.0.0.0...<br><br>Patching component oracle.options, 23.0.0.0.0...<br><br>Patching component oracle.oracler.server, 23.0.0.0.0...<br><br>Patching component oracle.oracore.rsf, 23.0.0.0.0...<br><br>Patching component oracle.oracore.rsf.core, 23.0.0.0.0...<br><br>Patching component oracle.oraml.server, 23.0.0.0.0...<br><br>Patching component oracle.oraolap, 23.0.0.0.0...<br><br>Patching component oracle.oraolap.api, 23.0.0.0.0...<br><br>Patching component oracle.oraolap.dbscripts, 23.0.0.0.0...<br><br>Patching component oracle.ordim.client, 23.0.0.0.0...<br><br>Patching component oracle.ordim.server, 23.0.0.0.0...<br><br>Patching component oracle.ovm, 23.0.0.0.0...<br><br>Patching component oracle.precomp.common, 23.0.0.0.0...<br><br>Patching component oracle.precomp.common.core, 23.0.0.0.0...<br><br>Patching component oracle.precomp.lang, 23.0.0.0.0...<br><br>Patching component oracle.precomp.rsf, 23.0.0.0.0...<br><br>Patching component oracle.python, 3.12.3.0.0...<br><br>Patching component oracle.rdbms, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.crs, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.db, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.dbcur, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.dbscripts, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.deconfig, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.dm, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.dv, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.hs_common, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.hsodbc, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.install.common, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.install.plugins, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.install.seeddb, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.lbac, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.locator, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.oci, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.olap, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.plsql, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.rat, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.rman, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.rsf, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.rsf.ic, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.scheduler, 23.0.0.0.0...<br><br>Patching component oracle.rdbms.util, 23.0.0.0.0...<br><br>Patching component oracle.rhp.common, 23.0.0.0.0...<br><br>Patching component oracle.rhp.db, 23.0.0.0.0...<br><br>Patching component oracle.rsf, 23.0.0.0.0...<br><br>Patching component oracle.sdo, 23.0.0.0.0...<br><br>Patching component oracle.sdo.locator, 23.0.0.0.0...<br><br>Patching component oracle.sdo.locator.jrf, 23.0.0.0.0...<br><br>Patching component oracle.server, 23.0.0.0.0...<br><br>Patching component oracle.slax.rsf, 23.0.0.0.0...<br><br>Patching component oracle.sqlj.sqljruntime, 23.0.0.0.0...<br><br>Patching component oracle.sqlplus, 23.0.0.0.0...<br><br>Patching component oracle.sqlplus.ic, 23.0.0.0.0...<br><br>Patching component oracle.sqlplus.rsf, 23.0.0.0.0...<br><br>Patching component oracle.tfa.db, 23.0.0.0.0...<br><br>Patching component oracle.usm.deconfig, 23.0.0.0.0...<br><br>Patching component oracle.wwg.plsql, 23.0.0.0.0...<br><br>Patching component oracle.xdk, 23.0.0.0.0...<br><br>Patching component oracle.xdk.parser.java, 23.0.0.0.0...<br><br>Patching component oracle.xdk.rsf, 23.0.0.0.0...<br><br>Patching component oracle.xdk.server, 23.0.0.0.0...<br><br>Patching component oracle.xdk.xquery, 23.0.0.0.0...<br>Patch 39093711 successfully applied.<br>Sub-set patch [38743669] has become inactive due to the application of a super-set patch [39093711].<br>Please refer to Doc ID 2161861.1 for any possible further required actions.<br>Log file location: /u01/app/oracle/product/23.26.1/dbhome_1/cfgtoollogs/opatch/opatch2026-05-06_16-41-08pm_1.log<br><br>OPatch succeeded.<br><br>oracle@o9ai26 [cora26] /u01/app/oracle/media/patching/39093711 $<br>oracle@o9ai26 [cora26] /u01/app/oracle/product/23.26.1/dbhome_1/OPatch $ ./datapatch -sanity_checks<br><br><br>SQL Patching sanity checks version 23.26.2.0.0 on Wed 06 May 2026 17:02:13 CEST<br>Copyright (c) 2021, 2026, Oracle.  All rights reserved.<br><br>Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20260506_170213_74961/sanity_checks_20260506_170213_74961.log<br><br>Running checks<br>JSON report generated in /u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20260506_170213_74961/sqlpatch_sanity_checks_summary.json file<br>Checks completed. Printing report:<br><br>Check: Database component status - OK<br>Check: PDB Violations - OK<br>Check: Invalid System Objects - OK<br>Check: Tablespace Status - OK<br>Check: Backup jobs - OK<br>Check: Temp file exists - OK<br>Check: Temp file online - OK<br>Check: Data Pump running - OK<br>Check: Container status - OK<br>Check: Oracle Database Keystore - OK<br>Check: Dictionary statistics gathering - WARNING<br>  Patching the database without recent data dictionary statistics gathered may lead to performance issues.<br>  Data dictionary statistics are older than 7 days.<br>  Run the following queries to start gathering the dictionary statistics:<br>    EXEC DBMS_STATS.GATHER_DICTIONARY_STATS;<br>    EXEC DBMS_SYSTEM.GATHER_FIXED_OBJECTS_STATS;<br>  Refer to MOS 457926.1 for more details.<br>  CDB$ROOT:<br>    |     LATEST      |        OPERATION        |  STATUS   |<br>    |-----------------+-------------------------+-----------|<br>    | 28-APR-26 18:16 | gather_dictionary_stats | COMPLETED |<br>    |-----------------+-------------------------+-----------|<br>  PDB$SEED:<br>    |     LATEST      |        OPERATION        |  STATUS   |<br>    |-----------------+-------------------------+-----------|<br>    | 17-JAN-26 04:19 | gather_dictionary_stats | COMPLETED |<br>    |-----------------+-------------------------+-----------|<br>Check: Scheduled Jobs - OK<br>Check: GoldenGate triggers - OK<br>Check: GoldenGate Integrated Extract/Replicat - OK<br>Check: Logminer DDL triggers - OK<br>Check: Check sys public grants - OK<br>Check: Statistics gathering running - OK<br>Check: Optim dictionary upgrade parameter - OK<br>Check: Symlinks on oracle home path - OK<br>Check: Java Virtual Machine Enable - OK<br>Check: Oracle Database Vault Enabled - OK<br>Check: Duplicated ORACLE_HOME values - SKIPPED<br>  Message: Skipped as Sanity Checks are running on a non-RAC environment.<br>Check: Recyclebin Empty - OK<br>Check: Central Inventory - OK<br>Check: Queryable Inventory locks - OK<br>Check: Queryable Inventory database directories - SKIPPED<br>  Message: Skipped as Sanity Checks are running on a non-RAC environment.<br>Check: Queryable Inventory external table - SKIPPED<br>  Message: Skipped as Sanity Checks are running on a non-RAC environment.<br>Check: Queryable Inventory package - SKIPPED<br>  Message: Skipped as Sanity Checks are running on a non-RAC environment.<br>Check: Imperva processes - OK<br>Check: Guardium processes - OK<br>Check: Locale - OK<br><br>Refer to MOS Note 2975965.1 and debug log<br>/u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20260506_170213_74961/sanity_checks_debug_20260506_170213_74961.log<br><br>SQL Patching sanity checks completed on Wed 06 May 2026 17:02:28 CEST<br>oracle@o9ai26 [cora26] /u01/app/oracle/product/23.26.1/dbhome_1/OPatch $<br><br><br><br>oracle@o9ai26 [cora26] /u01/app/oracle/product/23.26.1/dbhome_1/OPatch $ ./datapatch -verbose<br>SQL Patching tool version 23.26.2.0.0 Production on Wed May  6 17:07:31 2026<br>Copyright (c) 2012, 2026, Oracle.  All rights reserved.<br><br>Log file for this invocation: /u01/app/oracle/product/23.26.1/dbhome_1/cfgtoollogs/sqlpatch/sqlpatch_sid_cora26_ts_2026_05_06_17_07_31_pid_76909/sqlpatch_invocation.log<br><br>Connecting to database...OK<br>Gathering database info...<br><br><br><br><br><br>done<br><br>Note:  Datapatch will only apply or rollback SQL fixes for PDBs<br>       that are in an open state, no patches will be applied to closed PDBs.<br>       Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation<br>       (Doc ID 1585822.1)<br><br>Bootstrapping registry and package to current versions...done<br>Determining current state...done<br><br>Current state of interim SQL patches:<br>  No interim patches found<br><br>Current state of release update SQL patches:<br>  Binary registry:<br>    23.26.2.0.0 Release_Update 260428181725: Installed<br>  PDB CDB$ROOT:<br>    Applied 23.26.1.0.0 Release_Update 260117080636 successfully on 24-APR-26 23.23.46.183062<br>  PDB ORA26:<br>    Applied 23.26.1.0.0 Release_Update 260117080636 successfully on 24-APR-26 23.23.46.437034<br>  PDB PDB$SEED:<br>    Applied 23.26.1.0.0 Release_Update 260117080636 successfully on 24-APR-26 23.23.46.437034<br><br>Adding patches to installation queue and performing prereq checks...done<br>Installation queue:<br>  For the following PDBs: CDB$ROOT PDB$SEED ORA26<br>    No interim patches need to be rolled back<br>    Patch 39093711 (Database Release Update : 23.26.2.0.0 (39093711)):<br>      Apply from 23.26.1.0.0 Release_Update 260117080636 to 23.26.2.0.0 Release_Update 260428181725<br>    No interim patches need to be applied<br><br>Installing patches...<br>Patch installation complete.  Total patches installed: 3<br><br>Validating logfiles...done<br>Patch 39093711 apply (pdb CDB$ROOT): SUCCESS<br>  logfile: /u01/app/oracle/product/23.26.1/dbhome_1/cfgtoollogs/sqlpatch/sqlpatch_sid_cora26_ts_2026_05_06_17_07_31_pid_76909/39093711_apply_CORA26_CDBROOT_2026May06_17_12_06.log (no errors)<br>Patch 39093711 apply (pdb PDB$SEED): SUCCESS<br>  logfile: /u01/app/oracle/product/23.26.1/dbhome_1/cfgtoollogs/sqlpatch/sqlpatch_sid_cora26_ts_2026_05_06_17_07_31_pid_76909/39093711_apply_CORA26_PDBSEED_2026May06_17_17_48.log (no errors)<br>Patch 39093711 apply (pdb ORA26): SUCCESS<br>  logfile: /u01/app/oracle/product/23.26.1/dbhome_1/cfgtoollogs/sqlpatch/sqlpatch_sid_cora26_ts_2026_05_06_17_07_31_pid_76909/39093711_apply_CORA26_ORA26_2026May06_17_17_48.log (no errors)<br>SQL Patching tool complete on Wed May  6 17:24:08 2026<br><br><br>opatoracle@o9ai26 [cora26] ~ $ opatch lspatches<br>39093711;Database Release Update : 23.26.2.0.0 (39093711)<br>38743688;OCW RELEASE UPDATE 23.26.1.0.0 (38743688)<br><br>OPatch succeeded.<br><br>oracle@o9ai26 [cora26] /u01/app/oracle/media/patching/39088031 $ cd 39093738<br>oracle@o9ai26 [cora26] /u01/app/oracle/media/patching/39088031/39093738 $<br>oracle@o9ai26 [cora26] /u01/app/oracle/media/patching/39088031/39093738 $<br>oracle@o9ai26 [cora26] /u01/app/oracle/media/patching/39088031/39093738 $<br>oracle@o9ai26 [cora26] /u01/app/oracle/media/patching/39088031/39093738 $ opatch apply<br>Oracle Interim Patch Installer version 12.2.0.1.51<br>Copyright (c) 2026, Oracle Corporation.  All rights reserved.<br><br><br>Oracle Home       : /u01/app/oracle/product/23.26.1/dbhome_1<br>Central Inventory : /u01/app/oraInventory<br>   from           : /u01/app/oracle/product/23.26.1/dbhome_1/oraInst.loc<br>OPatch version    : 12.2.0.1.51<br>OUI version       : 12.2.0.9.0<br>Log file location : /u01/app/oracle/product/23.26.1/dbhome_1/cfgtoollogs/opatch/opatch2026-05-08_22-38-04pm_1.log<br><br>Verifying environment and performing prerequisite checks...<br>OPatch continues with these patches:   39093738<br><br>Do you want to proceed? [y|n]<br>y<br>User Responded with: Y<br>All checks passed.<br><br>Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.<br>(Oracle Home = &#39;/u01/app/oracle/product/23.26.1/dbhome_1&#39;)<br><br><br>Is the local system ready for patching? [y|n]<br>y<br>User Responded with: Y<br>Backing up files...<br>Applying interim patch &#39;39093738&#39; to OH &#39;/u01/app/oracle/product/23.26.1/dbhome_1&#39;<br>ApplySession: Optional component(s) [ oracle.crs, 23.0.0.0.0 ] , [ oracle.has.cvu, 23.0.0.0.0 ] , [ oracle.has.crs.cvu, 23.0.0.0.0 ] , [ oracle.xag, 23.0.0.0.0 ] , [ oracle.has.crs, 23.0.0.0.0 ] , [ oracle.tfa, 23.0.0.0.0 ]  not present in the Oracle Home or a higher version is found.<br><br>Patching component oracle.has.common, 23.0.0.0.0...<br>Patch 39093738 successfully applied.<br>Sub-set patch [38743688] has become inactive due to the application of a super-set patch [39093738].<br>Please refer to Doc ID 2161861.1 for any possible further required actions.<br>Log file location: /u01/app/oracle/product/23.26.1/dbhome_1/cfgtoollogs/opatch/opatch2026-05-08_22-38-04pm_1.log<br><br>OPatch succeeded.<br>oracle@o9ai26 [cora26] /u01/app/oracle/media/patching/39088031/39093738 $ sqlsys<br><br>SQLcl: Release 26.1 Production on Fri May 08 22:39:53 2026<br><br>Copyright (c) 1982, 2026, Oracle.  All rights reserved.<br><br>Connected to an Idle instance, startup command available.<br>SQL&gt; startup<br>ORACLE instance started.<br><br>Total System Global Area   1708381888 bytes<br>Fixed Size                    5027520 bytes<br>Variable Size              1023410176 bytes<br>Database Buffers            671088640 bytes<br>Redo Buffers                  8855552 bytes<br>Database mounted.<br>Database opened.<br>SQL&gt;<br>SQL&gt;<br><br>SQL&gt;<br>SQL&gt; alter pluggable database all open;<br><br>Pluggable database altered.<br><br>SQL&gt; exit<br>Disconnected from Oracle AI Database 26ai Enterprise Edition Release 23.26.2.0.0 - Production<br>Version 23.26.2.0.0<br><br><br>oracle@o9ai26 [cora26] /u01/app/oracle/media/patching/39088031/39093738 $ cd $ORACLE_HOME/OPatch<br>oracle@o9ai26 [cora26] /u01/app/oracle/product/23.26.1/dbhome_1/OPatch $<br>oracle@o9ai26 [cora26] /u01/app/oracle/product/23.26.1/dbhome_1/OPatch $<br>oracle@o9ai26 [cora26] /u01/app/oracle/product/23.26.1/dbhome_1/OPatch $<br>oracle@o9ai26 [cora26] /u01/app/oracle/product/23.26.1/dbhome_1/OPatch $<br>oracle@o9ai26 [cora26] /u01/app/oracle/product/23.26.1/dbhome_1/OPatch $ ./datapatch -verbose<br>SQL Patching tool version 23.26.2.0.0 Production on Fri May  8 22:41:53 2026<br>Copyright (c) 2012, 2026, Oracle.  All rights reserved.<br><br>Log file for this invocation: /u01/app/oracle/product/23.26.1/dbhome_1/cfgtoollogs/sqlpatch/sqlpatch_sid_cora26_ts_2026_05_08_22_41_53_pid_204677/sqlpatch_invocation.log<br><br>Connecting to database...OK<br>Gathering database info...done<br><br>Note:  Datapatch will only apply or rollback SQL fixes for PDBs<br>       that are in an open state, no patches will be applied to closed PDBs.<br>       Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation<br>       (Doc ID 1585822.1)<br><br>Bootstrapping registry and package to current versions...done<br>Determining current state...done<br><br>Current state of interim SQL patches:<br>  No interim patches found<br><br>Current state of release update SQL patches:<br>  Binary registry:<br>    23.26.2.0.0 Release_Update 260428181725: Installed<br>  PDB CDB$ROOT:<br>    Applied 23.26.2.0.0 Release_Update 260428181725 successfully on 06-MAY-26 17.17.02.847077<br>  PDB ORA26:<br>    Applied 23.26.2.0.0 Release_Update 260428181725 successfully on 06-MAY-26 17.22.55.236257<br>  PDB PDB$SEED:<br>    Applied 23.26.2.0.0 Release_Update 260428181725 successfully on 06-MAY-26 17.22.55.304082<br><br>Adding patches to installation queue and performing prereq checks...done<br>Installation queue:<br>  For the following PDBs: CDB$ROOT PDB$SEED ORA26<br>    No interim patches need to be rolled back<br>    No release update patches need to be installed<br>    No interim patches need to be applied<br><br>SQL Patching tool complete on Fri May  8 22:46:07 2026<br>oracle@o9ai26 [cora26] /u01/app/oracle/product/23.26.1/dbhome_1/OPatch $ <br><br>opatch lspatches<br><br>39093738;OCW RELEASE UPDATE 23.26.2.0.0 (39093738)<br>39093711;Database Release Update : 23.26.2.0.0 (39093711)<br><br>OPatch succeeded.</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=061a1abf74ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[simple queries in Oracle Ai26]]></title>
            <link>https://medium.com/@dbapp/simple-query-b53fc7ce48a9?source=rss-a97687c01e16------2</link>
            <guid isPermaLink="false">https://medium.com/p/b53fc7ce48a9</guid>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[oracle-ai-database]]></category>
            <dc:creator><![CDATA[Piotr Praszkiewicz]]></dc:creator>
            <pubDate>Thu, 30 Apr 2026 11:08:23 GMT</pubDate>
            <atom:updated>2026-05-08T11:34:59.608Z</atom:updated>
            <content:encoded><![CDATA[<p>A simple query I often use to quickly verify the Oracle instance and database status — including host, startup time, open mode, version, and role.</p><p>— Check Instance Status</p><pre>oracle@o9ai26 [cora26] ~ $ sqlsys<br><br>SQLcl: Release 26.1 Production on Fri May 01 14:58:27 2026<br><br>Copyright (c) 1982, 2026, Oracle.  All rights reserved.<br><br>Connected to:<br>Oracle AI Database 26ai Enterprise Edition Release 23.26.1.0.0 - Production<br>Version 23.26.1.0.0<br><br>SQL&gt;<br>SQL&gt;<br>SQL&gt;<br><br>-------------------------------------------------------------------------------<br>-- Check Instance Status<br>-- Purpose : Display instance status and generate DB report header<br>-------------------------------------------------------------------------------<br><br>---------------------------<br>-- Environment (PROMPT)<br>---------------------------<br>set linesize 1000<br>set feedback off<br>set verify   off<br>set heading  off<br>set termout  off<br>set echo     off<br><br>col dbrep for a200 new_val dbreport noprint<br><br>SELECT<br>    &#39;DATABASE NAME: &#39; || dbpro.name || &#39; (&#39; || dbpro.database_role || &#39;)&#39; ||<br>    &#39; | DATABASE INSTANCE: &#39; || instpro.instance_name || &#39;@&#39; ||<br>    instpro.host_name || &#39; (&#39; || instpro.version || &#39;)&#39; ||<br>    &#39; | REPORT GENERATED ON &#39; ||<br>    to_char(<br>        systimestamp,<br>        &#39;YYYY-MM-DD HH24:MI:SS.FF2 TZH:TZM&#39;,<br>        &#39;NLS_DATE_LANGUAGE=English&#39;<br>    ) AS dbrep<br>FROM<br>    v$database dbpro,<br>    v$instance instpro;<br><br><br>---------------------------<br>-- Output settings<br>---------------------------<br>set pagesize 35<br>set heading  on<br>set termout  on<br>set feedback on<br>set trimspool on<br>set trimout  on<br>set colsep &#39;|&#39;<br>set timing on<br>set pause off<br>set numformat 999999999999<br><br><br>---------------------------<br>-- Column formatting<br>---------------------------<br>col inst_id            head &#39;INST#&#39;      for 99999<br>col instance_name      for a15           print<br>col host_name          for a35           print<br>col status             for a15<br>col startup_time       for a25<br>col startup_dow        for a12<br>col &quot;UPTIME(DAYS)&quot;     for 99999<br>col logins             for a15<br>col shutdown_pending   for a15<br><br><br>---------------------------<br>-- Instance status<br>---------------------------<br>SELECT<br>    inst_id,<br>    thread#,<br>    instance_name,<br>    host_name,<br>    status,<br>    TO_CHAR(<br>        startup_time,<br>        &#39;YYYY-MM-DD HH24:MI:SS&#39;,<br>        &#39;NLS_DATE_LANGUAGE=English&#39;<br>    ) AS startup_time,<br>    TO_CHAR(<br>        startup_time,<br>        &#39;Day&#39;,<br>        &#39;NLS_DATE_LANGUAGE=English&#39;<br>    ) AS startup_dow,<br>    EXTRACT(<br>        DAY FROM numtodsinterval(SYSDATE - startup_time, &#39;day&#39;)<br>    ) AS &quot;UPTIME(DAYS)&quot;,<br>    logins,<br>    shutdown_pending<br>FROM<br>    gv$instance<br>ORDER BY<br>    inst_id;<br><br><br>---------------------------<br>-- Print Database Details<br>---------------------------<br>PROMPT &amp;&amp;dbreport<br>PROMPT<br><br><br> INST#|      THREAD#|INSTANCE_NAME  |HOST_NAME                          |STATUS         |STARTUP_TIME             |STARTUP_DOW | UPTIME(DAYS)|LOGINS         |SHUTDOWN_PENDIN<br>------|-------------|---------------|-----------------------------------|---------------|-------------------------|------------|-------------|---------------|---------------<br>     1|            1|cora26         |o9ai26                             |OPEN           |2026-04-30 00:28:28      |Thursday    |            1|ALLOWED        |NO<br><br>1 row selected.<br><br>Elapsed: 00:00:00.020<br>DATABASE NAME: CORA26 (PRIMARY) | DATABASE INSTANCE: cora26@o9ai26 (23.0.0.0.0) | REPORT GENERATED ON 2026-05-01 15:00:36.68 +02:00</pre><p>— Check PDB status</p><pre>-- PDB Status<br>alter session set NLS_DATE_FORMAT=&#39;YYYY-MM-DD HH24:MI:SS&#39;;<br>alter session set NLS_TIMESTAMP_FORMAT=&#39;YYYY-MM-DD HH24:MI:SS&#39;;<br>alter session set NLS_TIMESTAMP_TZ_FORMAT=&#39;YYYY-MM-DD HH24:MI:SS.FF2 TZH:TZM&#39;;<br>alter session set NLS_LANGUAGE=&#39;AMERICAN&#39;;<br>set line 200 feedback off verify off heading off termout off echo off<br>col reportdate for a50 new_val vdate noprint<br>col instnam for a20 new_val instancename noprint<br>col hostnam for a64 new_val hostname noprint<br>col databnam for a9 new_val databasename noprint<br>col instver for a17 new_val instanceversion noprint<br>select systimestamp reportdate, dbpro.name databnam, instpro.instance_name instnam, instpro.host_name hostnam, instpro.version instver from dual, v$instance instpro, v$database dbpro;<br>-- Get Database Details for PROMPT<br>set line 1000 pages 35 numformat 999999999999 feedback on verify off heading on termout on echo off trimspool on trimout on colsep &#39;|&#39; timing on pause &#39;Press ENTER for the next page&#39; pause off<br>col inst_id head #I for 99<br>col instance_name for a16<br>col host_name for a18<br>col con_id for 999999<br>col dbid for 9999999999<br>col creation_time head &quot;CREATION|TIME&quot; for a11<br>col name head PDB_NAME for a10<br>col open_mode for a10<br>col restricted head &quot;REST|RIC|TED&quot; for a4<br>col open_time for a11<br>col total_size for 9999999999999999<br>col total_size_display head &quot;TOTAL|SIZE|DISPLAY&quot; for a7<br>col block_size head &quot;BLK|SIZE&quot; for a4<br>col app_root head &quot;APP|ROOT&quot; for a4<br>col app_pdb head &quot;APP|PDB&quot; for a3<br>col app_seed head &quot;APP|SEED&quot; for a4<br>col pdb_count head &quot;PDB|CNT&quot; for 999<br>col creation_time for a11<br>col pdb_dbid for 9999999999<br>col pdb_count for 999<br>SELECT<br>    pdbs.inst_id,<br>    inst.instance_name,<br>    substr(inst.host_name, 1, instr(inst.host_name, &#39;.&#39;, 1)-1) host_name,<br>    pdbs.con_id,<br>    pdbs.creation_time,<br>    pdbs.name,<br>    pdbs.open_mode,<br>    pdbs.restricted,<br>    pdbs.open_time,<br>    -- pdbs.total_size,<br>    CASE<br>        WHEN length(pdbs.total_size) &gt; 12<br>            THEN round(pdbs.total_size / 1024 / 1024 / 1024 / 1024, 1) || &#39;T&#39;<br>        WHEN length(pdbs.total_size) &gt; 9<br>            THEN round(pdbs.total_size / 1024 / 1024 / 1024, 1) || &#39;G&#39;<br>        WHEN length(pdbs.total_size) &gt; 6<br>            THEN round(pdbs.total_size / 1024 / 1024, 1) || &#39;M&#39;<br>        WHEN length(pdbs.total_size) BETWEEN 4 AND 6<br>            THEN round(pdbs.total_size / 1024, 1) || &#39;K&#39;<br>        WHEN pdbs.total_size IS NULL<br>            THEN NULL<br>        ELSE pdbs.total_size || &#39;B&#39;<br>    END total_size_display,<br>    pdbs.block_size/1024 || &#39;K&#39; block_size,<br>    pdbs.application_root app_root,<br>    pdbs.application_pdb app_pdb,<br>    pdbs.application_seed app_seed,<br>    pdbs.pdb_count,<br>    pdbs.guid,<br>    pdbs.dbid pdb_dbid/*,<br>    pdbs.creation_time, */<br>FROM<br>    gv$pdbs pdbs,<br>    gv$instance inst<br>WHERE<br>        pdbs.inst_id = inst.inst_id<br>    and<br>        pdbs.name != &#39;PDB$SEED&#39;<br>ORDER BY<br>    pdbs.inst_id,<br>    pdbs.con_id<br>;<br>-- Print Database Details<br>PROMPT &amp;&amp;dbreport<br>PROMPT<br><br><br>   |                |                  |       |           |          |          |REST|OPEN_      |TOTAL  |    |    |   |    |    |                                |      _DBID<br>   |                |                  |       |CREATION   |          |          |RIC |           |       |BLKE|APP |APP|APP |    |                                |   PDB<br> #I|INSTANCE_NAME   |HOST_NAME         | CON_ID|           |PDB_NAME  |OPEN_MODE |TED |     TIME  |SIZELAY|    |ROOT|   |SEED| CNT|GUID                            |<br>---|----------------|------------------|-------|-----------|----------|----------|----|-----------|-------|----|----|---|----|----|--------------------------------|-----------<br>  1|cora26          |                  |      3|2026-04-24 |ORA26     |READ WRITE|NO  |2026-04-30 |1.1G   |8K  |NO  |NO |NO  |   0|503CAF6C73067466E0650A0027347B47| 1401897195<br>   |                |                  |       |23:45:36   |          |          |    |00:28:56.53|       |    |    |   |    |    |                                |<br>   |                |                  |       |           |          |          |    | +02:00    |       |    |    |   |    |    |                                |<br><br><br>1 row selected.<br><br>Elapsed: 00:00:00.065<br>DATABASE NAME: CORA26 (PRIMARY) | DATABASE INSTANCE: cora26@o9ai26 (23.0.0.0.0) | REPORT GENERATED ON 2026-05-01 15:00:36.68 +02:00</pre><p>Don’t forget before set the NLS date and install the sqlcl.</p><pre>vi .bash_profile<br><br># Set NLS date format<br>export NLS_DATE_FORMAT=&#39;YYYY-MM-DD hh24:mi:ss&#39;;<br><br><br>alias sqlsys=&#39;/home/oracle/Downloads/sqlcl/bin/sql / as sysdba&#39;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b53fc7ce48a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>