Analysis of archive and archive of OC objects and Analysis of oc archive files
Object archiving means to persistently store objects in the memory.
Object archive is to read the Persistent Object to the memory.
In oc, object archiving can be roughly divided into the following methods:
The quantity can be divided:
Object
--Connection Recovery Manager
C:\Documents and Settings\mengzhaoliang>rman target/
--Archive Log list
rman> list Archivelog all;
--Delete archive logs that do not exist for physical files
rman> Delete expired Archivelog all;
--Delete the archive log 7 days ago
Rman> DELETE Archivelog all COMPLETED before ' SYSDATE-7 ';
Oracle's Archiving model
One. To see
Archive Logs in Oracle (Archive log)
article Category: Database
In Oracle, data is typically stored in data files, but one of the biggest differences between databases and Oracle is that databases can recover when data is wrong. This is also the function of the redo log (REDO FILE) in our common Oracle. The redo log is divided into 2 parts, one is the online redo log file, the other is the
Change the Oracle archive path and archive mode in oracle10g and 11g versions, the Oracle default log archive path is the Flashback recovery area ($ORACLE _base/flash_recovery_area). For this path, Oracle has a limitation, that is, the default is only 2G of space, and not just the default path of the archive log, but
Tags: need to view mount Generate ARC status archive allow birthdayOne. To see if the Oracle database is in archive mode:SQL code1.select Name,log_mode from V$database;NAME Log_mode------------------ ------------------------QUERY Noarchivelog2. Using the archive LOG LIST commandDatabase log mode No Archive modeAutomati
What is Oracle archive mode?The Oracle database has an online redo log, which records changes made to the database, such as inserting, deleting, updating data, etc., which are recorded in the online redo log. A generic database must have at least 2 online redo log groups. When an online redo log group is written full, a log switch occurs, the online redo log Group 2 becomes the currently used log, when the online redo log Group 2 is full, the log swit
Tags: for statement spfile div file naming processes Isa padding open1. First check if the current database is in archive modeThere are two ways to view 1.1 select name, Log_mode from V$database;A value of Log_mode of Noarchivelog indicates that the database is in non-archive modeA value of Log_mode of ARCHIVELOG indicates that the database is in Archive Mode 1.2
Label:1. See if Oralce is an archive or non-archive mode Sql> select Name,log_mode from V$database; NAME Log_mode---------------------------------------- ------------------------------------YOON ARCHIVELOG Sql> select Name,log_mode from V$database; NAME Log_mode---------------------------------------- ------------------------------------YOON ARCHIVELOG sql> archive
First, the archive mode:The Oracle database has an online redo log, which records changes made to the database, such as inserting, deleting, updating data, etc., which are recorded in the online redo log. A generic database must have at least 2 online redo log groups. When an online redo log group is written full, a log switch occurs, the online redo log Group 2 becomes the currently used log, when the online redo log Group 2 is full, the log switch,
Today, I will talk about my understanding of these two operation modes and give some feasible suggestions to improve the security of Oracle databases.
I. Advantages and Disadvantages of non-archive mode.
The non-archive mode is a log operation mode that does not retain the redo history. It can only be used to protect the failure of the routine, but not the damage of the media. If the database adopts the l
There are two main log operation modes in the Oracle Data database: Non-archive mode and archive mode. By default, the database adopts the non-archive mode. As a qualified database administrator, you should have an in-depth understanding of the characteristics of these two log operation modes and select an appropriate operation mode when creating a database. Toda
The Oracle database has a connection redo log, which records changes to the database, such as insertion, deletion, and data update. All these operations are recorded in the online redo log.
The Oracle database has a connection redo log, which records changes to the database, such as insertion, deletion, and data update. All these operations are recorded in the online redo log.
-- Connection recovery Manager
C: \ Documents ents and Settings \ mengzhaoliang> rman target/
--
Transferred from: http://book.2cto.com/201209/4154.htmlThe flashback query's dependency on the undo data and parameter undo_retention doomed them to a small amount of time in the event of a lot of traffic, and it would be impossible to query the "old" data for months before, but this is not impossible in the face of the Flashback data archive.The Flashback data archive works by storing the undo data that would otherwise be saved only in the Undo table
Inconsistent backup: Because the backup operation cannot be completed instantaneously, and the data files are written all the time, the SCN is changing, when the nth data file is backed up,The SCN for the n+1 data file may have been different from the previous one.Inconsistent backups must be repaired to a consistent state before they can be opened with archived log files and online redo logs after recovery. Therefore, the creation ofBuild inconsistent backups In addition to the data files and c
-- Connection recovery ManagerC: \ Documents ents and Settings \ mengzhaoliang> rman target/-- Archive log listRMAN> list archivelog all;-- Delete archive logs that do not exist in the physical fileRMAN> delete expired archivelog all;-- Delete archived logs 7 days agoRMAN> delete archivelog all completed before 'sysdate-7 ';Oracle archiving Mode I. Check whether the oracle database is in
Label:Oracle never archives logs to archive log: sql> shutdown immediate; The database is closed. The database has been uninstalled. The Oracle routine has been closed. sql> startup Mount; The Oracle routine has been started. The database is loaded. sql> ALTER DATABASE Archivelog; The database has changed. sql> ALTER DATABASE open; The database has changed. Create an archive path (Oracle installation user r
Tags: des style blog OS using strong AR data Artfirst, set the Oracle database to archive mode1) Sql>shutdown normal/immediate;2) Sql>startup Mount;3) Sql>alter database archivelog;4) Sql>alter database open;5) archive log list;Note: Show parameter log_archive_dest see where the archive logs are stored.Second, set the Oracle database to non-
OracleIn database operations, the database can be setArchive ModeAndNon-archive Mode. Archive mode stores all transaction logs, including redolog and archivelog, but not archive mode only records redolog. We often set it to archive mode and non-archive mode based on the need
In the oracle10g and 11g versions, the ORACLE default log archive path is the Flashback recovery area ($ORACLE _base/flash_recovery_area). For this path, Oracle has a limitation, that is, the default is only 2G of space, and not just the default path of the archive log, but also the default address of the backup file and the flashback log, so that the archive log
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.