Prev | Current Page 117 | Next

Rick Greenwald, Robert Stackowiak, Jonathan Stern

"Oracle Essentials: Oracle Database 11g"


Choosing not to archive redo logs significantly reduces your options for database
backups, as we??™ll discuss in Chapter 11, and is not advised by Oracle.
ARCHIVELOG
When Oracle rolls over to a new redo log, it archives the previous redo log. To
prevent gaps in the history, a given redo log cannot be reused until it is successfully
archived. The archived redo logs, plus the online redo logs, provide a
complete history of all changes made to the database. Together, they allow Oracle
to recover all committed transactions up to the exact time a failure occurred.
Operating in this mode enables tablespace and datafile backups.
The internal sequence numbers discussed earlier act as the guide for Oracle while it
is using redo logs and archived redo logs to restore a database.
ARCHIVELOG mode and automatic archiving
Starting with Oracle Database 10g, automatic archiving for an Oracle database is
enabled with the following SQL command:
ALTER DATABASE ARCHIVELOG
Deploying Physical Components | 47
If the database is in ARCHIVELOG mode, Oracle marks the redo logs for archiving
as it fills them.


Pages:
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
Wczasy nad morzem nobel calling cards wyciągarki profesjonalne wizualizacje 3d eko mama