----------- ---------------------------------------- ------------
CITY STATE_PROVINCE CO
------------------------------ ------------------------- --
1900 6092 Boxwood St YSW 9T2
Whitehorse Yukon CA
2000 40-5-12 Laogianggen 190518
Beijing CN
2100 1298 Vileparle (E) 490231
Bombay Maharashtra IN
LOCATION_ID STREET_ADDRESS POSTAL_CODE
----------- ---------------------------------------- ------------
CITY STATE_PROVINCE CO
------------------------------ ------------------------- --
2200 12-98 Victoria Street 2901
Sydney New South Wales AU
2300 198 Clementi North 540198
Singapore SG
2400 8204 Arthur St
London UK
LOCATION_ID STREET_ADDRESS POSTAL_CODE
----------- ---------------------------------------- ------------
CITY STATE_PROVINCE CO
------------------------------ ------------------------- --
2500 Magdalen Centre, The Oxford Science Park OX9 9ZB
Oxford Oxford UK
2600 9702 Chester Road 09629850293
Stretford Manchester UK
2700 Schwanthalerstr. 7031 80925
Munich Bavaria DE
LOCATION_ID STREET_ADDRESS POSTAL_CODE
----------- ---------------------------------------- ------------
CITY STATE_PROVINCE CO
------------------------------ ------------------------- --
2800 Rua Frei Caneca 1360 01307-002
Sao Paulo Sao Paulo BR
2900 20 Rue des Corps-Saints 1730
Geneva Geneve CH
3000 Murtenstrasse 921 3095
Bern BE CH
LOCATION_ID STREET_ADDRESS POSTAL_CODE
----------- ---------------------------------------- ------------
CITY STATE_PROVINCE CO
------------------------------ ------------------------- --
3100 Pieter Breughelstraat 837 3029SK
Utrecht Utrecht NL
3200 Mariano Escobedo 9991 11932
Mexico City Distrito Federal, MX
23 rows selected.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@MyOracle ~]$ rman catalog krm/kk
Recovery Manager: Release 11.1.0.6.0 - Production on Thu Nov 13 08:27:38 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to recovery catalog database
RMAN> create catalog tablespace tbs_rman
recovery catalog created
RMAN> connect target sys/kk@orcl
connected to target database: ORCL (DBID=1193559415)
RMAN> connect target sys/kk@orcl
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06167: already connected
RMAN> register database;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1 17 ORCL 1193559415 PARENT 1 03-AUG-07
1 2 ORCL 1193559415 CURRENT 522753 18-SEP-08
RMAN> report schema;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "schema": expecting one of: "all, archivelog, backup, backuppiece, backupset, backed, completed, copy, controlfilecopy, datafilecopy, device, db_unique_name, expired, failure, foreign, global, incarnation, like, proxy, recoverable, restore, script, tag"
RMAN-01007: at line 1 column 6 file: standard input
RMAN> list schema
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "schema": expecting one of: "all, archivelog, backup, backuppiece, backupset, backed, completed, copy, controlfilecopy, datafilecopy, device, db_unique_name, expired, failure, foreign, global, incarnation, like, proxy, recoverable, restore, script, tag"
RMAN-01007: at line 1 column 6 file: standard input
RMAN> report schema
2> ;
Report of database schema for database with db_unique_name ORCL
List of Permanent Datafiles
===========================
File Size(MB) Tablespace RB segs Datafile Name
---- -------- -------------------- ------- ------------------------
1 710 SYSTEM YES /u01/oradata/orcl/system01.dbf
2 636 SYSAUX NO /u01/oradata/orcl/sysaux01.dbf
3 150 UNDOTBS1 YES /u01/oradata/orcl/undotbs01.dbf
4 5 USERS NO /u01/oradata/orcl/users01.dbf
5 100 EXAMPLE NO /u01/oradata/orcl/example01.dbf
6 100 TBS_RMAN NO /u01/oradata/orcl/bapdata01.dbf
List of Temporary Files
=======================
File Size(MB) Tablespace Maxsize(MB) Tempfile Name
---- -------- -------------------- ----------- --------------------
1 28 TEMP 32767 /u01/oradata/orcl/temp01.dbf
RMAN> list copy
2> ;
List of Archived Log Copies for database with db_unique_name ORCL
=====================================================================
Key Thrd Seq S Low Time
------- ---- ------- - ---------
62 1 18 A 02-NOV-08
Name: /u01/oracle/dbs/arch1_18_665778683.dbf
63 1 18 A 02-NOV-08
Name: /u01/flash_recovery_area/ORCL/archivelog/2008_11_06/o1_mf_1_18_4k528md4_.arc
60 1 19 A 06-NOV-08
Name: /u01/oracle/dbs/arch1_19_665778683.dbf
61 1 19 A 06-NOV-08
Name: /u01/flash_recovery_area/ORCL/archivelog/2008_11_06/o1_mf_1_19_4k528p72_.arc
64 1 20 A 06-NOV-08
Name: /u01/oracle/dbs/arch1_20_665778683.dbf
65 1 20 A 06-NOV-08
Name: /u01/flash_recovery_area/ORCL/archivelog/2008_11_06/o1_mf_1_20_4k528qpd_.arc
66 1 21 A 06-NOV-08
Name: /u01/oracle/dbs/arch1_21_665778683.dbf
67 1 21 A 06-NOV-08
Name: /u01/flash_recovery_area/ORCL/archivelog/2008_11_11/o1_mf_1_21_4kl49k1y_.arc
68 1 22 A 11-NOV-08
Name: /u01/oracle/archive/orcl/1_22_665778683.dbf
69 1 22 A 11-NOV-08
Name: /u01/flash_recovery_area/ORCL/archivelog/2008_11_13/o1_mf_1_22_4kpx89sd_.arc
RMAN> connect target sys/kk@orcl
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06167: already connected
RMAN> run{
2> allocate channel d1 device type disk;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/13750068/viewspace-509824/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/13750068/viewspace-509824/