| commit 391f32da894b8d7b2979f05f91c265964c4d43fb |
| Author: 孙念君 Sun Nianjun <kane.sun@outlook.com> |
| Date: Wed Apr 7 22:31:48 2021 +0800 |
| |
| Document: fix the incorrect count number for sharding algorithm (#9984) |
| |
| diff --git a/docs/document/content/features/sharding/concept/sharding.cn.md b/docs/document/content/features/sharding/concept/sharding.cn.md |
| index 15190e787c..55c89aef07 100644 |
| --- a/docs/document/content/features/sharding/concept/sharding.cn.md |
| +++ b/docs/document/content/features/sharding/concept/sharding.cn.md |
| @@ -14,7 +14,7 @@ SQL 中如果无分片字段,将执行全路由,性能较差。 |
| 通过分片算法将数据分片,支持通过 `=`、`>=`、`<=`、`>`、`<`、`BETWEEN` 和 `IN` 分片。 |
| 分片算法需要应用方开发者自行实现,可实现的灵活度非常高。 |
| |
| -目前提供4种分片算法。 |
| +目前提供 3 种分片算法。 |
| 由于分片算法和业务实现紧密相关,因此并未提供内置分片算法,而是通过分片策略将各种场景提炼出来,提供更高层级的抽象,并提供接口让应用开发者自行实现分片算法。 |
| |
| - 标准分片算法 |
| @@ -31,7 +31,7 @@ SQL 中如果无分片字段,将执行全路由,性能较差。 |
| |
| ## 分片策略 |
| |
| -包含分片键和分片算法,由于分片算法的独立性,将其独立抽离。真正可用于分片操作的是分片键 + 分片算法,也就是分片策略。目前提供 5 种分片策略。 |
| +包含分片键和分片算法,由于分片算法的独立性,将其独立抽离。真正可用于分片操作的是分片键 + 分片算法,也就是分片策略。目前提供 4 种分片策略。 |
| |
| - 标准分片策略 |
| |
| diff --git a/docs/document/content/features/sharding/concept/sharding.en.md b/docs/document/content/features/sharding/concept/sharding.en.md |
| index d7be050589..bea81d25c2 100644 |
| --- a/docs/document/content/features/sharding/concept/sharding.en.md |
| +++ b/docs/document/content/features/sharding/concept/sharding.en.md |
| @@ -15,7 +15,7 @@ Besides single sharding column, Apache ShardingSphere also supports multiple sha |
| Data sharding can be achieved by sharding algorithms through `=`, `>=`, `<=`, `>`, `<`, `BETWEEN` and `IN`. |
| They need to be implemented by developers themselves and can be highly flexible. |
| |
| -Currently, 4 kinds of sharding algorithms are available. |
| +Currently, 3 kinds of sharding algorithms are available. |
| Since the sharding algorithm and business achievement are closely related, it extracts all kinds of scenarios by sharding strategies, instead of providing built-in sharding algorithms. |
| Therefore, it can provide higher abstraction and the interface for developers to implement sharding algorithm by themselves. |
| |
| @@ -35,7 +35,7 @@ It has a relatively complex logic that requires developers to deal by themselves |
| ## Sharding Strategy |
| |
| It includes the sharding key and the sharding algorithm, and the latter one is extracted out for its independence. |
| -Only sharding key + sharding algorithm, i.e., the sharding strategy, can be used in sharding operation. For now, 5 kinds of sharding strategies are available. |
| +Only sharding key + sharding algorithm, i.e., the sharding strategy, can be used in sharding operation. For now, 4 kinds of sharding strategies are available. |
| |
| - Standard Sharding Strategy |
| |