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


distributor agents job in replication


distributor agents job in replication

Author
Message
sandhyarao49
sandhyarao49
SSC Veteran
SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)

Group: General Forum Members
Points: 213 Visits: 650
Hi All,

Now a days iam noticing that at some point of time i could see 2 distributor agent jobs are running parallely to a single subscriber at the same time.

The schedule of the distributor agents job is 15 mins.

Is it the normal behaviour.

Could any one suggest what exactly the issue might be.

The replication is transactional replication


Regards,
Sandhya
dkhattar
dkhattar
Old Hand
Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)

Group: General Forum Members
Points: 337 Visits: 381
What I can think of is, you might be having two agents running one to run at scheduled time (recurring) and another in –Continuous mode.

Investigate by looking into MSdistribution_agents and MSdistribution_history table on distributor.



dkhattar
dkhattar
Old Hand
Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)

Group: General Forum Members
Points: 337 Visits: 381
What I can think of is, you might be having two agents running one to run at scheduled time (recurring) and another in –Continuous mode.

Investigate by looking into MSdistribution_agents and MSdistribution_history table on distributor.



noeld
noeld
SSCrazy Eights
SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)

Group: General Forum Members
Points: 9524 Visits: 2048
You can have one agent per publication, so there is nothing new about this.

If you have multiple publications going into one subscriber you will see multiple distributor agents.

There could be misconfiguration issues also but you will have to check that out on the SQL Agent Jobs


* Noel
sandhyarao49
sandhyarao49
SSC Veteran
SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)

Group: General Forum Members
Points: 213 Visits: 650
Hi All,

Thanks for the reply.

We have single publisher to single subscriber replication.

I checked and found that the disributor agent job is scheduled to run once in every 15 mins and we have only one distrinutor agent job.

I found this issue last week.
But it is running fine.

Any ideas for the issue to occur occasionally.

By the way I have one more query.

Is there any way to find the no rows that is being transferred from publisher to subscriber.
Is this information is logged in any table of the distribution database.


Thanks,
Sandhya
dkhattar
dkhattar
Old Hand
Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)

Group: General Forum Members
Points: 337 Visits: 381
Look into
MSrepl_transactions
MSrepl_commands

looking info sp_browsereplcmds



noeld
noeld
SSCrazy Eights
SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)SSCrazy Eights (9.5K reputation)

Group: General Forum Members
Points: 9524 Visits: 2048
Just one clarification. publisher is a SERVER, publication is associated with a database.

- You can have MULTIPLE publications with ONE publisher and ONE database.
- In the same way you can have MULTIPLE Subscriptions coming from ONE Publication and ONE database...


* Noel
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