Skip to content

Anyone else seeing much worse ongoing replication performance after upgrading to DMS 3.5.x

0

Got forced to 3.5.2 on Sunday. Replication immediately started to lag behind. Been trying to fix for a few days before realizing we got upgraded. Not sure if we where notified or not, but doesn't really matter.

Just wondering if anyone else is using SQL Server as a source ( to postgres might not matter ) and seeing CDC Source Latency being way worse.

We are using MS-Replication which might be part of the issue.

Update: downgrade to 3.4.6 fixed the issue. 3.4.7 is also going EOL. 3.5.1, 3.5.2, and 3.5.3 have the issue so I'm not sure what to do.

Update: We have a tool called Sql Monitor that records various db metrics. After reviewing we noticed that the tempdb version store bytes spiked and the tempdb database even grew on the secondary of our alwayson setup. Haven't gone down much further, but 3.5.x has some information about using AlwaysOn it's release notes. I'm not quite sure what it does to the secondary and how I can prevent it...we don't use it for anything other than just replicating the db and failing over. Might explore that later, but for now it seems like maybe alwayson has something to do with the reduced performance. Hoping to recreate in our QA enviornment.

asked 2 years ago367 views

1 Answer
0

So after upgrading from 3.4.x to 3.5.x our latency from SQL Server got super slow. This was a forced upgrade by AWS.

Turns out our production instance had a 8 tempdb files. Some where on the Z: drive and some on the C: drive. Not sure why this freaked SQL Server out, but fn_dblog performance got very poor. Tempdb verison store old transaction time steadily increased.

Dropped down to 2 tempdb files both on Z and contention went away. Luckily we had a QA system where we didn't have that config and saw the Tempdb stats in one of our monitoring tools.

I did notice the syntax of the fn_dblog call changed from 3.4 to 3.5 with a few additional parts of the where clause. Like a lot of things SQL server probably uses the tempdb during the fn_dblog calls...wish they would just admit it needs to be a documented function.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.