- Oracle en Espanol - Por Francisco Munoz Alvarez - http://oracleenespanol.com -
SPfile o Pfile?
Posted By jpuga On 11. April 2008 @ 03:45 In Consultas | 3 Comments
Como se si mi BD esta usando Pfile o SPfile?
3 Comments To "SPfile o Pfile?"
#1 Comment By fmunoz On 11. April 2008 @ 11. April 2008
En SQL*Plus, dale “SHOW PARAMETER spfile.” si el valor es null est usando pfile, si no esta null, significa que esta usando spfile
#2 Comment By jpuga On 7. May 2008 @ 7. May 2008
Investigando por ahi me pille con esta query que te entrega el dato …
SELECT DECODE( hay , 0, ‘init.ora’,’spfile.ora’) “Arranque”
FROM (
SELECT count(*) hay
FROM V$SPPARAMETER
WHERE ISSPECIFIED = ‘TRUE’
);
La probé y funcionó perfectamente.- ![]()
Article printed from Oracle en Espanol - Por Francisco Munoz Alvarez: http://oracleenespanol.com
URL to article: http://oracleenespanol.com/2008/04/11/spfile-o-pfile/
Click here to print.