 |
|
 |
|
Next: Locking performance in SQL Server 2005
|
| Author |
Message |
External

Since: Feb 12, 2008 Posts: 1
|
(Msg. 1) Posted: Tue Feb 12, 2008 9:59 am
Post subject: SQL Server 2005 Transaction Replication and Failover Archived from groups: microsoft>public>sqlserver>replication (more info?)
|
|
|
We are testing Transactional replication from 2GB database to a
standby servers , one local and one across the wan. Transaction
replication is offering 1 - 3 seconds latency, which seems a great
improvement on our current log shipping which is set to every 3
minutes. Whilst we can increase the frequency to 1 minute,
transactional replication seems to be more resilient. Due to network
constraints we are using a backup of the production database to
perform the initial subscriber synchronisation.
We are now testing whether the replicated database can be enabled with
our application, i.e. to simulate a failover scenario by dropping the
subscription. I understand this will be a manual process. We have
encountered problems with identity columns, where the seed is still
set to the value when replication started and needs to be reset to the
max value. We have set triggers set to Not For Replication, but have
made no other database changes. All tables have primary keys. We do
not require updating at the replicated databases.
The questions I would like to ask are
1. Is transaction replication a viable alternative to log shipping as
a way of maintaining standby servers in the environment described
above?
2.. Are there any further steps we should carry out to make the
replicated database suitable for use as the primary database in a
failover scenario. >> Stay informed about: SQL Server 2005 Transaction Replication and Failover |
|
| Back to top |
|
 |  |
External

