[oracle@db dbs]$ echo $ORACLE_SID ORCL [oracle@db dbs]$ sed -i 's/ORCL/BOOBOO/' ~/.bash_profile [oracle@db dbs]$ source ~/.bash_profile [oracle@db dbs]$ echo $ORACLE_SID BOOBOO [oracle@db dbs]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Tue Apr 9 16:54:02 2019 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to an idle instance. SQL> create spfile from pfile; File created.
[oracle@db dbs]$ ll total 20 -rw-r--r-- 1 oracle oinstall 530 Apr 9 16:45 initBOOBOO.ora -rw-r--r-- 1 oracle oinstall 2851 May 15 2009 init.ora -rw-r----- 1 oracle oinstall 5120 Apr 9 16:48 orapwBOOBOO -rw-r----- 1 oracle oinstall 2560 Apr 9 16:54 spfileBOOBOO.ora
[oracle@db dbs]$ echo "startup nomount" | sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Apr 9 16:58:36 2019
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area 1068937216 bytes Fixed Size 2260088 bytes Variable Size 671089544 bytes Database Buffers 390070272 bytes Redo Buffers 5517312 bytes SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
|