Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
41
Добавлен:
16.04.2013
Размер:
4.96 Mб
Скачать

Database Administration Tasks Before Using Flashback Features

See Also:

Oracle Database Backup and Recovery Advanced User's Guide

Oracle Database Administrator's Guide, Chapter "Using Flashback Drop and Managing the Recycle Bin", for information on the Flashback Drop feature

Oracle Database Administrator's Guide, Chapter "Recovering Tables Using the Flashback Table Feature", for information on the Flashback Table feature

Oracle Database Administrator's Guide, Chapter "Auditing Table Changes Using Flashback Transaction Query", for information on Automatic Undo Management

Database Administration Tasks Before Using Flashback Features

Before you can use flashback features in your application, the following administrative tasks must be performed to configure your database. Consult with your database administrator to perform these tasks.

Create an undo tablespace with enough space to keep the required data for flashback operations. The more often the data is updated, the more space is required. Calculating the space requirements is usually performed by a database administrator; you can find the calculation formula in the Oracle Database Administrator's Guide.

Enable Automatic Undo Management – see Oracle Database Administrator's Guide. In particular, this involves setting the following database configuration parameters: UNDO_MANAGEMENT, UNDO_TABLESPACE, and UNDO_RETENTION.

Set the RETENTION GUARANTEE clause for the undo tablespace, to ensure that unexpired undo is not discarded – UNDO_RETENTION is not, by itself, a strict guarantee. If the system is under space pressure, then unexpired undo may be overwritten with freshly generated undo; RETENTION GUARANTEE prevents this.

Grant flashback privileges to users, roles, or applications that need to use flashback features, as follows:

DBMS_FLASHBACK package – Grant EXECUTE privilege on DBMS_ FLASHBACK to provide access to the features in this package.

15-4 Oracle Database Application Developer's Guide - Fundamentals

Соседние файлы в папке Oracle 10g