This is an automated email from the ASF dual-hosted git repository. soulasuna 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 cb7efeda8eb modify (#19694) cb7efeda8eb is described below commit cb7efeda8ebfa70cb71be8381352bdfc5aa22bdf Author: Mike0601 <40025573+mike0...@users.noreply.github.com> AuthorDate: Fri Jul 29 18:26:09 2022 +0800 modify (#19694) --- .../reference/db-compatibility/_index.cn.md | 23 +++++++++++++++++++++ .../reference/db-compatibility/_index.en.md | 22 ++++++++++++++++++++ .../content/reference/distsql/_index.cn.md | 4 ++-- .../content/reference/distsql/_index.en.md | 4 ++-- .../static/img/db-compatibility/principle1.png | Bin 0 -> 160246 bytes 5 files changed, 49 insertions(+), 4 deletions(-) diff --git a/docs/document/content/reference/db-compatibility/_index.cn.md b/docs/document/content/reference/db-compatibility/_index.cn.md new file mode 100644 index 00000000000..ce776dd0e91 --- /dev/null +++ b/docs/document/content/reference/db-compatibility/_index.cn.md @@ -0,0 +1,23 @@ ++++ +pre = "<b>7.1. </b>" +title = "数据兼容性" +weight = 1 ++++ + + + +- SQL 兼容 + +SQL 是使用者与数据库交流的标准语言。 SQL 解析引擎负责将 SQL 字符串解析为抽象语法树,供 Apache ShardingSphere 理解并实现其增量功能。 + +ShardingSphere 目前支持 MySQL, PostgreSQL, SQLServer, Oracle, openGauss 以及符合 SQL92 规范的 SQL 方言。 由于 SQL 语法的复杂性,目前仍然存在少量不支持的 SQL。 + +- 数据库协议兼容 + +Apache ShardingSphere 目前根据不同的数据协议,实现了 MySQL 和 PostgreSQL 协议。 + +- 特性支持 + +Apache ShardingSphere 为数据库提供了分布式协作的能力,同时将一部分数据库特性抽象到了上层,进行统一管理,以降低用户的使用难度。 + +因此,对于统一提供的特性,原生的 SQL 将不再下发到数据库,并提示该操作不被支持,用户可使用 ShardingSphere 提供的的方式进行代替。 \ No newline at end of file diff --git a/docs/document/content/reference/db-compatibility/_index.en.md b/docs/document/content/reference/db-compatibility/_index.en.md new file mode 100644 index 00000000000..a8385c1d94c --- /dev/null +++ b/docs/document/content/reference/db-compatibility/_index.en.md @@ -0,0 +1,22 @@ ++++ +pre = "<b>7.1. </b>" +title = "Database Compatibility" +weight = 1 ++++ + + + +- SQL compatibility + +SQL is the standard language for users to communicate with databases. The SQL parsing engine is responsible for parsing SQL strings into abstract syntax trees so that Apache ShardingSphere can understand and implement its incremental function. +ShardingSphere currently supports MySQL, PostgreSQL, SQLServer, Oracle, openGauss, and SQL dialects conforming to the SQL92 standard. Due to the complexity of SQL syntax, a few SQL are not supported for now. + +- Database protocol compatibility + +Apache ShardingSphere currently implements MySQL and PostgreSQL protocols according to different data protocols. + +- Supported features + +Apache ShardingSphere provides distributed collaboration capabilities for databases. At the same time, it abstracts some database features to the upper layer for unified management, so as to facilitate users. + +Therefore, native SQL will not deliver the features provided uniformly to the database, and a message will be displayed indicating that the operation is not supported. Users can replace it with methods provided by ShardingSphere. diff --git a/docs/document/content/reference/distsql/_index.cn.md b/docs/document/content/reference/distsql/_index.cn.md index 5905387ef84..f7aa21f1f9b 100644 --- a/docs/document/content/reference/distsql/_index.cn.md +++ b/docs/document/content/reference/distsql/_index.cn.md @@ -1,7 +1,7 @@ +++ -pre = "<b>7.1. </b>" +pre = "<b>7.12. </b>" title = "DistSQL" -weight = 1 +weight = 12 chapter = true +++ diff --git a/docs/document/content/reference/distsql/_index.en.md b/docs/document/content/reference/distsql/_index.en.md index 5ec8811f758..ce2d3022a9b 100644 --- a/docs/document/content/reference/distsql/_index.en.md +++ b/docs/document/content/reference/distsql/_index.en.md @@ -1,7 +1,7 @@ +++ -pre = "<b>7.1. </b>" +pre = "<b>7.12. </b>" title = "DistSQL" -weight = 1 +weight = 12 chapter = true +++ diff --git a/docs/document/static/img/db-compatibility/principle1.png b/docs/document/static/img/db-compatibility/principle1.png new file mode 100644 index 00000000000..ad6638a40b6 Binary files /dev/null and b/docs/document/static/img/db-compatibility/principle1.png differ