473,387 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Database transfer via web service question

I already spent some time thinking for a solution for my problem, but finally
can't decide what would be the most optimal and correct solution. Therefore I
post my question to this forum, to get your opinion.
On a regular basis (eg every 10 minutes or after user initiation) the
content of several MySQL database tables (on a pc/laptop client) need to be
transfered (over the Internet) (synced) with a SQL Server 2005 db (hosted on
a server) with the exact same structure as the MySQL tables. The size
of/number of rows of the different MySQL tables to be transfered is not that
impressive. Since the source MySQL db is the db of a third party application
I prefer not to add/change anything in this db, thus i want to only
reading/querying this db. The data that needs to be transfered is no
sensitive data security wise. My concern is also eventually a lost Internet
connection so that the db's are out of sync.

I see several possibilities to achieve this but to my opinion I think using
a web service, option 1 hereunder, would be the most interesting one:

1. passing a DataSet (of all the tables of the db that everytime needs to be
transfered at once) from the client to a webservice on the server where SQL
Server 2005 resides. Is this realistic, and can this assure the db's stay in
sync (by using transactions on the server side when loading all tables coming
from the DataSet)?

2. creating an (1) xml or plain ascii file containing all data from the
different tables on the client and transfering to the server, via a web
service, and processing this file?

3. querying the MySQL source db and directly inserting in the SQL Server db,
BUT this will probably have an impact when there's a lost Internet connection
since at that time a rollback on the server (due to the lost connection)
isn't possible anymore?

4. Using Synchronization Services for ADO.NET, but this would mean I need to
install an additional SQL Compact on the client, and transfering the MySQL
data to this SQL Compact db. And on its turn this SQL Compact synchronizes
with the SQL Server db on the server? Does my ISP has to take special action
to use Synchronization Services, since I have no impact on my ISP?

5. Other solution(s)?????

Many thanks for your info/feedback.
Jun 1 '08 #1
0 1219

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Simon | last post by:
Hi, I am having a little problem with my PHP - MySQl code, I have two tables (shown below) and I am trying populate a template page with data from both. <disclaimer>Now I would like to say my...
3
by: tomyboy | last post by:
Read this from Dev Ashish http://www.mvps.org/accessfr/forms/frm0034.htm for opening a form in an other db This seems useful for my job I've a db named INVOICING making invoice and a 2nd db name...
4
by: Weston Weems | last post by:
I've got the simple problem where I'd like to transfer somewhat large files to my webserver via http/webservice/something like that. My question is what kinda limits have people been able to...
2
by: Eric | last post by:
Hi, I have a .NET client and Java web service. I send an request and the answer with a correct SOAP message. But on the .NET client I get an exeption from the XML deserializer that he has...
2
by: Alex | last post by:
Hello, Quick question and I would really appreciate if anybody could helps me. Here are the steps to reproduce the problem. Create simple ASP.Net application. In code behind added protected...
2
by: steve | last post by:
Hi All I need to learn how to update a SQl server or Access database located on a web server from my windows forms application, via the internet I have a customer who wants to run several...
4
by: HeislerKurt | last post by:
I'm having trouble opening a database a client has sent me. I keep getting an "unrecognized database format" error. The database was created in Access 2003. I'm trying to open it with Access...
0
by: =?Utf-8?B?R3V5?= | last post by:
I already spent some time thinking for a solution for my problem, but finally can't decide what would be the most optimal and correct solution. Therefore I post my question to this forum, to get...
9
by: =?Utf-8?B?TUNN?= | last post by:
I'm sure the answer to my question varies depending on the situation, but I am looking for a general "best practice". If I have an asp.net application and I load certain data from a database,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.