DBA Hub

📋Steps in this guide1/1

Move Spfile to ASM

Check if your database is running with SPFILE, if yes then create pfile from spfile

oracle configurationintermediate
by OracleDba
15 views
1

Overview

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
show parameter spfile
NAME     TYPE VALUE
-------- ----------- ------------------------------
spfile string /oracle/app/oracle/product/dbs/spfilePRIM.ora

Create pfile from spfile;

File created.

ASMCMD> mkdir +DATA/PRIM/PARAM

SQL> create spfile='+DATA/PRIM/PARAM/spfilePRIM.ora' from pfile;

Rename the SPFILE under $ORACLE_HOME/dbs location

cd $ORACLE_HOME/dbs

mv spfilePRIM.ora spfilePRIM_old.ora

vi initPRIM.ora

spfile='+DATA/PRIM/PARAM/spfilePRIM.ora'

Comments (0)

Please to add comments

No comments yet. Be the first to comment!