TAILIEUCHUNG - Sybex OCA Oracle 10g Administration I Study Guide phần 10

Click Next để hiển thị màn hình thứ ba của Wizard Tổ chức lại các đối tượng, một phần thể hiện trong hình 9,58. Sử dụng màn hình này, bạn có thể kiểm soát chỉ số được xây dựng lại như thế nào. Ví dụ, bạn có thể chọn phương pháp xây dựng lại, hoặc offline hoặc online, đó là thích hợp nhất cho môi trường của bạn. | 552 Chapter 11 Implementing Database Recovery FIGURE Adjusting MTTR for instance recovery Using the SQL Plus command line you can accomplish this task by using the ALTER SYSTEM command as in this example SQL alter system set fast_start_mttr_target 60 scope both System altered. Using SCOPE BOTH the new value of the parameter takes effect immediately and stays in effect the next time the instance is restarted. Recovering from User Errors Earlier in this chapter in the section User Error Failures we presented a number of scenarios in which a user s data was inadvertently changed or deleted or a table was dropped. In the following sections we ll show you how to use Flashback Query to retrieve selected rows from a previous state of a table how to recover a table using Flashback Drop and a tablespace s recycle bin how to bring back an entire table and its dependent objects such as indexes back to a point of time in the past using Flashback Table and query previous transactions in the online and archived redo logs using the LogMiner utility. Performing Recovery Operations 553 Using Flashback Query One of the features introduced in Oracle9z is called Flashback Query. It allows a user to go back in time and view the contents of a table as it existed at some point in the recent past. A Flashback Query looks a lot like a standard SQL SELECT statement with the addition of the AS OF TIMESTAMP clause. Before users can take advantage of the Flashback Query feature you the DBA must perform two tasks Make sure that there is an undo tablespace in the database that is large enough to retain changes made by all users for a specified period of time. This is the same tablespace that is used to support COMMIT and ROLLBACK functionality discussed in Chapter 8 Managing Consistency and Concurrency . Specify how long the undo information will be retained for use by flashback queries by using the initialization parameter UNDO_RETENTION. This parameter is specified in seconds therefore if

TỪ KHÓA LIÊN QUAN
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.