Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 859
  • Last Modified:

Syncing data between 2 SQL server databases in real time

Hi,
I have a big SQL Server 2008 R2 database that serve an application.
For some purpose, i would like to know if i can have some of this database tables (about 3 or 4) in another SQL Server database on another SQL server (SQL server 2012).
Of course, the tables will have the exact same structure but most importantly i like them to have the same data and in real time.
For instance, if a user is using the application to make some transaction, he would be writing some data in the main database,
Is it possible to have these data written also in the replica database after a small period of time (seconds or minutes...)?
If yes, what are the possibilities?

Thanks a lot
0
Nyana22
Asked:
Nyana22
  • 3
2 Solutions
 
Aneesh RetnakaranDatabase AdministratorCommented:
if you want the exact copy of your table on the other server, try replication.
0
 
Aneesh RetnakaranDatabase AdministratorCommented:
otherwise you can create alinked server and explictly write the contents to the other table from your application
0
 
Nyana22Author Commented:
thanks aneeshattingal for your quick answer,
I cannot acces the application, it's a bought app...
Can i just replicate some of the table and not the whole database?
0
 
tjc123IT DirectorCommented:
Replication will give you real time data transfer between SQL servers.  This, of course, depends on the networking configuration between the two servers, but assuming they are on the same network, any updates to the databases/tables on the primary SQL server are replicated to the subscribing SQL server as they happen.  This is a good practice for an environment that runs reporting (Crystal, for example) applications to pull their reporting data off of the replicated SQL server and not the primary, helping to offload the transactions hitting production.
0
 
Aneesh RetnakaranDatabase AdministratorCommented:
>Can i just replicate some of the table and not the whole database?
Yup, you can choose the  objects to be replicated;
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now