SQL Server Transactional replication tuning (1)

Source: Internet
Author: User

In today's scale OLTP system, it is a good way to solve the problem by replicating multiple copies in order to alleviate the single point of reading and writing pressure in the database, especially the read pressure.

The SQL Server transactional replication transactional Replication is the most common form of replication we take. Some of the previous articles always introduce some basic constructs,

Lack of some introduction to the optimization, today I will briefly introduce some of them can be adjusted to optimize the place, (in fact, Microsoft has done a good job, the default is to

To meet most of our situation, hope that through the introduction of this article, we combine the actual situation of their system, do some adjustments may have some unexpected harvest, attention in the production

Use caution in the environment)

Before we do that, let's look at the process of copying things.

We can see from publication to subscriber this time through the logreader agent, Distribution Agent these two agents

Used to transfer data changes from the production library, and ultimately to the subscription repository. And for these two agents can be optimized content, in this article

Let's focus on the LogReader Agent first. In the following article, we will continue to introduce other adjustable places.

Logscanthreshold

ReadBatchSize

ReadBatchThreshold

MaxCmdsInTran

Go home and eat first.

Not to be continued ...

SQL Server Transactional replication tuning (1)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.