You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2021/09/16 11:12:45 UTC

[shardingsphere] branch master updated: update FAQ (#12490)

This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new f879d94  update FAQ (#12490)
f879d94 is described below

commit f879d944df8359b6223a10f914cdc431cf245d1d
Author: Anen-L <61...@users.noreply.github.com>
AuthorDate: Thu Sep 16 19:12:16 2021 +0800

    update FAQ (#12490)
---
 docs/document/content/others/faq/_index.cn.md | 7 +------
 docs/document/content/others/faq/_index.en.md | 6 +-----
 2 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/docs/document/content/others/faq/_index.cn.md b/docs/document/content/others/faq/_index.cn.md
index 1c1d896..feada60 100644
--- a/docs/document/content/others/faq/_index.cn.md
+++ b/docs/document/content/others/faq/_index.cn.md
@@ -55,12 +55,7 @@ Java的整数相除结果是整数,但是对于inline表达式中的Groovy语
 
 回答:
 
-是的。因为ShardingSphere是将多个数据源合并为一个统一的逻辑数据源。因此即使不分库分表的部分,不配置分片规则ShardingSphere即无法精确的断定应该路由至哪个数据源。
-但是ShardingSphere提供了两种变通的方式,有助于简化配置。
-
-方法1:配置default-data-source,凡是在默认数据源中的表可以无需配置在分片规则中,ShardingSphere将在找不到分片数据源的情况下将表路由至默认数据源。
-
-方法2:将不参与分库分表的数据源独立于ShardingSphere之外,在应用中使用多个数据源分别处理分片和不分片的情况。
+不需要,ShardingSphere会自动识别。
 
 ## 7. ShardingSphere除了支持自带的分布式自增主键之外,还能否支持原生的自增主键?
 
diff --git a/docs/document/content/others/faq/_index.en.md b/docs/document/content/others/faq/_index.en.md
index 82ae016..b2be2f7 100644
--- a/docs/document/content/others/faq/_index.en.md
+++ b/docs/document/content/others/faq/_index.en.md
@@ -53,11 +53,7 @@ The division result of Java integers is also integer, but in Groovy syntax of in
 
 Answer:
 
-Yes. ShardingSphere merges multiple data sources to a united logic data source. Therefore, for the part without sharding database or table, ShardingSphere can not decide which data source to route to without sharding rules. However, ShardingSphere has provided two options to simplify configurations.
-
-Option 1: configure default-data-source. All the tables in default data sources need not to be configured in sharding rules. ShardingSphere will route the table to the default data source when it cannot find sharding  data source.
-
-Option 2: isolate data sources without sharding database & table from ShardingSphere; use multiple data sources to process sharding situations or non-sharding situations.
+No, ShardingSphere will recognize it automatically.
 
 ## 7. In addition to internal distributed primary key, does ShardingSphere support other native auto-increment keys?