on 11-17-2020 1:27 PM
Dear All,
I have a WARM STANDBY environment, with a DB level MSA (using db repdef and dbsubdef), hanging off the logical WS connection.
PRIMARY server - PRIMSRV
Replicate Destination Server - ASEREP
physical and logical dbname - balance
Logical connection Name - PRIMLDS
Queue Number - 109,1 (Inbound queue)
Question - So to change repagent user related configurations like below -
exec_prs_num_threads , cmd_direct_replicate , exec_nrm_request_limit , exec_cmds_per_timeslice , exec_sqm_write_request_limit
Should i alter connection to PRIMSRV.balance or Should i alter connection to ASEREP.balance ??
Similarly, for SQM writer parameters tuning (init_sqm_write_delay, init_sqm_write_max_delay ) and SQM reader parameter tuning (sqt_init_read_delay, sqt_max_read_delay) should i tune PRIMSRV.balance or ASEREP.balance ?
Also for DIST thread configs (md_sqm_write_request_limit,sts_cachesize,dist_direct_cache_read, dist_cmd_direct_replicate) do we generally tune the sourceds or destinationds ?
Finally also for all the related DSI parameters. For DSI, i am pretty certain that it would be ASEREP.balance (incl. for dsi_sqt_max_cache_size etc.). However please confirm, again
Note - We already have ASO license. Also, i know that in WarmStandby side, it is better to make changes at both end, considering switch factor. However say you can ignore the switch and please answer accordingly.
regards,
Abdo
If you want a parameter setting to take effect for the whole repserver you can use the command configure replication server set [param] to '[value]' If you just want to modify a specific connection you would use alter connection to [db_server].[db] set [param] to [value] where [db_server] and [db] are the physical names (eg. PRIMSRV, ASEREP, balance). Use "admin config" to look at parameter settings.
Also, if memory_control is set to "smart" (the default), the repserver silently ignores your settings for the following parameters:
ci_pool_size ci_packet_size ci_max_cmds cap_sqm_write_request_limit cap_sqm_write_msg_limit sqm_cache_size sqm_cmd_cache_size sqt_max_cache_size sqt_max_prs_size spq_cache_size dsi_sqt_max_cache_size dist_sqt_max_cache_size md_sqm_write_request_limit
https://answers.sap.com/questions/696095/new-fancy-smart-memory-control-ignore-admin-config.html
https://influence.sap.com/sap/ino/#/idea/232062
With smart memory control, you use the mem_distribution_* settings to control certain memory allocations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ben,
Thanks for additional info. We are on SRS 15.7.1 SP 203, so smart memory allocation is not available. Let me re-phrase my question.
I simply want to know, if i have to change repagent user thread confgs, should i change primaryds.db connections or replicateds.db connection ?
I have the same questions for sqm configs (sqm_page_size, cmd_direct_replicate etc. ). In all this case it should be primaryds connection or replicate ds connection ?
Similarly all dist config's (ex. dist_direct_cache_read), etc .. since dist is thought of as part of inbound queue (at least in WS), so here also all changes will be done for primaryds.db ?
Lastly for all dsi related configs ( dsi_max_cmds_in_batch etc.), the changes should be for replicateds.db. Please confirm.
regards,
Abdo.
User | Count |
---|---|
84 | |
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.