翻译 Database 数据同步功能 中译英啊~~~~ Part I

来源:百度知道 编辑:UC知道 时间:2024/05/27 01:28:43
Give me an English translation of the following please. They are too technical to me.

==============

如果你要使用数据同步功能,请仔细阅读以下内容

一、基本概念

数据集 - 指同步的对象,对于数据库,一个表,就是一个数据集;
记录 - 组成数据集的数据条目,与数据库里的记录是同等概念;
字段 - 一条记录的各个属性数据,与数据库里的字段是同等概念;
"关键字段" - 一个特殊的字段,它的值具有唯一性,在一个表中,不会有两条记录的关键字段有相同值。关键字段应该是字符型或方便转换成字符串的。一旦记录写入完成,关键字段的值不可以被修改。关键字段不支持 Unicode。表的主键可以作为关键字段。为了提高同步效率,关键字段应该有索引。为什么要有关键字段?因为同步是根据关键字段来识别一条记录的,没有关键字段就不能区分各条记录,也就谈不上同步了。
"修改时间" - 这是一个字段,对新加的记录,该字段保存添加记录的日期时间,如果记录被修改,该字段保存记录最后被修改的日期时间。要实现对记录的修改也能进行同步,必须要有"修改时间"字段,即使不需要对修改记录进行同步,为了实现高效的数据同步,也要有"修改时间"字段。该字段支持 DateTime, Date 类型。为了提高同步效率,修改时间字段也应该有索引。如果同步的双方(两个数据集)都有同一条记录,但有一边的该记录修改过了,就要对比“修改时间”字段来判断究竟哪边是修改过的。如果某些表,记录不算多(数百或上千条记录都算是较少的),且只会往里面添加记录,不会修改及删除其中的记录,那么,不需要有修改时间字段。同步专家网络版有一个时间选项,允许只同步最近多少天修改的记录,对于记录数量庞大的情况,经过这一选项的过滤,要扫描的记录就不多了。最大限度地节省同步所需要的时间。
"删除标记" - 这是一个字段, 为了对记录的删除操作也能进行同步,要求应用系统删除记录时,不是立即

If you want to use data synchronization functions, please read carefully the following one, the basic concept of data sets - is the object synchronization, For database, a table is a data set; record-component data sets of data entry, and database records is the same concept; field-a record of all the attribute data, and the database field is the same concept; "keyword" - a special field, and its value is unique. in a table, there will be no record of the two key words of the same value. Keywords should be of the character or facilitate conversion as a string. Once complete written record, the value of keywords can not be amended. Keyword does not support Unicode. The primary key table can be used as keywords. To improve synchronization efficiency, should be the keyword of the index. Why should there be a keyword? Synchronization is because of the keyword to identify a record, not keywords can not distinguish between the various records, would be out of synchronization. &q