Share via

Can I upgrade a replication instance while replication is still running?

chrisrdba 471 Reputation points
2021-03-01T16:00:46.613+00:00

Greetings.

This coming weekend I'm upgrading a SQL 2016 instance to 2019 w CU 8 and the latest security patch. This guy does transactional replication to a 2019 instance w CU 7.

So my question is -- if I wanted to upgrade my replication instance ahead of time to CU 8 and the latest security patch, could I do it without first shutting down replication?

This doc says I first need to stop user activity on published tables, which isnt possible. However, thats in reference to upgrading the actual version.

Would replication survive the trip intact?

Thanks!

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

Answer accepted by question author

Cris Zhan-MSFT 6,676 Reputation points
2021-03-02T05:59:45.297+00:00

Hi,

It is not necessary to stop the replication when upgrading or patching the SQL Server at the Subscriber .
you may need to stop user activity on published tables when upgrading or patching the SQL Server at Publisher.

Upgrading or patching SQL Server instances requires a certain amount of downtime.

Was this answer helpful?

0 comments No comments

2 additional answers

Sort by: Most helpful
  1. chrisrdba 471 Reputation points
    2021-03-02T23:29:14.753+00:00

    Complete as expected, thanks

    Was this answer helpful?

    0 comments No comments

  2. chrisrdba 471 Reputation points
    2021-03-02T20:28:22.64+00:00

    I'll confirm here in a few hours, but am assuming this is accurate.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.