Since: Oct 09, 2005 Posts: 78
|
(Msg. 2) Posted: Tue Feb 12, 2008 10:06 am
Post subject: Re: SQL Server 2005 Transaction Replication and Failover [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
what you need to do is make the identity columns odd on one side, even
on the other, do a dbcc checkident to make sure the next value
asssigned on the odd side will be odd, and even on the other side.
Then make sure that the not for replication property is in place for
all identity columns.
On Feb 12, 12:59 pm, p....TakeThisOut@associateddynamics.com wrote:
> We are testing Transactional replication from 2GB database to a
> standby servers , one local and one across the wan. Transaction
> replication is offering 1 - 3 seconds latency, which seems a great
> improvement on our current log shipping which is set to every 3
> minutes. Whilst we can increase the frequency to 1 minute,
> transactional replication seems to be more resilient. Due to network
> constraints we are using a backup of the production database to
> perform the initial subscriber synchronisation.
>
> We are now testing whether the replicated database can be enabled with
> our application, i.e. to simulate a failover scenario by dropping the
> subscription. I understand this will be a manual process. We have
> encountered problems with identity columns, where the seed is still
> set to the value when replication started and needs to be reset to the
> max value. We have set triggers set to Not For Replication, but have
> made no other database changes. All tables have primary keys. We do
> not require updating at the replicated databases.
>
> The questions I would like to ask are
>
> 1. Is transaction replication a viable alternative to log shipping as
> a way of maintaining standby servers in the environment described
> above?
> 2.. Are there any further steps we should carry out to make the
> replicated database suitable for use as the primary database in a
> failover scenario. >> Stay informed about: SQL Server 2005 Transaction Replication and Failover |
|
| Back to top |
|
 |  |
External

Since: Mar 01, 2004 Posts: 640
|
(Msg. 3) Posted: Mon Feb 18, 2008 9:07 pm
Post subject: Re: SQL Server 2005 Transaction Replication and Failover [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
The simplest option is to set it up for queued updating subscribers. That
way you can assign a completely different range of identity values to the
subscriber and there will be no need for a manual process when failover
occurs. You can also use the queue reader agent to sync back to the
publisher when it comes up, or alternatively just remove replication from
the subscriber. Also, if you need to reinitialize at any time, there is no
need to use custom scripts to generate the subscriber's schema.
Rgds,
Paul Ibison (www.replicationanswers.com) >> Stay informed about: SQL Server 2005 Transaction Replication and Failover |
|
| Back to top |
|
 |  |
External

Since: Sep 25, 2010 Posts: 1
|
(Msg. 4) Posted: Sat Sep 25, 2010 12:25 pm
Post subject: Replication between 64 and 32 bit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Can replication be setup between SQL Server 2005 64bit and 32bit? I want the 32bit machine to be the failover database. Thanks in advance for your reply.
> On Wednesday, February 13, 2008 8:25 PM pa wrote:
> We are testing Transactional replication from 2GB database to a
> standby servers , one local and one across the wan. Transaction
> replication is offering 1 - 3 seconds latency, which seems a great
> improvement on our current log shipping which is set to every 3
> minutes. Whilst we can increase the frequency to 1 minute,
> transactional replication seems to be more resilient. Due to network
> constraints we are using a backup of the production database to
> perform the initial subscriber synchronisation.
>
> We are now testing whether the replicated database can be enabled with
> our application, i.e. to simulate a failover scenario by dropping the
> subscription. I understand this will be a manual process. We have
> encountered problems with identity columns, where the seed is still
> set to the value when replication started and needs to be reset to the
> max value. We have set triggers set to Not For Replication, but have
> made no other database changes. All tables have primary keys. We do
> not require updating at the replicated databases.
>
> The questions I would like to ask are
>
> 1. Is transaction replication a viable alternative to log shipping as
> a way of maintaining standby servers in the environment described
> above?
> 2.. Are there any further steps we should carry out to make the
> replicated database suitable for use as the primary database in a
> failover scenario.
>> On Wednesday, February 13, 2008 8:25 PM Hilary Cotter wrote:
>> what you need to do is make the identity columns odd on one side, even
>> on the other, do a dbcc checkident to make sure the next value
>> asssigned on the odd side will be odd, and even on the other side.
>> Then make sure that the not for replication property is in place for
>> all identity columns.
>>
>> On Feb 12, 12:59=A0pm, p... RemoveThis @associateddynamics.com wrote:
>> ing as
>>> On Monday, February 18, 2008 4:07 PM Paul Ibison wrote:
>>> The simplest option is to set it up for queued updating subscribers. That
>>> way you can assign a completely different range of identity values to the
>>> subscriber and there will be no need for a manual process when failover
>>> occurs. You can also use the queue reader agent to sync back to the
>>> publisher when it comes up, or alternatively just remove replication from
>>> the subscriber. Also, if you need to reinitialize at any time, there is no
>>> need to use custom scripts to generate the subscriber's schema.
>>> Rgds,
>>> Paul Ibison (www.replicationanswers.com)
>>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>>> ComponentOne Studio for ASP.NET AJAX - Free License Giveaway
>>> http://www.eggheadcafe.com/tutorials/aspnet/ce98ce1f-2b5d-4ec8-b6d5-a1...651514e >> Stay informed about: SQL Server 2005 Transaction Replication and Failover |
|
| Back to top |
|
 |  |
External

Since: May 05, 2010 Posts: 3
|
(Msg. 5) Posted: Sat Sep 25, 2010 12:25 pm
Post subject: Re: Replication between 64 and 32 bit [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
There are no issues with having a mixed environment for the purposes
of replication.
--
Ben
On Sep 25, 11:34 am, Louis Scherr wrote:
> Can replication be setup between SQL Server 2005 64bit and 32bit? I want the 32bit machine to be the failover database. Thanks in advance for your reply.
>
> > On Wednesday, February 13, 2008 8:25 PM pa wrote:
> > We are testing Transactional replication from 2GB database to a
> > standby servers , one local and one across the wan. Transaction
> > replication is offering 1 - 3 seconds latency, which seems a great
> > improvement on our current log shipping which is set to every 3
> > minutes. Whilst we can increase the frequency to 1 minute,
> > transactional replication seems to be more resilient. Due to network
> > constraints we are using a backup of the production database to
> > perform the initial subscriber synchronisation.
>
> > We are now testing whether the replicated database can be enabled with
> > our application, i.e. to simulate a failover scenario by dropping the
> > subscription. I understand this will be a manual process. We have
> > encountered problems with identity columns, where the seed is still
> > set to the value when replication started and needs to be reset to the
> > max value. We have set triggers set to Not For Replication, but have
> > made no other database changes. All tables have primary keys. We do
> > not require updating at the replicated databases.
>
> > The questions I would like to ask are
>
> > 1. Is transaction replication a viable alternative to log shipping as
> > a way of maintaining standby servers in the environment described
> > above?
> > 2.. Are there any further steps we should carry out to make the
> > replicated database suitable for use as the primary database in a
> > failover scenario.
> >> On Wednesday, February 13, 2008 8:25 PM Hilary Cotter wrote:
> >> what you need to do is make the identity columns odd on one side, even
> >> on the other, do a dbcc checkident to make sure the next value
> >> asssigned on the odd side will be odd, and even on the other side.
> >> Then make sure that the not for replication property is in place for
> >> all identity columns.
>
> >> On Feb 12, 12:59=A0pm, p... RemoveThis @associateddynamics.com wrote:
> >> ing as
> >>> On Monday, February 18, 2008 4:07 PM Paul Ibison wrote:
> >>> The simplest option is to set it up for queued updating subscribers. That
> >>> way you can assign a completely different range of identity values to the
> >>> subscriber and there will be no need for a manual process when failover
> >>> occurs. You can also use the queue reader agent to sync back to the
> >>> publisher when it comes up, or alternatively just remove replication from
> >>> the subscriber. Also, if you need to reinitialize at any time, there is no
> >>> need to use custom scripts to generate the subscriber's schema.
> >>> Rgds,
> >>> Paul Ibison (www.replicationanswers.com)
> >>> Submitted via EggHeadCafe - Software Developer Portal of Choice
> >>> ComponentOne Studio for ASP.NET AJAX - Free License Giveaway
> >>>http://www.eggheadcafe.com/tutorials/aspnet/ce98ce1f-2b5d-4ec8-b6d5-a.... >> Stay informed about: SQL Server 2005 Transaction Replication and Failover |
|
| Back to top |
|
 |  |
| Related Topics: | Transaction Replication from SQL 2005 / 2008 to MySQL - Hey, I've been investigating the possible way of getting transactional replication from SQL 2005 or now SQL 2008 to MySQL working, and have not been able to do this. In SQL 2000 I was able to get this up and runnign but there was a documented problem..
break one replication transaction into multiple transactio.. - Right now, tied to a particular xact_seqno within msrepl_commands, we have around a million + commands that consumes a lot of CPU resources when the distribution agents are all contending to push the underlying commands out to the subscribers. Is..
Maximum Articles for Transaction Replication SQL 2000 and .. - Hello, We are planing to implement transaction replication for 800 DB on SQL 2000 custer (as a publisher) and have seperate servers for Distribution and Subscriber. What is the maximum nnumber of articles I can have per DB. What are the capacity..
Transaction Replication - Hello guys, I am using SQL2000, and want to set up the transaction replication. Is is ok to setup the simple mode on my publisher database? Thanks, Tomas
issues with triggers in transaction replication - Hi, I am making of sql 2005 - transaction replicaton. data flows from the publisher to the subscriber - staging tables. From the staging tables we want the data to move to the transaction tables at the subscriber end. We are moving the data to the.. |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|