Apache ShardingSphere 5.0.0-alpha Document–n –t test_plan/test.jmx test.jmx example:https://github.com/apache/shardingsphere-benchmark/tree/master/ report/script/test_plan/test.jmx Process Result Data Make sure the location of result.jtl file Software Environment Jenins: The latest version Sysbench: 1.0.20 ShardingSphere-Proxy: package from master branch MySQL Server: 5.7.28 Test Program According to the above hardware environment, the configuration environment. ShardingSphere-Proxy Configuration Proxy runs on ${host-proxy} Version includes: Master branch, 4.1.1, 3.0.0 Scenarios: config-sharding, config-replica-query, config-sharding-replica-query0 码力 | 311 页 | 2.09 MB | 1 年前3
 Apache ShardingSphere 5.0.0 DocumentItem Explanation dataSources: ds_master: !!org.apache.commons.dbcp.BasicDataSource driverClassName: com.mysql.jdbc.Driver url: jdbc:mysql://localhost:3306/ds_master username: root password: ds_slave0: 06/ds_slave1 username: root password: masterSlaveRule: name: ds_ms masterDataSourceName: ds_master slaveDataSourceNames: [ds_slave0, ds_slave1] props: sql.show: true Create a DataSource through Item Explanation dataSources: ds_master: !!org.apache.commons.dbcp.BasicDataSource driverClassName: com.mysql.jdbc.Driver url: jdbc:mysql://localhost:3306/ds_master username: root password: ds_slave0:0 码力 | 403 页 | 3.15 MB | 1 年前3
 Apache ShardingSphere 5.1.2 Documentquick start with Apache ShardingSphere. Example Codes: https://github.com/apache/shardingsphere/tree/master/examples 2.1 ShardingSphere-JDBC 2.1.1 Scenarios There are four ways you can configure Apache ShardingSphere‐JDBC is suitable for java application. Source Codes: https://github.com/apache/shardingsphere/tree/master/shardingsphere‐jdbc 3.1.2 ShardingSphere-Proxy ShardingSphere‐Proxy is the second product of Apache providing op‐ erational entries for DBA. Source Codes: https://github.com/apache/shardingsphere/tree/master/shardingsphere‐proxy 3.1. Adaptor 12 Apache ShardingSphere document, v5.1.2 3.1.3 Hybrid Adaptors0 码力 | 503 页 | 3.66 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.0.0shardingsphere-4.x 读写分离 配置项说明 # 省略数据源配置,与数据分片一致 spring.shardingsphere.sharding.master-slave-rules.<master-slave-data-source-name>. master-data-source-name= # 主库数据源名称 5.1. ShardingSphere-JDBC 123 Apache ShardingSphere shardingsphere.sharding.master-slave-rules.<master-slave-data-source-name>. slave-data-source-names[0]= # 从库数据源名称列表 spring.shardingsphere.sharding.master-slave-rules.<master-slave-data-source-name>. shardingsphere.sharding.master-slave-rules.<master-slave-data-source-name>. slave-data-source-names[x]= # 从库数据源名称列表 spring.shardingsphere.sharding.master-slave-rules.<master-slave-data-source-name>.0 码力 | 385 页 | 4.26 MB | 1 年前3
 Apache ShardingSphere 5.1.1 DocumentDatabase discovery of MySQL’s MGR ShowSlaveSt atusDatabaseDiscoveryType Database discovery of MySQL’s master‐slave delay OpenG aussDatabaseDiscoveryType Database discovery of openGauss 6.10 Distributed Transaction –n –t test_plan/test.jmx test.jmx example:https://github.com/apache/shardingsphere-benchmark/tree/master/ report/script/test_plan/test.jmx 7.7. Test 310 Apache ShardingSphere document, v5.1.1 Process Software Environment Jenkins: The latest version Sysbench: 1.0.20 ShardingSphere-Proxy: package from master branch MySQL Server: 5.7.28 Test Program According to the above hardware environment, the configuration0 码力 | 458 页 | 3.43 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.0.0-alphajmeter –n –t test_plan/test.jmx test.jmx 参考 https://github.com/apache/shardingsphere-benchmark/tree/master/report/ script/test_plan/test.jmx 压测结果处理 注意修改为上一步生成的 result.jtl 的位置。 sh shardingsphere-bench 1.0.20 ShardingSphere-Proxy: master 分支代码打包 MySQL Server: 5.7.28 测试方案 根据以上的硬件环境,配置参数如下,参数应根据硬件环境改变而调整 ShardingSphere-Proxy 配置 Proxy 运行在${host-proxy} 机器 版本包括:Master 分支版本、4.1.1 版本、3.0.0 版本 场景包括:c 2) 3. sysbench_master_slave: a. 远程部署各版本 Proxy 的读写分离场景 b. 执行 Sysbench 命令压测 Proxy c. 执行 Sysbench 命令压测 MySQL Server d. 保存 Sysbench 压测结果 e. 使用画图脚本生成性能曲线和表格 4. sysbench_sharding_master_slave: a. 远程部署各版本0 码力 | 301 页 | 3.44 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.1.2本章节以尽量短的时间,为使用者提供最简单的 Apache ShardingSphere 的快速入门。 示例代码:https://github.com/apache/shardingsphere/tree/master/examples 2.1 ShardingSphere-JDBC 2.1.1 应用场景 Apache ShardingSphere‐JDBC 可以通过 Java,YAML,Spring 命名空间和 静态入口 无 有 ShardingSphere‐JDBC 的优势在于对 Java 应用的友好度。 源码:https://github.com/apache/shardingsphere/tree/master/shardingsphere‐jdbc 3.1.2 ShardingSphere-Proxy ShardingSphere‐Proxy 是 Apache ShardingSphere 的第 ShardingSphere‐Proxy 的优势在于对异构语言的支持,以及为 DBA 提供可操作入口。 源码:https://github.com/apache/shardingsphere/tree/master/shardingsphere‐proxy 3.1.3 混合架构 ShardingSphere‐JDBC 采用无中心化架构,与应用程序共享资源,适用于 Java 开发的高性能的轻量级 OLTP0 码力 | 446 页 | 4.67 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.1.1shardingsphere‐${latest.release.version}‐shardingsphere‐proxy‐bin.tar.gz 或者通过下载页面获取安装包。 Scaling 还是实验性质的功能,建议使用 master 分支最新版本,点击此处下载每日构建版本 2. 解压缩 proxy 发布包,修改配置文件 conf/config-sharding.yaml。详情请参见 proxy 启动手 册。 3. 修改配置文件 jmeter –n –t test_plan/test.jmx test.jmx 参考 https://github.com/apache/shardingsphere-benchmark/tree/master/report/ script/test_plan/test.jmx 压测结果处理 注意修改为上一步生成的 result.jtl 的位置。 sh shardingsphere-bench 通过一些未公开 (代码中可查, 但可能会在未来有变化) 的变量, 可以配置来兼容其他支持 JDBC 的数据库, 但由于没有足够的测试支持, 可能会有严重的兼容性问题, 配置时候要求至少有一个 master_ds_0: # 数据源名称, 可以是合法的字符串, 目前的校验规则中, 没有强制性要求, 只要是合法的 yaml 字符串即可, 但如果要用于分库分表配置, 则需要有有意义的标志 (在分库分表配置中详述)0 码力 | 409 页 | 4.47 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.1.0shardingsphere‐${latest.release.version}‐shardingsphere‐proxy‐bin.tar.gz 或者通过下载页面获取安装包。 Scaling 还是实验性质的功能,建议使用 master 分支最新版本,点击此处下载每日构建版本 2. 解压缩 proxy 发布包,修改配置文件 conf/config-sharding.yaml。详情请参见proxy 启动手 册。 3. 修改配置文件 jmeter –n –t test_plan/test.jmx test.jmx 参考 https://github.com/apache/shardingsphere-benchmark/tree/master/report/ script/test_plan/test.jmx 压测结果处理 注意修改为上一步生成的 result.jtl 的位置。 sh shardingsphere-bench 通过一些未公开 (代码中可查, 但可能会在未来有变化) 的变量, 可以配置来兼容其他支持 JDBC 的数据库, 但由于没有足够的测试支持, 可能会有严重的兼容性问题, 配置时候要求至少有一个 master_ds_0: # 数据源名称, 可以是合法的字符串, 目前的校验规则中, 没有强制性要求, 只要是合法的 yaml 字符串即可, 但如果要用于分库分表配置, 则需要有有意义的标志 (在分库分表配置中详述)0 码力 | 406 页 | 4.40 MB | 1 年前3
 Apache ShardingSphere v5.5.0 documentquick start with Apache ShardingSphere. Example Codes: https://github.com/apache/shardingsphere/tree/master/examples 7.1 ShardingSphere-JDBC 7.1.1 Scenarios There are two ways you can configure Apache ShardingSphere: order_id WHERE o. order_id in (10, 11); The t_order table will be used by ShardingSphere as the master table for the entire binding table since it specifies the sharding condition. All routing calculations Pull from DockerHub docker pull apache/shardingsphere-proxy • Method 2: Acquire latest master branch image master: https://github.com/apache/shardingsphe re/pkgs/container/shardingsphere‐proxy • Method0 码力 | 602 页 | 3.85 MB | 1 年前3
共 21 条
- 1
 - 2
 - 3
 













