简体   繁体   English

比较数据集

[英]Comparing Data Sets

I have 2 database one in web server and one in a mobile phone. 我在Web服务器中有2个数据库,在手机中有2个数据库。 any idea on how can i synchronize the data from my web server to a mobile phone for example i change some data on my web server and the local database on phone must get all the data that change. 关于如何将数据从Web服务器同步到手机的任何想法,例如,我更改了Web服务器上的某些数据,而电话上的本地数据库必须获取所有更改的数据。

my idea was to send all the data from the phone to my web server and compare after that return those data that change. 我的想法是将所有数据从手机发送到我的Web服务器,然后比较返回的那些变化的数据。 the problem is if i use looping for comparing data it will take much time comparing thousand of records so i'm thinking if there is a way i can compare a set of data. 问题是如果我使用循环来比较数据,那么比较数千条记录将花费大量时间,因此我在考虑是否有一种方法可以比较一组数据。

hope my question is clear. 希望我的问题清楚。

您可以使用Toad for MySQL进行同步。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM