• Oracle CBO takes decision

    Direct Path Read Decision in Oracle: Beyond the Optimizer

    The performance issue with an SQL query was resolved by using the /*+ PARALLEL(2) */ hint, reducing execution time from 180-200 seconds to milliseconds. The decision to perform a direct read from disk to memory instead of reading blocks from disk was made by the database engine and is controlled by the hidden “_serial_direct_read” parameter. To force direct path read for SQL statements, the running statement can be used with a parallel hint or by setting table statistics. This solution allows for applying a SQL patch and significantly improves query performance.


  • Reset gc_policy_minimum parameter to default

    “_gc_policy_minimum” parameter and Dynamic Resource Management in Oracle RAC

    The content discusses the concept of remastering in database management, particularly regarding Oracle RAC. It explains how remastering reallocates resources among nodes during changes, which can temporarily disrupt access to data. The innovative “lazy remastering” technique minimizes these disruptions by focusing on critical resources, allowing most processes to continue uninterrupted. In upcoming releases from 19.20 onwards, the default value for “_gc_policy_minimum” will change due to an internal bug. It will be reset to 15000, eliminating the need for manual tuning. DRM attributes are intentionally undocumented and should not be altered without support consultation.


  • Oracle Database Patching Guide

    Oracle Database Patching Tips

    Patching your database is crucial for security and performance. Develop a strategy based on your organization’s needs. Regularly schedule routine patches, test thoroughly, and inform stakeholders. Prioritize critical security fixes. Read release notes and consider expert blogs. Apply patches selectively, and consider in-place and out-of-place patching methods. Fleet Patching and Provisioning can scale patch deployment effectively.


  • Apply Oracle Database Release Update using Fleet Maintenance

    How to Patch Database Using Fleet Patching

    The content details the process of patching Oracle RAC databases using fleet maintenance. It includes steps for creating a gold image, deploying the image to target databases, and migrating instances to the newly patched Oracle Home. It also discusses post-patching tasks such as updating shell scripts and addressing alert.log messages. Additional steps are provided for RMAN catalog users.