dbTalk Databases Forums  

High CPU caused by Merge Agent

microsoft.public.sqlserver.replication microsoft.public.sqlserver.replication


Discuss High CPU caused by Merge Agent in the microsoft.public.sqlserver.replication forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris
 
Posts: n/a

Default High CPU caused by Merge Agent - 12-23-2006 , 12:17 PM






SQL2005 Win2003 Server

Merge agent is causing a cpu spike on subscriber each time it fires. Calling
sys.sp_MSenumgenerations90

This just started. Merge has been running well for about 1 month. Merge
agent fires on 1 minute schedule, normal execution time is about 20-40
seconds. Now it is taking almost 2 minutes to execute. Have about 30 tables
in merge, 10 of which have about 1+Mill records.

Is there a maintenance step I am missing?

tia,
chris

Reply With Quote
  #2  
Old   
Hilary Cotter
 
Posts: n/a

Default Re: High CPU caused by Merge Agent - 12-23-2006 , 08:38 PM






How big are your msmerge_tombstone and msmerge_contents? If they are large
you might want to prune them using sp_mergecleanupmetatdata

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



"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote

Quote:
SQL2005 Win2003 Server

Merge agent is causing a cpu spike on subscriber each time it fires.
Calling
sys.sp_MSenumgenerations90

This just started. Merge has been running well for about 1 month. Merge
agent fires on 1 minute schedule, normal execution time is about 20-40
seconds. Now it is taking almost 2 minutes to execute. Have about 30
tables
in merge, 10 of which have about 1+Mill records.

Is there a maintenance step I am missing?

tia,
chris



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.