SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Redundancy in SQL Server


Redundancy in SQL Server

Author
Message
rush2abhijit
rush2abhijit
SSC-Enthusiastic
SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)

Group: General Forum Members
Points: 169 Visits: 132
I want to develop a redundant system.For achieving this I have two machines(SYS1 and SYS2) each having SQL Server 2008 database,and my application running over it.This application connects to the SQL Server instance present on that machine.At a given point of time only one of the system is active and other passive.Both the database are true copy of each other.

In the active machine(SYS1) database transactions are made.I want these transactions to be replicated on the passive server(SYS2) whenever it is available.Similarly whenever the active server becomes passive(SYS1) and the passive becomes active(SYS2) the transaction done on SYS2 be replicated on SYS1 in real-time.

Will Transaction-Replication be a suitable method to achieve this?I want to achive this by using CODE or T-SQL as the databases and tables are dynamically created .
GilaMonster
GilaMonster
SSC Guru
SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)

Group: General Forum Members
Points: 415910 Visits: 47141
Have a look at database mirroring. It looks, from your requirements, that it would be a closer fit than replication

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


rush2abhijit
rush2abhijit
SSC-Enthusiastic
SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)SSC-Enthusiastic (169 reputation)

Group: General Forum Members
Points: 169 Visits: 132
Thanks..i had read about database mirroring but was quiet confused between mirroring and replication.Your confirmation to implement database mirroring will help me ... i will give it a try
GilaMonster
GilaMonster
SSC Guru
SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)SSC Guru (415K reputation)

Group: General Forum Members
Points: 415910 Visits: 47141
Mirroring is more an 'automated' logshipping than it is similar to replication.

Replication (transactional) will give you a second server that's fully usable (read and write) that is slightly behind the publisher. There's no easy way to reverse the direction of the replication. It requires manual work to drop the existing publication and subscription and recreate in the opposite direction.

Mirroring gets you a secondary database that's inaccessible but is up to date (synchronous mirroring) or nearly up to date (asynchronous mirroring) with the primary. Changing which is active is very easy, it's a single command.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search