New DML Redirection Features in Active Data Guard, Oracle 19c

Overview Oracle Database 19c introduces the capability to execute Data Manipulation Language (DML) operations directly on an Active Data Guard standby database. This feature allows applications to benefit from using Active Data Guard for standby operations that require occasional writes, seamlessly redirecting DML operations to the primary database. How DML Redirection Works: When a DML […]

Direct Path Read/Write Temp in Oracle

In Oracle databases, understanding and tuning wait events is crucial for database performance. One set of wait events that often demands attention, particularly in data-intensive operations, is the direct path read temp and direct path write temp events. These events relate closely to how data is read and written between disk and memory, specifically the […]

Drop DATABASE LINK From other schema

To drop database links from multiple user schemas in Oracle, the typical method is to log in as each user and manually execute the command: DROP DATABASE LINK <database_link>; However, there’s a more efficient way to achieve this by creating a PL/SQL procedure. This procedure allows you to drop database links across various schemas without […]

How an SQL Statement is Processed in Oracle

In Oracle, processing a SQL statement follows several steps before returning the final output to the user. Each step ensures the statement is executed efficiently and securely. 1. Syntax Check The first step in processing a SQL statement is a syntax check. Oracle verifies whether the SQL statement is syntactically correct. If there’s an error […]