Multiple choice technology databases

A user is running a long update batch file. Many tables are updated and all the statements are in one transaction. Before the process is finished, the user machine lost power. When the user calls you, what should you do as DBA?

  1. Do nothing, the PMON process handles everything.

  2. Shut down the database and restore all the tables the user was updating.

  3. Log in as DBA, clean up the partial updates in those tables, and do another manual backup.

  4. Use LogMiner to find out which records are changed based on the user’s ID, then roll back all those changes.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

When a user session terminates abnormally (power loss), Oracle automatically rolls back the uncommitted transaction when the database next starts and the rollback segments are accessed. PMON (Process Monitor) handles cleanup of failed processes. The DBA doesn't need to manually restore tables (option B), clean up partial updates (option C), or use LogMiner (option D) - Oracle's transaction integrity guarantees automatic rollback.