Recent Blog Posts

How To Run SQL Tuning Advisor For A Sql_id in the oracle database?
How to download and view the AWR report in oracle database using WinSCP on a Linux server.?
How to find the Long running SQL statements and kill those sesison?
How to find the alert log location if the database is in the Downstate?
How to find the alert log location oracle Database?
How To Generate the AWR reports  in oracle database?
How to Check the tablespace size in oracle Database ?
How to change the NoArchivelog mode to Archivelog mode in Oracle Database in standalone servers
How to Connect the Oracle database in Windows environments?
What is the listener in oracle database
What are the shutdown process in oracle Database
What are the Startup sequences of oracle Database
How to connect the oracle Database in linux enviromnets?
ORACLE DATABASE-REDO lOG FILES

DELETE Statement in ORACLE DB— Step by Step Internal Flow with classroom example.

Imagine your Oracle database like a school, and you’re Teacher decides to remove a student (row) from the classroom(table). Let’s see how the journey works step by step: 1)Classroom = Oracle Table 2)Students = Rows (Records) 3)Class Teacher = Oracle Server Process 4)Attendance Register = Data Dictionary User fires DELETE statement: DELETE FROM students WHERE grade = 'D'; Internal Processing Steps: Client Process Sends DELETE Statement to Server Process The teacher receives a request to remove a student from the classroom. Syntax Check (Parsing) The teacher checks if the request is grammatically correct — proper command, keywords, and a semicolon. Semantic Check Teacher verifies if the classroom exists and whether the condition (like grade = 'D') makes sense. Object Resolution Teacher confirms that the ‘students’ classroom (table) exists in the school records (data dictionary). Optimization Decides the fastest way to find those students — by roll number, grade, or al...