blob: 7d12f23763109cc753d078b1f6baaf7848e9496e [file] [log] [blame]
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Scaling on ShardingSphere</title>
<link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/scaling/</link>
<description>Recent content in Scaling on ShardingSphere</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/scaling/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>运行部署</title>
<link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/scaling/build/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/scaling/build/</guid>
<description>部署启动 执行以下命令,编译生成 ShardingSphere-Proxy 二进制包: git clone --depth 1 https://github.com/apache/shardingsphere.git cd shardingsphere mvn clean install -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Drat.skip=true -Djacoco.skip=true -DskipITs -DskipTests -Prelease 发布包:
/shardingsphere-distribution/shardingsphere-proxy-distribution/target/apache-shardingsphere-${latest.release.version}-shardingsphere-proxy-bin.tar.gz 或者通过下载页面获取安装包。
Scaling 还是实验性质的功能,建议使用 master 分支最新版本,点击此处下载每日构建版本
解压缩 proxy 发布包,修改配置文件 conf/config-sharding.yaml。详情请参见 proxy 启动手册。
修改配置文件 conf/server.yaml,详情请参见模式配置。
目前 mode 必须是 Cluster,需要提前启动对应的注册中心。
配置示例:
mode: type: Cluster repository: type: ZooKeeper props: namespace: governance_ds server-lists: localhost:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: 60 maxRetries: 3 operationTimeoutMilliseconds: 500 overwrite: false 开启 scaling。 方法1:修改配置文件 conf/config-sharding.</description>
</item>
<item>
<title>使用手册</title>
<link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/scaling/usage/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/scaling/usage/</guid>
<description>使用手册 环境要求 纯 JAVA 开发,JDK 建议 1.8 以上版本。
支持的数据库及版本如下:
源端 目标端 MySQL(5.1.15 ~ 5.7.x) MySQL(5.1.15 ~ 5.7.x) PostgreSQL(9.4 ~ ) PostgreSQL(9.4 ~ ) openGauss(2.1.0) openGauss(2.1.0) 功能支持情况:
功能 MySQL PostgreSQL openGauss 全量迁移 支持 支持 支持 增量迁移 支持 支持 支持 自动建表 支持 支持 支持 DATA_MATCH一致性校验 支持 支持 支持 CRC32_MATCH一致性校验 支持 不支持 不支持 注意:</description>
</item>
</channel>
</rss>