Oracle8i Recovery Manager User's Guide and Reference
Release 2 (8.1.6)

Part Number A76990-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Recovery Manager Command Syntax, 15 of 50


createCatalog

Syntax


Purpose

To create a schema for the recovery catalog. Typically, you create this schema in a separate recovery catalog database.


Note:

In releases prior to 8.1.5, you created the recovery catalog schema by connecting to the recovery catalog database and executing the catrman.sql script. 


See Also:

"Creating the Recovery Catalog" to learn how to create the recovery catalog. 

Requirements

Keywords and Parameters

tablespace tablespace_name 

specifies the tablespace in which to store the recovery catalog schema. The catalog owner must be granted quota privileges. If you do not specify a tablespace, RMAN stores the recovery catalog in the SYSTEM tablespace. 

Examples

Creating a Catalog Schema

This example creates a user RMAN, grants RMAN the RECOVERY_CATALOG_OWNER role, then creates the recovery catalog in the schema RMAN.CATTBS of the database RCAT:

% sqlplus sys/change_on_install@rcat;

SQL> CREATE USER rman IDENTIFIED BY rman 
  2> DEFAULT TABLESPACE cattbs QUOTA UNLIMITED ON cattbs;
SQL> GRANT recovery_catalog_owner TO rman;
SQL> exit

% connect catalog rman/rman@rcat;
RMAN> create catalog tablespace cattbs;

Related Topics

"connect"

"configure"

"dropCatalog"

"upgradeCatalog"


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index