[GitHub] [incubator-shardingsphere] strongduanmu commented on a change in pull request #4909: translate sharding-scaling README.md document to chinese

2020-03-24 Thread GitBox
strongduanmu commented on a change in pull request #4909: translate 
sharding-scaling README.md document to chinese
URL: 
https://github.com/apache/incubator-shardingsphere/pull/4909#discussion_r396981045
 
 

 ##
 File path: sharding-scaling/README_ZH.md
 ##
 @@ -0,0 +1,33 @@
+# ShardingScaling - ShardingSphere横向扩展组件
 
 Review comment:
   弹性伸缩组件 is a goods translation, i will modify it.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-shardingsphere] strongduanmu commented on a change in pull request #4909: translate sharding-scaling README.md document to chinese

2020-03-24 Thread GitBox
strongduanmu commented on a change in pull request #4909: translate 
sharding-scaling README.md document to chinese
URL: 
https://github.com/apache/incubator-shardingsphere/pull/4909#discussion_r396979092
 
 

 ##
 File path: sharding-scaling/README_ZH.md
 ##
 @@ -0,0 +1,33 @@
+# ShardingScaling - ShardingSphere横向扩展组件
+
+## 概述
+
+下图可以清晰地表明这个组件的作用:
+
+![scale 
out](https://user-images.githubusercontent.com/14773179/75600294-8516d500-5ae8-11ea-9635-5656b72242e3.png)
+
+关于图片的补充说明:
+
+1. 只支持迁移整个数据库,暂不支持迁移指定的表。
+2. 迁移过程分为两步——历史数据迁移和实时数据迁移。
+  - 在历史数据迁移过程中,Sharding-Scaling使用 `select *`语句去获取数据,使用`insert`语句将数据迁移到目标库中;
+  - 在实时数据迁移过程中,Sharding-Scaling使用binlog来迁移数据,并且在迁移前会标记下binlog位置。
+
+3. 如果源schema中的表有主键,Sharding-Scaling就能够使用 `where`声明的条件,并发地迁移表中的数据。
+
+## 必备条件
 
 Review comment:
   Thanks a lot, I'll modify it.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services