TAILIEUCHUNG - ORACLE8i- P16

ORACLE8i- P16: We want information information.” Possibly you recognize these words as the primary interest of a somewhat clandestine group, and as told by a character called Number 2 to Patrick McGoohan’s character Number 6 (in the old TV show The Prisoner). Indeed, in this day, information is king, and the speedy, accurate, and reliable retrieval of this information is paramount. | 596 CHAPTER 13 ORACLE8i RECOVERY MANAGER STARTUP MOUNT SET UNTIL LOGSEQ 6 THREAD 1 ALLOCATE CHANNEL dl TYPE DISK RESTORE DATABASE RECOVER DATABASE RELEASE CHANNEL d1 SQL ALTER DATABASE OPEN RESETLOGS RESET DATABASE EXIT The RESET DATABASE command can also be used to reset the incarnation of a database so that a previous incarnation s backup can be recovered. Again this is only possible if you are using a recovery catalog. An example is shown in Listing . Listing RMAN Database Incarnation Reset SHUTDOWN IMMEDIATE RESET DATABASE TO INCARNATION 1 RUN ALLOCATE CHANNEL d1 TYPE DISK RESTORE CONTROLFILE STARTUP MOUNT RESTORE DATABASE RECOVER DATABASE RELEASE CHANNEL d1 SQL ALTER DATABASE OPEN RESETLOGS RESET DATABASE EXIT In this example all of the available archived redo logs assigned to incarnation 1 will be recovered and the database will be opened to the point at which incarnation 1 ceased to exist. By issuing the RESETLOGS command you create a new incarnation. Storing RMAN Scripts Another feature of the recovery catalog is its ability to store RMAN scripts that can be called from RMAN. To store scripts in the recovery catalog you use the CREATE SCRIPT command assigning each script a unique name that identifies it. Typically Please purchase PDF Split-Mewon to removfibihis watermark. USING THE RECOVERY CATALOG 597 you will assign the script a name that identifies its purpose such as backup_prod_db. Here is an example CREATE SCRIPT backup_prod_db ALLOCATE CHANNEL dl TYPE DISK BACKUP FULL DATABASE FORMAT d oracle admin ora817 backup . u SQL ALTER SYSTEM ARCHIVE LOG CURRENT BACKUP CURRENT CONTROLFILE FORMAT d oracle admin ora817 backup . u BACKUP ARCHIVELOG ALL DELETE INPUT FORMAT d oracle admin ora817 backup . u RELEASE CHANNEL d1 NOTE When you use a script you do not need to include a RUN command in it. This is because when you EXECUTE a script it is executed within the confines of a RUN command. The EXECUTE .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.