all groups > sql server programming > december 2005 >
You're in the

sql server programming

group:

Transactional Repl


Re: Transactional Repl Hilary Cotter
12/25/2005 3:54:53 PM
sql server programming:
It looks like you have configured replication to replicate a max of 2 Gigs!

This should be ok, but ideally you should size this according to the largest
size of your text data.

Replicating text data does take some time, so what you are seeing might be
normal. Also check and see if replicating the execution of stored procedures
will work for you. This might work better than replicating pure text.

Regarding the deadlocks, run profiler or run sp_who2 on the subscribers to
see what process is causing the locking.

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

Transactional Repl Yaniv
12/25/2005 6:14:31 PM
Hi,

I recently updated an ntext column on a Publisher server and then found that
the data is replicated very slow, that is in the following days a few more
rows were added /replicated to the Pull Subscriber every day.

sp_configure shows the following output for the max text repl size:
max text repl size (B) 0 2147483647 2147483647 2147483647
---------

In addition I have directed some reports to the Pull Subscriber (for load
balancing purpose) and faced some deadloacks which I have not investigated
yet. But I would like to point that I never face those deadlocks with the
same Reports on my main server before I directed them to the replicated data
..

Is there any known issue with queries against Subscribers?



Thanks,
Yaniv

Re: Transactional Repl Hilary Cotter
12/26/2005 8:13:24 AM
Unfortunately this is a limitation with Transactional Replication. If at all
possibly use another mechanism to keep the tables in sync. For instance
remove the text column from your table article and use ADO or DTS to push it
over. This will only work if you do not need real time synchronization.

--
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: Transactional Repl Yaniv
12/26/2005 9:33:33 AM

I know I have configured repl for the max possible size. But if the text
column contains a string with let's say a LEN of 200 chars then 200 chars
needed to be replicated and not 2GB.

I do know the long delay relates to the data type because other updates not
involved with text /ntext do not take long to be replicated.


Yaniv


=============
[quoted text, click to view]

Re: Transactional Repl Hilary Cotter
12/26/2005 2:04:35 PM
You can replicate the execution of a stored procedure. Suppose the text DML
which occurs on your publisher occurs as the result of a store procedure,
sort of like this

p_MyProc @textdata ='In the beginning I was very small, the doctor slapped
my mother and not me. My father was anxious to change me; but little did I
know what he meant."

It is possible to replicate the proc so it fires on both sides (the
publisher and subscriber) with the same parameters and values.

This can offer better performance than replicating the actual underlying
DML.

--
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: Transactional Repl yanive
12/26/2005 7:56:23 PM
Thanks for your reply.

Yaniv
===============


[quoted text, click to view]

Re: Transactional Repl yanive
12/26/2005 7:59:42 PM
Hilary, I did not understand what you mean by that:
Also check and see if replicating the execution of stored procedures
will work for you. This might work better than replicating pure text.


Yaniv
======


[quoted text, click to view]

Re: Transactional Repl Yaniv
12/28/2005 2:17:33 PM
Got you, thanks.


===========
[quoted text, click to view]

AddThis Social Bookmark Button