Hi.
I've had problems similiar to this one but unfortunately I don't think there is any one solutions to it. There are too many factors involved. Replication was actually working but working so slow it seemed stuck.
I would take a good long look at what the RepServer is trying to accomplish in the replicates by sp_showplan. Perhaps it's getting stuck due to bad indexes, which cuases a table scan, which causes it to block other processes.
Have you run update stats lately?
Are the replicates identical in all respects? (Hardware/OS/ASE ... etc)
Are all replicated databases Warm Standby setups or are you using definitions/subscriptions?
Regards.
//Fredrik Berglin
--
------------------------------------------------------
Read the source, Luke.
------------------------------------------------------
Fredrik Berglin fredrik...@commentor.nospam.se
Commentor AB Tel: 031 - 701 19 00
Pusterviksgatan 3-9 Cell: 0707 - 48 64 08
413 01 Göteborg Fax: 031 - 711 51 25
------------------------------------------------------
> Cindy Hodgins wrote:
>> [quoted text muted]
>
> Hi.
>
> I've had problems similiar to this one but unfortunately I don't think
> there is any one solutions to it. There are too many factors involved.
> Replication was actually working but working so slow it seemed stuck.
>
> I would take a good long look at what the RepServer is trying to
> accomplish in the replicates by sp_showplan. Perhaps it's getting stuck
> due to bad indexes, which cuases a table scan, which causes it to block
> other processes.
Yep - I've had the same thing, a delete on an unindexed table (yes, stupid
of me) that I ran in a loop on the primary, and which just filled up the
stable queue because the standby needed to do a table scan for each row
that was being deleted.
Michael
--
Michael Peppler Data Migrations, Inc.
mpep...@peppler.org http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html
Cindy Hodgins wrote:
> I have a Rep Server 12.0 that replicates one small database to multiple
> servers, all ASE 12.0. No problems till today. Replication appears to
> be stuck for all but two replicate databases, and replication is flowing
> for those two. admin who,sqt returns the same numbers so I know it's
> not working. At least two of the replicate servers (of course it's the
> two most important servers, one being production, the other our major
> test system) are showing blk_spid with the repsrvr id. It's causing
> problems on that test system, and I'm already worried that I'll find out
> it's causing problems on production. I can find no errors in any sybase
> logs, and bouncing the entire repserver machine didn't help. I even
> tried bouncing our major test system machine, to no avail. Any ideas
> are GREATLY appreciated. Thanks.
>
> Cindy
>
Hadn't thought about that. I'll definitely check.
>>
>> Yep - I've had the same thing, a delete on an unindexed table (yes,
>> stupid
>> of me) that I ran in a loop on the primary, and which just filled up the
>> stable queue because the standby needed to do a table scan for each row
>> that was being deleted.
>>
>> Michael
>> --
>> Michael Peppler Data Migrations, Inc.
>> mpep...@peppler.org http://www.mbay.net/~mpeppler
>> Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for
>> short or long term contract positions -
>> http://www.mbay.net/~mpeppler/resume.html
>>
> Might be a good idea to do a sp_showplan <spid>,null,null,null on the
> replicate ASE server to see if the maint user is doing table scans.
>
Will do. And it somehow got through its bottleneck last night after I
posted this. And the problem hasn't reoccurred, though I'm of course
concerned it will.
Also, ASE and the OS are the same for primary and all replicates, but
the hardware is vastly different from one to another.
Cindy
admin who_is_down has shown the rep agent to be down a couple of times
during this mess, but I don't know why. I didn't stop the rep agent,
and there are no messages in the logs. But it will start back up with a
sp_start_rep_agent.
admin who,sqt also returns a 1 for SQM Blocked for the primary database.
Trying to do a suspend connection, for example, just hangs. But if I
bounce replication server, then when it comes back up the suspend
connection will have worked. And when it first comes up, admin who,sqt
returns all zeros, but after you do it about 30 seconds, it shows no
progress, and shows st:C on all the replicates.
Thanks.
Cindy
Cindy
"Peter Simandl" <pet...@volny.cz> wrote in message
news:3F161E5C...@volny.cz...
Wolfgang Kunk
RTL Television
Cindy Hodgins schrieb: