Non-Asm To Asm
Non-Asm To Asm
[email protected]'s password:
Last login: Sun Jan 13 22:23:21 2019
[oracle@rac1 ~]$ top
top - 23:28:01 up 1:10, 3 users, load average: 0.80, 0.45, 0.50
Tasks: 345 total, 1 running, 344 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2.2 us, 6.0 sy, 0.0 ni, 91.3 id, 0.5 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 2798160 total, 326792 free, 952104 used, 1519264 buff/cache
KiB Swap: 2097148 total, 1200212 free, 896936 used. 999700 avail Mem
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
NAME
--------------------------------------------------------------------------------
/u01/app/oracle/fast_recovery_area/orcl/ORCL/controlfile/o1_mf_g3pwhloj_.ctl
/u01/app/oracle/fast_recovery_area/orcl/ORCL/onlinelog/o1_mf_1_g3pwhvm8_.log
/u01/app/oracle/fast_recovery_area/orcl/ORCL/onlinelog/o1_mf_2_g3pwhzkl_.log
/u01/app/oracle/fast_recovery_area/orcl/ORCL/onlinelog/o1_mf_3_g3pwj7t8_.log
/u01/app/oracle/oradata/ORCL/controlfile/o1_mf_g3pwhl2o_.ctl
/u01/app/oracle/oradata/ORCL/datafile/o1_mf_sysaux_g3pwf4h5_.dbf
/u01/app/oracle/oradata/ORCL/datafile/o1_mf_system_g3pwcdkr_.dbf
/u01/app/oracle/oradata/ORCL/datafile/o1_mf_undotbs1_g3pwg88x_.dbf
/u01/app/oracle/oradata/ORCL/datafile/o1_mf_users_g3pwg9kl_.dbf
/u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_1_g3pwhon7_.log
/u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_2_g3pwhpb7_.log
NAME
--------------------------------------------------------------------------------
/u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_3_g3pwj4g4_.log
12 rows selected.
SQL> startup
ORACLE instance started.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
SUM(BYTES/1024/1024)
--------------------
1345
System altered.
Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "database": expecting one of: ""
RMAN-01007: at line 1 column 7 file: standard input
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of sql statement command at 01/13/2019 23:46:45
ORA-00205: error in identifying control file, check alert log for more info
RMAN> exit
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
System altered.
Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORCL (DBID=1525264202, not open)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "tempfile": expecting one of: "database, database
root, datafile, pluggable, tablespace"
RMAN-01007: at line 1 column 8 file: standard input
RMAN> EXIT
Usage 1: sqlplus -H | -V
<option> is: [-AC] [-C <version>] [-L] [-M "<options>"] [-NOLOGINTIME] [-R
<level>]
[-S]
@[<net_service_name> | [//]Host[:Port]/<service_name>]
sqlplus myusername/mypassword@ORCL
sqlplus myusername/mypassword@Host/ORCL
Runs the specified SQL*Plus script from a web server (URL) or the
local file system (filename.ext) with specified parameters that
will be assigned to substitution variables in the script.
When SQL*Plus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run. The files may
contain SQL*Plus commands.
Refer to the SQL*Plus User's Guide and Reference for more information.
[oracle@rac1 dbs]$ sqlplus "/ as sysdba"
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
Database altered.
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit
Production
[oracle@rac1 dbs]$ rman target /
Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.
RMAN> exit
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
MEMBER
--------------------------------------------------------------------------------
/u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_3_g3pwj4g4_.log
/u01/app/oracle/fast_recovery_area/orcl/ORCL/onlinelog/o1_mf_3_g3pwj7t8_.log
/u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_2_g3pwhpb7_.log
/u01/app/oracle/fast_recovery_area/orcl/ORCL/onlinelog/o1_mf_2_g3pwhzkl_.log
/u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_1_g3pwhon7_.log
/u01/app/oracle/fast_recovery_area/orcl/ORCL/onlinelog/o1_mf_1_g3pwhvm8_.log
6 rows selected.
Database altered.
Database altered.
Database altered.
Database altered.
Database altered.
Database altered.
Database altered.
NAME
--------------------------------------------------------------------------------
+DATA/ORCL/CONTROLFILE/current.266.997487167
+DATA/ORCL/DATAFILE/sysaux.268.997487599
+DATA/ORCL/DATAFILE/system.267.997487563
+DATA/ORCL/DATAFILE/undotbs1.269.997487615
+DATA/ORCL/DATAFILE/users.270.997487617
+DATA/o1_mf_1_g3pwhon7_.log
+DATA/o1_mf_2_g3pwhpb7_.log
+DATA/o1_mf_3_g3pwj4g4_.log
+FRA/o1_mf_1_g3pwhvm8_.log
+FRA/o1_mf_2_g3pwhzkl_.log
+FRA/o1_mf_3_g3pwj7t8_.log
11 rows selected.
File created.