all groups > sql server replication > december 2004 >
You're in the

sql server replication

group:

Merge Replication Performance Issues/Trace Files


Merge Replication Performance Issues/Trace Files SandiDBA
12/28/2004 12:23:06 PM
sql server replication: We have a merge replication configuration with the distributor and subscriber
on one server and the publisher on another. The performance of the merge
slows down more and more as runs. The bandwidth between servers has already
been ruled out because there they run on a Sonet ring and T3 line between
them. We put SQL Profiler trace on the subscriber end of the merge process
using textdata and duration to try to pin point it down to the source of the
problem. However, the Textdata column has unreadable data, for instance

exec([sp_upd_4FAB988B754745CDECFA93F09EC34073]
'8D8EF6A0-8EDA-4C71-934F-0FAE3E79AFFE',
0x0000000000000000000000000080070000000000000000000000000000000000, 3, 0x00,
296, 0xECFA93F002000000FF,
0xECFA93F001000000ECFA93F001000000ECFA93F001000000ECFA93F00100000

Does anyone know if there is any way to translate this into the actual query
executed? Otherwise, I don't see how this helps. I got the trace setup
Re: Merge Replication Performance Issues/Trace Files Hilary Cotter
12/28/2004 3:56:20 PM
This update proc is being run in binary format.

run this query in your subscription database
select name from sysmergearticles where update_proc
='sp_upd_4FAB988B754745CDECFA93F09EC34073'

to determine which table it is updating.

Basically here are the parameters

Rowguid=0x0000000000000000000000000080070000000000000000000000000000000000,
metadata_type=3,
lineage_old=0x00,
generation=296,
lineage_new=0xECFA93F002000000FF,
colv= 0xECFA93F001000000ECFA93F001000000ECFA93F001000000ECFA93F00100000

Then there should be a bunch of parameters whose values you have not
supplied me with

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
[quoted text, click to view]

Re: Merge Replication Performance Issues/Trace Files SandiDBA
12/29/2004 7:15:04 AM
Thanks so much, that helps. Do you also know where can I translate the
index being used for the update?

[quoted text, click to view]
Re: Merge Replication Performance Issues/Trace Files SandiDBA
12/29/2004 7:50:28 AM
The update statement must have a where clause in it. I would like to know
what columns the where clause use to find the row to update. Then from
there, determine if an index is being used for optimization.

[quoted text, click to view]
Re: Merge Replication Performance Issues/Trace Files Hilary Cotter
12/29/2004 10:18:50 AM
What index?

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
[quoted text, click to view]

Re: Merge Replication Performance Issues/Trace Files Hilary Cotter
12/30/2004 12:39:43 PM
use the index tuning wizard to help you determine this.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
[quoted text, click to view]

AddThis Social Bookmark Button