|
- select * from v$logfile;
- select * from v$log;
- alter database add logfile member '+DATA' to group 1;
- alter system switch logfile;
- alter database drop logfile member '+DATA/orcl/onlinelog/group_1.269.856037447' ;
复制代码- [root@station90 ~]# su - oracle
- [oracle@station90 ~]$ . oraenv
- ORACLE_SID = [orcl] ? rcat
- ORACLE_HOME = [/home/oracle] ? /u01/app/oracle/product/11.2.0/dbhome_1
- The Oracle base remains unchanged with value /u01/app/oracle
- [oracle@station90 ~]$ sqlplus /nolog
- SQL*Plus: Release 11.2.0.3.0 Production on Tue Aug 19 19:43:12 2014
- Copyright (c) 1982, 2011, Oracle. All rights reserved.
- SQL> conn / as sysdba
- Connected to an idle instance.
- SQL> startup
- ORACLE instance started.
- Total System Global Area 1603411968 bytes
- Fixed Size 2228784 bytes
- Variable Size 503320016 bytes
- Database Buffers 1090519040 bytes
- Redo Buffers 7344128 bytes
- Database mounted.
- Database opened.
- SQL> show parameter db_name
- NAME TYPE VALUE
- ------------------------------------ ----------- ------------------------------
- db_name string rcat
- SQL> select name from v$datafile;
- NAME
- --------------------------------------------------------------------------------
- /u01/app/oracle/oradata/rcat/system01.dbf
- /u01/app/oracle/oradata/rcat/sysaux01.dbf
- /u01/app/oracle/oradata/rcat/undotbs01.dbf
- /u01/app/oracle/oradata/rcat/users01.dbf
- /u01/app/oracle/oradata/rcat/example01.dbf
- /u01/app/oracle/oradata/rcat/rcat01.dbf
- 6 rows selected.
- SQL> create user u90 identified by oracle_4U default tablespace rcat quota unlimited on rcat ;
- create user u90 identified by oracle_4U default tablespace rcat quota unlimited on rcat
- *
- ERROR at line 1:
- ORA-01920: user name 'U90' conflicts with another user or role name
- SQL> grant recovery_catalog_owner to u90;
- Grant succeeded.
- SQL>
复制代码
|
|