The parameters SP_QUE_Q_SHMSIZE, SP_QUE_POST_SHMSIZE, SP_QUE_SHMDBUF, and SP_SHS_SHMSIZE all require the sp_cop process to be bounced after setting the parameter for the changes to take effect.
Changing these parameters in sp_ctrl with the set param command does not show up in a list param modified output.
It shows only after bouncing sp_ cop
Example:
Set the parameter in sp_ctrl
sp_ctrl (dylan:8606)> set param SP_QUE_Q_SHMSIZE 16
The parameter change does not show up in the list param modified output.
sp_ctrl (dylan:8606)> list param modified
Control Process parameters:
Parameter Name Actual Value Units Set At
------------------------------ ------------------------------------ ------- ---------------
SP_COP_TPORT 8606 Restart Cop
Default Value: 2100
SP_COP_UPORT 8606 Restart Cop
Default Value: 2100
It does show up in the vardir/data/paramdb file with the old and new parameter values.
SP_QUE_Q_SHMSIZE 8 16 # Queue shared-memory Size
After sp_cop shutdown paramdb is the same
SP_QUE_Q_SHMSIZE 8 16 # Queue shared-memory Size
After sp_cop startup paramdb file is changed
SP_QUE_Q_SHMSIZE "16" # Queue shared-memory Size
and list param modified shows below after the cop has been shutdown and restarted.
SharePlex Queues parameters:
Parameter Name Actual Value Units Set At
------------------------------ ------------------------------------ ------- ---------------
SP_QUE_Q_SHMSIZE 16 Mbytes Restart Cop
Default Value: 8