Skip to content

Commit

Permalink
update data_synchronization_between_clusters.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajiaxu123 committed Aug 10, 2022
1 parent aa71df8 commit 8c23466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_synchronization_between_clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ scheduleJob("syncDB","syncDB",synDataBaseOnline{restoreServerIP,restoreServerPor

| | 在线方式 | 离线方式 |
| ------------ | ------------ | ----------- |
| **性能** | 性能较优。需要同步的数据通过网络传输到远端并写入远端数据库。|性能较优。需要同步的数据通过网络传输到远端并写入远端数据库|
| **性能** | 性能较优。需要同步的数据通过网络传输到远端并写入远端数据库。|需要把数据备份到磁盘上,通过网络传输到远端的磁盘,再读取数据并写入数据库。性能低于在线方式|
| **内存要求** |内存要求较低。若服务器可用内存不足以容纳备份数据,可使用 `mr` 函数分次写入。| 以分区为单位进行备份。因此要求内存必须容纳每个分区的完整数据。|
| **磁盘占用** |不需要额外占用磁盘空间。|需要将两个集群存盘,占用更多的磁盘空间。|
| **其它方面** |需要两个集群同时在线。|不需要两个集群同时在线。如集群间无网络连接,可使用本方式同步数据。|

0 comments on commit 8c23466

Please sign in to comment.