• SQL Plan Baselines, SQL Patches and SQL Profiles

    SQL Plan Baseline, SQL Patch, SQL Profile: Differences and Use Cases

    This content highlights the importance of stability in database performance, especially regarding Oracle’s SQL execution plans, which can fluctuate based on various factors. It focuses on three primary methods for influencing execution plans: SQL Plan Baselines, SQL Patches and SQL Profiles and providing a detailed explanation of how each method functions. It includes a test scenario where all three options are used, demonstrating their behavior. Additionally, it presents a conflicting scenario to help determine the precedence of these methods.


  • Exadata Management Switch

    Exadata: Configure Management Network Switch with multiple uplinks for redundant connectivity

    This post outlines the steps to configure Cisco Management Network Switches with multiple uplinks for redundancy in Oracle Exadata environments. It emphasizes the importance of the Administration Network, which connects all Exadata components for management purposes. Detailed steps are provided for configuring a Cisco 9348 Ethernet Switch, including LACP setup for uplink ports and validating spanning tree settings to ensure stable and reliable connectivity


  • Lost private interconnect between Oracle RAC nodes

    Resolving Oracle RAC Node Eviction Issue caused by Cluster Interconnect

    This post discusses a perplexing issue with node evictions in an Oracle RAC setup, where node crashes occurred due to a loss of connection on a private interconnect despite redundancy. It highlights troubleshooting steps and findings, particularly focusing on the cluster_interconnects parameter. Ultimately, the solution involved resetting this parameter to default values, enabling the use of Highly Available IPs for improved reliability and communication in the cluster.


  • Oracle Database Health Check Scripts

    Tools and Scripts for Oracle Database Health Checks and Diagnostics

    The content discusses essential tools and scripts for monitoring Oracle Database Health, emphasizing the importance of proactive health checks to prevent performance issues. It introduces various tools such as AHF Insights, ORACHK/EXACHK, OSWatcher, Procwatcher, and TFA, all contributing to efficient database management. The post also reviews health check scripts designed for specific components like Oracle Spatial and APEX, alongside utilities for diagnosing SQL performance issues using tools like AWR, SQLHC, and SQLT. Also, using DBMS_DICTIONARY_CHECK for data dictionary health checks is demonstrated. Ultimately, it encourages customized checks based on unique database needs.


  • Child Cursors Related with Bind Variables

    Child Cursors: BIND_MISMATCH, BIND_LENGTH_UPGRADEABLE and BIND_EQUIV_FAILURE

    Bind variables improve SQL performance and security by reusing execution plans, reducing hard parsing overhead and mitigating SQL injection risks. However, key information can be hidden from the optimizer, limiting optimal execution plan generation unless adaptive cursor sharing is used. Sometimes, using bind variables can result in an excessive number of child cursors due to reasons such as BIND_MISMATCH, BIND_LENGTH_UPGRADEABLE, and BIND_EQUIV_FAILURE. Tools like version_rpt help diagnostic efforts for child cursors, while effective solutions often involve application code modifications and NO_BIND_AWARE hints.