Tip of the Day: NOLOGGING and Delphix

  • 1
  • Announcement
  • Updated 4 years ago
What is NOLOGGING and why does Delphix care?

NOLOGGING: 
When performing a write operation (making changes to a database) Oracle first writes those changes to an archive log (also known as a redo log).  After the redo write has completed and sync'd to disk then it will attempt to update the datafiles for the write.  Doing this means that, even if corruption is encountered in the datafile, the database can be recovered with the last backup and the redo actions stored in the archive logs.
A NOLOGGING operation is when a user or process making changes to an Oracle database asks that their changes not be logged in Oracle's redo logs.  There are valid reasons why this might be desirable which is why Oracle allows the behavior.  For example, one reason is to speed up operations during a large bulk data load.

Why Delphix Cares:
Because the redo operations from archive logs are used to bring the database to a consistent state as part of the provisioning process, if there have been NOLOGGING operations while the SnapShot was happening, there is no longer a record of all data that was changed during the snapshot process.  It is no longer possible to bring the database to a consistent state.  A VDB provisioned from a snapshot with NOLOGGING operations could suffer from many possible issues:
  • The provision may fail with errors
  • The provision may succeed, but using the database will result in errors being thrown or the database crashing
  • The database may be fully usable, but missing data
Photo of Delphix FAQs

Delphix FAQs, Official Rep

  • 3,980 Points 3k badge 2x thumb

Posted 4 years ago

  • 1

Be the first to post a reply!