Solved

How to mirror tables between 2 mssql 2005 databases on 2 diffrent servers?

Posted on 2009-04-06
8
514 Views
Last Modified: 2012-05-06
How do i mirror a few tables in one database to another database on another server? Is it possible or do i have to do some kind of sync between them?
0
Comment
Question by:gobbalobba
  • 3
  • 2
8 Comments
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24075664
Do you want mirroring for tables? not for complete database? if that is the case than you should go for replication.
0
 

Author Comment

by:gobbalobba
ID: 24075672
yes between tables. How do i set up replication?
0
 
LVL 31

Accepted Solution

by:
RiteshShah earned 500 total points
ID: 24075681
mirroring will make mirror of full database, if you need table based solution than I would suggest replication. If you like to see more about creating replication than do have a look at below URLs

http://www.exforsys.com/tutorials/sql-server-2005/sql-server-configuring-replication.html

http://www.informit.com/articles/article.aspx?p=601350

http://www.mssqltips.com/tip.asp?tip=1451
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:gobbalobba
ID: 24075726
nice!
Ill follollow the guides and probobly will get it goin. One question thou, is it sharing thrtough a smb share so that i need to open in the fw between them for smb? or is it purely sql port that is needed?
0
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24075739
SQL port will do.
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24076028
If you want to keep two tables in two different databases to be in sync, then the simplest way is to have triggers for INSERT, UPDATE and DELETE statements in the Main Server to have it reflected in the Destination Server.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question