Apache ShardingSphere 5.1.1 Document
3.43 MB
458 页
0 评论
语言 | 格式 | 评分 |
---|---|---|
英语 | .pdf | 3 |
摘要 | ||
The document provides a comprehensive guide to Apache ShardingSphere 5.1.1, detailing its features such as data scaling, encryption, sharding, and pluggable architecture. It outlines the processes for inventory, incremental, and switching phases in data scaling, using JDBC for data migration. Encryption is handled through SQL parsing and rewriting, supporting both plaintext and ciphertext storage. The management section covers metadata storage and dynamic orchestration of databases. Sharding functionality includes SQL processing steps and federation executor engine processes. The pluggable architecture is composed of three layers, enabling customization and extension of features without modifying kernel codes. The document also provides configuration details for ShardingSphere-JDBC, including Maven dependencies and data source creation, and explains resource operations, distributed databases, and DB discovery rules. | ||
AI总结 | ||
《Apache ShardingSphere 5.1.1 Documentation》主要介绍了该工具在分布式数据库管理中的核心功能和使用方法。以下是对文档内容的简要总结,突出核心观点和关键信息:
1. **缩放(Scaling)**:
- **清单阶段**:执行迁移任务,从数据节点查询清单数据并写入新集群。
- **增量阶段**:捕获数据节点变化的增量数据,MySQL通过解析binlog,PostgreSQL通过逻辑复制。
- **切换阶段**:临时只读,完成增量同步后,通过注册中心和配置中心切换应用到新规则和节点。
2. **加密(Encryption)**:
- 透明加密,解析和重写SQL并存储明文和密文。
- 查询时提取并解密密文返回。
- 支持已加密系统和新系统,加密解决方案完整。
3. **管理(Management)**:
- 元数据存储每个表和索引,目前不支持动态修改。
- 管理节点包括计算节点(记录数据库实例信息)和存储节点(动态编排副本数据库)。
4. **分片(Sharding)**:
- 标准内核流程:SQL解析、路由、改写、执行、结果合并。
- 联邦执行引擎流程:增加逻辑和物理计划优化,允许自定义系统架构。
5. **可插拔架构(Pluggable Architecture)**:
- 内核层:核心数据库能力,组件可替代,如查询优化器、分布式事务引擎。
- 功能层:增强功能,分片、读写分离、加密,可叠加使用。
- 生态层:与工具和系统交互,提供API扩展。
6. **快速入门指南(Quick Start Guide)**:
- Maven依赖导入、配置方式(Java、YAML、Spring)、数据源创建步骤。
7. **解决方案(Solutions/Features)**:
- 支持分布式数据库、数据安全、网关、分片、加密、影子数据库、读写分离等。
- 待开发功能:行权限、SQL翻译、SQL审计、防火墙。
8. **操作手册(Manual Operations)**:
- 资源操作:添加、删除资源。
- 规则管理:创建、修改分片规则、绑定表规则。
- 数据库操作:创建、删除表和规则,数据库发现规则的管理。
文档详细介绍了ShardingSphere的架构设计、功能实现及使用指导,适用于需要分布式数据库解决方案的开发者和系统架构师。 |
P1
P2
P3
P4
P5
P6
P7
下载文档到本地,方便使用
- 可预览页数已用完,剩余
451 页请下载阅读 -
文档评分