Discover how to find archive log location in oracle 11g, include the articles, news, trends, analysis and practical advice about how to find archive log location in oracle 11g on alibabacloud.com
Oracle 11g archive log study _ 2, oracle11g ARCHIVE _ 2
Starting from Block 1, the block stores all oracle Operation Records. The block structure is very simple. There are only blocks and blocks:Typedef struct bk {Redo_bh blockhe
Tags: Oracle RAC Archive1. Modify the archive Path parameterSqlplus/as SYSDBASql> alter system set log_archive_dest_1= ' Location=+asmarch ' scope=spfile sid= ' * ';2. Close the database and all nodes are closedSrvctl Stop database-d racdb3. Boot a node database to mount State 5 and modify the database's archive mode a
Oracle 11g archive log study _ 4, oracle11g ARCHIVE _ 4
The change content is the core of converting oracle logs into SQL statements, and is also the most troublesome and most changing place.
The meaning of opcode is that there ar
Oracle 11g archive log study _ 1, oracle11g ARCHIVE _ 1
Oracle Database Operations are recorded in the redo log for undo (rollback) Or redo (redo) in case of database exceptions ). Redo
/1_24144_831167377.log
Rm-f/arch_backup/2_22765_831167377.log Is that Y's too much line spacing.]cat crosscheck_archivelog.sh
#!/bin/bash
source/home/oracle/.bash_profile
exec >>/home/oracle /dbscripts/logs/del_arch ' Date +%f_%h '. Log
Tags: managing coverage discussion file on disk non-archive 51cto generation methodThere are two ways to run an Oracle database: Archive (ARCHIVELOG) and non-archive (NO ARCHIVELOG). In non-archive mode, the log switch overwrites
vector table (including its own 2 bytes) (The total length before the 4-byte alignment). The length remaining after the total length (misaligned total length minus 2), divided into every 2 bytes, each segment represents the length of an element, which is written sequentially after the vector table, the length of the vector table is the true length of the element, and the elements following the vector table are written in 4-byte alignment. Parts that exceed their true length should be ignored. T
];//0uint8_t unknown14[ $]; uint8_t nouse2[ -];//0}REDO_FH1;redo_fh1The 1th block is completely different from the rest of the block, it does not contain a block size and is not included in the total number of blocks. Starting with the 2nd block, the first 16 bytes of all data blocks are size, format:struct BH { uint32_t signature; // Signature uint32_t Blocknum; // Block number uint32_t sequence; // Sequence Number uint16_t offset; // The highest bit 1 needs to
1. Landing Rman with Oracle usersrman>RMAN target/2. List and confirm the archive log pathrman>list archivelog all;3. Delete archived logs from 7 days agorman> DELETE ARCHIVELOG all completed before ' SYSDATE-7 ';DescriptionSYSDATA-7, which indicates that the current system time is 7 days ago, the Before keyword represents the
I played Oracle 11g. It was a bit problematic. I wanted to check the log and found it for half a day. The original 11g Alert Log was changed, starting from Oracle 11g,
1. Check if the database is turned on for flashback (view two nodes Rac1 and RAC2 Open Archive log)Sql> archiveloglistSp2-0734:unknown command Beginning "Archivelog ..."-rest of line ignored.Sql> Archive Log ListDatabase log mode No Arch
block, the position is the size, and the size is 16 bytes (16 binary 10), that is, if the offset = = 10, the header is immediately after the size of the record. Guess that offset should be less than 512-16-the record header (the smallest should be 24 bytes) = 472 bytes. Block starting position after the +offset, is the normal operation of the record, the block only play a role in the partition of storage space, the block in accordance with the combination of offset, you can obtain a complete r
The alert log Changes after Oracle reaches 11 GB. The oracle database provides the Alert log in two formats: XML and traditional text.
The new log location is determined by the Automatic Diagnostic Repository (ADR) storage directo
, and by using the manual archiving method, the database administrator can perform the following command to archive the redo log:Slter SYSTEM Archivelog All;3, configure the archive processInitialization parameters log_archive_max_processes The maximum number of archive processes that are used to specify the initial start of a routine, and
.
SQL> alter system setlog_archive_dest = '/Oracle ';
Alter system set log_archive_dest = '/oracle'
ERROR at line 1:
ORA-02097: parameter cannot be modifiedbecause specified the value is invalid
ORA-16018: cannot use LOG_ARCHIVE_DEST withLOG_ARCHIVE_DEST_n or
DB_RECOVERY_FILE_DEST
Modify archiving location
SQL> alter system set log_archive_dest_1 = '
The Racle database can be run in 2 modes: Archive mode (Archivelog) and non-archive mode (Noarchivelog)Archiving mode can improve the recoverability of Oracle databases, the production database should run in this mode, the archive mode should be combined with the corresponding backup strategy, only the
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
in the Oracle 11g , open Archive Log mode, the default archive directory is db_recovery_file_dest specified. This parameter can be specified in Pfile/spfile:Show Parameter Db_recovery_file_destdb_recovery_file_dest= /oracle/
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
Oracle 11G R2 RAC modify archive Mode
The non-archive mode is used by default after the database is created. You need to modify it.
Recommended reading:
Oracle 11g rac ocr and db_unique_name Configuration
Reconfigure and uninstall
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.