all groups > sql server replication > may 2006 >
You're in the

sql server replication

group:

Merge Agent Continuous Mode


Merge Agent Continuous Mode Davec
5/29/2006 5:53:03 AM
sql server replication:
Hi all,

I have set up 10 subscribers each with merge pull subscriptions. the
polling interval is 60 seconds and the StartQueueTimeout 120 seconds.
I have limited the number of concurrent merge processes to 5 however
the problem is that it seems the 5 that queue up never get a look in
even even though the status of the 5 which started first are now idle.

When one of the idle merege processes is manually stoped the next in
the queue takes its place. It is behaving as though the merge process
is still active. Even with Startqueuetimeout set to 0 (indefinite)
wait it will never get its time to participate in the merge.


A simple test of 2 subscribers and a limit of one concurrent merge
process also exhibits same promlem. showing blocking between the two
processes every time. last command to execute sp_MSAquireSlotLock

Is there some fundemental thing i am missing because this cannot be
normal?
Re: Merge Agent Continuous Mode Hilary Cotter
5/29/2006 9:40:19 AM
My understanding is that the limit the number of concurrent merge agents
simultaneously processing is to be used with scheduled agents as opposed to
agents which run continuously.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

[quoted text, click to view]

Re: Merge Agent Continuous Mode Davec
5/29/2006 2:32:23 PM
Hi Hilary,

ok that would not be good for me. i have read plenty of other posts
in this group that seem to referenct concurrent merge processes on the
context of Continuous merge. You made a post on the 19 Jan 2006 Titled
Merge Replication limit running in continuous mode. which i guess has
me a little confused. In that article you talked about limiting the
number of concurrent merege process.

I have ended up with continuus mode because of the larger bandwidth
overheads associated with starting scheduled merge jobs every 1 minute.
(Approx 118K of overhead data is cteated eachtime a subscriber
executes the the merge job).

So assuming my only option is to run in continuous mode with a polling
interval of 60 is there any way to contoll the number of merge jobs
executing at any one time. It absolutely hammers the publ;ishers
processor resulting in slowed mereg jobs.


Thanks
Re: Merge Agent Continuous Mode Hilary Cotter
5/29/2006 6:58:15 PM
Let me try to get an answer to you on this from a contact of mine at
Microsoft. It is my understanding that you need to run the agents in
scheduled mode for this to be effective as opposed to continuous.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

[quoted text, click to view]

RE: Merge Agent Continuous Mode petery NO[at]SPAM online.microsoft.com (
5/30/2006 3:36:57 AM
Hello Dave,

You may want to set Startqueuetimeout to a value about 70 to test the
situation. You might also want to reindex msmerge_contents, tombstone, and
genhistory.

In addition, please decrease the batch size parameters for the merge agent
profile to test.

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Re: Merge Agent Continuous Mode Robert
6/20/2006 12:00:00 AM
Hi Davec,

I think maybe you can try changing the polling interval from 60 seconds to a
bigger nummber, just as adviced by Peter Yang, instead of changing it to a
smaller one as 5 seconds.

Best Regards,
Robert


"Davec" <dcowie@ballsolutions.com> ????
news:1148907183.888736.320310@y43g2000cwc.googlegroups.com...
[quoted text, click to view]

AddThis Social Bookmark Button