Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Alexander Ivanov — source: IBM Community (ConnectedCommunity.org) Informix forum
Hello.
I have Informix 14.10 and I am trying to use informix -wm to change onconfig options. But for example "onmode -wm RESIDENT=-1" works well, but "onmode -wm CLEANERS=4" shows me a message saying "The configuration setting to be changed is invalid or not supported with this option".
Is there a way to change onconfig settings without editing the file?
------------------------------
Alexander Ivanov
------------------------------
#Informix
↪ replying to Alexander Ivanov
Franck Thomas — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi Alexander,
Some parameters in the ONCONFIG file cannot be changed dynamically when the Informix engine works.
Unhappily, for the "cleaners" parameter, you have to modify your ONCONFIG file and restart your informix instance.
You have the option "onstat -g cfg tunable" to know the parameters that you can change dynamically (an asterisk indicates that you can tune a configuration parameter dynamically).
-- Franck Thomas ConsultiX
franck.thomas@consult-ix.fr
http://www.consult-ix.fr
Téléphone : 33 (0) 1 39 12 18 00 Mobile : 33 (0) 6 78 81 09 33 Fax : 33 (0) 1 39 12 18 18
Le 20/10/2022 à 11:46, Alexander Ivanov via IBM Community a écrit :
↪ replying to Alexander Ivanov
Andreas Legner — source: IBM Community (ConnectedCommunity.org) Informix forum
For modifying the onconfig file, you'd have to use -wf (rather than -wm, for in-memory only) anyway.
And yes, there are config parameters that only get evaluated at engine startup, so typically don't need to be tunable, i.e. not supported by 'onmode -w{m|f}'.
CLEANERS is one of them.
------------------------------Andreas Legner
------------------------------
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.