Re: Transactional Replication Timeout Problems

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Boze (andre.beauzec_at_hotmail.com)
Date: 02/19/04


Date: Thu, 19 Feb 2004 14:05:59 +0200

Hi,

We were experiencing the exact same problem on a table of the same size. We
found that logging and increasing the timeout value provided no help. We
used profiler and discovered that once the distribution agent had completed
copying across all the rows in the table, it was then trying to update the
subscriber with all the transactions that had occurred since the snapshot
was taken. Our db's are extremely busy and there were just too many
transactions for it to ever catch up. We also noticed that indexes are not
properly created on the table on the subscriber until all the transactions
have caught up. This obviously does not help the catch up process.

The solution was simple. We stopped all the jobs that were updating the
table giving problems. Then we added the table as an article and then we ran
the snapshot. Following this process the table replicated without a problem
and the error, 'The process is running and is waiting for a response from a
backend connection', was gone.

"Simon" <x_3n@hotmail.com> wrote in message
news:BBA7FD73-3BE0-4B3E-91AC-7DAB0F44A7B7@microsoft.com...
> I have a large table (approx 43million rows) which I need to replicate.
The problem I am getting is that after going through the replication process
(Setup Publication>Snapshot>Bulk Copy) the distribution agent then just sits
there with the message 'The process is running and is waiting for a response
from a backend connection'.
>
> I have tried to rectify this by increasing the Query Timeout in the agent
profile to 3600000 so if there is ever going to be a response I will still
be waiting for it. So far the agent has been waiting for the response for
3hrs 30mins.
>
> Could anyone shed any light on this message or come up with a solution for
replicating the table (it has to be transactional replication with the
minimum amount of latency for reporting purposes) ?



Relevant Pages

  • Replication error after SP3 + CU 10 - SQL2005 (Merge)
    ... After run SP3 e Cumulative Update 10 on SQL-Server 2005 is occurring error in the replication. ... The process is waiting for a response from the query '{call sys.sp_MSgetmetadatabatch90new ...
    (microsoft.public.sqlserver.replication)
  • Re: Replication error after SP3 + CU 1 - SQL2005 (Merge)
    ... After run SP3 e Cumulative Update 10 on SQL-Server 2005 is occurring error in the replication. ... The process is waiting for a response from the query '{call sys.sp_MSgetmetadatabatch90new ...
    (microsoft.public.sqlserver.replication)
  • Merge replication issue
    ... I'm running SQL merge replication between two servers. ... "The process is running and is waiting for a response ...
    (microsoft.public.sqlserver.replication)
  • Re: who persists awkwardly, when Alice elects the raw hope in the interior
    ... rams unless Lisette will else throw afterwards. ... follow internal and delays our associated, ... Otherwise the waiting in Faris's beast might tap some easy cylinders. ... flee at present the bulb in response to the architecture. ...
    (sci.crypt)
  • Re: Merge versus Two Way, Bidirectional Transactional Replication
    ... ranges are blown and transactions are kicked back and lost. ... Looking for a SQL Server replication book? ... You can restore a publisher or subscriber without ...
    (microsoft.public.sqlserver.replication)