Re: transactional replication problem
From: Hilary Cotter (hilary.cotter_at_gmail.com)
Date: 09/23/04
- Next message: Hilary Cotter: "Re: replicating 9 tables that = 200gb. How to get around the snapshot from locking db"
- Previous message: Hilary Cotter: "Re: Replication problem"
- In reply to: OJ: "transactional replication problem"
- Next in thread: OJ: "Re: transactional replication problem"
- Reply: OJ: "Re: transactional replication problem"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 18:04:17 -0400
If the distribution agen can't connect to the subscriber, and yet you can
connect to the subscriber manually, through QA or something similar, there
is a probelm with the distribution agent - probably resource depletion. I'd
try to reboot the subscriber or publisher to see if this clears the problem.
The blocking problem doesn't sound normal. I am wondering if perhaps it is
blocking itself while updating one of the system tables. Can you run sp_lock
to try to determine which table(s) it is locking on?
If you have a series of commands in a transaction, all of the commands will
be wrapped in a single transaction. If you have cascading deletes/updates
the lock will be held on both the parent and child table until both commands
complete and the entire transaction is committed.
Are these tables related in any way?
-- Hilary Cotter Looking for a SQL Server replication book? http://www.nwsu.com/0974973602.html "OJ" <anonymous@discussions.microsoft.com> wrote in message news:027a01c4a1af$f9d1c700$a501280a@phx.gbl... > Hi, > I have two-way transaction replication. Set of tables from > several databases is being replicated from server A to > server B. Problem is with only one database. Everything > was working OK until today. Log Reader agent failed, and > when I restarted log reader job of this database (always > solved the problem before), distribution agent is in > status Running (Last action: Connecting to Subscriber), > and after a while it gets general network error. > There is network connectivity (all other databases > replicate OK, from both sides), so network is not a > problem. Everything was working OK for several months, and > whenever we had network issues between these two servers, > restart of the jobs was enough. > I also noticed something strange that might be causing > this problem: In current activity, there is always one > process (stored procedure for insert into one of the > tables of that database, called by replication), that > blocks another one (also stored procedure for insert into > DIFFERENT table of the same database, called by > replication). These 2 stored procedures/tables don't have > anything with each other! Therefore, they shouldn't be > blocking one another: one inserts into one table, and > second one into different table!!! > Both servers are sql server 2000, sp3... Network > connection between is WAN. > Thanks in advance, > OJ
- Next message: Hilary Cotter: "Re: replicating 9 tables that = 200gb. How to get around the snapshot from locking db"
- Previous message: Hilary Cotter: "Re: Replication problem"
- In reply to: OJ: "transactional replication problem"
- Next in thread: OJ: "Re: transactional replication problem"
- Reply: OJ: "Re: transactional replication problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|