473,396 Members | 1,789 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,396 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 27 '08 #1
0 823

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...
19
by: Andy B | last post by:
Hello, Sorry for this newbish question. Briefly, my problem: ------------------ I expect the database I'm working on to reach something in the order of 12-16 Gigabytes, and I am interested...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.