Re: Major Latency problems

From: frankm (frankm_at_nospam.postalias)
Date: 07/02/04


Date: Fri, 2 Jul 2004 11:52:23 -0500

Ok, you're asking me to alter a stock replication system table.
I need to understand the ramifications of this. It seems to me that this is
not good practice.
Why is the latency figure in replication monitor not useful?

"Hilary Cotter" <hilaryk@att.net> wrote in message
news:etebTUEYEHA.2972@TK2MSFTNGP12.phx.gbl...
> The most critical part of this discussion is how are you measuring
latency?
>
> Can you run this script for me.
>
> on your guinea pig subscriber in your subscription database run this
>
> alter table MSreplication_subscriptions
> alter column time datetime
>
> then on your publisher issue the following in your master database
>
> sp_serveroption 'GuineaPigServerName','data access','true'
>
> and then in your distribution database run the following
>
> select time, entry_time from
>
GuineaPigServerName.SubscriberDatabaseName.dbo.MSreplication_subscriptions,
> msrepl_transactions
> where transaction_timestamp=xact_seqno
>
> This will tell you the current latency on your subscriber. You might want
to
> do this for all subscribers,
>
>
> --
> Hilary Cotter
> Looking for a book on SQL Server replication?
> http://www.nwsu.com/0974973602.html
>
>
> "frankm" <frankm@nospam.postalias> wrote in message
> news:u6K6saDYEHA.384@TK2MSFTNGP10.phx.gbl...
> > Scenario is:
> > Publisher database on 16way/8gb box, distributor on 4way/4GB
(standalone),
> 7
> > subscribers (used as reporting - not updateable), continuous
> transactional
> > replication. The storage is a new EMC DMX3000.
> > During working hours, the latency increases almost continually to a
point
> > that it will be 1 - 3 hours on latency, there are some small drops in
> > milliseconds (100-6000) but the curve is almost linear - up. At least 3
of
> > the subscribers will increase latency even with no users on (these
servers
> > are used only for the 1 reporting database each). We just added a new
> > subscriber (7) that is a 64bit / some Solid State disk and it is in the
> 2-20
> > second latency (the ~20 seconds are very short duration). I am doing
index
> > defrag nightly with update stats and "Auto Update Statistics" turned
off.
> > The filesystems are defraged. Most of the files are on their own volumes
> > (logs - data - indexes), tempdb is on it's own volume and is broken up
to
> 10
> > files 2GB. Each file is oversized so as not to incur growth costs.
Queue
> > lengths generally spike in the 5-10 range (perfmon - spikes - not
> > continuous) and spread across multiple disks so the queue lengths are
> > effectively near 0. On the subscriber agents; I have
> > added -OutputVerboseLevel 0 -HistoryVerboseLevel 1 to the command line.
> >
> > I have watched this for at least 3 months now and cannot attribute the
> > problem to anything.
> > Right now I have picked one machine / subscriber to use as my guinea
pig.
> >
> > Any help - pointers - etc would be very much appreciated.
> >
> > frankm
> >
> >
>
>



Relevant Pages

  • Re: Major Latency problems
    ... replication monitor is because they are occasionally wrong. ... represent cumulative values since the last time the distribution agent ... Replication monitor latency is 1 ... you're asking me to alter a stock replication system table. ...
    (microsoft.public.sqlserver.replication)
  • Re: transaction replication question.
    ... Checking this table at the subscriber easily gives you the latency of the replication. ... Any method/ suggestion to keep track on the latest replication time ...
    (microsoft.public.sqlserver.replication)
  • Re: trans repl slow over wan
    ... I take it your agent is running continuously. ... time the transaction was written to the subscriber since the agent last ran. ... To get an idea of latency copy a file of a known size across the link to see ... Looking for a SQL Server replication book? ...
    (microsoft.public.sqlserver.replication)
  • Re: Major Latency problems
    ... Point 1 - Alter Table ... ... Point 2 - Latency Figures ... ... SERVER NULL NULL LOGIN NULL NULL NULL NULL NULL repl_distributor ... > replication monitor is because they are occasionally wrong. ...
    (microsoft.public.sqlserver.replication)
  • Re: Replacing Merge Objects
    ... you just alter the view on the publisher then reinitialize. ... will remove the replication flag and then allow the article to be dropped ... you tried manually to alter the view on the subscriber. ... Paul Ibison SQL Server MVP, ...
    (microsoft.public.sqlserver.replication)

Loading