Sync data between two remotely placed servers - sql-server-2008

I have two data servers which are placed remotely in different locations. One server is SQL Server 2008 R2 and the other one is SQL Azure.
SQL Server contains more than 50000000 records and I want to sync that data into the SQL Azure server.
What are the best ways to do so that we did not face following problems
Data loss
Duplications or data redundancy
Delays
Thanks in advance

You can use SQL Data Sync by installing the sync agent on your SQL Server 2008 R2 machine and point the agent to your SQL Azure database.
Check this link for all the details http://azure.microsoft.com/en-us/documentation/articles/sql-database-get-started-sql-data-sync/
Additionally, you can use an SSIS job on the SQL Server to copy the data to your SQL Azure database.

Related

SQL Server Linked server and DTSX

The architecture we are using is the following:
a.- 2 SQL Server servers.
b.- 1 SQL servers where is the integration server catalog (dtsx) and Jobs.
I need to execute from the SQL servers a stored procedure that executes one of the DTSX that is in the other server, I can perform this action by linked server.
But:
1.- If I execute via linked server in which server the execution is carried out? Will the performance of my SQL servers decrease?
2.- Is there another way to run dtsx and jobs that is not linked server?

how to do Data replication on MS SQL Linked server

We have created a MS SQL Linked server for a MYSQL database...I have a data replication questions related to linked server
1.Once a MS SQL Linked server is created between MYSQL and MS SQL,if we insert any new data into existing tables of MYSQL,does the data get automatically replicated to the MSSQL Linked server?
2.If we add new tables or columns how to data replication is handled between MYSQL and MS SQL linked server?is there an automated way to replicate data?
A linked server in SQL server simply provides you the capability to issue commands against a remote server. It does not mean any kind of replication will happen automatically for schema or data. As to how to actually accomplish replication between SQL Server and MySQL, the question has been asked and answered many times. As far as I know you will need to use a third party framework or roll something of your own via ETL, triggers, etc.
https://msdn.microsoft.com/en-us/library/ms188279.aspx
Replication from MySQL to MS SQL

Is it possible to Connecting MYsql with sql server?

I am using an open source software which support mysql and i create application that uses asp.net 4.0 and sql server 2008....
Is it possible to Connecting MYsql with sql server ?
I want every insertion and updating should be made to both database servers as they have same schema of tables but one is mysql and other is sql server 2008 ?
kindly explain step by step if possible
hope this will help,this shows step by step connection
http://www.codeproject.com/Articles/29106/Migrate-MySQL-to-Microsoft-SQL-Server
You can use linked server in MS SQL Server.
From the documentation - A linked server allows for access to distributed, heterogeneous queries against OLE DB data sources.
Have a look at sp_addlinkedserver function.

how to copy table data from sql server 2008 to sql server 2005 db?

does anyone know how to copy data from a sql server 2008 db to an sql server 2005 db? I tried to use the sql server export wizard to no avail:(
Here is a link to a tutorial that will walk you through generating scripts for a table including data. This is good for a once off operation.
Walk through on Scripting table with data
... this is very useful when you have many table that need to be scripted, but watch for the 2GB limit.
Try this:
1.If both the servers are in same network,create the linked server and use
select * into tblename from servername.dbname.dob.tblname
2.Or you can use SSIS to transfer the data
3.Use export wizard of sql server

MySql emulation running on Microsoft SQL 2008

We have an application that cannot be altered. The only configuration changes permitted on the application are : host ip, username and password.
The application streams data into a MySql database. Another application then sends this data onto a Microsoft SQL 2008 server.
I would like to remove this middle step and wondered if anyone knew of a way that Microsoft SQL Server 2008 could be configured to 'pretend' to be a MySql database?
Your help is very much appreciated.
Why 'send' the data to the SQL Server when you can just create a linked server?
It cannot be done. MySql and MSSQL are 2 completely different products with different connectionprotocols, a different SQL dialect, different behaviour at times and so on.
I'm sorry.