孟浩然-Apache ShardingSphere 架构解析&应用实践
Apache ShardingSphere 分布式数据库中间件研发以及开源社区建设 1. Apache ShardingSphere 5.0.0 架构解析 2. 5.0.0 应用实践 3. Database Plus 解决方案 目录 产 品 定 位 l 构建异构数据库的上层标准和生态 l 提供精准化和差异化的能力 产 品 定 位 4.X 5.X 定位 分 库 分 表 中 间 件 分 基于扩展点,ShardingSphere 默认 实现了数据分片、读写分离、数据加 密、影子库压测、高可用等功能; 1. Apache ShardingSphere 5.0.0 架构解析 2. 5.0.0 应用实践 3. Database Plus 解决方案 目录 灵活可扩展 覆盖开发/测试/生产部署需求 运 行 模 式 D i s t S Q L 标准化 体系化 功能特色 • RDL(Resource & Rule 和规则的创建、修改和删除; • RQL(Resource & Rule Query Language)负责资源和规 则的查询和展现; • RAL(Resource & Rule Administration Language)负责 Hint、事务类型切换、分片执行计划查询等增量功能的操作。 D i s t S Q L D i s t S Q L D i s t S Q L D i0 码力 | 31 页 | 2.36 MB | 1 年前3Apache ShardingSphere 5.2.0 Document
Create database upper level standard . . . . . . . . . . . . . . . . . . 5 1.2.2 Enhance: Database computing enhancement engine . . . . . . . . . . . . . . . 5 1.2.3 Pluggable: Building database function Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Complex primary‐secondary database architecture . . . . . . . . . . . . . . . . . 36 3.3.5 Related References . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Primary database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Secondary database . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 483 页 | 4.27 MB | 1 年前3Apache ShardingSphere 5.2.1 Document
Create database upper level standard . . . . . . . . . . . . . . . . . . 4 1.2.2 Enhance: Database computing enhancement engine . . . . . . . . . . . . . . . 4 1.2.3 Pluggable: Building database function Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Complex primary‐secondary database architecture . . . . . . . . . . . . . . . . . 35 3.3.5 Related References . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Primary database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Secondary database . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 523 页 | 4.51 MB | 1 年前3Apache ShardingSphere 5.1.2 Document
. . . . . . . . . . . . . . . . . . . 55 Primary Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Replica Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Production Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Shadow Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358 7.8.6 [Proxy] How to use a suitable database tools connecting ShardingSphere‐Proxy? 359 7.8.7 [Proxy] When using a client such as Navicat to0 码力 | 503 页 | 3.66 MB | 1 年前3Apache ShardingSphere 中文文档 5.2.0
. 423 8.2.4 Proxy 使用 Navicat 等第三方数据库工具连接 ShardingSphere‐Proxy 时,如果 ShardingSphere‐Proxy 没有创建 Database 或者没有添加 Resource,连接失败? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 两款产品组成。其核心 采用微内核 + 可插拔架构,通过插件开放扩展功能。它提供多源异构数据库增强平台,进而围绕其上层 构建生态。 Apache ShardingSphere 设计哲学为 Database Plus,旨在构建异构数据库上层的标准和生态。它关注如 何充分合理地利用数据库的计算和存储能力,而并非实现一个全新的数据库。它站在数据库的上层视角, 关注它们之间的协作多于数据库自身。 ShardingSphere 已于 2020 年 4 月 16 日成为 Apache 软件基金会的顶级项目。欢迎通过邮件列表参与讨 论。 1.2 设计哲学 ShardingSphere 采用 Database Plus 设计哲学,该理念致力于构建数据库上层的标准和生态,在生态中 补充数据库所缺失的能力。 1.2. 设计哲学 3 Apache ShardingSphere document, v50 码力 | 449 页 | 5.85 MB | 1 年前3Apache ShardingSphere ElasticJob document Nov 01, 2023
HTTP, file, big data – Focus business SDK, can work with Spring IOC • Admin Console – Job administration – Job event trace query – Registry center management 3 3 Environment Required 3.1 Java horizontally split the databases according to the regions, database A stores data from Beijing, database B stores data from Shanghai and database C stores data from Guangzhou. If we config‐ ure only by data from database by sharding item 0 return data; case 1: Listdata = // get data from database by sharding item 1 return data; case 2: List data = // get data from database by sharding 0 码力 | 101 页 | 1.53 MB | 1 年前3Apache ShardingSphere 中文文档 5.1.2
. . . . . . . . . . . . . . . . . . . . 198 区分同一日志中的 database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 区分同一日志中的 database 和用户 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433 xi 1 概览 星评增长时间线 贡献者增长时间线 Apache ShardingSphere 产品定位为 Database Plus,旨在构建异构数据库上层的标准和生态。它关 注如何充分合理地利用数据库的计算和存储能力,而并非实现一个全新的数据库。ShardingSphere 站在 数据库的上层视角,关注他们之间的协作多于数据库自身。 的形式代理所有对数据库的访问。通过无中心、零 侵入的方案提供与数据库交互的啮合层,即 Database Mesh,又可称数据库网格。 Database Mesh 的关注重点在于如何将分布式的数据访问应用与数据库有机串联起来,它更加关注的是 交互,是将杂乱无章的应用与数据库之间的交互进行有效地梳理。使用 Database Mesh,访问数据库的 应用和数据库终将形成一个巨大的网格体系,应用和数据库只需在网格体系中对号入座即可,它们都是0 码力 | 446 页 | 4.67 MB | 1 年前3Apache ShardingSphere 5.0.0 Document
. . . . . . . . . . . . . . . . . . . 47 Primary Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Replica Database . . . . . . . . . . . . . . . . . . . . . . . . . Use Norms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Shadow database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Shadow algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304 7.7.6 6. [Proxy] How to use a suitable database tools connecting ShardingSphere‐Proxy?305 7.7.7 7. [Proxy] When using a client such as Navicat0 码力 | 403 页 | 3.15 MB | 1 年前3Apache ShardingSphere 5.1.1 Document
. . . . . . . . . . . . . . . . . . . 53 Primary Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Replica Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Production Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Shadow Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346 7.8.6 [Proxy] How to use a suitable database tools connecting ShardingSphere‐Proxy? 347 7.8.7 [Proxy] When using a client such as Navicat to0 码力 | 458 页 | 3.43 MB | 1 年前3Apache ShardingSphere 5.4.1 Document
. . 2 2 Design Philosophy 4 2.1 Connect: Create database upper level standard . . . . . . . . . . . . . . . . . . . . . . 5 2.2 Enhance: Database computing enhancement engine . . . . . . . . . . . . . . . . . . . 5 2.3 Pluggable: Building database function ecology . . . . . . . . . . . . . . . . . . . . . . . 5 2.3.1 L1 Kernel Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Complex primary‐secondary database architecture . . . . . . . . . . . . . . . . . 40 8.3.5 Related References . . . . . . . . . .0 码力 | 572 页 | 3.73 MB | 1 年前3
共 27 条
- 1
- 2
- 3