Apache ShardingSphere 中文文档 5.4.1
r${shardingsphere.version} 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 • 持久化仓库的可选实现,请参见ShardingSphere‐JDBC 可选插件。 数据源配置 背景信息 ShardingSphere‐JDBC eeper", "governance-sharding-db", "localhost:2181", new Properties())); } 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 数据源配置 背景信息 ShardingSphere‐JDBC 支持所有的数据库 JDBC 驱动和连接池。 本节将介绍,通过 仓库中查看插件的使用说明,ShardingSphere Plugin 仓库中的插件会和 ShardingSphere 保持相 同的发布节奏,可以在 https://central.sonatype.com/ 进行检索,并安装到 ShardingSphere 中。 9.1.5 不支持项 DataSource 接口 • 不支持 timeout 相关操作。 Connection 接口 • 不支持存储过程,函数,游标的操作;0 码力 | 530 页 | 4.49 MB | 1 年前3Apache ShardingSphere 中文文档 5.3.2
r${shardingsphere.version} 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 • 持久化仓库的可选实现,请参见ShardingSphere‐JDBC 可选插件。 数据源配置 背景信息 ShardingSphere‐JDBC eeper", "governance-sharding-db", "localhost:2181", new Properties())); } 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 数据源配置 背景信息 ShardingSphere‐JDBC 支持所有的数据库 JDBC 驱动和连接池。 本节将介绍,通过 Proxy Native 的二进制文件, 你需要确保系统环境变量 JAVA_HOME 指向 GraalVM 的 bin 目录,并且此 GraalVM 实例已经通过 GraalVM Updater 安装了 espresso 组件。 • 本节假定处于 Linux(amd64,aarch64),MacOS(amd64)或 Windows(amd64)环境。如果你位于 MacOS(aarch64/M1)环境,你需要关注尚未关闭的0 码力 | 508 页 | 4.44 MB | 1 年前3Apache ShardingSphere v5.5.0 中文文档
r${shardingsphere.version} 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 • 持久化仓库的可选实现,请参见ShardingSphere‐JDBC 可选插件。 数据源配置 背景信息 ShardingSphere‐JDBC eeper", "governance-sharding-db", "localhost:2181", new Properties())); } 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 数据源配置 背景信息 ShardingSphere‐JDBC 支持所有的数据库 JDBC 驱动和连接池。 本节将介绍,通过 ShardingSphere Plugin 仓库中查看插件的使用说明,ShardingSphere Plugin 仓库中的插件会和 ShardingSphere 保持相 同的发布节奏,可以手动打包安装到 ShardingSphere 中。 9.1. ShardingSphere-JDBC 134 Apache ShardingSphere document 9.1.5 不支持项 DataSource0 码力 | 557 页 | 4.61 MB | 1 年前3Apache ShardingSphere 中文文档 5.2.0
overwrite: false 4.1. ShardingSphere-JDBC 52 Apache ShardingSphere document, v5.2.0 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 数据源配置 背景信息 ShardingSphere‐JDBC 支持所有的数据库 JDBC 驱动和连接池。 示例的数据库驱动为 , "governance-sharding-db", "localhost:2181", new Properties()), true); } 相关参考 • ZooKeeper 注册中心安装与使用 • 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 4.1. ShardingSphere-JDBC 79 Apache ShardingSphere document, v5.2 repository.props.timeToLiveSeconds=60 spring.shardingsphere.mode.overwrite=false 相关参考 • ZooKeeper 注册中心安装与使用 • – 持久化仓库类型的详情,请参见内置持久化仓库类型列表。 数据源配置 背景信息 使用本地数据源 示例的数据库驱动为 MySQL,连接池为 HikariCP,可以更换为其他数据库驱动和连接池。当使0 码力 | 449 页 | 5.85 MB | 1 年前3Apache ShardingSphere 中文文档 5.1.2
ShardingSphere-Proxy 142 Apache ShardingSphere document, v5.1.2 使用二进制发布包 启动步骤 1. 通过下载页面获取 ShardingSphere‐Proxy 安装包。 2. 解压缩后修改 conf/server.yaml 和以 config- 前缀开头的文件,如:conf/config-xxx. yaml 文件,进行分片规则、读写分离规则配置。配置方式请参考配置手册。 /opt/ shardingsphere-proxy/ext-lib。 使用 Helm 使用 Helm 在 Kubernetes 集群中引导 ShardingSphere‐Proxy 实例进行安装。 快速入门 helm repo add shardingsphere https://shardingsphere.apache.org/charts helm install shardingsphere-proxy Volumes) 的 StorageClass 已持久化数据。 安装 在线安装 将 ShardingSphere‐Proxy 添加到 Helm 本地仓库: helm repo add shardingsphere https://shardingsphere.apache.org/charts 以 ShardingSphere‐Proxy 命名安装 charts: helm install shardingsphere-proxy0 码力 | 446 页 | 4.67 MB | 1 年前3Apache ShardingSphere 中文文档 5.1.1
ShardingSphere-Proxy 139 Apache ShardingSphere document, v5.1.1 使用二进制发布包 启动步骤 1. 通过下载页面获取 ShardingSphere‐Proxy 安装包。 2. 解压缩后修改 conf/server.yaml 和以 config- 前缀开头的文件,如:conf/config-xxx. yaml 文件,进行分片规则、读写分离规则配置。配置方式请参考配置手册。 kubernetes 集群中引导一个 ShardingSphere‐Proxy 实例进行安装 必要条件 kubernetes 1.18+ kubectl helm 3.2.0+ 如需要持久化数据: 可以动态申请 PV(Persistent Volumes) 的 storageclass 支持 安装 ShardingSphere-Proxy chart 将 ShardingSphere‐Proxy ShardingSphere‐Proxy 命名安装 charts helm install shardingsphere-proxy shardingsphere/shardingsphere-proxy 5.2. ShardingSphere-Proxy 143 Apache ShardingSphere document, v5.1.1 执行上述命令后会以默认的配置进行安装。其他的配置详见下方的配置列表。0 码力 | 409 页 | 4.47 MB | 1 年前3Mybatis 3.3.0 中文用户指南
动态SQL Java API Java API SQL语句构建器 SQL语句构建器 日志 日志 项目文档 项目文档 项目文档 项目文档 项目信息 项目信息 项目报表 项目报表 入门 入门 安装 安装 要使用 MyBatis, 只需将 mybatis-x.x.x.jar 文件置于 classpath 中即可。 如果使用 Maven 来构建项目,则需将下面的 dependency 代码置于0 码力 | 98 页 | 2.03 MB | 1 年前3Apache ShardingSphere ElasticJob 中文文档 2023 年 11 月 01 日
9.2. 谁在使用 ElasticJob? 88 10 FAQ 10.1 阅读源码时为什么会出现编译错误? 回答: ElasticJob 使用 lombok 实现极简代码。关于更多使用和安装细节,请参考 lombok 官网。 10.2 是否支持动态添加作业? 回答: 动态添加作业这个概念每个人理解不尽相同。 ElasticJob 为 jar 包,由开发或运维人员负责启动。启动时0 码力 | 98 页 | 1.97 MB | 1 年前3Apache ShardingSphere 中文文档 5.0.0
arget/apache‐ shardingsphere‐${latest.release.version}‐shardingsphere‐proxy‐bin.tar.gz 或者通过下载页面获取安装包。 2. 解压缩 proxy 发布包,修改配置文件 conf/server.yaml,这里主要是开启 scaling 和 mode 配 置: scaling: blockQueueSize: sql-show。 7.7.19 19. [其他] 阅读源码时为什么会出现编译错误? IDEA 不索引生成的代码? 回答: ShardingSphere 使用 lombok 实现极简代码。关于更多使用和安装细节,请参考lombok 官网。 org.apache.shardingsphere.sql.parser.autogen 包下的代码由 ANTLR 生成,可以执行以下 命令快速生成: 7.70 码力 | 385 页 | 4.26 MB | 1 年前3Apache ShardingSphere 中文文档 5.1.0
arget/apache‐ shardingsphere‐${latest.release.version}‐shardingsphere‐proxy‐bin.tar.gz 或者通过下载页面获取安装包。 Scaling 还是实验性质的功能,建议使用 master 分支最新版本,点击此处下载每日构建版本 2. 解压缩 proxy 发布包,修改配置文件 conf/config-sharding document, v5.1.0 7.8.22 [其他] 阅读源码时为什么会出现编译错误? IDEA 不索引生成的代码? 回答: ShardingSphere 使用 lombok 实现极简代码。关于更多使用和安装细节,请参考lombok 官网。 org.apache.shardingsphere.sql.parser.autogen 包下的代码由 ANTLR 生成,可以执行以下 命令快速生成: ./mvnw0 码力 | 406 页 | 4.40 MB | 1 年前3
共 11 条
- 1
- 2