 Apache ShardingSphere 中文文档 5.1.12.3.4 任务管理 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.5 相关文档 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 概念 10 3.1 接入端 %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh 2.3.4 任务管理 通过相应的 DistSQL 接口管理迁移任务。 详情请参见使用手册。 2.3.5 相关文档 • 功能 # 弹性伸缩:核心概念、使用规范 • 用户手册 # 弹性伸缩:运行部署、使用手册 • RAL# 弹性伸缩:弹性伸缩的 DistSQL • 开发者手册 # 弹性伸缩:SPI 接口及实现类 ShardingSphere-JDBC 88 Apache ShardingSphere document, v5.1.1 5.1.3 Spring Boot Starter 简介 ShardingSphere‐JDBC 提供官方的 Spring Boot Starter,使开发者可以非常便捷的整合 ShardingSphere‐ JDBC 和 Spring Boot。 使用步骤 引入 Maven 依赖0 码力 | 409 页 | 4.47 MB | 1 年前3 Apache ShardingSphere 中文文档 5.1.12.3.4 任务管理 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.5 相关文档 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 概念 10 3.1 接入端 %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh 2.3.4 任务管理 通过相应的 DistSQL 接口管理迁移任务。 详情请参见使用手册。 2.3.5 相关文档 • 功能 # 弹性伸缩:核心概念、使用规范 • 用户手册 # 弹性伸缩:运行部署、使用手册 • RAL# 弹性伸缩:弹性伸缩的 DistSQL • 开发者手册 # 弹性伸缩:SPI 接口及实现类 ShardingSphere-JDBC 88 Apache ShardingSphere document, v5.1.1 5.1.3 Spring Boot Starter 简介 ShardingSphere‐JDBC 提供官方的 Spring Boot Starter,使开发者可以非常便捷的整合 ShardingSphere‐ JDBC 和 Spring Boot。 使用步骤 引入 Maven 依赖0 码力 | 409 页 | 4.47 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.2.0ShardingSphere-JDBC 102 Apache ShardingSphere document, v5.2.0 4.1.3 Spring Boot Starter 简介 ShardingSphere‐JDBC 提供官方的 Spring Boot Starter,使开发者可以非常便捷的整合 ShardingSphere‐ JDBC 和 Spring Boot。 使用步骤 引入 Maven 依赖 Apache ShardingSphere 中文文档 5.2.0ShardingSphere-JDBC 102 Apache ShardingSphere document, v5.2.0 4.1.3 Spring Boot Starter 简介 ShardingSphere‐JDBC 提供官方的 Spring Boot Starter,使开发者可以非常便捷的整合 ShardingSphere‐ JDBC 和 Spring Boot。 使用步骤 引入 Maven 依赖- ShardingSphere-JDBC 124 Apache ShardingSphere document, v5.2.0 4.1.4 Spring 命名空间 简介 ShardingSphere‐JDBC 提供官方的 Spring 命名空间,使开发者可以非常便捷的整合 ShardingSphere‐ JDBC 和 Spring。 使用步骤 引入 Maven 依赖 - org document, v5.2.0 配置 Atomikos 可以通过在项目的 classpath 中添加 jta.properties 来定制化 Atomikos 配置项。 详情请参见 Atomikos 官方文档 。 数据恢复 在项目的 logs 目录中会生成 xa_tx.log, 这是 XA 崩溃恢复时所需的日志,请勿删除。 Narayana 事务 背景信息 Apache ShardingSphere 0 码力 | 449 页 | 5.85 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.4.1ShardingSphere document 配置 Atomikos 可以通过在项目的 classpath 中添加 jta.properties 来定制化 Atomikos 配置项。 详情请参见 Atomikos 官方文档 。 数据恢复 在项目的 logs 目录中会生成 xa_tx.log, 这是 XA 崩溃恢复时所需的日志,请勿删除。 Narayana 事务 背景信息 Apache ShardingSphere 配置示例 配置 Narayana 可以通过在项目的 classpath 中添加 jbossts-properties.xml 来定制化 Narayana 配置项。 详情请参见 Narayana 官方文档 。 设置 XA 事务类型 Yaml: transaction: defaultType: XA providerType: Narayana 9.1. ShardingSphere-JDBC GraalVM Reachability Metadata 中央仓库。如下配置可供参考,以配置项目额外的 Maven Profiles,以 GraalVM Native Build Tools 的文档为准。 Apache ShardingSphere 中文文档 5.4.1ShardingSphere document 配置 Atomikos 可以通过在项目的 classpath 中添加 jta.properties 来定制化 Atomikos 配置项。 详情请参见 Atomikos 官方文档 。 数据恢复 在项目的 logs 目录中会生成 xa_tx.log, 这是 XA 崩溃恢复时所需的日志,请勿删除。 Narayana 事务 背景信息 Apache ShardingSphere 配置示例 配置 Narayana 可以通过在项目的 classpath 中添加 jbossts-properties.xml 来定制化 Narayana 配置项。 详情请参见 Narayana 官方文档 。 设置 XA 事务类型 Yaml: transaction: defaultType: XA providerType: Narayana 9.1. ShardingSphere-JDBC GraalVM Reachability Metadata 中央仓库。如下配置可供参考,以配置项目额外的 Maven Profiles,以 GraalVM Native Build Tools 的文档为准。- org.apache.shardingsphere 0 码力 | 530 页 | 4.49 MB | 1 年前3 Apache ShardingSphere 中文文档 5.0.04 4. 任务管理 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.5 5. 相关文档 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 概念 10 3.1 接入端 . 201 5.2.5 Docker 镜像 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 拉取官方 Docker 镜像 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 手动构建 Docker 镜像(可选) %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh 2.3.4 4. 任务管理 通过相应的 DistSQL 接口管理迁移任务。 详情请参见使用手册。 2.3.5 5. 相关文档 • 功能 # 弹性伸缩:核心概念、使用规范 • 用户手册 # 弹性伸缩:运行部署、使用手册 • RAL# 弹性伸缩:弹性伸缩的 DistSQL • 开发者手册 # 弹性伸缩:SPI 接口及实现类0 码力 | 385 页 | 4.26 MB | 1 年前3 Apache ShardingSphere 中文文档 5.0.04 4. 任务管理 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.5 5. 相关文档 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 概念 10 3.1 接入端 . 201 5.2.5 Docker 镜像 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 拉取官方 Docker 镜像 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 手动构建 Docker 镜像(可选) %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh 2.3.4 4. 任务管理 通过相应的 DistSQL 接口管理迁移任务。 详情请参见使用手册。 2.3.5 5. 相关文档 • 功能 # 弹性伸缩:核心概念、使用规范 • 用户手册 # 弹性伸缩:运行部署、使用手册 • RAL# 弹性伸缩:弹性伸缩的 DistSQL • 开发者手册 # 弹性伸缩:SPI 接口及实现类0 码力 | 385 页 | 4.26 MB | 1 年前3 Apache ShardingSphere 中文文档 5.1.2无前缀表示从绝对路径加载配置文件 – classpath: 前缀表示从类路径中加载配置文件 5.1.4 Spring Boot Starter 简介 ShardingSphere‐JDBC 提供官方的 Spring Boot Starter,使开发者可以非常便捷的整合 ShardingSphere‐ JDBC 和 Spring Boot。 使用步骤 引入 Maven 依赖 Apache ShardingSphere 中文文档 5.1.2无前缀表示从绝对路径加载配置文件 – classpath: 前缀表示从类路径中加载配置文件 5.1.4 Spring Boot Starter 简介 ShardingSphere‐JDBC 提供官方的 Spring Boot Starter,使开发者可以非常便捷的整合 ShardingSphere‐ JDBC 和 Spring Boot。 使用步骤 引入 Maven 依赖- sql-parser.parse-tree-cache.maximum-size= # 解析树本地缓存 最大容量 5.1.5 Spring 命名空间 简介 ShardingSphere‐JDBC 提供官方的 Spring 命名空间,使开发者可以非常便捷的整合 ShardingSphere‐ JDBC 和 Spring。 使用步骤 引入 Maven 依赖 - org XA 崩溃恢复时所需的日志,请勿删除。 修改配置 可以通过在项目的 classpath 中添加 jta.properties 来定制化 Atomikos 配置项。 详情请参见 Atomikos 官方文档。 Narayana 事务 引入 Maven 依赖 - 5.9.1.Final 0 码力 | 446 页 | 4.67 MB | 1 年前3 Apache ShardingSphere 中文文档 5.1.02.3.4 任务管理 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.5 相关文档 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 概念 10 3.1 接入端 %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh 2.3.4 任务管理 通过相应的 DistSQL 接口管理迁移任务。 详情请参见使用手册。 2.3.5 相关文档 • 功能 # 弹性伸缩:核心概念、使用规范 • 用户手册 # 弹性伸缩:运行部署、使用手册 • RAL# 弹性伸缩:弹性伸缩的 DistSQL • 开发者手册 # 弹性伸缩:SPI 接口及实现类 ShardingSphere-JDBC 87 Apache ShardingSphere document, v5.1.0 5.1.3 Spring Boot Starter 简介 ShardingSphere‐JDBC 提供官方的 Spring Boot Starter,使开发者可以非常便捷的整合 ShardingSphere‐ JDBC 和 Spring Boot。 使用步骤 引入 Maven 依赖0 码力 | 406 页 | 4.40 MB | 1 年前3 Apache ShardingSphere 中文文档 5.1.02.3.4 任务管理 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.5 相关文档 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 概念 10 3.1 接入端 %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh 2.3.4 任务管理 通过相应的 DistSQL 接口管理迁移任务。 详情请参见使用手册。 2.3.5 相关文档 • 功能 # 弹性伸缩:核心概念、使用规范 • 用户手册 # 弹性伸缩:运行部署、使用手册 • RAL# 弹性伸缩:弹性伸缩的 DistSQL • 开发者手册 # 弹性伸缩:SPI 接口及实现类 ShardingSphere-JDBC 87 Apache ShardingSphere document, v5.1.0 5.1.3 Spring Boot Starter 简介 ShardingSphere‐JDBC 提供官方的 Spring Boot Starter,使开发者可以非常便捷的整合 ShardingSphere‐ JDBC 和 Spring Boot。 使用步骤 引入 Maven 依赖0 码力 | 406 页 | 4.40 MB | 1 年前3 Apache ShardingSphere 中文文档 5.3.2ShardingSphere document 配置 Atomikos 可以通过在项目的 classpath 中添加 jta.properties 来定制化 Atomikos 配置项。 详情请参见 Atomikos 官方文档 。 数据恢复 在项目的 logs 目录中会生成 xa_tx.log, 这是 XA 崩溃恢复时所需的日志,请勿删除。 Narayana 事务 背景信息 Apache ShardingSphere 配置示例 配置 Narayana 可以通过在项目的 classpath 中添加 jbossts-properties.xml 来定制化 Narayana 配置项。 详情请参见 Narayana 官方文档 。 设置 XA 事务类型 Yaml: transaction: defaultType: XA providerType: Narayana 9.1. ShardingSphere-JDBC 的分片性能。 测试方法 ShardingSphere Proxy 支持通过 BenchmarkSQL 5.0 进行 TPC‐C 测试。除本文说明的内容外,Bench‐ markSQL 操作步骤按照原文档 HOW-TO-RUN.txt 即可。 测试工具微调 与单机数据库压测不同,分布式数据库解决方案难免在功能支持上有所取舍。使用 BenchmarkSQL 压测 ShardingSphere Proxy0 码力 | 508 页 | 4.44 MB | 1 年前3 Apache ShardingSphere 中文文档 5.3.2ShardingSphere document 配置 Atomikos 可以通过在项目的 classpath 中添加 jta.properties 来定制化 Atomikos 配置项。 详情请参见 Atomikos 官方文档 。 数据恢复 在项目的 logs 目录中会生成 xa_tx.log, 这是 XA 崩溃恢复时所需的日志,请勿删除。 Narayana 事务 背景信息 Apache ShardingSphere 配置示例 配置 Narayana 可以通过在项目的 classpath 中添加 jbossts-properties.xml 来定制化 Narayana 配置项。 详情请参见 Narayana 官方文档 。 设置 XA 事务类型 Yaml: transaction: defaultType: XA providerType: Narayana 9.1. ShardingSphere-JDBC 的分片性能。 测试方法 ShardingSphere Proxy 支持通过 BenchmarkSQL 5.0 进行 TPC‐C 测试。除本文说明的内容外,Bench‐ markSQL 操作步骤按照原文档 HOW-TO-RUN.txt 即可。 测试工具微调 与单机数据库压测不同,分布式数据库解决方案难免在功能支持上有所取舍。使用 BenchmarkSQL 压测 ShardingSphere Proxy0 码力 | 508 页 | 4.44 MB | 1 年前3 Apache ShardingSphere 中文文档 5.0.0-alpha257 4.2.5 Docker 镜像 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 拉取官方 Docker 镜像 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 手动构建 Docker 镜像(可选) 的数据 进行同步。不同的数据库使用的技术细节不同,但总体上均为基于复制协议或 WAL 日志实现的变更数据 捕获功能。 • MySQL:订阅并解析 binlog • PostgreSQL:采用官方逻辑复制 test_decoding 这些捕获的增量数据,同样会由弹性伸缩模块根据新规则写入到新数据节点中。当增量数据基本同步完 成时(由于业务系统未停止,增量数据是不断的),则进入规则切换阶段。 XA 崩溃恢复时所需的日志,请勿删除。 修改配置 可以通过在项目的 classpath 中添加 jta.properties 来定制化 Atomikos 配置项。 详情请参见Atomikos 官方文档。 Narayana 事务 引入 Maven 依赖 Apache ShardingSphere 中文文档 5.0.0-alpha257 4.2.5 Docker 镜像 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 拉取官方 Docker 镜像 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 手动构建 Docker 镜像(可选) 的数据 进行同步。不同的数据库使用的技术细节不同,但总体上均为基于复制协议或 WAL 日志实现的变更数据 捕获功能。 • MySQL:订阅并解析 binlog • PostgreSQL:采用官方逻辑复制 test_decoding 这些捕获的增量数据,同样会由弹性伸缩模块根据新规则写入到新数据节点中。当增量数据基本同步完 成时(由于业务系统未停止,增量数据是不断的),则进入规则切换阶段。 XA 崩溃恢复时所需的日志,请勿删除。 修改配置 可以通过在项目的 classpath 中添加 jta.properties 来定制化 Atomikos 配置项。 详情请参见Atomikos 官方文档。 Narayana 事务 引入 Maven 依赖- 5.9.1.Final 0 码力 | 301 页 | 3.44 MB | 1 年前3 Apache ShardingSphere v5.5.0 中文文档providerType: Atomikos 配置 Atomikos 可以通过在项目的 classpath 中添加 jta.properties 来定制化 Atomikos 配置项。 详情请参见 Atomikos 官方文档 。 数据恢复 在项目的 logs 目录中会生成 xa_tx.log, 这是 XA 崩溃恢复时所需的日志,请勿删除。 Narayana 事务 背景信息 Apache ShardingSphere 配置示例 配置 Narayana 可以通过在项目的 classpath 中添加 jbossts-properties.xml 来定制化 Narayana 配置项。 详情请参见 Narayana 官方文档 。 对 于 jbossts-properties.xml 的 最 小 配 置,ShardingSphere 要 求 定 义 Narayana 的 CoreEnvironmentBean.nodeIdentifier GraalVM Reachability Metadata 中央仓库。如下配置可供参考,以配置项目额外的 Maven Profiles,以 GraalVM Native Build Tools 的文档为准。 Apache ShardingSphere v5.5.0 中文文档providerType: Atomikos 配置 Atomikos 可以通过在项目的 classpath 中添加 jta.properties 来定制化 Atomikos 配置项。 详情请参见 Atomikos 官方文档 。 数据恢复 在项目的 logs 目录中会生成 xa_tx.log, 这是 XA 崩溃恢复时所需的日志,请勿删除。 Narayana 事务 背景信息 Apache ShardingSphere 配置示例 配置 Narayana 可以通过在项目的 classpath 中添加 jbossts-properties.xml 来定制化 Narayana 配置项。 详情请参见 Narayana 官方文档 。 对 于 jbossts-properties.xml 的 最 小 配 置,ShardingSphere 要 求 定 义 Narayana 的 CoreEnvironmentBean.nodeIdentifier GraalVM Reachability Metadata 中央仓库。如下配置可供参考,以配置项目额外的 Maven Profiles,以 GraalVM Native Build Tools 的文档为准。- org.apache.shardingsphere 0 码力 | 557 页 | 4.61 MB | 1 年前3 Apache ShardingSphere ElasticJob 中文文档 2023 年 11 月 01 日execute() 方法执行作业。 OneOffJobBootstrap bean 的名称通过属性 jobBootstrapBeanName 配置,注入时需要指定依赖的 bean 名称。具体配置请参考配置文档。 elasticjob: jobs: myOneOffJob: jobBootstrapBeanName: myOneOffJobBean .... @RestController public 的地址 我们还需要根据所选 cert 到 cert 选项中找到对应的 cert, 如本例为 cert‐built‐in, 其中 certificate 也是我 们所需要用到的。 更多casdoor 文档 6.3. 运维手册 74 Apache ShardingSphere ElasticJob document 步骤三: 在 ShardingSphere 中进行配置 在sharingshp0 码力 | 98 页 | 1.97 MB | 1 年前3共 16 条 Apache ShardingSphere ElasticJob 中文文档 2023 年 11 月 01 日execute() 方法执行作业。 OneOffJobBootstrap bean 的名称通过属性 jobBootstrapBeanName 配置,注入时需要指定依赖的 bean 名称。具体配置请参考配置文档。 elasticjob: jobs: myOneOffJob: jobBootstrapBeanName: myOneOffJobBean .... @RestController public 的地址 我们还需要根据所选 cert 到 cert 选项中找到对应的 cert, 如本例为 cert‐built‐in, 其中 certificate 也是我 们所需要用到的。 更多casdoor 文档 6.3. 运维手册 74 Apache ShardingSphere ElasticJob document 步骤三: 在 ShardingSphere 中进行配置 在sharingshp0 码力 | 98 页 | 1.97 MB | 1 年前3共 16 条- 1
- 2
 













