1. Trang chủ
  2. » Công Nghệ Thông Tin

Configuring the Database Archiving Mode potx

25 369 0
Tài liệu được quét OCR, nội dung có thể không chính xác
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 25
Dung lượng 725 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

⁄ : ‘Archive Log Destinations Status foraclefed21/ORADATAARCHIVE 2/OPTIONAL VALID lename Format: larch_%s.arc nded that archive log files be written to multiple locations spread acros

Trang 1

Configuring the Database Archiving Mode

ORACLE’

Copyright © Oracle Corporation, 2002 All rights reserved.

Trang 2

Objectives

After completing this lesson, you should be able to do the following:

° Describe the differences between

ARCHIVELOG and NOARCHIVELOG modes

° Configure multiple archive processes

including remote destinations

ORACLE’

Trang 3

Redo Log History

Trang 6

Changing the Archiving Mode

(1) SHUTDOWN NORMAL/IMMEDIATE/ TRANSACTIONAL

|

|

(3) ALTER DATABASE ARCHIVELOG (5) Full database backup

Trang 7

Setting the Archiving Mode

# Oracle Enterprise Manager Console Administrator: DONNA Management Server:nkochhar-sry_us.oracle.com

ONE Network | Create Ctrl+N

View/Edit Details Alt+Enter ance crash recovery time

121312 Tho time to recover: 10 | Minutes

view Published Reporte: ted mean time to recover: 10 Seconds

Shutdown $ currently in Archive Log mode

OB e021 world - S¥ ⁄ : ‘Archive Log Destination(s) Status

foraclefed21/ORADATAARCHIVE 2/OPTIONAL VALID

lename Format: larch_%s.arc nded that archive log files be written to multiple locations spread across different disks

Trang 8

Automatic and Manual Archiving

IVE | Geo)

Trang 9

Enabling Automatic Archiving

racle Enterprise Manager Console Administrator: DONNA Management Server:nkochhar-sr¥_us_oracle.com

GHA Network

\4 Control instance crash recovery time

J Databases Current estimated mean time to recover: 10 Seconds

_) Groups _JHTTP Servers Listeners JNodes

G>4=] dhep-40p9-40p10-eas

The database is currently in Archive Log mode

_ I# Archive Log Mode l# Automatic archival

&>{=] st-curr.us.oracle.com Hel stc-dbtest.us.oracle.co

$0 Databases

ở ed21 world - SY 3 Archive Log Destination(s) Status

Itis recommended that archive log files be written to multiple locations spread across different disks

S-@B instance a foraclefed21/ORADATAIARCHIVE1/MANDATORY VALID

lr ý foraclefed21/ORADATAIARCHIVE 2/OPTIONAL VALID

Trang 10

Specifying Multiple ARCn Processes

LOG ARCHIVE MAX PROCESSES controls the

number of archive processes started at

instance startup

specified

changed with ALTER SYSTEM

ORACLE’

Trang 11

8-15

Stop or Start Additional Archive Processes

C ance) Archived redo logs

Online redo logs

Trang 12

Enabling Automatic Archiving

at Instance Startup

Archived

Online redo logs oo

LOG ARCHIVE MAX PROCESSES=n

Trang 13

Enabling Automatic Archiving

After Instance Startup

Trang 14

Disabling Automatic Archiving

Trang 15

Manually Archiving Online

6 Redo Log Files

Trang 16

Manually Archiving Online Redo Log Files

ONE Network | Create Ctrl+ll

View/Edit Details Alt+Enter ance crash recovery time

BEE BO time to recover: H 0 | Minutes

View Published Reports

OB e021 world - S¥ ⁄ : ‘Archive Log Destination(s) Status

foraclefed21/ORADATAARCHIVE 2/OPTIONAL VALID

you change the mode to Archive Log mode, you should take a backup immediately In No Archive Log mode, only cold

Schema backups can he taken, and data can be lostin cases of database corruption

Security

1 Storage

Z3 Replication

HTTP Servers _j Listeners

Trang 17

Specifying the Archive Log Destination

° Use LOG ARCHIVE DEST n to specify up to

ten archival destinations

° Use LOG ARCHIVE FORMAT to include the

log sequence number and thread number as

part of the filename

ORACLE’

8-22 Copyright © Oracle Corporation, 2002 All rights reserved.

Trang 18

Specifying Multiple Archive

log archive dest _ 1 = "LOCATION=/archivel"

log archive dest 2 = "SERVICE=standby dbl"

ORACLE

Trang 19

LOG ARCHIVE DEST n Options

° Set archive location as MANDATORY or

OPTIONAL

log archive dest_1="LOCATION=/archive/

Trang 20

Specifying a Minimum Number

of Local Destinations

° LOG ARCHIVE MIN SUCCEED DEST parameter

LOG ARCHIVE MIN SUCCEED DEST = 2

An online redo log group can be reused

Trang 21

Controlling Archiving to a Destination

° An archival destination can be disabled

by using the dynamic initialization

parameter LOG ARCHIVE DEST STATE n

LOG ARCHIVE DEST STATE 2 = DEFER

ALTER SYSTEM SET log archive dest state 3 = DEFER;

LOG ARCHIVE DEST STATE 2 = ENABLE

ALTER SYSTEM SET log archive dest state 3 =

ENABLE ;

ORACLE

8-27 Copyright © Oracle Corporation, 2002 All rights reserved

Trang 22

Specifying the Filename Format

Online redo

log files Group 1 Group 2

Archived log file

Trang 24

Summary

In this lesson, you should have learned how

to:

° Perform manual archiving of logs

° Configure multiple archive processes

ORACLE’

Trang 25

Practice 8 Overview

This practice covers the following topics:

archiving

Ngày đăng: 23/03/2014, 00:20

TỪ KHÓA LIÊN QUAN