Apache ShardingSphere 中文文档 5.3.2
0 码力 | 508 页 | 4.44 MB | 1 年前3Apache ShardingSphere ElasticJob document Nov 01, 2023
. 12 leader node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.3 Failover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 by curator distributed locks 5.2. Elastic Schedule 13 Apache ShardingSphere ElasticJob document 5.3 Failover ElasticJob will not re‐shard during this execution, but wait for the next scheduling before words, if failover is not turned on, there is a 50‐minute idle period in this shard. As shown below. 5.3. Failover 14 Apache ShardingSphere ElasticJob document After the failover is enabled, other ElasticJob0 码力 | 101 页 | 1.53 MB | 1 年前3Apache ShardingSphere ElasticJob 中文文档 2023 年 11 月 01 日
12 流程图 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 i 5.3 失效转移 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.3 ShardingSphere ElasticJob document 作业执行 5.2. 弹性调度 16 Apache ShardingSphere ElasticJob document 5.3 失效转移 ElasticJob 不会在本次执行过程中进行重新分片,而是等待下次调度之前才开启重新分片流程。当作业执 行过程中服务器宕机,失效转移允许将该次未完成的任务在另一作业节点上补偿执行。 下,位于该分片 的作业有 50 分钟空档期。如下如图所示。 在开启失效转移功能之后,ElasticJob 的其他服务器能够在感知到宕机的作业服务器之后,补偿执行该分 片作业。如下图所示。 5.3. 失效转移 17 Apache ShardingSphere ElasticJob document 在资源充足的情况下,作业仍然能够在 13:30 完成执行。 5.3.2 执行机制 当作0 码力 | 98 页 | 1.97 MB | 1 年前3Apache ShardingSphere 5.2.0 Document
300 Implementation classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 5.3 Kernel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 igurationYa mlConstruct 5.3 Kernel 5.3.1 SQLRouter Fully-qualified class name org.apache.shardingsphere.infra.route.SQLRouter Definition Used to process routing results 5.3. Kernel 300 Apache ShardingSphere results org.apache. shardingsphere.enc rypt.rewrite.conte xt.EncryptSQLRewri teContextDecorator 5.3. Kernel 301 Apache ShardingSphere document, v5.2.0 5.3.3 SQLExecutionHook Fully-qualified class0 码力 | 483 页 | 4.27 MB | 1 年前3Apache ShardingSphere 5.0.0-alpha Document
281 5.2.3 ShardingSphereYamlConstruct . . . . . . . . . . . . . . . . . . . . . . . . . . . 282 5.3 Kernel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282 NoneShardingStrate gyConfigurationYaml‐ Construct Used to convert non sharding strategy and YAML to each other 5.3 Kernel 5.3.1 DatabaseType SPI Name Description DatabaseType Supported database type Implementation OracleDatabaseType Oracle database SQLServerDatabaseType SQLServer database H2DatabaseType H2 database 5.3. Kernel 282 Apache ShardingSphere document, v5.0.0-beta 5.3.2 DialectTableMetaDataLoader SPI Name0 码力 | 311 页 | 2.09 MB | 1 年前3Apache ShardingSphere 5.2.1 Document
327 Implementation classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327 5.3 Kernel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327 igurationYa mlConstruct 5.3 Kernel 5.3.1 SQLRouter Fully-qualified class name org.apache.shardingsphere.infra.route.SQLRouter Definition Used to process routing results 5.3. Kernel 327 Apache ShardingSphere results org.apache. shardingsphere.enc rypt.rewrite.conte xt.EncryptSQLRewri teContextDecorator 5.3. Kernel 328 Apache ShardingSphere document, v5.2.1 5.3.3 SQLExecutionHook Fully-qualified class0 码力 | 523 页 | 4.51 MB | 1 年前3Apache ShardingSphere 中文文档 5.0.0-alpha
272 5.2.3 ShardingSphereYamlConstruct . . . . . . . . . . . . . . . . . . . . . . . . . . . 273 5.3 内核 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273 用于将定制化对象和 YAML 相互转化 已知实现类 详细说明 NoneShardingSt rategyConfigurationYamlConstruct 用于将不分片策略对象和 YAML 相互转化 5.3 内核 5.3.1 DatabaseType SPI 名称 详细说明 DatabaseType 支持的数据库类型 已知实现类 详细说明 SQL92DatabaseType 遵循 SQL92 PostgreSQL 方言加载元数据 SQLServerTableMetaDataLoader 使用 SQLServer 方言加载元数据 H2TableMetaDataLoader 使用 H2 方言加载元数据 5.3. 内核 273 Apache ShardingSphere document, v5.0.0-beta 5.3.3 SQLRouter SPI 名称 详细说明 SQLRouter 用于处理路由结果0 码力 | 301 页 | 3.44 MB | 1 年前3Apache ShardingSphere 5.1.2 Document
217 Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 5.3 ShardingSphere‐Sidecar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 5 set (0.21 sec) Sharding already take effect. Optionally, unused ds_0 and ds_1 could be removed. 5.3 ShardingSphere-Sidecar 5.3.1 Introduction ShardingSphere‐Sidecar (TODO) defines itself as a cloud sidecar. It provides a mesh layer interacting with the database, we call this as Database Mesh. 5.3. ShardingSphere-Sidecar 233 Apache ShardingSphere document, v5.1.2 5.3.2 Comparison Shardi ngSphere-JDBC0 码力 | 503 页 | 3.66 MB | 1 年前3Apache ShardingSphere 中文文档 5.2.0
. 279 已知实现 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 5.3 内核 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 Shardi ngStra tegyCo nfigur ationY amlCon struct 5.3 内核 5.3.1 SQLRouter 全限定类名 org.apache.shardingsphere.infra.route.SQLRouter 定义 用于处理路由结果 5.3. 内核 279 Apache ShardingSphere document, v5.2.0 已知实现 5.3.3 SQLExecutionHook 全限定类名 org.apache.shardingsphere.infra.executor.sql.hook.SQLExecutionHook 5.3. 内核 280 Apache ShardingSphere document, v5.2.0 定义 SQL 执行过程监听器 已知实现 配 置 标识 详细说明 全限定类名 无 基于事务的0 码力 | 449 页 | 5.85 MB | 1 年前3尚硅谷 “玩转”Java 系列 - MyBatis
2. 定义实体类: public class Order { private int id; private String orderNo; private float price; } 5.3. 实现 getOrderById(id)的查询: 方式一: 通过在 sql 语句中定义别名0 码力 | 27 页 | 322.51 KB | 1 年前3
共 18 条
- 1
- 2