SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Concerns with Transaction replication parameters


Concerns with Transaction replication parameters

Author
Message
baabhu
baabhu
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1675 Visits: 1218
Hi SQL Experts,

We have an OLTP that was configured in P2P replication.

Both the peer nodes were running with SQLserver 2008 R2 SP1. We noticed that one of the DB we have a lot of latency issues and decide to change the readbatchsize from default 500 to 5000. it took 10 hours before we removed the latency. But on the other hand we are seeing a lot of messages in the log reader.

We are using push subscription.

" Approximately 500000 log records have been scanned in pass # 3, 1 of which were marked for replication, elapsed time 6006 (ms).'."

These messages popup every 10 or 15 mts time.

Is these message a real concern for us to look and reduce the readbatchsize parameter.

Will Readbatchthreshold is a better option than readbatchsize?

Can you help me?

Thank you
Andrew G
Andrew G
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2499 Visits: 2254
Reduce your readbatchsize, it's too high which is why you're seeing the message:
http://www.sqlservergeeks.com/blogs/Abhay_c/sql-server-bi/455/sql-server-fine-tuning-transactional-replication-performance-part-1

I've read that changing Readbatchthreshold can cause very slow performance in 2008
http://connect.microsoft.com/SQLServer/feedback/details/478792/using-the-readbatchthreshold-parameter-in-logreader-agent-leads-to-slow-performance
baabhu
baabhu
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1675 Visits: 1218
foxxo (1/2/2013)
Reduce your readbatchsize, it's too high which is why you're seeing the message:
http://www.sqlservergeeks.com/blogs/Abhay_c/sql-server-bi/455/sql-server-fine-tuning-transactional-replication-performance-part-1

I'm thinking of changing the readbatchsize parameter from 5000 to 1000. And see if that makes sense.

I've read that changing Readbatchthreshold can cause very slow performance in 2008
http://connect.microsoft.com/SQLServer/feedback/details/478792/using-the-readbatchthreshold-parameter-in-logreader-agent-leads-to-slow-performance


This connect I think is for SQL 2008. Our's is SQLserver 2008 R2 Sp1. This issue would have been resolved. The date of the issue reported is also in 2009. I assume the issue would have been resolved in SQLserver 2008 R2. Thanks for answering the post.
Andrew G
Andrew G
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2499 Visits: 2254
I'm interested to see if changing those values fixes your issues.

The connect item is old, but the Microsoft comment about readbatchsize being fixed in next release was on Feb 2011, after R2 was already released, so not sure if they're referring to R2 or 2012.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search