SPfile o Pfile?

Como se si mi BD esta usando Pfile o SPfile?

3 Responses to “SPfile o Pfile?”

  1. fmunoz says:

    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. jpuga says:

    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.- :P

Leave a Reply