From 666c2ae103ef6541f60c47e739cb3331b2568b6d Mon Sep 17 00:00:00 2001 From: spaceoddity91719 Date: Thu, 17 Feb 2022 16:01:15 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=96=B0=E5=A2=9Epgcli=E8=AE=BF=E9=97=AEmo?= =?UTF-8?q?gdb=EF=BC=8C=E8=B0=83=E6=95=B4toc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gsql.md} | 10 +-- .../use-cli-to-access-mogdb/pgcli.md | 85 +++++++++++++++++++ product/en/docs-mogdb/v2.1/toc.md | 4 +- product/en/docs-mogdb/v2.1/toc_quickstart.md | 4 +- .../gsql.md} | 10 +-- .../use-cli-to-access-mogdb/pgcli.md | 85 +++++++++++++++++++ product/zh/docs-mogdb/v2.1/toc.md | 4 +- product/zh/docs-mogdb/v2.1/toc_quickstart.md | 4 +- 8 files changed, 192 insertions(+), 14 deletions(-) rename product/en/docs-mogdb/v2.1/quick-start/mogdb-access/{use-cli-to-access-mogdb.md => use-cli-to-access-mogdb/gsql.md} (96%) create mode 100644 product/en/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md rename product/zh/docs-mogdb/v2.1/quick-start/mogdb-access/{use-cli-to-access-mogdb.md => use-cli-to-access-mogdb/gsql.md} (95%) create mode 100644 product/zh/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md diff --git a/product/en/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb.md b/product/en/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/gsql.md similarity index 96% rename from product/en/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb.md rename to product/en/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/gsql.md index 5f09d045..5b6669c6 100644 --- a/product/en/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb.md +++ b/product/en/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/gsql.md @@ -1,13 +1,13 @@ --- -title: Use CLI to Access MogDB -summary: Use CLI to Access MogDB +title: gsql +summary: gsql author: Guo Huan date: 2021-12-1 --- -# Use CLI to Access MogDB +# gsql -This document introduces how to use CLI to access MogDB. **gsql** is a MogDB-provided database connection tool running in the CLI. **gsql** provides basic and advanced functions of databases to facilitate user operations. +**gsql** is a MogDB-provided database connection tool running in the CLI. **gsql** provides basic and advanced functions of databases to facilitate user operations.
@@ -37,7 +37,7 @@ You can use a client tool to connect a database through the primary node of the ```bash cat /mogdb/data/db1/postgresql.conf | grep port - + port = 26000 # (change requires restart) #comm_sctp_port = 1024 # Assigned by installation (change requires restart) #comm_control_port = 10001 # Assigned by installation (change requires restart) diff --git a/product/en/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md b/product/en/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md new file mode 100644 index 00000000..d0277bad --- /dev/null +++ b/product/en/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md @@ -0,0 +1,85 @@ +--- +title: pgcli +summary: pgcli +author: Guo Huan +date: 2022-02-16 +--- + +# pgcli + +pgcli is a command line interface for Postgres with auto-completion and syntax highlighting, which is also suitable for MogDB. + +Source: [https://github.com/dbcli/pgcli](https://github.com/dbcli/pgcli) + +
+ +## Install + +``` +sudo pip3 install pgcli +``` + +For detailed installation steps for different OS, please refer to the pgcli home page: [http://pgcli.com](http://pgcli.com/) + +After the installation is complete, you can use the help command to view help information. + +``` +[root@mogdb-kernel-0004 ~]# pgcli --help +Usage: pgcli [OPTIONS] [DBNAME] [USERNAME] + +Options: + -h, --host TEXT Host address of the postgres database. + -p, --port INTEGER Port number at which the postgres instance is + listening. + -U, --username TEXT Username to connect to the postgres database. + -u, --user TEXT Username to connect to the postgres database. + -W, --password Force password prompt. + -w, --no-password Never prompt for password. + --single-connection Do not use a separate connection for completions. + -v, --version Version of pgcli. + -d, --dbname TEXT database name to connect to. + --pgclirc FILE Location of pgclirc file. + -D, --dsn TEXT Use DSN configured into the [alias_dsn] section + of pgclirc file. + --list-dsn list of DSN configured into the [alias_dsn] + section of pgclirc file. + --row-limit INTEGER Set threshold for row limit prompt. Use 0 to + disable prompt. + --less-chatty Skip intro on startup and goodbye on exit. + --prompt TEXT Prompt format (Default: "\u@\h:\d> "). + --prompt-dsn TEXT Prompt format for connections using DSN aliases + (Default: "\u@\h:\d> "). + -l, --list list available databases, then exit. + --auto-vertical-output Automatically switch to vertical output mode if + the result is wider than the terminal width. + --warn [all|moderate|off] Warn before running a destructive query. + --help Show this message and exit. +``` + +
+ +## Example of Connecting MogDB + +Switch to the user omm through the `su - omm` command, and then run `pgcli -d postgres -p 26000` to connect to MogDB. + +``` +[root@mogdb-kernel-0004 ~]# su - omm +Last login: Wed Feb 16 15:31:37 CST 2022 on pts/1 +[omm@mogdb-kernel-0004 ~]$ pgcli -d postgres -p 26000 +Server: PostgreSQL 9.2.4 +Version: 3.3.1 +Home: http://pgcli.com +postgres> \l ++-----------+---------+----------+-------------+-------------+-------------------+ +| Name | Owner | Encoding | Collate | Ctype | Access privileges | +|-----------+---------+----------+-------------+-------------+-------------------| +| postgres | omm | UTF8 | en_US.UTF-8 | en_US.UTF-8 | | +| template0 | omm | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/omm | +| | | | | | omm=CTc/omm | +| template1 | omm | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/omm | +| | | | | | omm=CTc/omm | ++-----------+---------+----------+-------------+-------------+-------------------+ +SELECT 3 +Time: 0.020s +postgres> +``` \ No newline at end of file diff --git a/product/en/docs-mogdb/v2.1/toc.md b/product/en/docs-mogdb/v2.1/toc.md index 7001bf96..8bc19100 100644 --- a/product/en/docs-mogdb/v2.1/toc.md +++ b/product/en/docs-mogdb/v2.1/toc.md @@ -27,7 +27,9 @@ + [Container-based MogDB Installation](/quick-start/container-based-installation.md) + [Installation on a Single Node](/quick-start/installation-on-a-single-node.md) + MogDB Access - + [Use CLI to Access MogDB](/quick-start/mogdb-access/use-cli-to-access-mogdb.md) + + Use CLI to Access MogDB + + [gsql](/quick-start/mogdb-access/use-cli-to-access-mogdb/gsql.md) + + [pgcli](/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md) + [Use GUI to Access MogDB](/quick-start/mogdb-access/use-gui-tools-to-access-mogdb.md) + Use Middleware to Access MogDB + [Use WebLogic to Configure MogDB Data Sources](/quick-start/mogdb-access/use-middleware-to-access-mogdb/weblogic-configures-mogdb(postgresql)-data-source-reference.md) diff --git a/product/en/docs-mogdb/v2.1/toc_quickstart.md b/product/en/docs-mogdb/v2.1/toc_quickstart.md index b67333a9..8dff8511 100644 --- a/product/en/docs-mogdb/v2.1/toc_quickstart.md +++ b/product/en/docs-mogdb/v2.1/toc_quickstart.md @@ -7,7 +7,9 @@ + [Container-based MogDB Installation](/quick-start/container-based-installation.md) + [Installation on a Single Node](/quick-start/installation-on-a-single-node.md) + MogDB Access - + [Use CLI to Access MogDB](/quick-start/mogdb-access/use-cli-to-access-mogdb.md) + + Use CLI to Access MogDB + + [gsql](/quick-start/mogdb-access/use-cli-to-access-mogdb/gsql.md) + + [pgcli](/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md) + [Use GUI to Access MogDB](/quick-start/mogdb-access/use-gui-tools-to-access-mogdb.md) + Use Middleware to Access MogDB + [Use WebLogic to Configure MogDB Data Sources](/quick-start/mogdb-access/use-middleware-to-access-mogdb/weblogic-configures-mogdb(postgresql)-data-source-reference.md) diff --git a/product/zh/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb.md b/product/zh/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/gsql.md similarity index 95% rename from product/zh/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb.md rename to product/zh/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/gsql.md index 42361603..b279496c 100644 --- a/product/zh/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb.md +++ b/product/zh/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/gsql.md @@ -1,13 +1,13 @@ --- -title: 使用命令行访问MogDB -summary: 使用命令行访问MogDB +title: gsql +summary: gsql author: Guo Huan date: 2021-12-1 --- -# 使用命令行访问MogDB +# gsql -本文档介绍如何使用命令行访问MogDB。gsql是MogDB提供的在命令行下运行的数据库连接工具。此工具除了具备操作数据库的基本功能,还提供了若干高级特性,便于用户使用。 +gsql是MogDB提供的在命令行下运行的数据库连接工具。此工具除了具备操作数据库的基本功能,还提供了若干高级特性,便于用户使用。
@@ -37,7 +37,7 @@ date: 2021-12-1 ```bash cat /mogdb/data/db1/postgresql.conf | grep port - + port = 26000 # (change requires restart) #comm_sctp_port = 1024 # Assigned by installation (change requires restart) #comm_control_port = 10001 # Assigned by installation (change requires restart) diff --git a/product/zh/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md b/product/zh/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md new file mode 100644 index 00000000..fe546424 --- /dev/null +++ b/product/zh/docs-mogdb/v2.1/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md @@ -0,0 +1,85 @@ +--- +title: pgcli +summary: pgcli +author: Guo Huan +date: 2022-02-16 +--- + +# pgcli + +pgcli是一个具有自动补全以及高亮显示语法功能的Postgres命令行工具,同样适用于连接MogDB。 + +pgcli Github页面:[https://github.com/dbcli/pgcli](https://github.com/dbcli/pgcli) + +
+ +## 安装pgcli + +``` +sudo pip3 install pgcli +``` + +适用于不同操作系统的详细安装步骤请参考pgcli官网页面:[http://pgcli.com](http://pgcli.com/) + +安装完成后可以使用help命令查看帮助信息。 + +``` +[root@mogdb-kernel-0004 ~]# pgcli --help +Usage: pgcli [OPTIONS] [DBNAME] [USERNAME] + +Options: + -h, --host TEXT Host address of the postgres database. + -p, --port INTEGER Port number at which the postgres instance is + listening. + -U, --username TEXT Username to connect to the postgres database. + -u, --user TEXT Username to connect to the postgres database. + -W, --password Force password prompt. + -w, --no-password Never prompt for password. + --single-connection Do not use a separate connection for completions. + -v, --version Version of pgcli. + -d, --dbname TEXT database name to connect to. + --pgclirc FILE Location of pgclirc file. + -D, --dsn TEXT Use DSN configured into the [alias_dsn] section + of pgclirc file. + --list-dsn list of DSN configured into the [alias_dsn] + section of pgclirc file. + --row-limit INTEGER Set threshold for row limit prompt. Use 0 to + disable prompt. + --less-chatty Skip intro on startup and goodbye on exit. + --prompt TEXT Prompt format (Default: "\u@\h:\d> "). + --prompt-dsn TEXT Prompt format for connections using DSN aliases + (Default: "\u@\h:\d> "). + -l, --list list available databases, then exit. + --auto-vertical-output Automatically switch to vertical output mode if + the result is wider than the terminal width. + --warn [all|moderate|off] Warn before running a destructive query. + --help Show this message and exit. +``` + +
+ +## 连接MogDB示例 + +通过`su - omm`命令切换到omm用户,然后执行`pgcli -d postgres -p 26000`即可连接MogDB数据库。 + +``` +[root@mogdb-kernel-0004 ~]# su - omm +Last login: Wed Feb 16 15:31:37 CST 2022 on pts/1 +[omm@mogdb-kernel-0004 ~]$ pgcli -d postgres -p 26000 +Server: PostgreSQL 9.2.4 +Version: 3.3.1 +Home: http://pgcli.com +postgres> \l ++-----------+---------+----------+-------------+-------------+-------------------+ +| Name | Owner | Encoding | Collate | Ctype | Access privileges | +|-----------+---------+----------+-------------+-------------+-------------------| +| postgres | omm | UTF8 | en_US.UTF-8 | en_US.UTF-8 | | +| template0 | omm | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/omm | +| | | | | | omm=CTc/omm | +| template1 | omm | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/omm | +| | | | | | omm=CTc/omm | ++-----------+---------+----------+-------------+-------------+-------------------+ +SELECT 3 +Time: 0.020s +postgres> +``` \ No newline at end of file diff --git a/product/zh/docs-mogdb/v2.1/toc.md b/product/zh/docs-mogdb/v2.1/toc.md index 298c2a00..d4c4a179 100644 --- a/product/zh/docs-mogdb/v2.1/toc.md +++ b/product/zh/docs-mogdb/v2.1/toc.md @@ -27,7 +27,9 @@ + [容器化安装](/quick-start/container-based-installation.md) + [单节点安装](/quick-start/installation-on-a-single-node.md) + 访问数据库 - + [使用命令行访问MogDB](/quick-start/mogdb-access/use-cli-to-access-mogdb.md) + + 使用命令行访问MogDB + + [gsql](/quick-start/mogdb-access/use-cli-to-access-mogdb/gsql.md) + + [pgcli](/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md) + [使用图形工具访问MogDB](/quick-start/mogdb-access/use-gui-tools-to-access-mogdb.md) + 使用中间件访问MogDB + [WebLogic配置MogDB数据源参考](/quick-start/mogdb-access/use-middleware-to-access-mogdb/weblogic-configures-mogdb(postgresql)-data-source-reference.md) diff --git a/product/zh/docs-mogdb/v2.1/toc_quickstart.md b/product/zh/docs-mogdb/v2.1/toc_quickstart.md index 3e02d63e..00ff871f 100644 --- a/product/zh/docs-mogdb/v2.1/toc_quickstart.md +++ b/product/zh/docs-mogdb/v2.1/toc_quickstart.md @@ -7,7 +7,9 @@ + [容器化安装](/quick-start/container-based-installation.md) + [单节点安装](/quick-start/installation-on-a-single-node.md) + 访问数据库 - + [使用命令行访问MogDB](/quick-start/mogdb-access/use-cli-to-access-mogdb.md) + + 使用命令行访问MogDB + + [gsql](/quick-start/mogdb-access/use-cli-to-access-mogdb/gsql.md) + + [pgcli](/quick-start/mogdb-access/use-cli-to-access-mogdb/pgcli.md) + [使用图形工具访问MogDB](/quick-start/mogdb-access/use-gui-tools-to-access-mogdb.md) + 使用中间件访问MogDB + [WebLogic配置MogDB数据源参考](/quick-start/mogdb-access/use-middleware-to-access-mogdb/weblogic-configures-mogdb(postgresql)-data-source-reference.md) -- Gitee From 9001300676bc9f23629f5b328200b4a32002dfa0 Mon Sep 17 00:00:00 2001 From: spaceoddity91719 Date: Thu, 17 Feb 2022 16:05:33 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0release=20note?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- product/en/docs-mogdb/v2.1/about-mogdb/mogdb-release-notes.md | 4 ---- product/zh/docs-mogdb/v2.1/about-mogdb/mogdb-release-notes.md | 4 ---- 2 files changed, 8 deletions(-) diff --git a/product/en/docs-mogdb/v2.1/about-mogdb/mogdb-release-notes.md b/product/en/docs-mogdb/v2.1/about-mogdb/mogdb-release-notes.md index 33cc3dca..e1bb605e 100644 --- a/product/en/docs-mogdb/v2.1/about-mogdb/mogdb-release-notes.md +++ b/product/en/docs-mogdb/v2.1/about-mogdb/mogdb-release-notes.md @@ -76,10 +76,6 @@ Indexes on column-store tables, local indexes on partitioned tables, and indexes By integrating the orafce plugin, the following Oracle compatible syntax is supported: -- Data Type - - VARCHAR2 - - NVARCHAR2 - - DATE - SQL Queries - DUAL table - SQL Functions diff --git a/product/zh/docs-mogdb/v2.1/about-mogdb/mogdb-release-notes.md b/product/zh/docs-mogdb/v2.1/about-mogdb/mogdb-release-notes.md index b96b0859..b57325ea 100644 --- a/product/zh/docs-mogdb/v2.1/about-mogdb/mogdb-release-notes.md +++ b/product/zh/docs-mogdb/v2.1/about-mogdb/mogdb-release-notes.md @@ -76,10 +76,6 @@ MogDB 2.1.0版本基于MogDB 2.0.0版本进一步增强,并合入了openGauss 通过集成orafce插件,支持以下Oracle兼容语法: -- Data Type - - VARCHAR2 - - NVARCHAR2 - - DATE - SQL Queries - DUAL table - SQL Functions -- Gitee From 68f54a42264b731f4dbbd6d89ac09139ab747a56 Mon Sep 17 00:00:00 2001 From: spaceoddity91719 Date: Thu, 17 Feb 2022 16:55:21 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=BA=90=E7=A0=81?= =?UTF-8?q?=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../en/docs-mogdb/v2.1/source-code-parsing.md | 68 +++++++++++-------- .../zh/docs-mogdb/v2.1/source-code-parsing.md | 68 +++++++++++-------- 2 files changed, 82 insertions(+), 54 deletions(-) diff --git a/product/en/docs-mogdb/v2.1/source-code-parsing.md b/product/en/docs-mogdb/v2.1/source-code-parsing.md index 61707aad..416787bc 100644 --- a/product/en/docs-mogdb/v2.1/source-code-parsing.md +++ b/product/en/docs-mogdb/v2.1/source-code-parsing.md @@ -5,60 +5,74 @@ author: Guo Huan date: 2022-02-07 --- - - # Source Code Parsing This series of articles parses the source code of the openGauss database module by module. It can be used as a reference tutorial for kernel developers to understand the openGauss database and develop database based on openGauss. You can click the links below to view this series of articles. -[openGauss database source code parsing series of articles - Introduction to openGauss (Part 1)](https://www.modb.pro/db/47895) +## Introduction to openGauss + +[Introduction to openGauss (Part 1)](https://www.modb.pro/db/47895) + +[Introduction to openGauss (Part 2)](https://www.modb.pro/db/48291) + +## Quick Start to openGauss Development + +[Quick Start to openGauss Development (Part 1)](https://www.modb.pro/db/48657) + +[Quick Start to openGauss Development (Part 2)](https://www.modb.pro/db/48870) + +[Quick Start to openGauss Development (Part 3)](https://www.modb.pro/db/49118) + +## Parsing of Public Component Source Code + +[Parsing of public component source code (Part 1)](https://www.modb.pro/db/49242) -[openGauss database source code parsing series of articles - Introduction to openGauss (Part 2)](https://www.modb.pro/db/48291) +[Parsing of public component source code (Part 2)](https://www.modb.pro/db/49711) -[openGauss database source code parsing series of articles - Quick Start to openGauss Development (Part 1)](https://www.modb.pro/db/48657) +## Parsing of Storage Engine Source Code -[openGauss database source code parsing series of articles - Quick Start to openGauss Development (Part 2)](https://www.modb.pro/db/48870) +[Parsing of storage engine source code (Part 1)](https://www.modb.pro/db/51541) -[openGauss database source code parsing series of articles - Quick Start to openGauss Development (Part 3)](https://www.modb.pro/db/49118) +[Parsing of storage engine source code (Part 2)](https://www.modb.pro/db/53926) -[openGauss database source code parsing series of articles - Parsing of public component source code (Part 1)](https://www.modb.pro/db/49242) +[Parsing of storage engine source code (Part 3)](https://www.modb.pro/db/57991) -[openGauss database source code parsing series of articles - Parsing of public component source code (Part 2)](https://www.modb.pro/db/49711) +[Parsing of storage engine source code (Part 4)](https://www.modb.pro/db/64255) -[openGauss database source code parsing series of articles - Parsing of storage engine source code (Part 1)](https://www.modb.pro/db/51541) +[Parsing of storage engine source code (Part 5)](https://www.modb.pro/db/77848) -[openGauss database source code parsing series of articles - Parsing of storage engine source code (Part 2)](https://www.modb.pro/db/53926) +## Parsing of Transaction Mechanism Source Code -[openGauss database source code parsing series of articles - Parsing of storage engine source code (Part 3)](https://www.modb.pro/db/57991) +[Parsing of transaction mechanism source code (Part 1)](https://www.modb.pro/db/78553) -[openGauss database source code parsing series of articles - Parsing of storage engine source code (Part 4)](https://www.modb.pro/db/64255) +[Parsing of transaction mechanism source code (Part 2)](https://www.modb.pro/db/79534) -[openGauss database source code parsing series of articles - Parsing of storage engine source code (Part 5)](https://www.modb.pro/db/77848) +[Parsing of transaction mechanism source code (Part 3)](https://www.modb.pro/db/81991) -[openGauss database source code parsing series of articles - Parsing of transaction mechanism source code (Part 1)](https://www.modb.pro/db/78553) +## Parsing of SQL Engine Source Code -[openGauss database source code parsing series of articles - Parsing of transaction mechanism source code (Part 2)](https://www.modb.pro/db/79534) +[Parsing of SQL engine source code (Part 1)](https://www.modb.pro/db/86068) -[openGauss database source code parsing series of articles - Parsing of transaction mechanism source code (Part 3)](https://www.modb.pro/db/81991) +[Parsing of SQL engine source code (Part 2)](https://www.modb.pro/db/100257) -[openGauss database source code parsing series of articles - Parsing of SQL engine source code (Part 1)](https://www.modb.pro/db/86068) +## Executor Parsing -[openGauss database source code parsing series of articles - Parsing of SQL engine source code (Part 2)](https://www.modb.pro/db/100257) +[Executor Parsing (Part 1)](https://www.modb.pro/db/103591) -[openGauss database source code parsing series of articles - Executor Parsing (Part 1)](https://www.modb.pro/db/103591) +[Executor Parsing (Part 2)](https://www.modb.pro/db/106997) -[openGauss database source code parsing series of articles - Executor Parsing (Part 2)](https://www.modb.pro/db/106997) +[Executor Parsing (Part 3)](https://www.modb.pro/db/111770) -[openGauss database source code parsing series of articles - Executor Parsing (Part 3)](https://www.modb.pro/db/111770) +## AI Technology -[openGauss database source code parsing series of articles - AI Technology (Part 1): Self-tuning](https://www.modb.pro/db/162007) +[AI Technology (Part 1): Self-tuning](https://www.modb.pro/db/162007) -[openGauss database source code parsing series of articles - AI Technology (Part 2): Slow SQL discovery](https://www.modb.pro/db/171668) +[AI Technology (Part 2): Slow SQL discovery](https://www.modb.pro/db/171668) -[openGauss database source code parsing series of articles - AI Technology (Part 3): Index Recommendation](https://www.modb.pro/db/210235) +[AI Technology (Part 3): Index Recommendation](https://www.modb.pro/db/210235) -[openGauss database source code parsing series of articles - AI Technology (Part 4): Metrics Collection, Prediction, and Anomaly Detection](https://www.modb.pro/db/245341) +[AI Technology (Part 4): Metrics Collection, Prediction, and Anomaly Detection](https://www.modb.pro/db/245341) -[openGauss database source code parsing series of articles - AI Technology (Part 5): AI Query Time Prediction](https://www.modb.pro/db/251405) \ No newline at end of file +[AI Technology (Part 5): AI Query Time Prediction](https://www.modb.pro/db/251405) \ No newline at end of file diff --git a/product/zh/docs-mogdb/v2.1/source-code-parsing.md b/product/zh/docs-mogdb/v2.1/source-code-parsing.md index 9a403378..078b4302 100644 --- a/product/zh/docs-mogdb/v2.1/source-code-parsing.md +++ b/product/zh/docs-mogdb/v2.1/source-code-parsing.md @@ -5,60 +5,74 @@ author: Guo Huan date: 2022-02-07 --- - - # 源码解析 本系列文章针对openGauss开源数据库的源码进行分模块解析,可以作为内核开发者了解openGauss数据库并基于openGauss进行数据库开发的参考教程,也可以作为广大高校计算机专业“数据库设计”课程的参考教材。 您可以点击以下链接跳转至墨天轮专栏查看本系列文章。 -[openGauss数据库源码解析系列文章——openGauss简介(上)](https://www.modb.pro/db/47895) +## openGauss简介 + +[openGauss简介(上)](https://www.modb.pro/db/47895) + +[openGauss简介(下)](https://www.modb.pro/db/48291) + +## openGauss开发快速入门 + +[openGauss开发快速入门(上)](https://www.modb.pro/db/48657) + +[openGauss开发快速入门(中)](https://www.modb.pro/db/48870) + +[openGauss开发快速入门(下)](https://www.modb.pro/db/49118) + +## 公共组件源码解析 + +[公共组件源码解析(上)](https://www.modb.pro/db/49242) -[openGauss数据库源码解析系列文章——openGauss简介(下)](https://www.modb.pro/db/48291) +[公共组件源码解析(下)](https://www.modb.pro/db/49711) -[openGauss数据库源码解析系列文章——openGauss开发快速入门(上)](https://www.modb.pro/db/48657) +## 存储引擎源码解析 -[openGauss数据库源码解析系列文章——openGauss开发快速入门(中)](https://www.modb.pro/db/48870) +[存储引擎源码解析(一)](https://www.modb.pro/db/51541) -[openGauss数据库源码解析系列文章——openGauss开发快速入门(下)](https://www.modb.pro/db/49118) +[存储引擎源码解析(二)](https://www.modb.pro/db/53926) -[openGauss数据库源码解析系列文章——公共组件源码解析(上)](https://www.modb.pro/db/49242) +[存储引擎源码解析(三)](https://www.modb.pro/db/57991) -[openGauss数据库源码解析系列文章——公共组件源码解析(下)](https://www.modb.pro/db/49711) +[存储引擎源码解析(四)](https://www.modb.pro/db/64255) -[openGauss数据库源码解析系列文章——存储引擎源码解析(一)](https://www.modb.pro/db/51541) +[存储引擎源码解析(五)](https://www.modb.pro/db/77848) -[openGauss数据库源码解析系列文章——存储引擎源码解析(二)](https://www.modb.pro/db/53926) +## 事务机制源码解析 -[openGauss数据库源码解析系列文章——存储引擎源码解析(三)](https://www.modb.pro/db/57991) +[事务机制源码解析(一)](https://www.modb.pro/db/78553) -[openGauss数据库源码解析系列文章——存储引擎源码解析(四)](https://www.modb.pro/db/64255) +[事务机制源码解析(二)](https://www.modb.pro/db/79534) -[openGauss数据库源码解析系列文章——存储引擎源码解析(五)](https://www.modb.pro/db/77848) +[事务机制源码解析(三)](https://www.modb.pro/db/81991) -[openGauss数据库源码解析系列文章——事务机制源码解析(一)](https://www.modb.pro/db/78553) +## SQL引擎源码解析 -[openGauss数据库源码解析系列文章——事务机制源码解析(二)](https://www.modb.pro/db/79534) +[SQL引擎源码解析(一)](https://www.modb.pro/db/86068) -[openGauss数据库源码解析系列文章——事务机制源码解析(三)](https://www.modb.pro/db/81991) +[SQL引擎源码解析(二)](https://www.modb.pro/db/100257) -[openGauss数据库源码解析系列文章——SQL引擎源码解析(一)](https://www.modb.pro/db/86068) +## 执行器解析 -[openGauss数据库源码解析系列文章——SQL引擎源码解析(二)](https://www.modb.pro/db/100257) +[执行器解析(一)](https://www.modb.pro/db/103591) -[openGauss数据库源码解析系列文章——执行器解析(一)](https://www.modb.pro/db/103591) +[执行器解析(二)](https://www.modb.pro/db/106997) -[openGauss数据库源码解析系列文章——执行器解析(二)](https://www.modb.pro/db/106997) +[执行器解析(三)](https://www.modb.pro/db/111770) -[openGauss数据库源码解析系列文章——执行器解析(三)](https://www.modb.pro/db/111770) +## AI技术 -[openGauss数据库源码解析系列文章——AI技术(一):自调优](https://www.modb.pro/db/162007) +[AI技术(一):自调优](https://www.modb.pro/db/162007) -[openGauss数据库源码解析系列文章——AI技术(二):慢SQL发现](https://www.modb.pro/db/171668) +[AI技术(二):慢SQL发现](https://www.modb.pro/db/171668) -[openGauss数据库源码解析系列文章——AI技术(三):智能索引推荐](https://www.modb.pro/db/210235) +[AI技术(三):智能索引推荐](https://www.modb.pro/db/210235) -[openGauss数据库源码解析系列文章——AI技术(四):指标采集、预测与异常检测](https://www.modb.pro/db/245341) +[AI技术(四):指标采集、预测与异常检测](https://www.modb.pro/db/245341) -[openGauss数据库源码解析系列文章——AI技术(五):AI查询时间预测](https://www.modb.pro/db/251405) \ No newline at end of file +[AI技术(五):AI查询时间预测](https://www.modb.pro/db/251405) \ No newline at end of file -- Gitee