on 11-26-2014 10:28 AM
Hello experts,
is there any chance to find out which registry changes can be changed without a restart for activation? I have to change DB2_BCKP_PAGE_VERIFICATION=TRUE but unhappy with any downtime.
Regards
Olaf
Hi Olaf,
for this registry variable the behavior is not clearly documentged but it should work.
>db2set DB2_BCKP_PAGE_VERIFICATION=YES -immediate
returns no error.
For other variables that are not changable online you receie an error when using the -immediate option. For example:
>db2set DB2_CREATE_DB_ON_PATH=YES -immediate
DBI1439W
The option -immediate was used when running db2set, but the variable specified cannot be updated immediately
Regards
Frank
More information:
Sets the specified variable to the specified value. If the value has space(s), make sure to
enclose the value in quotes. If you do not specify a value after the equal sign
(=), the current value of the variable is deleted. There are a set of registry
variables which are immediate by default and another set of registry variables
that are immediate if you specify the -immediateparameter. Both of these sets of
registry variables take effect the next time the SQL statement is compiled.
Otherwise, changes take effect after you restart the instance
DB2_ATS_ENABLE
For the case of DB2_BCKP_PAGE_VERIFICATION the remark is missing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Olaf,
This is where you take a sandbox and test it... then you can tell for sure.
Regards, Juan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Olaf,
For registry settings, normally a restart will be necessary and there is no option but to
stop and restart even when immediate is set.
For this variable see APAR IC89555.
db2set DB2_BCKP_PAGE_VERIFICATION=OFF
db2stop
db2start
db2set - DB2 profile registry command
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Aidan,
thanks for the answer but it was not my request. 😉 Its well known how to change the parameter but I like to know whether downtime is needed before I discuss with business about a parameter change and a time slot.
When I follow up Baklarz/Zikopoulos than a downtime is not needed for every registry change.
Regards
Olaf
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.