nightly-monitoring-1.txtHi Experts,
I recently setup MSA database replication for a database of size 3.5 TB and started a process called EOD/nightly (almost 7000 jobs) and when we observe it segments of the primary database from admin who,sqm we see the data is accumulating in IBQ and not getting transferred to OBQ. Attached the details for you to advise.
ASE and SRS : 15.7 SP135 on AIX 7.2 with logical page size as 8K.
sqt_max_cache_size configured is 200 GB.
stable device of 362 G
In the output of sqt of target databases we see negative values. Are they expected and what does they indicate? Also please let me know the ways to monitor the problematic areas.
Regards,
Dilip Voora
Request clarification before answering.
Along with Ben's and Matthias' comments, you should also confirm that the AIX LPAR has been correctly configured for the resources required by the SRS.
Ensure that there is a 1:1 mapping of OS threads to processor threads by setting AIXTHREAD_SCOPE=S in the shell environment that starts the SRS and that sufficient CPU and memory resources are available to the LPAR running SRS by confirming the number of VCPs vs. entitlement by running 'lparstat -i' and checking the output.
If data is accumulating, perhaps there are insufficient CPU resources available to process the queue.
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
rs-ticket-history.txtHi Mark,
Thanks for looking into the details provided.
At this point of time we resintalled RS with 15.7.1 SP306 ROLLUP and started it with the configuration we have had used for SP135. The main reason behind doing this is to avoid unnecessary issues (which we assume are not being reported/getting printed in the errorlog). Even after running the job with RS (SP306 ROLLUP) we are noticing slowness in pdb-exec and mostly in exec_dist. Attached the rs_ticket_history output.
However, I am very eager to understand more with respect to your previous comment and then to implement them along with the configuration we are tweaking with.
From the previous comment:
1.repagent is running with default scan batch size (1000) and default ltl batch size (16384); net result: repagent requesting trunc pt movements at a rate of ~5/sec
<<Dilip>> Can you please explain this calculation and the section (if anything) referred from sp_sysmon?
2. only half of repagent packets sent to RS are full; some % of the non-full packets are likely related to the trunc pt movement requests
<<Dilip>> Are you telling this based on the output in rep agent section of sp_sysmon by (packets sent-full packets sent)? Please clarify.
3. repagent is spending an excessive amount of time requesting trunc pt movements (~5 requests per second)
<<Dilip>> How to check this?
4. phoenix_log cache fills up too quickly which pushes log pages to disk; repagent becomes disk bound because all (older) pages have to be pulled from disk; don't know at this point if cache is too small and/or repagent-related configs are (partially) to blame and/or there is excessive/unnecessary DML activity in the database
<<Dilip>> With this assumption only you are suggesting to increase the size of the cache dedicated for logsegment and then configure 64K buffer pool followed by changing the sp_logiosize at database level from 8K to 64K. If the results are good, can we leave it running with 64K? During normal business hours (the client is a bank) will there be any effect to the normal transactions on the database?
Regards,
Dilip Voora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
re: #1/#3:
re: #2:
re: #4:
Observations from the sp_config_rep_agent and sp_sysmon(10min) output:
Operational issues:
Suggestions:
This is going to be a repetitive process; make changes, monitor performance, make additional changes:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
After implementing this setting with MALLOCOPTIONS we see an improvment in terms of performance from replication server to targets. However, we are still facing challenges with the inbound as the replication agent is reading the data very very slow.
Parameters we have in place for replication agent:
scan batch size : 1000
send buffer size : 16K (8K logical page size in ASE)
number of send buffers : 50
When rs_ticket is issued in PDB, RA read it after 5 hours. Is there any parameter that we are missing here to configure? Please advise.
In Taregt 1:
17 M6_T - - - phoenix - ZEN_REPSERVER phoenix Mar 21 2023 5:56PM Mar 21 2023 9:20PM Mar 21 2023 9:21PM Jan 1 1900 12:00AM Mar 21 2023 9:26PM Mar 21 2023 9:26PM 168062304404 0 87849897 278219435 V=2;H1=M6_T;PDB(phoenix)=03/21/23 17:56:49.793;RA(phoenix)=03/21/23 21:20:34:266;EXEC(119)=03/21/23 21:20:34.271;B(119)=168062304404;DIST(55)=03/21/23 21:21:53.336;DSI(118)=03/21/23 21:26:27.087;DSI_T=87849897;DSI_C=278219435;RRS=ZEN_REPSERVER
In Target 2:
17 M6_T - - - phoenix - ZEN_REPSERVER phoenix Mar 21 2023 5:56PM Mar 21 2023 9:20PM Mar 21 2023 9:21PM Jan 1 1900 12:00AM Mar 22 2023 12:24AM Mar 22 2023 12:24AM 168062304404 0 87849897 278219435 V=2;H1=M6_T;PDB(phoenix)=03/21/23 17:56:49.793;RA(phoenix)=03/21/23 21:20:34:266;EXEC(119)=03/21/23 21:20:34.271;B(119)=168062304404;DIST(55)=03/21/23 21:21:53.336;DSI(125)=03/22/23 00:24:33.206;DSI_T=87849897;DSI_C=278219435;RRS=ZEN_REPSERVER
Regards,
Dilip Voora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
rs_ticket items of interest:
Several questions come to mind ...
Without a collection of performance metrics (sp_sysmon, MDA tables, OS/network monitoring) it's hard to say if there might be some configuration issues (and if so, where?).
Hi Mark,
Yes the implementation is to replciate data to two targets. ASE configuration across PDB and replciated databases(targets) are same and even the DSI configuration at RS level is also same for the targets.
Details:
moncachepool-output.txtsysmon-from-pdb-22032023.txt
PDB on host A: Phoenix
RDB1 on host B: Phoenix
RDB2 on host C: Phoenix
RS on host D
RSSD on host D as a seperate ASE.
Several questions come to mind ...
Please check them and let me know if anything has to be reconfigured at PDB level.
Regards,
Dilip Voora
I request you to hep me with the below if possible.
If the slowness between PDB to RS is noticed(from rs_ticket) which parameters other than the below need to be checked at replication server level for inbound queue and in sp_config_rep_agent of pdb?
C) If the slowness between RS to RDB is noticed(from rs_ticket) which parameters other than the below need to be checked at replication server level for outbound queuessqt_max_cache_size
Hello Dilip.
The end of mainstream maintenance for SAP ASE 15.7 was in 2020. There are a lot of performance improvements in more recent versions of SAP ASE 16.0 and SRS 16.0.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 5 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.