on 08-02-2016 8:20 AM
Dear Expert,
Is there any way to find that specific DB parameter change require db restart or not?
Also DB parameter change will be in pfile or spfile or both?
Any db command which can give me above answer?
Regards
Hi Tarun,
1. SPFILE
first of all - you should switch to spfile for it is an sap recommendation. If you have switched to the spfile mechanism, you dont need the pfile any more. If you want to use the pfile and dont want to Switch to spfile mechanism - you should always restart your database after changing an Parameter in your init<sid>.ora File.
Read SAP Note 601157 - Oracle Server Parameter File for informations and recommendations about the SPFILE Mechanism AND the the correct usage of dynamic/static parameters.
2. ORACLE-PARAMETERS
To find out which Oracle Parameter can be changed with the "ALTER SYSTEM" command and WHEN the change is becoming to be active use the Database View "V$PARAMETER2".
For Example:
select name, issys_modifiable from V$PARAMETER2;
take a look to the values of the field issys_modifiable:
IMMEDIATE - dynamic parameter, it takes effect immediately. You can change this parameters with scope 'memory', 'both' or 'spfile'.
DEFERRED - static parameter, it takes effect in subsequent sessions, You can change this parameter with scope 'spfile' only.
FALSE - static Parameter, it takes effect in subsequent instances. You can change this parameter with scope 'spfile' only.
best regards...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Winfried,
Thanks for reply.
As per your point 2 i was checking parameter LOG_ARCHIVE_DEST_STATE_2 via below command:
select * from V$PARAMETER2 where name = 'LOG_ARCHIVE_DEST_STATE_2';
Output was no row selected.
So my question is how can i get information(Like db restart is required or not, also change will be in spfile of pfile) about such parameter? Has oracle or SAP documented such details some where? or any command which can give me above answers?
Regards,
sap note 601157 says: Yup!
to be exactly...there is a difference between session and instance of course - session is starting a new session for example by starting an Oracle session with a Oracle user - Instance is the whole Oracle Instance -> to be correctly: only if "FALSE" a restart is a must - but due to the way sap connects to the Oracle DB and Session Usage - i would strongly prefer to be sure - restart DB - except for Parameters with "IMMEDIATE" is the best way...
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.