当前位置:网站首页>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提供可操作的入口。
参考
边栏推荐
- Leetcode 452. minimum number of arrows to burst balloons (medium)
- 【JVM】JVM表示浮点数
- From development to testing: I started from scratch and worked for six years of automated testing
- 中国地图省>市>级>区>镇>村5级联动下载【2019和2021】
- canvas常用原型方法及绘制图片应用
- Detailed introduction of v-bind instruction
- 【解决】ERROR in [eslint] ESLint is not a constructor
- 数据泄漏、删除事件频发,企业应如何构建安全防线?
- C#简单调用FMU ,进行仿真计算
- 【杂谈】程序员的发展最需要两点能力
猜你喜欢
![[solution] error in [eslint] eslint is not a constructor](/img/58/2ce1243d0085462af3ba6d3da0817d.png)
[solution] error in [eslint] eslint is not a constructor

OpenShift 4 之AMQ Streams(1) - 多个Consumer从Partition接收数据

final关键字和枚举类型
![Magic brace- [group theory] [Burnside lemma] [matrix fast power]](/img/cf/606d1bc7cd877771afbdd7640b718c.png)
Magic brace- [group theory] [Burnside lemma] [matrix fast power]
![[one flower, one world - Professor Zheng Yi - the way of simplicity] interpretable neural network](/img/fd/8ae7c00061491ad78a0fd68b7c21b0.png)
[one flower, one world - Professor Zheng Yi - the way of simplicity] interpretable neural network

An entry artifact tensorflowplayground

蓝牙技术|2025年北京充电桩总规模达70万个,聊聊蓝牙与充电桩的不解之缘

376. 摆动序列【贪心、动态规划------】

C simply call FMU for simulation calculation

【高数】高数平面立体几何
随机推荐
Oracle creates users with query permission only
2022高压电工考试模拟100题及模拟考试
Promise学习笔记
IP protocol of network layer
Map of China province > City > level > District > Town > village 5-level linkage download [2019 and 2021]
IT行业数据与应用关系的变迁
From development to testing: I started from scratch and worked for six years of automated testing
网络层的IP协议
Bluetooth technology | the total scale of charging piles in Beijing will reach 700000 in 2025. Talk about the indissoluble relationship between Bluetooth and charging piles
OpenShift 4 之AMQ Streams(1) - 多个Consumer从Partition接收数据
VR panoramic shooting helps promote the diversity of B & B
QT basic hand training applet - simple calculator design (with source code, analysis)
【592. 分数加减运算】
2022 safety officer-b certificate examination simulated 100 questions and answers
golang升级到1.18.4版本 遇到的问题
负数的十六进制表示
Talk to the father of MySQL: code completion at one time is a good programmer
如何在多线程环境下使用 GBase C API ?
RGB-T追踪——【多模态融合】Visible-Thermal UAV Tracking: A Large-Scale Benchmark and New Baseline
7 C控制语句:分支和跳转