Showing posts with label replication. Show all posts
Showing posts with label replication. Show all posts

Friday, March 30, 2012

scheduling snapshot and synchronization is missing on the generate scripts

hello all,

i need to bring down the entire replication solution

but just before i do that i need to script. The EM has a generate script feature

but it lacks the schedule for snapshot generation and synchronization

by the way,

whats the fastest way of melting the entire replication solution and

then brinnging them back again.

Can i do replication backup and restore?

regards,

joey

use <published db name>

exec sp_removedbreplication <published db name>

go

use master

sp_dropdistributor 1

go

You can use sp_removedbreplication on the subscriber database as well, and if you have a remote distributor, you can run sp_dropdistributor 1 to remove the distributor.

After that, you can apply your scripts.

sql

Wednesday, March 28, 2012

Scheduling of snapshot agent

I have replicated a database as a snapshot replication. I have
scheduled distribution agent to run at the interval of one hour daily
from 9:00 AM to 5:30 PM. Do i also need to schedule snapshot agent
accordingly? What will be optimal schedule depending on the scheduling
of distribution agent?
Quick reply will be appreciated
Ali Raza Rajput
Database Administratoryes you have to configure the snapshot agent to run
before synchoronization runs otherwise no data will be updated
--
thanks,
joey
"perhiyar" wrote:

> I have replicated a database as a snapshot replication. I have
> scheduled distribution agent to run at the interval of one hour daily
> from 9:00 AM to 5:30 PM. Do i also need to schedule snapshot agent
> accordingly? What will be optimal schedule depending on the scheduling
> of distribution agent?
> Quick reply will be appreciated
> Ali Raza Rajput
> Database Administrator
>|||Thanks for reply joeydj
I am monitoring the snapshot agent and distribution agent.I have
noticed the latency for distribution agent upto 352373 (msec) on LAN.
I think it is abnormal what do you say?
Ali Raza Perhiyar
joeydj wrote:
> yes you have to configure the snapshot agent to run
> before synchoronization runs otherwise no data will be updated
> --
> thanks,
> --
> joey
>
> "perhiyar" wrote:
>sql