Groups | Blog | Home
all groups > sql server replication > october 2007 >

sql server replication : Merge Performance


Jon
10/1/2007 11:43:02 AM
Scenario:
I work for a company that is implementing a large-scale disconnected PDA
application. We are using merge replication. We have 204 articles, about
100 of which are bidirectional. Of these 100, about 50 are filtered using
joins. Currently, partitioned snapshots take about 2 minutes each to
complete. The initial database size is about 50mb and takes about 30 minutes
to initialize a subscriber. After this, syncs are generally fast, taking
about 2 minutes to complete hundreds of rows.

Questions:
1.) What can we do to improve performance of the filters?
2.) Sometimes generation evaluation can cause follow-up syncs to take 5-10X
longer. Any ideas why?

Hilary Cotter
10/1/2007 3:02:38 PM
Generally the more shallow the joins the better performance. Make sure you
have indexes on the filters as well.

Set the retention period to something small to minimize your sync times.

There is something very wrong with taking 30 minutes to initialize a
subscriber. Do you generate your snapshot frequently?

--
RelevantNoise.com - dedicated to mining blogs for business intelligence.

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]

Giorgio
10/2/2007 6:41:01 AM
Hilary,
Can you please help me with my posting on the 27/09/2007 "Urgent help with
replication and data filtering"?
Thanks

[quoted text, click to view]
Jon
10/2/2007 9:44:01 AM
Hilary,

Because of the large database size on the PDA (about 61mb), initial syncs
take 30 minutes (although the new device has reduced that time to about 20
mins). I'm not really sure what else we can do to reduce that time. The
bulk of the time appears to be a result of applying a massive amount of rows
on such a small device.

Another question, I noticed that the recgen is very behind the sentgen for
all subscribers, even those who have synced recently, successfully. Is this
normal?

Thanks,

Jon

[quoted text, click to view]
Hilary Cotter
10/2/2007 12:08:55 PM
that's a hard one. I'll try to get to it today:)

--
RelevantNoise.com - dedicated to mining blogs for business intelligence.

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]

Jon
10/8/2007 8:20:00 AM
Bump for response.

[quoted text, click to view]
Hilary Cotter
10/9/2007 12:50:11 PM
Oops sorry man.

Some folks build local sdf and then ftp it to the pda to get around this.

Can you perhaps email me offline and I'll have a quick look at your topology
and see if I can figure out what is going on and escalate it to Microsoft if
necessary.

Use the gmail address I post from.

--
RelevantNoise.com - dedicated to mining blogs for business intelligence.

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]

AddThis Social Bookmark Button