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

sql server replication

group:

Replication failed when destination tabel is using by runnable pro


Replication failed when destination tabel is using by runnable pro ericsson
12/21/2006 7:53:01 PM
sql server replication:
hi all,

my sql server has sp4 installed. i have two databases, D1 and D2. And the
transaction replication copys table D1.T1 to D2.T1 at 1:00pm everyday.

the problem is:
when some applications are continuously using table D2.T1, i mean those
processes are in runnable status. And then the replication starts and try to
copy data from D1.T1 to D2.T1, it will fail.

is there a way to work around this without having to kill those running
RE: Replication failed when destination tabel is using by runnable pro ericsson
12/21/2006 8:07:00 PM
btw, the server is running as a publisher, distributor and subscriber.
Database D1 and D2 are hosted on same server. The subscription type is a pull
subscription.

[quoted text, click to view]
Re: Replication failed when destination tabel is using by runnable pro Hilary Cotter
12/23/2006 9:51:43 PM
You have two options. You can run the distribution agent continually to
minimize the impact occurring at 1:00 pm, or you can schedule it to stop
around 12:50 pm and restart when the other processes are complete.

--
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: Replication failed when destination tabel is using by runnable ericsson
12/24/2006 2:18:00 AM
Hi Hilary,

Thank you for your information. i understand your words as: deliver
transactions only when no other processes are using table D2.T1, or using
continually transaction delivery, right?

Actually, it had been working perfectly with same configuration before i
upgraded the server from sp3 to sp4. Did anything related to replication be
changed in sp4?

[quoted text, click to view]
Re: Replication failed when destination tabel is using by runnable ericsson
12/24/2006 4:41:01 AM
Maybe you are right. I'll check it. Anyway, i'd like to know if transactions
can be delivered to a table which is BEING USED by applications simultaneity.

[quoted text, click to view]
Re: Replication failed when destination tabel is using by runnable Hilary Cotter
12/24/2006 7:06:57 AM
There were bug fixes, but none which has caused (AFAIK) this problem on
other systems. Perhaps you have another process running on your system at
1:00 am which is causing extra load on your system and the overall
degradation is causing this problem to occur.

--
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: Replication failed when destination tabel is using by runnable Paul Ibison
12/27/2006 7:50:15 PM
It is usually inevitable that there will be some blocking issues in this
circumstance. You can mitigate these by using NOLOCK or upgrading to SQL
Server 2005 and using the read committed snapshot isolation level.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .

AddThis Social Bookmark Button