Apache ShardingSphere v5.5.0 documentto speed up the metadata loading when service starts up? . . . . . . 585 13.6.8 Other The ANTLR plugin generates codes in the same level directory as src, which is easy to commit by mistake. How to avoid with flexibility thanks to custom systems based on multi‐level (kernel, feature, and ecosystem) plugin capabilities. 1.3. Advantages 3 2 Design Philosophy ShardingSphere adopts the database plus design 1.4 Procedure 1. Rules configuration. Please refer to User Manual for more details. 2. Import Maven dependencyorg.apache.shardingsphere shardingsphere-jdbc 0 码力 | 602 页 | 3.85 MB | 1 年前3
Apache ShardingSphere 5.4.1 Documentto speed up the metadata loading when service starts up? . . . . . . 555 13.6.8 Other The ANTLR plugin generates codes in the same level directory as src, which is easy to commit by mistake. How to avoid with flexibility thanks to custom systems based on multi‐level (kernel, feature, and ecosystem) plugin capabilities. 1.3. Advantages 3 2 Design Philosophy ShardingSphere adopts the database plus design 1.4 Procedure 1. Rules configuration. Please refer to User Manual for more details. 2. Import Maven dependencyorg.apache.shardingsphere shardingspher 0 码力 | 572 页 | 3.73 MB | 1 年前3
Apache ShardingSphere 5.2.0 DocumentHow to speed up the metadata loading when service starts up? . . . . . . 463 8.6.8 Other The ANTLR plugin generates codes in the same level directory as src, which is easy to commit by mistake. How to avoid JDBC and a Proxy, and its core adopts a micro‐ kernel and pluggable architecture. Thanks to its plugin‐oriented architecture, features can be flexibly expanded at will. The project is committed to providing with flexibility thanks to custom systems based on multi‐level (kernel, feature, and ecosystem) plugin capabilities. 1.1. What is ShardingSphere 3 Apache ShardingSphere document, v5.2.0 1.1.4 Roadmap0 码力 | 483 页 | 4.27 MB | 1 年前3
Apache ShardingSphere 5.2.1 DocumentHow to speed up the metadata loading when service starts up? . . . . . . 502 8.6.8 Other The ANTLR plugin generates codes in the same level directory as src, which is easy to commit by mistake. How to avoid with flexibility thanks to custom systems based on multi‐level (kernel, feature, and ecosystem) plugin capabilities. 1.2 Design Philosophy ShardingSphere adopts the database plus design philosophy, 1.4 Procedure 1. Rules configuration. Please refer to User Manual for more details. 2. Import Maven dependencyorg.apache.shardingsphere shardingspher 0 码力 | 523 页 | 4.51 MB | 1 年前3
Apache ShardingSphere v5.5.0 中文文档使用限制 目前仅支持 JAVA 语言 7.1.3 前提条件 开发环境需要具备 Java JRE 8 或更高版本。 7.1.4 操作步骤 1. 规则配置。 详情请参见用户手册。 2. 引入 maven 依赖。org.apache.shardingsphere shardingsphere-jdbc 配置文件支持配置内容超过 3MB。 YAML 配置是最常见的配置方式,可以省略编程的复杂度,简化用户配置。 52 Apache ShardingSphere document 使用步骤 引入 Maven 依赖org.apache.shardingsphere shardingsphere-jdbc server-lists: localhost:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: 60 使用持久化仓库需要额外引入对应的 Maven 依赖,推荐使用:org.apache.shardingsphere 9.1. ShardingSphere-JDBC 550 码力 | 557 页 | 4.61 MB | 1 年前3
Apache ShardingSphere 中文文档 5.4.1使用限制 目前仅支持 JAVA 语言 7.1.3 前提条件 开发环境需要具备 Java JRE 8 或更高版本。 7.1.4 操作步骤 1. 规则配置。 详情请参见用户手册。 2. 引入 maven 依赖。org.apache.shardingsphere shardingsphere-jdbc-core 配置文件支持配置内容超过 3MB。 YAML 配置是最常见的配置方式,可以省略编程的复杂度,简化用户配置。 51 Apache ShardingSphere document 使用步骤 引入 Maven 依赖org.apache.shardingsphere shardingsphere-jdbc-core server-lists: localhost:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: 60 使用持久化仓库需要额外引入对应的 Maven 依赖,推荐使用:org.apache.shardingsphere 9.1. ShardingSphere-JDBC 540 码力 | 530 页 | 4.49 MB | 1 年前3
2 Sharding-JDBC入门使用2 Sharding-JDBC入门使用 2.1不使用Spring 引入Maven依赖 基于Java编码的规则配置 Sharding-JDBC的分库分表通过规则配置描述,以下例子是根据user_id取模分库, 且根据 order_id取模分表的两库两表的配置。org.apache.shardingsphere preparedStatement.setInt(2, 1001); try (ResultSet rs = preparedStatement.executeQuery()) { 2.2使用Spring 引入Maven依赖 基于Spring boot的规则配置 while(rs.next()) { System.out.println(rs.getInt(1)); 1:3306/demo_ds_slave_1? serverTimezone=UTC&useSSL=false # 这里的要求合法的jdbc连接串即可,目前尚未兼容 MySQL 8.x,需要在maven编译时候,升级MySQL JDBC版本到5.1.46或者47版本(不建议升级到 JDBC的8.x系列版本,需要修改源代码,并且无法通过很多测试case) username: root #0 码力 | 12 页 | 325.38 KB | 1 年前3
Apache ShardingSphere 中文文档 5.2.0使用限制 目前仅支持 JAVA 语言 2.1.3 前提条件 开发环境需要具备 Java JRE 8 或更高版本。 2.1.4 操作步骤 1. 规则配置。 详情请参见用户手册。 2. 引入 maven 依赖。org.apache.shardingsphere shardingsphere-jdbc- YAML 格式。 YAML 配置是最常见的配置方式,可以省略编程的复杂度,简化用户配置。 49 Apache ShardingSphere document, v5.2.0 使用步骤 引入 Maven 依赖 org.apache.shardingsphere shardingsphere-jdbc-core yaml,配置文件格式与 YAML 配置一致 • 配置文件加载规则: – 无前缀表示从绝对路径加载配置文件 – classpath: 前缀表示从类路径中加载配置文件 操作步骤 1. 引入 Maven 依赖org.apache.shardingsphere shardingsphere-jdbc-core 0 码力 | 449 页 | 5.85 MB | 1 年前3
Apache ShardingSphere 5.1.1 DocumentShardingSphere‐JDBC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.1.1 Import Maven Dependency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.1.2 Rules Configuration to speed up the metadata loading when service starts up? . . . . . 354 7.8.28 [Other] The ANTLR plugin generates codes in the same level directory as src, which is easy to commit by mistake. How to avoid users with a simplest quick start with Apache ShardingSphere. 2.1 ShardingSphere-JDBC 2.1.1 Import Maven Dependencyorg.apache.shardingsphere shardingspher 0 码力 | 458 页 | 3.43 MB | 1 年前3
Apache ShardingSphere 5.0.0-alpha DocumentShardingSphere‐JDBC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.1.1 1. Import Maven Dependency . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.1.2 2. Rules Configuration XA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 7.24 The ANTLR plugin generates codes in the same level directory as src, which is easy to commit by mistake. How to avoid with a simplest quick start with Apache ShardingSphere. 2.1 ShardingSphere-JDBC 2.1.1 1. Import Maven Dependencyorg.apache.shardingsphere shardingspher 0 码力 | 311 页 | 2.09 MB | 1 年前3
共 25 条
- 1
- 2
- 3













