Insane DBA

Databases@Powered by Passion

  • HomeHome Page
  • OracleBlog posts about Oracle
    • Autonomous DBBlog posts about Autonomous Databases
    • Performance
    • Update
    • Security
    • Exadata
    • Spatial
    • Flashback
    • Backup&RecoveryBlog posts about Backup and Recovery
  • PostgreSQLBlog posts about PostgreSQL
  • OtherBlog posts about other content
    • MongoDB
    • MariaDB
  • About MeWho is InsaneDBA?
  • Download Oracle Patches using autoupgrade.jar

    Downloading Oracle Patches with AutoUpgrade on Windows Behind a Proxy

    4 Jun 2025 19:22

    —

    by

    Osman DİNÇ
    Databases, Oracle, Update

    In this blog post, I walk you through how to download Oracle patches using AutoUpgrade on a Windows host behind a proxy requiring authentication. The steps include configuring proxy environment variables, creating the necessary directory structure, importing SSL certificates into the Java truststore and setting up a keystore for My Oracle Support (MOS) credentials. Additionally, I share a workaround for a language-specific issue encountered when the Windows display language is set to Turkish, which will be fixed on the next release.


  • Oracle's Hidden Transformations

    How Oracle Changes Your SQL: Uncovering Hidden Query Transformations

    24 May 2025 13:33

    —

    by

    Osman DİNÇ
    Databases, Oracle, Performance

    The post explores hidden transformations and transltion framework in Oracle databases. It introduces tools like DBMS_SQL_TRANSLATOR.SQL_ID and DBMS_UTILITY.EXPAND_SQL_TEXT, which help analyze and uncover underlying operations, highlighting the intricate nature of database queries and their optimizations.


  • Left Join for Everything

    Avoid Misusing LEFT JOIN in SQL Queries

    17 May 2025 11:26

    —

    by

    Osman DİNÇ
    Databases, Oracle, Performance

    The use of LEFT JOIN in SQL queries is common but often misapplied. This post highlights two pitfalls: using LEFT JOIN when INNER JOIN is appropriate, and applying filter conditions incorrectly. Proper usage of joins enhances clarity and performance for optimizers.


  • Aggregate Function Behaviors with No Matching Rows

    How SQL Handles No Matching Rows in Aggregation

    17 May 2025 11:25

    —

    by

    Osman DİNÇ
    Databases, Oracle, Performance

    SQL aggregation queries behave differently with and without a GROUP BY clause, particularly when no rows match. A query with GROUP BY returns no rows, while without it, a NULL value appears. To align results with expectations, using COALESCE() can return 0 instead of NULL for sums in such cases.


  • NO_DATA_FOUND Not Raised

    Why NO_DATA_FOUND Behavior Differs in SQL and PL/SQL

    17 May 2025 11:22

    —

    by

    Osman DİNÇ
    Databases, Oracle, Performance

    Many Oracle developers overlook that a PL/SQL function’s SELECT INTO statement will raise a NO_DATA_FOUND exception in PL/SQL but silently return NULL in SQL when no rows are found. This difference can lead to logic bugs. Understanding this behavior is essential for developing robust code and avoiding debugging challenges.


  • Scalar Subquery Caching

    Scalar Subquery Caching Behavior in a SQL Statement

    17 May 2025 11:20

    —

    by

    Osman DİNÇ
    Databases, Oracle, Performance

    Scalar subquery caching is an Oracle SQL optimization technique that improves performance by storing results of scalar subqueries. This technique reduces redundant evaluations and recursive function calls. However, caution is advised when wrapping PL/SQL functions in these queries, as it may lead to unexpected results, particularly with functions needs unique values. Understanding this caching appropriately yields significant benefits.


←Previous Page
1 2 3 4 … 16
Next Page→
Osman DİNÇ Avatar

Osman DİNÇ – About Me

  • LinkedIn
  • Bluesky
  • GitHub
  • X
  • RSS Feed
Follow Insane DBA in Feedly


Search this blog


Categories


  • December 2025 (1)
  • November 2025 (1)
  • October 2025 (1)
  • July 2025 (1)
  • June 2025 (3)
  • May 2025 (9)
  • April 2025 (4)
  • March 2025 (1)
  • February 2025 (2)
  • January 2025 (2)
  • December 2024 (9)
  • November 2024 (6)
  • October 2024 (3)
  • September 2024 (3)
  • August 2024 (5)
  • July 2024 (2)
  • June 2024 (6)
  • May 2024 (4)
  • April 2024 (3)
  • March 2024 (2)
  • December 2023 (1)
  • November 2023 (4)
  • October 2023 (8)
  • June 2023 (1)
  • May 2023 (1)
  • April 2023 (1)
  • January 2023 (1)
  • December 2022 (5)
  • September 2022 (1)
  • March 2022 (1)
  • February 2022 (1)

Insane DBA

Connect to Me

  • LinkedIn
  • Bluesky
  • GitHub
  • Reddit
  • X
  • Mail
Flag Counter
  • Subscribe Subscribed
    • Osman’s DBlog
    • Join 41 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Osman’s DBlog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar