1.

What Is The Process Of Updating Or Inserting Certain Data In The Database?

Answer»

Following is the process to update or insert data in the DATABASE:

  •  RDBMS searches for parsed statement in library cache or parses the statement to generate execution plan.
  •  Server process retrieves relevant data from disk to the BUFFER cache. In case of inserting data in the database, the data block with sufficient free space will be retrieved.
  •  Lock is acquired. The data block is updated in the buffer cache.
  •  A lock is acquired on ROLLBACK segment as well to store old VERSION of data in case rollback is required.
  •  User process creates a redo entry in the redo log buffer to SUPPORT recovery.

Following is the process to update or insert data in the database:



Discussion

No Comment Found