当前位置:网站首页>ShardingSphere简介(一)
ShardingSphere简介(一)
2022-07-28 08:50:00 【融极】
概述
什么是Sharding Sphere
ShardingSphere是一套开源的分布式数据库中间件解决方案组成的生态圈,它由Sharding-JDBC、Sharding-Proxy和Sharding-Sidecar(计划中)这3款相互独立的产品组成。它们均提供标准化的数据分片、分布式事务和数据库治理功能,可适用于如Java同构、异构语言、容器、云原生等各种多样化的应用场景。
ShardingSphere定位为关系型数据库中间件,旨在充分合理地在分布式的场景下利用关系型数据库的计算和存储能力,而并非实现一个全新的关系型数据库。它与NoSQL和NewSQL是并存而非互斥的关系。
什么是Sharding-JDBC
Sharding-JDBC是ShardingSphere的第一个产品,也是ShardingSphere的前身。它定位为轻量级Java框架,在Java的JDBC层提供的额外服务。它使用客户端直连数据库,以Jar包形式提供服务,无需额外部署和依赖,可理解为增强版的JDBC驱动,完全兼容JDBC的各种ORM框架。
- 适用于任何基于Java的ORM框,如:JPA,Hibernate,Mybatis,Spring JDBC Template或直接使用JDBC。
- 基于任何第三方数据库连接池,如:DPCP,C3P0,BoneCP,Druid,HikariCP等。
- 支持人员实现JDBC规范的数据库。目前支持MySQL,Oracle,SQLServer和PostgreSQL。

Sharding-JDBC的优势在于对Java应用的友好度。
什么是Sharding-Proxy
Sharding-Proxy是ShardingSphere的第二个产品。它定位为透明化的数据库代理端,提供封装了数据库二进制协议的服务端版本,用于完成对异构语言的支持。目前先提供MySQL版本,它可以使用任何兼容MySQL协议的访问客户端(如:MySQL Command Client,MySQL Workbench、Navicat等)操作数据,对DBA更加友好。
- 向应用程序完全透明,可直接当前MySQL使用。
- 适用于任何兼容MySQL协议的客户端。

Sharding-Proxy的优势在于对异构语言的支持,以及为DBA提供可操作的入口。
参考
边栏推荐
- 正则表达式为十六进制数字?
- 2022 high voltage electrician examination simulated 100 questions and simulated examination
- [solution] error in [eslint] eslint is not a constructor
- 51单片机存储篇:EEPROM(I2C)
- Promise实例如何解决地狱回调
- A perfect cross compilation environment records the shell scripts generated by PETA
- 数据泄漏、删除事件频发,企业应如何构建安全防线?
- Get started quickly with flask (I) understand the framework flask, project structure and development environment
- 数据库核心体系
- 力扣题(1)—— 两数之和
猜你喜欢

Title and answer of work permit for safety management personnel of hazardous chemical business units in 2022

IDC脚本文件运行
![[English postgraduate entrance examination vocabulary training camp] day 15 - analyze, general, avoid, surveillance, compared](/img/a8/2c2fab613035f5e50524056d5f51a3.png)
[English postgraduate entrance examination vocabulary training camp] day 15 - analyze, general, avoid, surveillance, compared

RGB-T追踪——【多模态融合】Visible-Thermal UAV Tracking: A Large-Scale Benchmark and New Baseline

Machine learning: self paced and fine tuning

阿里云服务器搭建和宝塔面板连接

【592. 分数加减运算】

2022安全员-C证特种作业证考试题库及答案
![[C language] detailed explanation sequence table (seqlist)](/img/60/c8cee6a6afe57247aba583291cc99b.png)
[C language] detailed explanation sequence table (seqlist)
![[package deployment]](/img/6f/93a35436947311bc2305adcb0df1a6.png)
[package deployment]
随机推荐
正负数值的正则表达式
Realize batch data enhancement | use of keras imagedatagenerator
LeetCode_ 406_ Rebuild the queue based on height
1.5 merge\rebase\revert\stash\branch
【解决】ERROR in [eslint] ESLint is not a constructor
Promise learning notes
2022安全员-C证特种作业证考试题库及答案
QT基础练手小程序-简单计算器设计(附带源码,解析)
canvas常用原型方法及绘制图片应用
个人博客小程序
3D全景展示新模式,成为破局的关键
v-bind指令的详细介绍
2022 examination question bank and simulation examination of crane driver (limited to bridge crane)
【打包部署】
【高数】高数平面立体几何
Leetcode 452. minimum number of arrows to burst balloons (medium)
Recommend an artifact to get rid of the entanglement of variable names and a method to modify file names in batches
技术分享| 快对讲综合调度系统
2022年危险化学品经营单位安全管理人员上岗证题目及答案
golang升级到1.18.4版本 遇到的问题