on 05-29-2018 1:16 PM
Hello ,
Using Oracle source to Oracle destination by using SAP Replication Server 15.7 .
Source is transaction intense system. Most of the time getting memory warnings saying resource not available for clearing largest transaction.
OUTBOUND QUEUE in REP SERVER :
1>admin who,sqt,104
2>go
Spid State Info Closed Read Open Trunc Removed Full SQM Blocked First Trans Parsed SQM Reader Change Oqids Detect Orphans -------- ---------------------------------------- ------------------------------------------------------------------------------------------------------------------------ -------
229 Awaiting Message 104 odsdb.ODSDB 0 0 1 1 1 0 0 st:O,cmds:50807,qid:186261:2:0 1 0 0 0
Outbound queue size is 170 GB & not getting drained. When I do trace ON , SQL's are flowing.
Thanks,
Yuvaraj Subramani
I would suggest to open a case with SAP/Sybase to get proper support you may need for this.
st:0 indicates open transction with huge number of commands on source side.
Check on source side for the open transction that needs a commit or rollback.
May need a source side restart (rep agent first, then instance if need be).
There are sysadmin commands to deal with open transaction.
USE with caution and with explicit advice from SAP/Sybase folks.
HTH
Avinash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Avinash,
Tried these commands to purge open txns , but issue was not resolved.
> sysadmin purge_first_open
> sysadmin purge_all_open
As of now, moved the rep agent locator to 0 and purged all the queued transaction in Rep Server and started the replication.
very frequently we are getting this warning msg too....
_sqt_remove_largest_tran(106:0 odsdb.ODSDB): No candidate found for removal. Memory limit will be exceeded by SQM/TI thread.
If you wish to continue the battle without, you at least need to increase RepServer memory_limit and sqt cache (in this example, dsi_sqt_max_cache_size, doc link below). RepServer default configurations will not work well in high volume oltp, some tuning will need to be done.
-Ken
Thanks Ken... It has been resolved by increasing the sqt_max_cache & DSI_sqt_max_Cache_size.
Now I'm facing different scenario in another server where Inbound Queue is moving but not coming to the outbound queue .
When I do
admin stats , backlog
Thread count is increasing and not been pushed to outbound queue. All subscriptions are in valid state. There are no open transactions. suspecting there is something to do with this SQM Blocked is 1.
Spid State Info Closed Read Open Trunc Removed Full SQM Blocked First Trans Parsed SQM Reader Change Oqids Detect Orphans
---- -------------------- ------------------------------------------------------------ ----------- ----------- ----------- ----------- ----------- -----------
116 Awaiting Wakeup 152:1 DIST msf.MSF 0 7 1 8 0 0 1 st:R,cmds:3,qid:623093:46:22 0 0 0 0
Can anyone suggest on this?
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.