I'd like to know what's happening in the redo logs when I do a "delete from emp;" without a "where" condition? Do all the deleted lines get logged or only the delete order or both?
If you were to mine the redo logs for the DELETE statement, you would see that a multi-row DELETE statement is logged as individual DELETE operations. These individual operations will have "WHERE ROWID='......'" appended to them. Oracle deletes the specific rows by figuring out which ROWID points to that row. When you delete more than one row in a single DELETE statement, Oracle still breaks this down in to mutiple DELETE statements, one for each row.
This Content Component encountered an error
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.