Skip Headers
Oracle® Database SQL Language Reference
11g Release 2 (11.2)

Part Number E26088-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub
SQLRF20009

ALTER FLASHBACK ARCHIVE

Purpose

Use the ALTER FLASHBACK ARCHIVE statement for these operations:

See Also:

Oracle Database Advanced Application Developer's Guide and CREATE FLASHBACK ARCHIVE for more information on using flashback data archives

Prerequisites

You must have the FLASHBACK ARCHIVE ADMINISTER system privilege to alter a flashback data archive in any way. You must also have appropriate privileges on the affected tablespaces to add, modify, or remove a flashback data archive tablespace.

Syntax

SQLRF52702alter_flashback_archive::=

Description of alter_flashback_archive.gif follows
Description of the illustration alter_flashback_archive.gif

SQLRF52703flashback_archive_quota::=

Description of flashback_archive_quota.gif follows
Description of the illustration flashback_archive_quota.gif

SQLRF52704flashback_archive_retention::=

Description of flashback_archive_retention.gif follows
Description of the illustration flashback_archive_retention.gif

Semantics

SQLRF52705flashback_archive

Specify the name of an existing flashback data archive.

SQLRF52706SET DEFAULT

You must be logged in as SYSDBA to specify this clause. Use this clause to designate this flashback data archive as the default flashback data archive for the system. When a CREATE TABLE or ALTER TABLE statement specifies the flashback_archive_clause without specifying a flashback data archive name, the database uses the default flashback data archive to store data from that table.

This statement overrides any previous designation of a different flashback data archive as the default.

See Also:

The CREATE TABLE flashback_archive_clause for more information

SQLRF52707ADD TABLESPACE

Use this clause to add a tablespace to the flashback data archive. You can use the flashback_archive_quota clause to specify the amount of space that can be used by the flashback data archive in the new tablespace. If you omit that clause, then the flashback data archive has unlimited space in the newly added tablespace.

SQLRF52708MODIFY TABLESPACE

Use this clause to change the tablespace quota of a tablespace already used by the flashback data archive.

SQLRF52709REMOVE TABLESPACE

Use this clause to remove a tablespace from use by the flashback data archive. You cannot remove the last remaining tablespace used by the flashback data archive.

If the tablespace to be removed contains any data within the retention period of the flashback archive, then that data will be dropped as well. Therefore, you should move your data to another tablespace before removing the tablespace with this clause.

SQLRF52710MODIFY RETENTION

Use this clause to change the retention period of the flashback data archive.

SQLRF52711PURGE

Use this clause to purge data from the flashback data archive.

See Also:

CREATE FLASHBACK ARCHIVE for information on creating flashback data archives and for some simple examples of using flashback data archives
Reader Comment

   

Comments, corrections, and suggestions are forwarded to authors every week. By submitting, you confirm you agree to the terms and conditions. Use the OTN forums for product questions. For support or consulting, file a service request through My Oracle Support.

Hide Navigation

Quick Lookup

Database Library · Master Index · Master Glossary · Book List · Data Dictionary · SQL Keywords · Initialization Parameters · Advanced Search · Error Messages

Main Categories

This Document

New and changed documents:
RSS Feed HTML RSS Feed PDF