diff --git a/content/en/docs/Compilationguide/introduction-to-build-sh.md b/content/en/docs/Compilationguide/introduction-to-build-sh.md index 3f69d58bd47231af73c158c6c94d2929b9928737..9d5115010be776c417da8b2d1a03c40727a6fb3a 100644 --- a/content/en/docs/Compilationguide/introduction-to-build-sh.md +++ b/content/en/docs/Compilationguide/introduction-to-build-sh.md @@ -53,13 +53,13 @@ The following table describes the parameters.

Compresses the code compilation result into an installation package.

-

--no_om_adapt

+

-nopt

Do not use this option.

-

-

The installation package does not adapt to the OM and takes effect only when the -pkg option is added.

+

On Kunpeng platform, like 1616 version, without LSE optimized.

diff --git a/content/en/docs/Description/vectorized-executor-and-hybrid-row-column-storage-engine.md b/content/en/docs/Description/vectorized-executor-and-hybrid-row-column-storage-engine.md index ced956b4f557e838f91b13d6ecb2ebde64b5fed6..beff86ac9952ffd00c8c622f52d08567b80aa77c 100644 --- a/content/en/docs/Description/vectorized-executor-and-hybrid-row-column-storage-engine.md +++ b/content/en/docs/Description/vectorized-executor-and-hybrid-row-column-storage-engine.md @@ -25,8 +25,7 @@ The hybrid row-column storage engine achieves higher data compression ratio \(co **Figure 2** Hybrid row-column storage engine - -![](figures/opengauss行列混存引擎.png) + The restrictions of the column storage engine are as follows: diff --git a/content/en/docs/Glossary/Glossary.md b/content/en/docs/Glossary/Glossary.md index 59939648d32e8020bdd3e84b42277d0fc1beb0c8..60aa46bfd2ec4b217926a712e34751795460b2ad 100644 --- a/content/en/docs/Glossary/Glossary.md +++ b/content/en/docs/Glossary/Glossary.md @@ -1,639 +1,639 @@ -# 术语表 +# Glossary -**表 1** 术语表 +**Table 1** Glossary - -

术语

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/content/en/docs/Releasenotes/feature-introduction.md b/content/en/docs/Releasenotes/feature-introduction.md index af1ab01bd75b988e7fe3f780d976b6c0c2a9cd52..e075ce243667b8dec6363b37ac13c938b01c0f84 100644 --- a/content/en/docs/Releasenotes/feature-introduction.md +++ b/content/en/docs/Releasenotes/feature-introduction.md @@ -25,8 +25,3 @@ Supports SSL network connections, user permission management, password management, security audit, and other functions to ensure data security at the management, application, system, and network layers. -- **[New Features](new-features.md)** - -- **[Optimized Features](optimized-features.md)** - - diff --git a/content/en/docs/Releasenotes/new-features.md b/content/en/docs/Releasenotes/new-features.md deleted file mode 100644 index 1b9ef598c8f4994a47b2d6c7422498277befefa4..0000000000000000000000000000000000000000 --- a/content/en/docs/Releasenotes/new-features.md +++ /dev/null @@ -1,4 +0,0 @@ -# New Features - -This is the first release of openGauss. As the basic version, it does not involve any new features. - diff --git a/content/en/docs/Releasenotes/optimized-features.md b/content/en/docs/Releasenotes/optimized-features.md deleted file mode 100644 index ac0ab24b99bc98fcd71c1d522dc3fadb3a622b99..0000000000000000000000000000000000000000 --- a/content/en/docs/Releasenotes/optimized-features.md +++ /dev/null @@ -1,4 +0,0 @@ -# Optimized Features - -This is the first release of openGauss. As the basic version, it does not involve any optimized features. - diff --git a/content/en/docs/Technicalwhitepaper/hybrid-row-column-storage.md b/content/en/docs/Technicalwhitepaper/hybrid-row-column-storage.md index d0838d0be0102d0c815460705dec54e0a21af48f..748d1352b87cf35a34271add86bb77e0cb0e9a75 100644 --- a/content/en/docs/Technicalwhitepaper/hybrid-row-column-storage.md +++ b/content/en/docs/Technicalwhitepaper/hybrid-row-column-storage.md @@ -7,7 +7,7 @@ Column-store is recommended if a table contains many columns \(called a wide tab [Figure 1](#en-us_topic_0242724708_fig4487133722819) shows the column-store model. **Figure 1** Column-store -![](figures/column-store.png "column-store") + In a wide table containing a huge amount of data, a query usually only includes certain columns. In this case, the query performance of the row-store engine is poor. For example, a single table containing the data of a meteorological agency has 200 to 800 columns. Among these columns, only 10 are frequently accessed. In this case, a vectorized execution and column-store engine can significantly improve performance by saving storage space. diff --git a/content/en/docs/installation/installation-process.md b/content/en/docs/installation/installation-process.md index 92603f5faa290e3c3f9498f87c144895d2bb967e..c15b976cf3c6268dfa1885531809d6860e88bc38 100644 --- a/content/en/docs/installation/installation-process.md +++ b/content/en/docs/installation/installation-process.md @@ -5,7 +5,7 @@ This section describes the openGauss installation process. [Figure 1](#fig18264185162412) shows the process for installing openGauss. **Figure 1** Installation process -![](figures/installation-process.png "installation-process") + **Table 1** Installation process description diff --git a/content/en/menu/index.md b/content/en/menu/index.md index 7cc7167d106580be97e07f394ea6372100b6e742..911851ee2ca1314904b111c0fc1e977544cb5fed 100644 --- a/content/en/menu/index.md +++ b/content/en/menu/index.md @@ -5,18 +5,15 @@ headless: true - [Terms of Use]({{< relref "./docs/Releasenotes/Terms of Use.md" >}}) - [Release Notes]({{< relref "./docs/Releasenotes/Releasenotes.md" >}}) - - [User Notice]({{< relref "./docs/Releasenotes/user-notice.md" >}}) - - [Version Introduction]({{< relref "./docs/Releasenotes/version-introduction.md" >}}) - - [Feature Introduction]({{< relref "./docs/Releasenotes/feature-introduction.md" >}}) - - [New Features]({{< relref "./docs/Releasenotes/new-features.md" >}}) - - [Optimized Features]({{< relref "./docs/Releasenotes/optimized-features.md" >}}) - - [Important Notes]({{< relref "./docs/Releasenotes/important-notes.md" >}}) - - [Known Issues]({{< relref "./docs/Releasenotes/known-issues.md" >}}) - - [Common Vulnerabilities and Exposures]({{< relref "./docs/Releasenotes/common-vulnerabilities-and-exposures.md" >}}) - - [Resolved Issues]({{< relref "./docs/Releasenotes/resolved-issues.md" >}}) - - [Source Code]({{< relref "./docs/Releasenotes/source-code.md" >}}) - - [Contribution]({{< relref "./docs/Releasenotes/contribution.md" >}}) - - [Acknowledgement]({{< relref "./docs/Releasenotes/acknowledgement.md" >}}) + - [User Notice]({{< relref "./docs/Releasenotes/user-notice.md" >}}) + - [Version Introduction]({{< relref "./docs/Releasenotes/version-introduction.md" >}}) + - [Feature Introduction]({{< relref "./docs/Releasenotes/feature-introduction.md" >}}) + - [Important Notes]({{< relref "./docs/Releasenotes/important-notes.md" >}}) + - [Known Issues]({{< relref "./docs/Releasenotes/known-issues.md" >}}) + - [Common Vulnerabilities and Exposures]({{< relref "./docs/Releasenotes/common-vulnerabilities-and-exposures.md" >}}) + - [Source Code]({{< relref "./docs/Releasenotes/source-code.md" >}}) + - [Contribution]({{< relref "./docs/Releasenotes/contribution.md" >}}) + - [Acknowledgement]({{< relref "./docs/Releasenotes/acknowledgement.md" >}}) - [Product Description]({{< relref "./docs/Description/Description.md" >}}) - [Product Positioning]({{< relref "./docs/Description/product-positioning.md" >}}) @@ -84,7 +81,6 @@ headless: true - [Network Communication Security]({{< relref "./docs/Technicalwhitepaper/network-communication-security.md" >}}) - [Row-Level Access Control]({{< relref "./docs/Technicalwhitepaper/row-level-access-control.md" >}}) - [Technical Specifications]({{< relref "./docs/Technicalwhitepaper/technical-specifications.md" >}}) - - [Glossary]({{< relref "./docs/Technicalwhitepaper/glossary.md" >}}) - [Compilation Guide]({{< relref "./docs/Compilationguide/Compilation.md" >}}) - [Introduction]({{< relref "./docs/Compilationguide/introduction.md" >}}) @@ -140,7 +136,7 @@ headless: true - [Establishing Mutual Trust Manually]({{< relref "./docs/Quickstart/establishing-mutual-trust-manually.md" >}}) - [Configuring OS Parameters]({{< relref "./docs/Quickstart/configuring-os-parameters.md" >}}) - [Executing Installation]({{< relref "./docs/Quickstart/executing-installation.md" >}}) - - [\(Optional\" >}}) Setting the Standby Node to Readable]({{< relref "./docs/Quickstart/(optional)-setting-the-standby-node-to-readable.md" >}}) + - [\(Optional\) Setting the Standby Node to Readable]({{< relref "./docs/Quickstart/(optional)-setting-the-standby-node-to-readable.md" >}}) - [Verifying the Installation]({{< relref "./docs/Quickstart/verifying-the-installation.md" >}}) - [Checking the Health Status]({{< relref "./docs/Quickstart/checking-the-health-status.md" >}}) - [Initial Configuration]({{< relref "./docs/Quickstart/initial-configuration.md" >}}) @@ -266,7 +262,7 @@ headless: true - [Establishing Mutual Trust Manually]({{< relref "./docs/Installation/establishing-mutual-trust-manually.md" >}}) - [Configuring OS Parameters]({{< relref "./docs/Installation/configuring-os-parameters.md" >}}) - [Executing Installation]({{< relref "./docs/Installation/executing-installation.md" >}}) - - [\(Optional\" >}}) Setting the Standby Node to Readable]({{< relref "./docs/Installation/(optional)-setting-the-standby-node-to-readable.md" >}}) + - [\(Optional\) Setting the Standby Node to Readable]({{< relref "./docs/Installation/(optional)-setting-the-standby-node-to-readable.md" >}}) - [Verifying the Installation]({{< relref "./docs/Installation/verifying-the-installation.md" >}}) - [Checking the Health Status]({{< relref "./docs/Installation/checking-the-health-status.md" >}}) - [Initial Configuration]({{< relref "./docs/Installation/initial-configuration.md" >}}) @@ -274,7 +270,7 @@ headless: true - [Uninstalling the openGauss]({{< relref "./docs/Installation/uninstalling-the-opengauss.md" >}}) - [Executing Uninstallation]({{< relref "./docs/Installation/executing-uninstallation.md" >}}) - [Deleting Cluster Configurations]({{< relref "./docs/Installation/deleting-cluster-configurations.md" >}}) - + - [Administrator Guide]({{< relref "./docs/Administratorguide/Administratorguide.md" >}}) - [Starting and Stopping openGauss]({{< relref "./docs/Administratorguide/starting-and-stopping-opengauss.md" >}}) - [Querying Status]({{< relref "./docs/Administratorguide/querying-status.md" >}}) @@ -315,7 +311,7 @@ headless: true - [Audit Logs]({{< relref "./docs/Administratorguide/audit-logs.md" >}}) - [WALs]({{< relref "./docs/Administratorguide/wals.md" >}}) - [Performance Logs]({{< relref "./docs/Administratorguide/performance-logs.md" >}}) - + - [Developer Guide]({{< relref "./docs/Developerguide/Developerguide.md" >}}) - [Overview]({{< relref "./docs/Developerguide/overview.md" >}}) - [Database Logical Architecture]({{< relref "./docs/Developerguide/database-logical-architecture.md" >}}) @@ -1323,7 +1319,7 @@ headless: true - [Core Dump Occurs Due to Incorrect Settings of GUC Parameter log\_directory]({{< relref "./docs/Developerguide/core-dump-occurs-due-to-incorrect-settings-of-guc-parameter-log_directory.md" >}}) - [When the TPC-C is running and a disk to be injected is full, the TPC-C stops responding.]({{< relref "./docs/Developerguide/when-the-tpc-c-is-running-and-a-disk-to-be-injected-is-full-the-tpc-c-stops-responding.md" >}}) - [Standby Node in the Need Repair \(WAL\) State]({{< relref "./docs/Developerguide/standby-node-in-the-need-repair-(wal)-state.md" >}}) - + - [Tool Reference]({{< relref "./docs/Toolreference/Toolreference.md" >}}) - [Tool Overview]({{< relref "./docs/Toolreference/tool-overview.md" >}}) - [Client Tool]({{< relref "./docs/Toolreference/client-tool.md" >}}) diff --git "a/content/zh/docs/Compilationguide/build-sh\344\273\213\347\273\215.md" "b/content/zh/docs/Compilationguide/build-sh\344\273\213\347\273\215.md" index 6454918f837f4255a2fd8faa364292bce1c48a84..0ddce64d15997767afaeba1c77fbdc48e0de1725 100644 --- "a/content/zh/docs/Compilationguide/build-sh\344\273\213\347\273\215.md" +++ "b/content/zh/docs/Compilationguide/build-sh\344\273\213\347\273\215.md" @@ -53,6 +53,15 @@ openGauss-server/build.sh是编译过程中的重要脚本工具。其集成了 + + + + +

Terms

解释

+

Description

A – E

+

A – E

ACID

+

ACID

在可靠数据库管理系统(DBMS)中,事务(transaction)所应该具有的四个特性:原子性(Atomicity)、一致性(Consistency)、隔离性(Isolation)、和持久性(Durability)。

+

Atomicity, consistency, isolation, and durability (ACID) is a set of properties that guarantee that transactions are processed reliably in a database management system (DBMS).

Bgwriter

+

bgwriter

数据库启动时创建的一个后台写线程,此线程用于将数据库中脏页面写入到持久性设备(例如磁盘)中。

+

A background write thread created when the database starts. The thread is used to flush dirty pages out of the database to a permanent device (such as a disk).

bit

+

bit

比特。计算机处理的最小的信息单位。比特用来表示二进制数字1或0,或者一种逻辑条件真或假。在物理上,比特表示一个电路上高或低的电压点或者磁盘上的磁化单程或其它。一个单独的比特位所传达的信息很少有意义的。然而,一个8位组却构成了一个字节,可用于表示如一个英文字母,十进制数字,或其它字符等多种类型的信息。

+

Short for binary digit. The smallest unit of information handled by a computer. One bit expresses a 1 or a 0 in a binary numeral, or a true or false logical condition, and is represented physically by an element such as a high or low voltage at one point in a circuit or a small spot on a disk magnetized one way or the other. A single bit conveys little information a human would consider meaningful. A group of 8 bits, however, makes up a byte, which can be used to represent many types of information, such as a letter of the alphabet, a decimal digit, or other character.

Bloom Filter

+

bloom filter

布隆过滤器。由Howard Bloom在1970年提出的二进制向量数据结构,它具有很好的空间和时间效率,被用来检测一个元素是不是集合中的一个成员,这种检测只会对在集合内的数据错判,而不会对不是集合内的数据进行错判,这样每个检测请求返回有“在集合内(可能错误)”和“不在集合内(绝对不在集合内)”两种情况,可见Bloom filter是牺牲了正确率换取时间和空间。

+

Bloom filter is a space-efficient binary vectorized data structure, conceived by Burton Howard Bloom in 1970, that is used to test whether an element is a member of a set. False positive matches are possible, but false negatives are not. In other words, a query returns either "possibly in set (possible error)" or "definitely not in set". In the cases, Bloom filter sacrificed the accuracy for time and space.

CIDR

+

CIDR

Classless Inter-Domain Routing,无类域间路由IP编址方案。CIDR摒弃传统的基于类(A类:8,B类:16,C类:24)的地址分配方式,允许使用任意长度的地址前缀,有效提高地址空间的利用率。CIDR表示方法:IP地址/网络ID的位数。比如192.168.23.35/21,其中“21”表示前面地址中的前21位代表网络部分,其余位代表主机部分。

+

Acronym for classless inter-domain routing. Whereas classical network design for IPv4 sized the network prefix as one or more 8-bit groups, resulting in the blocks of Class A (8-bit), B (16-bit), or C (24-bit) addresses, CIDR allocates address space on any address bit boundary. A CIDR address is in the format of IP address/Number of bits in a network ID. For example, in 192.168.23.35/21, 21 indicates that the first 21 bits are the network prefix and others are the host ID.

CLI

+

CLI

Command-line Interface,命令行界面。应用程序和用户交互的一种方式,完全基于文本输入和输出。命令通过键盘或类似装置输入,由程序编译并执行。结果是以文本或图形的方式呈现在终端界面。

+

Acronym for command-line interface. A means of communication between a program and its user, based solely on textual input and output. Commands are input with the help of a keyboard or similar device and are interpreted and executed by the program. Results are output as text or graphics to the terminal.

CU

+

CU

Compression Unit,压缩单元。列存表的最小存储单位。

+

Acronym for compression unit. It is the smallest storage unit in a column-storage table.

core文件

+

core file

当程序出现内存越界、断言失败或者访问非法内存时,操作系统会中止进程,并将当前内存状态导出到core文件中,以便进一步分析。

-

core文件包含内存转储,支持全二进制和指定端口格式。core文件名称由字符串core以及操作系统进程ID组成。

-

core文件不依赖于任何平台。

+

A file that is created for further analysis when memory overwriting, assertion failures, or access to invalid memory occurs in a program, causing a process to fail.

+

A core file stores memory dump data, and supports binary mode and specified ports. The name of a core file consists of the word "core" and the OS process ID.

+

The core file is available regardless of the type of platform.

Core Dump

+

core dump

通常在程序异常终止时,核心转储(Core Dump)、内存转储或系统转储用于记录特定时间计算机程序工作内存的状态。实际上,其它关键程序的状态经常在同一时间进行转储,例如处理器寄存器,包括程序指标和栈指针、内存管理信息、其它处理器和操作系统标记及信息。Core Dump经常用于辅助诊断和纠错计算机程序问题。

+

A core dump, memory dump, or system dump consists of the recorded state of the working memory of a computer program at a specific time, generally when the program stops abnormally. In practice, other key pieces of program state are usually dumped at the same time, including the processor registers, which may include the program counter and stack pointer, memory management information, and other processor and OS flags and information. Core dumps are often used to assist in diagnosing and debugging errors in computer programs.

DBA

+

DBA

Database Administrator,数据库管理员。指导或执行所有和维护数据库环境相关的操作。

+

Acronym for database administrator who instructs or executes database maintenance operations.

DBLINK

+

DBLINK

DBLINK是定义一个数据库到另一个数据库路径的对象,通过它可以查询远程数据库对象。

+

An object of the path from one database to another database. Using DBLINK, you can query a remote database object.

DBMS

+

DBMS

Database Management System,数据库管理系统。数据库管理系统是为了访问数据库中的信息而使用的一个管理系统软件。它包含一组程序使用户可以进入、管理、查询数据库中数据。基于真实数据的位置,可以分为内存数据库管理系统和磁盘数据库管理系统。

+

Acronym for database management system. It is a piece of system management software that allows users to access information in a database. It is a collection of programs that allows users to access, manage, and query data in a database. A DBMS can be classified as memory DBMS or disk DBMS based on the location of the data.

DCL

+

DCL

Data Control Language,数据控制语言。

+

Acronym for data control language.

DDL

+

DDL

Data Definition Language,数据定义语言。

+

Acronym for data definition language.

DML

+

DML

Data Manipulation Language,数据操纵语言。

+

Acronym for data manipulation language.

备份

+

backup

备份件或者备份过程。指复制并归档计算机数据,当发生数据丢失事件时,可以用该复制并归档的数据来恢复原始数据。

+

A backup copy or an act of creating a backup refers to copying and archiving computer data for purposes of recovery in case the original copy of data is lost.

备份和恢复

+

backup and restoration

保护数据库防止由于媒介失效或人为错误造成的数据丢失过程中涉及的一组概念、过程及策略。

+

A collection of concepts, procedures, and strategies to prevent data loss caused by invalid media or misoperations.

备机

+

standby node

openGauss双机方案中的一个节点,用于作为主机的备份,在主机异常时,备机会切换到主机状态,以确保能正常提供数据服务。

+

A node in the openGauss primary/standby solution. It functions as a backup of the primary node. If the primary node fails, the standby node is promoted to primary, ensuring uninterrupted data services.

崩溃

+

crash

崩溃(或系统崩溃)指计算机或程序(例如软件应用程序或操作系统)异常终止的事件。出现错误后,通常会自动退出。有时出现恶意程序冻结或挂起直到崩溃上报服务记录崩溃的详细信息。对于操作系统内核关键部分的程序,整个计算机可能瘫痪(可能造成致命的系统错误)。

+

A crash, or system crash, occurs when a computer program such as a software application or an operating system stops functioning properly and exits. The program responsible may appear to freeze or hang until a crash reporting service reports the crash and any details relating to it. If the program is a critical part of the operating system, the entire system may crash or hang, often resulting in a kernel panic or fatal system error.

编码

+

coding

编码是指用代码来表示各组数据资料,使其成为可利用计算机进行处理和分析的信息。用预先规定的方法将文字、数字或其它对象编成数码,或将信息、数据转换成规定的电脉冲信号。

+

Coding is representing data and information using code so that it can be processed and analyzed by a computer. Characters, digits, and other objects can be converted into digital code, or information and data can be converted into the required electrical pulse signals based on predefined rules.

编码技术

+

encoding technology

呈现计算机软硬件识别的特定字符集数据的技术。

+

A technology that presents data using a specific set of characters, which can be identified by computer hardware and software.

+

table

表是由行与列组合成的。每一列被当作是一个字段。每个字段中的值代表一种类型的数据。例如,一个表可能有3个字段:姓名、城市和国家。这个表就会有3列:一列代表姓名,一列代表城市,一列代表国家。表中的每一行包含3个字段的内容,姓名字段包含姓名,城市字段包含城市,国家字段包含国家。

+

A table consists of columns and rows. Each column is referred to as a field. The value in each field represents a data type. For example, if a table contains three fields Name, City, and State, it has three columns Name, City, and State. In every row of the table, the Name column contains a name, the City column contains a city, and the State column contains a state.

表空间

+

tablespace

包含表、索引、大对象、长数据等数据的逻辑存储结构。表空间在物理数据和逻辑数据间提供了抽象的一层,为所有的数据库对象分配存储空间。表空间创建好后,创建数据库对象时可以指定该对象所属的表空间。

+

A tablespace is a logical storage structure that contains tables, indexes, large objects, and long data. A tablespace provides an abstract layer between physical data and logical data, and provides storage space for all database objects. When you create an object, you can specify which tablespace it belongs to.

并发控制

+

concurrency control

在多用户环境下同时执行多个事务并保证数据完整性的一个DBMS服务。并发控制是openGauss提供的一种多线程管理机制,用来保证多线程环境下在数据库中执行的操作是安全的和一致的。

+

A DBMS service that ensures data integrity when multiple transactions are concurrently executed in a multi-user environment. In a multi-threaded openGauss environment, concurrency control ensures that database operations are safe and all database transactions remain consistent at any given time.

查询

+

query

向数据库发出的信息请求,包含更新、修改、查询或删除信息的请求。

+

A request sent to the database with the purpose of updating, modifying, querying, or deleting information.

查询操作符

+

query operator

Query Operator,也称为查询迭代算子(Iterator)或查询节点(Query Tree Node)。一个查询的执行可以分解为一个或多个查询操作符,是构成一个查询执行的最基本单位。常见的查询操作符包括表扫描(Scan),表关联(Join),表聚集(Aggregation)等。

+

An iterator or a query tree node, which is a basic unit for the execution of a query. Execution of a query can be split into one or more query operators. Common query operators include scan, join, and aggregation.

持久性

+

durability

数据库事务的ACID特性之一。在事务完成以后,该事务对数据库所作的更改便持久的保存在数据库之中,并不会被回滚。

+

One of the ACID properties of a database transaction. After a transaction is complete, the changes made by the transaction to the database are permanently stored in the database and will not be rolled back.

存储过程

+

stored procedure

存储过程(StoredProcedure)是在大型数据库系统中,一组为了完成特定功能的SQL语句集,经编译后存储在数据库中,用户通过指定存储过程的名称并设置参数(如果该存储过程带有参数)来执行它。

+

A collection of SQL statements compiled and stored on a server in a large database system that can be executed using an interface (specifying the procedure name and parameters if any) to perform a specific operation.

操作系统

+

operating system

操作系统OS(operating system)由引导程序加载到计算中,对计算机中其它程序进行管理。其它程序叫做应用或应用程序。

+

An operating system (OS) is loaded by a boot program to a computer to manage other programs in the computer. Other programs are called applications or application programs.

大对象

+

Blob

大对象(Blob)在数据库中指使用二进制方式存储的数据。它通常可以用于存储视频、音频和图像等多媒体数据。

+

Acronym for binary large object, a collection of binary data stored in a database. Blobs are typically videos, audio or other multimedia objects.

+

segment

数据库中,一段指包含一个或多个区域的数据库中的一部分。区域是数据库的最小范围,由单元调用块组成。一个或多个段组成一个表空间。

+

A segment is a set of extents in a database. The smallest space scope of a database is an extent, which consists of data blocks. One or more segments comprise a tablespace.

F – J

+

F – J

Failover

+

failover

指当某个节点出现故障时,自动切换到备节点上的过程。反之,从备节点上切换回来的过程称为Failback。

+

Automatic switchover from a faulty primary node to its standby node. Reversely, automatic switchback from the standby node to the primary node is called failback.

FDW

+

FDW

Foreign Data Wrapper,外部数据封装器。是Postgres提供的一个SQL接口,用于访问远程数据存储中的大数据对象,使DBA可以整合来自不相关数据源的数据,将它们存入数据库中的一个公共模型。

+

Acronym for foreign data wrapper. It is an SQL interface provided by Postgres. It is used to access big data objects stored in remote data so that DBAs can integrate data from unrelated data sources and store them in public schema in the database.

Freeze

+

freeze

在事务ID耗尽时由AutoVacuum Worker进程自动执行的操作。openGauss会把事务ID记在行头,在一个事务取得一行时,通过比较行头的事务ID和事务本身的ID判断这行是否可见,而事务ID是一个无符号整数,如果事务ID耗尽,事务ID会跨过整数的界限重新计算,此时原先可见的行就会变成不可见的行,为了避免这个问题,Freeze操作会将行头的事务标记为一个特殊的事务ID,标记了这个特殊的事务ID的行将对所有事务可见,以此避免事务ID耗尽产生的问题。

+

An operation automatically performed by the AutoVacuum Worker process when transaction IDs are exhausted. openGauss records transaction IDs in row headers. When a transaction reads a row, the transaction ID in the row header and the actual transaction ID are compared to determine whether this row is explicit. Transaction IDs are unsigned integers. If exhausted, transaction IDs are re-calculated outside of the integer range, causing the explicit rows to become implicit. To prevent such a problem, the freeze operation marks a transaction ID as a special ID. Rows marked with these special transaction IDs are explicit to all transactions.

GDB

+

GDB

GNU工程调试器,可以监控其它程序运行时的内部情况,或者其它程序要崩溃时发生了什么。GDB支持如下四种主要操作(使PDK功能更加强大),辅助查找缺陷。

-
  • 启动程序,指定可能影响行为的任何因素。
-
  • 特定条件下,停止程序。
-
  • 程序停止时,检查发生了什么。
-
  • 修改程序内容,尝试纠正一个缺陷并继续下一个。
+

Acronym for GNU debugger which is used to monitor the internal situation of a running program or rewind a crashed program to see what happened. GDB can perform the following operations (strengthening PDK functions) to detect bugs:

+
  • Starts a program and specifies anything that might affect its behavior.
+
  • Stops a program under a specific condition.
+
  • Checks what happens when a program stops.
+
  • Modifies the program content to rectify the fault and proceeds with the next one.

GIN索引

+

GIN index

Generalized Inverted Index,通用倒排索引。作用为处理索引项为组合值的情况,查询时需要通过索引搜索出出现在组合值中的特定元素值。

+

Acronym for generalized inverted index. It is used for handling cases where the items to be indexed are composite values, and the queries to be handled by the index need to search for element values that appear within the composite items.

GNU

+

GNU

GNU计划,又称革奴计划,是由RichardStallman在1983年9月27日公开发起的。它的目标是创建一套完全自由的操作系统。GNU是“GNU's NotUnix”的递归缩写。Stallman宣布GNU应当发音为Guh-NOO以避免与new这个单词混淆(注:Gnu在英文中原意为非洲牛羚,发音与new相同)。Unix是一种广泛使用的商业操作系统的名称。技术上讲,GNU类似Unix。但是GNU却给了用户自由。

+

The GNU Project was publicly announced on September 27, 1983 by Richard Stallman, aiming at building an OS composed wholly of free software. GNU is a recursive acronym for "GNU's Not Unix!". Stallman announced that GNU should be pronounced as Guh-NOO. Unix is a widely used commercial OS. GNU's design is Unix-like, but GNU differs from Unix by being free software.

gsql

+

gsql

openGauss交互终端。通过gsql能够以交互的方式输入查询,下发查询到openGauss,然后查看查询结果。或者,也可以从文件中输入。此外,gsql还提供许多元命令和各种类似shell命令,协助脚本编写及自动化各种任务。

+

openGauss interaction terminal. It enables you to interactively enter and issue queries to openGauss, and view the query results. Queries can also be entered from files. In addition, gsql supports many meta commands and shell-like commands, allowing you to conveniently compile scripts and automate tasks.

GUC

+

GUC

Grand Unified Configuration,数据库运行参数。配置这些参数可以影响数据库系统的行为。

+

Acronym for grand unified configuration which includes parameters for running databases, and the values of which affect database system behavior.

HA

+

HA

高可用性(HighAvailability),通过尽量缩短因日常维护操作(计划)和突发的系统崩溃(非计划)所导致的停机时间,以提高系统和应用的可用性。

+

Acronym for high availability which helps to minimize the duration of service interruptions caused by routine maintenance (planned) or sudden system breakdowns (unplanned), improving the system and application usability.

HBA

+

HBA

host-based authentication,主机认证。主机鉴权允许主机鉴权部分或全部系统用户。适用于系统所有用户或者使用Match指令的子集。该类型鉴权对于管理计算集群以及其它完全同质设备非常有用。总之,服务器上的三个文件以及客户端上的一个文件必须修改,为主机鉴权做准备。

+

Acronym for host-based authentication which allows hosts to authenticate on behalf of all or some of that particular host's users. Those accounts can be all of the accounts on a system or a subset designated by the Match directive. This type of authentication can be useful for managing computing clusters and other fairly homogenous pools of machines. In all, three files on the server and one file on the client must be modified to prepare for host-based authentication.

服务器

+

server

为客户端提供服务的软硬件的组合。单独使用时,指运行服务器操作系统的计算机,也可以指提供服务的软件或者专用硬件。

+

A combination of hardware and software designed for providing clients with services. This word alone refers to a computer running a server OS, or software or dedicated hardware providing services.

隔离性

+

isolation

数据库事务的ACID特性之一。它是指一个事务内部的操作及使用的数据对其它并发事务是隔离的,并发执行的各个事务之间不能互相干扰。

+

One of the ACID properties of a database transaction. Isolation means that operations and data used in a transaction are isolated from those in other concurrent transactions. Concurrent transactions are independent of each other.

关系型数据库

+

relational database

创建在关系模型基础上的数据库。关系型数据库借助于集合代数等数学概念和方法来处理数据库中的数据。

+

A database that conforms to the relational model. It processes data using mathematical concepts and methods such as the set algebra.

归档线程

+

archive thread

数据库打开归档功能时启动的一个线程,此线程用于将数据库日志归档到指定的路径。

+

A thread started when the archive function is enabled on a database. The thread is used to archive database logs to a specified path.

故障接管

+

failover

功能对等的系统部件对于故障部件的自动替换过程。系统部件包含处理器、服务器、网络、数据库等。

+

Automatic substitution of a functionally equivalent system component for a failed one. The system component can be a processor, server, network, or database.

环境变量

+

environment variable

定义进程操作环境某一方面的变量。例如,环境变量可以为主目录,命令搜索路径,使用终端或当前时区。

+

Environment variables are used to define part of the environment in which a process runs. For example, it can be used to define a home directory, command search path, terminal being used, or the current time zone.

检查点

+

checkpoint

将数据库内存中某一时刻的数据存到磁盘的机制。openGauss定期将已提交的事务数据和未提交的事务数据存到磁盘,这些数据用来和Redo日志一起在数据库重启和崩溃时恢复数据库。

+

A mechanism that stores data at a certain time in the database memory to disks. openGauss periodically stores the data of committed and uncommitted transactions to disks. The data and redo logs can be used for restoration if a database restarts or crashes.

加密

+

encryption

用于传输数据的功能。通过该功能,可以隐藏信息内容,防止非法使用。

+

A function hiding information content during data transmission to prevent the unauthorized use of the information.

节点

+

node

将构成openGauss集群环境的各台服务器(物理机或虚拟机)称为集群节点,简称节点。

+

Cluster nodes (or nodes) are physical and virtual severs that make up the openGauss cluster environment.

纠错

+

error correction

系统自动识别软件和数据流上的错误并自动修正错误的能力,提升系统的稳定性和可靠性。

+

A technique that automatically detects and corrects errors in software and data flows to improve system stability and reliability.

进程

+

process

在单个计算机上执行程序的实例。一个进程由一个或多个线程组成。其它进程不能接入某个进程已占用的线程。

+

An instance of a computer program that is being executed. A process consists of one or more threads. A process cannot use a thread occupied by another process.

基于时间点恢复

+

PITR

PITR(Point-In-TIme Recovery),基于时间点恢复是openGauss备份恢复的一个特性,是指在备份数据和WAL日志正常的情况下,数据可以恢复到指定时间点。

+

Acronym for point-in-time recovery, a backup and restoration feature of openGauss. Data can be restored to a specified point in time if backup data and WAL logs are normal.

记录

+

record

在关系型数据库中,每一条记录对应表中的每一行数据。

+

In a relational database, a record corresponds to data in each row of a table.

K – O

+

K – O

逻辑复制

+

logical replication

数据库主备或两个集群间的数据同步方式。区别于通过物理日志回放方式的物理复制,逻辑复制在两个集群间传输逻辑日志或通过逻辑日志对应的SQL语句实现数据同步。

+

Data synchronization mode between primary and standby databases or between two clusters. Different from physical replication which replays physical logs, logical replication transfers logical logs between two clusters or synchronizes data through SQL statements in logical logs.

逻辑日志

+

logical log

数据库修改的日志记录,可直接对应为SQL语句,一般为行级记录。区别于物理日志,物理日志是记录物理页面修改的日志。

+

Logs recording database changes made through SQL statements. Generally, the changes are logged at the row level. Logical logs are different from physical logs that record changes of physical pages.

逻辑解码

+

logical decoding

逻辑解码是一种通过对xlog日志的反解实现将数据库表的所有持久更改抽取到一种清晰、易于理解的格式的处理过程。

+

Logic decoding is a process of extracting all permanent changes in database tables into a clear and easy-to-understand format by decoding Xlogs.

逻辑复制槽

+

logical replication slot

在逻辑复制的环境下,逻辑复制槽用以防止Xlog被系统或Vaccum回收。openGauss中用于记录逻辑解码位置的对象,提供创建、删除、读取、推进等多个SQL接口函数。

+

In a logical replication process, logic replication slots are used to prevent Xlogs from being reclaimed by the system or VACCUM. A logical replication slot in openGauss is an object that records logical decoding positions. It can be created, deleted, read, and pushed by invoking SQL functions.

MVCC

+

MVCC

Multi-Version Concurrency Control,多版本并发控制。数据库并发控制协议的一种,它的基本算法是一个元组可以有多个版本,不同的查询可以工作在不同的版本上。一个基本的好处是读和写可以不冲突。

+

Acronym for multi-version concurrency control. It is a protocol that allows a tuple to have multiple versions, on which different query operations can be performed. One advantage is that read and write operations do not conflict.

NameNode

+

NameNode

NameNode是Hadoop系统中的一个中心服务器,负责管理文件系统的名称空间(namespace)以及客户端对文件的访问。

+

NameNode is the centerpiece of an HDFS, managing the namespace of the file system and client access to files.

OM

+

OM

Operations Management,运维管理模块。提供集群日常运维、配置管理的管理接口、工具。

+

Acronym for operations management. It provides management interfaces and tools for routine maintenance and configuration management of the cluster.

客户端

+

client

连接或请求其它计算机或程序服务的计算机或程序。

+

A computer or program that connects to or requests the services of another computer or program.

空闲空间管理

+

free space management

管理表内空闲空间的机制,通过记录每个表内空闲空间信息,并建立易于查找的数据结构,可以加速对空闲空间进行的操作(例如INSERT)。

+

A mechanism for managing free space in a table. This mechanism enables the database system to record free space in each table and establish an easy-to-find data structure, accelerating operations (such as INSERT) performed on the free space.

垃圾元组

+

junk tuple

是指使用DELETE和UPDATE语句删除的元组,openGauss在删除元组时只是打个删除标记,由Vacuum线程清理这种垃圾元组。

+

A tuple that is deleted using the DELETE and UPDATE statements. openGauss only marks tuples to be deleted, and the VACUUM thread will then periodically remove these junk tuples.

+

column

字段的等效概念。在数据库中,表由一列或多列组成。

+

An equivalent concept of field. A database table consists of one or more columns.

逻辑节点

+

logical node

一个物理节点上可以安装多个逻辑节点。一个逻辑节点是一个数据库实例。

+

Multiple logical nodes can be installed on the same physical node. A logical node is a database instance.

模式

+

schema

数据库对象集,包括逻辑结构,例如表、视图、序、存储过程、同义名、索引、集群及数据库链接。

+

Collection of database objects, including logical structures, such as tables, views, sequences, stored procedures, synonyms, indexes, clusters, and database links.

模式文件

+

schema file

用于决定数据库结构的SQL文件。

+

An SQL file that determines the database structure.

P – T

+

P – T

Page

+

page

openGauss数据库关系对象结构中行存的最小内存单元。一个Page大小为默认为8KB。

+

Minimum memory unit for row storage in the relational object structure in openGauss. The default size of a page is 8 KB.

PostgreSQL

+

PostgreSQL

PostgreSQL是一个开源的关系数据库管理系统(DBMS),由全球志愿者团队开发。PostgreSQL不受任何公司或个体所控制,源代码免费使用。

+

An open-source relational DBMS developed by volunteers all over the world. PostgreSQL is not controlled by any companies or individuals. Its source code can be used for free.

Postmaster

+

postmaster

数据库服务启动时启动的一个线程。用于监听来自集群其它节点或客户端的连接请求。

-

主机上监听到备机连接请求,并接受后,就会创建一个WAL Sender线程,用于处理与备机的交互。

+

A thread started when the database service is started. It listens on connection requests from other nodes in the cluster or from clients.

+

After receiving and accepting a connection request from the standby node, the primary node creates a WAL sender thread to interact with the standby node.

RHEL

+

RHEL

Red Hat Enterprise Linux,红帽企业Linux。

+

Acronym for Red Hat Enterprise Linux.

REDO日志

+

redo log

记录对数据库进行操作的日志,这些日志包含重新执行这些操作所需要的信息。当数据库故障时,可以利用REDO日志将数据库恢复到故障前的状态。

+

A log that records operations on the database. Redo logs contain the information required for performing these operations again. If a database is faulty, redo logs can be used to restore the database to its pre-fault state.

SCTP

+

SCTP

Stream Control Transmission Protocol,流控制传输协议。是IETF于2000年新定义的一个传输层协议。是提供基于不可靠传输业务的协议之上的可靠的数据报传输协议。SCTP的设计用于通过IP网传输SCN窄带信令消息。

+

Acronym for stream control transmission protocol. It is a transport-layer protocol defined by Internet Engineering Task Force (IETF) in 2000. The protocol ensures the reliability of datagram transport based on unreliable service transmission protocols by transferring SCN narrowband signaling over IP network.

Savepoint

+

savepoint

保存点。是一种在关系数据库管理系统中实现子事务(也称为嵌套事务)的方法。在一个长事务中,可以把操作过程分成几部分,前面部分执行成功后,可以建一个保存点,若后面的执行失败,则回滚到这个保存点即可,无需回滚整个事务。保存点对于在数据库应用程序中实现复杂错误恢复很有用。如果在多语句事务中发生错误,则应用程序可能能够从错误中恢复(通过回滚到保存点)而无需中止整个事务。

+

A savepoint marks the end of a sub-transaction (also known as a nested transaction) in a relational DBMS. The process of a long transaction can be divided into several parts. After a part is successfully executed, a savepoint will be created. If later execution fails, the transaction will be rolled back to the savepoint instead of being totally rolled back. This is helpful for recovering database applications from complicated errors. If an error occurs in a multi-statement transaction, the application can be restored by rolling back to the savepoint without terminating the entire transaction.

Session

+

session

数据库系统在接收到应用程序的连接请求时,为该连接创建的一个任务。它被Session Manager管理,完成一些初始化任务,执行用户的所有操作。

+

If a database receives a connection request from an application, a task is created for the connection. Sessions are managed by the session manager. They execute initial tasks and perform all user operations.

SLES

+

SLES

SUSE Linux Enterprise Server,由SUSE提供的企业级Linux操作系统。

+

Acronym for SUSE Linux enterprise server, an enterprise Linux OS provided by SUSE.

SMP

+

SMP

Symmetric Multi-Processing,对称多处理技术,是指在一台计算机上汇集了一组处理器(多CPU),各CPU之间共享内存子系统以及总线结构。操作系统必须支持多任务和多线程处理,以使得SMP系统发挥高效的性能。数据库领域的SMP并行技术,一般指利用多线程技术实现查询的并行执行,以充分利用CPU资源,从而提升查询性能。

+

Acronym for symmetric multiprocessing. A group of processors (multiple CPUs) is integrated on a computer. These CPUs share the memory subsystem and bus structure. The OS must support multitasking and multithreading to ensure an SMP system achieves high performance. In databases, SMP means to concurrently execute queries using the multi-thread technology, efficiently using all CPU resources and improving query performance.

SQL

+

SQL

Structure Query Language,结构化查询语言。数据库的标准查询语言。它可以分为数据定义语言(DDL),数据操纵语言(DML)和数据控制语言(DCL)。

+

Acronym for structured query language. A standard database query language, consisting of data definition language (DDL), data manipulation language (DML), and data control language (DCL).

SSL

+

SSL

Secure Socket Layer,安全套接层。SSL是Netscape公司率先采用的网络安全协议。它是在传输通信协议(TCP/IP)上实现的一种安全协议,采用公开密钥技术。SSL广泛支持各种类型的网络,同时提供三种基本的安全服务,它们都使用公开密钥技术。SSL支持服务通过网络进行通信而不损害安全性。它在客户端和服务器之间创建一个安全连接。然后通过该连接安全地发送任意数据量。

+

Acronym for secure sockets layer. It is a network security protocol introduced by Netscape. It is based on the TCP/IP and uses public key technology. SSL supports a wide range of networks and provides three basic security services, all of which use the public key technology. SSL ensures the security of service communication through the network by establishing a secure connection between a client and a server and then being able to securely send any data through this connection.

收敛比

+

oversubscription ratio

交换机下行带宽与上行带宽的比值。收敛比越高,流量收敛程度越大,丢包越严重。

+

The ratio of downlink bandwidth to uplink bandwidth of a switch. A high oversubscription ratio indicates a highly oversubscribed traffic environment and severe packet loss.

TCP

+

TCP

Transmission Control Protocol,传输控制协议。用于将数据信息分解成信息包,使之经过IP协议发送;并对利用IP协议接收来的信息包进行校验并将其重新装配成完整的信息。TCP是面向连接的可靠协议,能够确保信息的无误发送。

+

Acronym for transmission control protocol. It splits data into packets which are sent through the Internet protocol (IP), and checks and reassembles packets received through IP to obtain original information. TCP is a connection-oriented, reliable protocol that ensures information correctness in transmission.

trace

+

trace

一种特殊的日志记录方法,用来记录程序执行的信息。程序员使用该信息进行纠错。另外,根据trace日志中信息的类型和内容,有经验的系统管理员或技术支持人员以及软件监控工具诊断软件常见问题。

+

A specialized use of logging to record information about the way a program is executed. Programmers use the information for debugging. System administrators and technical support personnel can diagnose common problems by using software monitoring tools and based on this information.

强一致性

+

strong consistency

任何查询不会瞬时的看到一个分布式事务的中间状态。

+

A query cannot see any instantaneous intermediate state of a distributed transaction.

全备份

+

full backup

备份整个数据库。

+

Backup of the whole database.

全量同步

+

full synchronization

openGauss双机方案中的一种数据同步机制,是指把主机中的所有数据同步给备机。

+

A data synchronization mechanism specified in the openGauss primary/standby solution, which is used to synchronize all data from the primary node to a standby node.

日志文件

+

log file

计算机记录自身活动的记录。

+

A file containing a record of to activities made in a computer.

事务

+

transaction

数据库管理系统执行过程中的一个逻辑单位,由一个有限的数据库操作序列构成,事务必须满足ACID原则。

+

A logical unit of work performed within a database management system against a database. A transaction consists of a limited database operation sequence, and must have ACID features.

数据

+

data

事实或指令的一种表达形式,适用于人为或自动的通信、解释或处理。数据包含常量、变量、阵列和字符串。

+

A representation of facts or directives for manual or automatic communication, explanation, or processing. Data includes constants, variables, arrays, and strings.

数据分区

+

data partition

数据分区是指在一个数据库实例内部,将表按照划分为多个数据互不重叠的部分(Partition)。具体的分区方式可以有:范围分区(Range),它根据元组中指定字段的取值所处的范围映射到目标存储位置。

+

The action of dividing a table into parts (partitions) whose data does not overlap within a database instance. Tables can be partitioned by range, where the target storage location is mapped based on the range of the values in the column that is specified in the tuple.

数据库

+

database

数据库是存储在一起的相关数据的集合,这些数据可以被访问,管理以及更新。同一视图中,数据库可以根据存储内容类型分为以下几类:数目类、全文本类、数字类及图像类。

+

A collection of data that is stored together and can be accessed, managed, and updated. Data in a view in the database can be classified into the following types: numerals, full text, digits, and images.

数据库实例

+

database instance

一个数据库实例是一个openGauss进程以及它控制的数据库文件。openGauss在一个物理节点上安装多个数据库实例。一个数据库实例也被称为一个逻辑节点。

+

A database instance consists of openGauss process and database files controlled by it. openGauss allows multiple database instances to be installed on one physical node. A database instance is also called a logical node.

数据库双机

+

database primary/standby solution

openGauss提供的高可靠性双机方案。在此方案中,每个openGauss逻辑节点标识为主机或备机。在同一时间内,只有一个openGauss被标识为主机。双机初次建立时,主机会对每个备机数据做全量同步,然后做增量同步。双机建立之后的运行过程中,主机能接受数据读和写的操作请求,备机只做日志同步。

+

openGauss provides a highly reliable primary/standby solution. In this solution, each openGauss is called a primary or standby node. At the same time, only one openGauss is identified as the primary node. When the primary/standby system is deployed for the first time, the primary node performs full synchronization on the standby node, and then performs incremental synchronization on the standby node. When the primary/standby system is running, the primary node can receive data read and write operation requests and the standby node only synchronize logs.

数据库文件

+

database file

保存用户数据和数据库系统内部数据的二进制文件。

+

A binary file that stores user data and the data inside the database system.

数据字典

+

data dictionary

数据字典是一系列只读的表,用来提供数据库的信息。这些信息包括:数据库设计信息、存储过程信息、用户权限、用户统计数据、数据库进程信息、数据库增长统计数据和数据库性能统计数据。

+

A read-only collection of database tables and views containing reference information about the database. The information includes database design information, stored procedure information, user rights, user statistics, database process information, database increase statistics, and database performance statistics.

死锁

+

deadlock

为使用同一资源而产生的无法解决的争用状态。

+

A situation where different transactions are unable to proceed, because each holds a lock that the other needs.

索引

+

index

数据库索引,是数据库管理系统中一个排序的数据结构,以协助快速查询、更新数据库表中数据。

+

An ordered data structure in DBMS to help quickly query and update data in database tables.

统计信息

+

statistics

数据库使用统计信息估算查询代价,以查找代价最小的执行计划,统计信息一般是数据库自动收集的,包括表级信息(元组数、页面数等)和列级信息(列的值域分布直方图)。

+

Information that is automatically collected by databases, including table-level information (number of tuples and number of pages) and column-level information (column value range distribution histogram). Statistics in databases are used to estimate the cost of query plans to find a plan with the lowest cost.

停用词

+

stop word

在信息检索中,为节省存储空间和提高搜索效率,在处理自然语言数据(或文本)之前或之后会自动过滤掉某些字或词,这些字或词即被称为Stop Words(停用词)。

+

In computing, stop words are words which are filtered out before or after processing of natural language data (text), saving storage space and improving search efficiency.

U – Z

+

U – Z

Vacuum

+

VACUUM

数据库定期启动的清理垃圾元组的线程,根据配置参数可以同时启动多个。

+

A thread that is periodically started by a database to remove junk tuples. Multiple VACUUM threads can be started concurrently by setting a parameter.

verbose

+

verbose

verbose选项指定显示在屏幕上的处理信息。

+

A verbose option specifies the information to be displayed.

WAL

+

WAL

Write-Ahead Logging,预写日志系统。实现事务日志的标准方法,是指对数据文件(表和索引的载体)持久化修改之前必须先持久化相应的日志。

+

Acronym for write-ahead logging, a standard method for logging a transaction. Corresponding logs must be written into a permanent device before a data file (carrier for a table and index) is modified.

WAL Receiver

+

WAL receiver

数据库复制时备机创建的一个线程的名称。此线程用于从主机接收数据、命令,并反馈确认信息至主机。一个备机只有一个WAL Receiver线程。

+

A thread created by a standby node during database replication. The thread is used to receive data and commands from the primary node and to tell the primary node that the data and commands have been acknowledged. Only one WAL receiver thread can run on one standby node.

WAL Sender

+

WAL sender

数据库复制过程中,主机接受到备机的连接请求后创建的一个线程的名称。此线程用于发送命令、数据到备机,并从备机接收信息。一个主机可能会有多个WAL Sender线程,每一个WAL Sender线程对应一个备机的一个连接请求。

+

A thread created on the primary node when the primary node has received a connection request from a standby node during database replication. This thread is used to send data and commands to the standby node and to receive responses from the standby node. Multiple WAL sender threads may run on one primary node. Each WAL sender thread corresponds to a connection request initiated by a standby node.

WAL Writer

+

WAL writer

数据库启动时创建的一个写Redo日志的线程,用于将内存中的日志写入到持久性设备(如:磁盘)。

+

A thread for writing redo logs that are created when a database is started. This thread is used to write logs in the memory to a permanent device, such as a disk.

Xlog

+

Xlog

表示事务日志,一个逻辑节点中只有一个,不允许创建多个Xlog文件。

+

A transaction log. A logical node can have only one .xlog file.

xDR

+

xDR

详单。用户面和信令面详单的统称,包括CDR和UFDR、TDR和SDR。

+

The x detail record is a general term that refers to call detail records (CDRs), user flow data records (UFDRs), transaction detail records (TDRs), and statistics detail records (SDRs) on the user and signaling planes.

物理节点

+

physical node

一个物理机器称为一个物理节点。

+

A physical machine.

系统表

+

system catalog

存储数据库元信息的表,元信息包括数据库中的用户表、索引、列、函数和数据类型等。

+

A system catalog stores meta information about a database, including user tables, indexes, columns, functions, and data types.

下推

+

pushdown

openGauss是分布式数据库,其可以利用多DN分布式并行执行查询计划,即将CN中的查询计划下发到各DN中并行执行。这种行为称为下推。与将数据抽取到CN上执行查询的方式相比,下推可以大幅提升查询性能。

+

openGauss is a distributed database, where a CN can send a query plan to multiple DNs for parallel execution. This behavior is called pushdown. It achieves better query performance than extracting data to CN for query.

压缩

+

compression

数据压缩,信源编码,或比特率降低涉及使用相比原来较少比特的编码信息。压缩可以是有损或无损。无损压缩通过识别和消除统计冗余降低比特位。无损压缩中没有信息丢失。有损压缩识别并删除次要信息,减少了比特位。减少数据文件大小的方法被普遍称为数据压缩,尽管其正式名称为源编码(数据源的编码,然后将其存储或传输)。

+

Data compression, source coding, or bit-rate reduction involves encoding information that uses fewer bits than the original representation. Compression can be either lossy or lossless. Lossless compression reduces bits by identifying and eliminating statistical redundancy. No information is lost in lossless compression. Lossy compression reduces bits by identifying and removing less noticeable information. The process of reducing the size of a data file is commonly referred as data compression, although its formal name is source coding (coding done at the source of the data, before it is stored or transmitted).

一致性

+

consistency

数据库事务的ACID特性之一。在事务开始之前和事务结束以后,数据库的完整性约束没有被破坏。

+

One of the ACID properties of a database transaction. Data in the database must comply with integrity constraints.

元数据

+

metadata

用来定义数据的数据。主要是描述数据自身信息,包含源、大小、格式或其它数据特征。数据库字段中,元数据用于理解以及诠释数据仓库的内容。

+

Data that provides information about other data. Metadata describes the source, size, format, or other characteristics of data. In the data field, metadata helps to explain the content of a data warehouse.

原子性

+

atomicity

数据库事务的ACID特性之一。整个事务中的所有操作,要么全部完成,要么全部不完成,不可能停滞在中间某个环节。事务在执行过程中发生错误,会被回滚到事务开始前的状态,就像这个事务从来没有执行过一样。

+

One of the ACID properties of a database transaction. A transaction is comprised of an indivisible unit of work. Operations performed in a transaction must be all finished or have not been performed. If an error occurs during transaction execution, the transaction is rolled back to the state when it was not performed.

脏页面

+

dirty page

已经被修改且未写入持久性设备的页面。

+

A page that has been modified, where the changes are not yet written to a permanent device.

增量备份

+

incremental backup

基于上次有效备份之后对文件修改的备份。

+

Incremental backup only saves data changed since the last valid backup.

增量同步

+

incremental synchronization

openGauss双机方案中的一种数据同步机制,是指把主机中数据增量同步给备机,即只同步主备间有差异的数据。

+

A data synchronization mechanism in the openGauss primary/standby solution, which is used to synchronize inconsistent data from the primary node to a standby node.

主机

+

primary node

openGauss数据库双机系统中接受数据读写操作的节点,和所有备机一起协同工作。在同一时间内,双机系统中只有一个节点被标识为主机。

+

A node that allows read and write operations and works with all standby nodes in the openGauss primary/standby system. At the same time, only one node in the primary/standby system is identified as the primary node.

主题词

+

subject term

在标引和检索中用以表达文献主题的规范化的词或词组。

+

A standardized word or phrase that describes the subject of an article.

转储文件

+

dump file

转储文件是一种特定类型的trace文件。转储文件为响应事件过程中一次性输出的诊断数据,trace文件指诊断数据的连续输出。

+

A specific type of trace file. A dump is typically a one-time output of diagnostic data in response to an event, whereas a trace tends to be continuous output of diagnostic data.

最小恢复点

+

minimum restoration point

最小恢复点是openGauss提供的数据一致性保障手段之一。最小恢复点特性可以在openGauss启动时检查出WAL日志和持久化到磁盘的数据的不一致性,并提示用户进行处理。

+

A method used by openGauss to ensure data consistency. During startup, openGauss checks consistency between the latest WAL logs and the minimum restoration point. If the record location of the minimum restoration point is greater than that of the latest WAL logs, the database fails to start.

将代码编译结果压缩封装成安装包。

-nopt

+

不使用此功能

+

-

+

如果使用此功能,则对鲲鹏平台的相关CPU不进行优化。

+
diff --git "a/content/zh/docs/Developerguide/ARM\346\234\215\345\212\241\345\231\250\344\274\230\345\214\226\346\214\207\345\257\274.md" "b/content/zh/docs/Developerguide/ARM\346\234\215\345\212\241\345\231\250\344\274\230\345\214\226\346\214\207\345\257\274.md" index b258761b3409bc29f8b86dff722d0928cb242617..cc740e9382a8d8c1d16d8bb286314315f0bf0ee2 100644 --- "a/content/zh/docs/Developerguide/ARM\346\234\215\345\212\241\345\231\250\344\274\230\345\214\226\346\214\207\345\257\274.md" +++ "b/content/zh/docs/Developerguide/ARM\346\234\215\345\212\241\345\231\250\344\274\230\345\214\226\346\214\207\345\257\274.md" @@ -1,2 +1,188 @@ # ARM服务器优化指导 +- BIOS + +请按下图进行配置 + +![](figures/zh-cn_image_0257861506.png) + +![](figures/zh-cn_image_0257861511.png) + +![](figures/zh-cn_image_0257861526.png) + +- 操作系统 + +请按如下方式修改/etc/sysctl.conf配置文件修改内核参数 + +``` +net.ipv4.ip_local_port_range = 9000 65535 +kernel.sysrq = 1 +kernel.panic_on_oops = 1 +kernel.panic = 5 +kernel.hung_task_timeout_secs = 3600 +kernel.hung_task_panic = 1 +vm.oom_dump_tasks = 1 +kernel.softlockup_panic = 1 +fs.file-max = 640000 +kernel.msgmnb = 7000000 +kernel.sched_min_granularity_ns = 10000000 +kernel.sched_wakeup_granularity_ns = 15000000 +kernel.numa_balancing=0 +vm.max_map_count = 1048576 +net.ipv4.tcp_max_tw_buckets = 10000 +net.ipv4.tcp_tw_reuse = 1 +net.ipv4.tcp_tw_recycle = 1 +net.ipv4.tcp_keepalive_time = 30 +net.ipv4.tcp_keepalive_probes = 9 +net.ipv4.tcp_keepalive_intvl = 30 +net.ipv4.tcp_retries2 = 80 +kernel.sem = 32000 1024000000 500 32000 +kernel.shmall = 52805669 +kernel.shmmax = 18446744073692774399 +sys.fs.file-max = 6536438 +net.core.wmem_max = 21299200 +net.core.rmem_max = 21299200 +net.core.wmem_default = 21299200 +net.core.rmem_default = 21299200 +net.ipv4.tcp_rmem = 8192 250000 16777216 +net.ipv4.tcp_wmem = 8192 250000 16777216 +net.core.somaxconn = 65535 +vm.min_free_kbytes = 5270325 +net.core.netdev_max_backlog = 65535 +net.ipv4.tcp_max_syn_backlog = 65535 +net.ipv4.tcp_syncookies = 1 +vm.overcommit_memory = 0 +net.ipv4.tcp_retries1 = 5 +net.ipv4.tcp_syn_retries = 5 +##NEW +kernel.sched_autogroup_enabled=0 +kernel.sched_min_granularity_ns=2000000 +kernel.sched_latency_ns=10000000 +kernel.sched_wakeup_granularity_ns=5000000 +kernel.sched_migration_cost_ns=500000 +vm.dirty_background_bytes=33554432 +kernel.shmmax=21474836480 +net.ipv4.tcp_timestamps = 0 +net.ipv6.conf.all.disable_ipv6=1 +net.ipv6.conf.default.disable_ipv6=1 +net.ipv4.tcp_keepalive_time=600 +net.ipv4.tcp_keepalive_probes=3 +kernel.core_uses_pid=1 +``` + +调优守护程序使用Throughput-performance配置文件: + +``` +[...]$ tuned-adm profile throughput-performance +``` + +调优启动参数,将如下配置加入内核启动参数: + +``` +iommu.passthrough=1 +``` + +- 调优硬盘/SSD + +请按如下方式格式化分区,其中nvme0n1p1为测试机上NVMe盘名,请替换为本机NVMe盘名: + +``` +– mkfs.xfs -f -b size=8192 -s size=512 /dev/nvme0n1p1 +``` + +将如下配置项加入内核参数以启用BFQ: + +``` +scsi_mod.use_blk_mq=1 +``` + +- 网络 + +请按照厂商建议安装网卡驱动程序并配置消息队列长度,以华为Hi1822网卡为例,请参考如下链接安装Hi1822智能网卡驱动: + +[https://support.huawei.com/enterprise/de/doc/EDOC1100063073/42928ba6/configuring-64-queues](https://support.huawei.com/enterprise/de/doc/EDOC1100063073/42928ba6/configuring-64-queues) + +配置消息队列为64: + +``` +./hinicconfig hinic0 -f std_sh_4x25ge_dpdk_cfg_template0.ini +``` + +请按如下方式配置IRQ: + +先禁用irqbalance系统服务;随后按照如下方式进行配置(以下enp5s0/enp4s0/enp3s0仅为示例,请根据实际情况替换为本机网卡名): + +四路ARM服务器单网卡: + +``` +/var/scripts/set_irq_affinity_256.sh -x all enp4s0. +``` + +四路ARM服务器双网卡: + +``` + /var/scripts/set_irq_affinity.sh -x 16-32,48-64,80-95,112-128 enp4s0 + /var/scripts/set_irq_affinity.sh -x 146-161,176-191,208-224,240-256 enp5s0 +``` + +两路ARM服务器单网卡: + +``` +/var/scripts/set_irq_affinity_128.sh -x all enp3s0 +``` + +两路ARM服务器双网卡: + +``` +./set_irq_affinity.sh -x 0-63 enp3s0 +./set_irq_affinity.sh -x 64-128 enp4s0 +``` + +四路服务器上请按如下方式配置中断: + +``` +ethtool -C enp4s0 adaptive-rx off adaptive-tx off rx-usecs 62 tx-usecs 62 +``` + +两路服务器上请按如下方式配置中断: + +``` +ethtool-C enp4s0 adaptive-rx off adaptive-tx off rx-usecs 50 tx-usecs 50 +``` + +配置增大缓冲区大小以调优网卡: + +``` +ethtool -G enp4s0 rx 4096 tx 4096 +``` + +修改网卡参数,服务端为on,客户端为off: + +``` + ethtool -K $net_dev tso on/off + ethtool -K $net_dev lro on/off + ethtool -K $net_dev gro on/off + ethtool -K $net_dev gso on/off +``` + +调优rc\_local,其中<256/128\>处请按照本机物理核心数设置: + +``` +killall -9 polkitd + +service sysmonitor stop +service irqbalance stop +service rsyslog stop +service firewalld stop + +echo madvise > /sys/kernel/mm/transparent_hugepage/enabled + +/var/scripts/net_tune.sh enp4s0 +/var/scripts/net_tune.sh enp5s0 + +ethtool -G enp4s0 rx 4096 tx 4096 +ethtool -G enp5s0 rx 4096 tx 4096 +/var/scripts/set_irq_affinity_<256/128>.sh -x all enp4s0 +ethtool -C enp4s0 adaptive-rx off adaptive-tx off rx-usecs 62 tx-usecs 62 +``` + diff --git "a/content/zh/docs/Developerguide/X86\346\234\215\345\212\241\345\231\250\344\274\230\345\214\226\346\214\207\345\257\274.md" "b/content/zh/docs/Developerguide/X86\346\234\215\345\212\241\345\231\250\344\274\230\345\214\226\346\214\207\345\257\274.md" index 033e40b57236a796b64399fda8d9d7d295823498..d9a04f1de9d69bd60294f3bd687627b946a5220f 100644 --- "a/content/zh/docs/Developerguide/X86\346\234\215\345\212\241\345\231\250\344\274\230\345\214\226\346\214\207\345\257\274.md" +++ "b/content/zh/docs/Developerguide/X86\346\234\215\345\212\241\345\231\250\344\274\230\345\214\226\346\214\207\345\257\274.md" @@ -1,2 +1,127 @@ # X86服务器优化指导 +以下是用于优化Intel x86服务器(以Dell 2路服务器为例)上运行MOT时的建议配置。这些设置是高吞吐量工作负载的最佳选择。 + +BIOS: + +- Hyper Threading需设置为ON + +操作系统: + +- 禁用NUMA平衡,如下所述。MOT以极其高效的NUMA-aware方式进行内存管理,远远超过操作系统使用的默认方法。 + + ``` + echo 0 > /proc/sys/kernel/numa_balancing + ``` + + +- 禁用部分系统服务: + + ``` + service sysmonitor stop # OPTIONAL, performance + service irqbalance stop # MANADATORY + service rsyslog stop # OPTIONAL, performance + ``` + + +- 调优系统服务: + +调优守护程序使用Throughput-performance配置文件 + +``` +[...]$ tuned-adm profile throughput-performance +``` + +调优Sysctl,请按如下方式修改/etc/sysctl.conf配置文件后运行sysctl -p – + +``` +net.ipv4.ip_local_port_range = 9000 65535 +kernel.sysrq = 1 +kernel.panic_on_oops = 1 +kernel.panic = 5 +kernel.hung_task_timeout_secs = 3600 +kernel.hung_task_panic = 1 +vm.oom_dump_tasks = 1 +kernel.softlockup_panic = 1 +fs.file-max = 640000 +kernel.msgmnb = 7000000 +kernel.sched_min_granularity_ns = 10000000 +kernel.sched_wakeup_granularity_ns = 15000000 +kernel.numa_balancing=0 +vm.max_map_count = 1048576 +net.ipv4.tcp_max_tw_buckets = 10000 +net.ipv4.tcp_tw_reuse = 1 +net.ipv4.tcp_tw_recycle = 1 +net.ipv4.tcp_keepalive_time = 30 +net.ipv4.tcp_keepalive_probes = 9 +net.ipv4.tcp_keepalive_intvl = 30 +net.ipv4.tcp_retries2 = 80 +kernel.sem = 250 6400000 1000 25600 +net.core.wmem_max = 21299200 +net.core.rmem_max = 21299200 +net.core.wmem_default = 21299200 +net.core.rmem_default = 21299200 +#net.sctp.sctp_mem = 94500000 915000000 927000000 +#net.sctp.sctp_rmem = 8192 250000 16777216 +#net.sctp.sctp_wmem = 8192 250000 16777216 +net.ipv4.tcp_rmem = 8192 250000 16777216 +net.ipv4.tcp_wmem = 8192 250000 16777216 +net.core.somaxconn = 65535 +vm.min_free_kbytes = 26351629 +net.core.netdev_max_backlog = 65535 +net.ipv4.tcp_max_syn_backlog = 65535 +#net.sctp.addip_enable = 0 +net.ipv4.tcp_syncookies = 1 +vm.overcommit_memory = 0 +net.ipv4.tcp_retries1 = 5 +net.ipv4.tcp_syn_retries = 5 +``` + +请按如下方式修改/etc/security/limits.conf对应部分 + +``` + soft nofile 100000 + hard nofile 100000 +``` + +- 确保磁盘/SSD性能 + +请按如下方式运行磁盘/SSD性能测试,若性能测试结果显著低于789MB/s将严重影响MOT性能。 + +``` +[...]$ sync; dd if=/dev/zero of=testfile bs=1M count=1024; sync +1024+0 records in +1024+0 records out +1073741824 bytes (1.1 GB) copied, 1.36034 s, 789 MB/s +``` + +- 网络 + +需使用10Gbps或更高速率网卡,请按如下方式测试: + +服务器侧: + +``` +iperf -s +``` + +客户侧: + +``` +iperf -c <服务端IP> +``` + +同时请按如下方式优化网络: + +从https://gist.github.com/SaveTheRbtz/8875474将set\_irq\_affinity.sh下载到/var/scripts/目录 + +进入/etc/rc.d/rc.local目录,并按如下方式操作: + +``` +chmod +x /etc/rc.d/rc.local +var/scripts/set_irq_affinity.sh -x all +ethtool -K gro off +ethtool -C adaptive-rx on adaptive-tx on +Replace with the network card +``` + diff --git "a/content/zh/docs/Releasenotes/\344\274\230\345\214\226\347\211\271\346\200\247.md" "b/content/zh/docs/Releasenotes/\344\274\230\345\214\226\347\211\271\346\200\247.md" deleted file mode 100644 index b558d2b98d82163a99d8d97d1e312cd40a697214..0000000000000000000000000000000000000000 --- "a/content/zh/docs/Releasenotes/\344\274\230\345\214\226\347\211\271\346\200\247.md" +++ /dev/null @@ -1,4 +0,0 @@ -# 优化特性 - -本版本是openGauss第一个版本,为基础版本,不涉及与原来版本的差异优化特性。 - diff --git "a/content/zh/docs/Releasenotes/\346\226\260\345\242\236\347\211\271\346\200\247.md" "b/content/zh/docs/Releasenotes/\346\226\260\345\242\236\347\211\271\346\200\247.md" deleted file mode 100644 index db49e4995ce11921aad71525245a8a88a88b3f07..0000000000000000000000000000000000000000 --- "a/content/zh/docs/Releasenotes/\346\226\260\345\242\236\347\211\271\346\200\247.md" +++ /dev/null @@ -1,4 +0,0 @@ -# 新增特性 - -本版本是openGauss第一个版本,为基础版本,不涉及与原来版本的差异新增特性。 - diff --git "a/content/zh/docs/Releasenotes/\347\211\271\346\200\247\344\273\213\347\273\215.md" "b/content/zh/docs/Releasenotes/\347\211\271\346\200\247\344\273\213\347\273\215.md" index 43b09f0b1218411eb50b8ef398c6fac81390881e..672740dcb25a46599109be1d9618f250c39938ae 100644 --- "a/content/zh/docs/Releasenotes/\347\211\271\346\200\247\344\273\213\347\273\215.md" +++ "b/content/zh/docs/Releasenotes/\347\211\271\346\200\247\344\273\213\347\273\215.md" @@ -22,11 +22,6 @@ - 安全管理 - 支持SSL安全网络连接、用户权限管理、密码管理、安全审计等功能,保证数据库在管理层、应用层、系统层和网络层的安全性 - - -- **[新增特性](新增特性.md)** - -- **[优化特性](优化特性.md)** + 支持SSL安全网络连接、用户权限管理、密码管理、安全审计等功能,保证数据库在管理层、应用层、系统层和网络层的安全性。 diff --git "a/content/zh/docs/Technicalwhitepaper/\350\241\214\345\210\227\346\267\267\345\220\210\345\255\230\345\202\250.md" "b/content/zh/docs/Technicalwhitepaper/\350\241\214\345\210\227\346\267\267\345\220\210\345\255\230\345\202\250.md" index 3db58f24273b386c3cd9aab647719210cc856f68..44e47404ae2d2cee18a9f874d04ac5173c11d022 100644 --- "a/content/zh/docs/Technicalwhitepaper/\350\241\214\345\210\227\346\267\267\345\220\210\345\255\230\345\202\250.md" +++ "b/content/zh/docs/Technicalwhitepaper/\350\241\214\345\210\227\346\267\267\345\220\210\345\255\230\345\202\250.md" @@ -7,7 +7,7 @@ openGauss支持行存储和列存储两种存储模型,用户可以根据应 列存储方式如[图1](#zh-cn_topic_0242724708_fig4487133722819)所示。 **图 1** 列存储示意图 -![](figures/列存储示意图.png "列存储示意图") + 在大宽表、数据量比较大的场景中,查询经常关注某些列,行存储引擎查询性能比较差。例如气象局的场景,单表有200\~800个列,查询经常访问10个列,在类似这样的场景下,向量化执行技术和列存储引擎可以极大的提升性能和减少存储空间。 diff --git a/content/zh/menu/index.md b/content/zh/menu/index.md index 0ce423e4810c29413f1da03560edbeaa5847798c..0e095209c3575f08bf1c8bceecca9c071dabd9d4 100644 --- a/content/zh/menu/index.md +++ b/content/zh/menu/index.md @@ -9,11 +9,10 @@ headless: true - [版本使用注意事项]({{< relref "./docs/Releasenotes/版本使用注意事项.md" >}}) - [已知问题]({{< relref "./docs/Releasenotes/已知问题.md" >}}) - [CVE漏洞]({{< relref "./docs/Releasenotes/CVE漏洞.md" >}}) - - [已修复问题]({{< relref "./docs/Releasenotes/已修复问题.md" >}}) - [源代码]({{< relref "./docs/Releasenotes/源代码.md" >}}) - [参与贡献]({{< relref "./docs/Releasenotes/参与贡献.md" >}}) - [致谢]({{< relref "./docs/Releasenotes/致谢.md" >}}) - + - [产品描述]({{< relref "./docs/Description/Description.md" >}}) - [产品定位]({{< relref "./docs/Description/产品定位.md" >}}) - [系统架构]({{< relref "./docs/Description/系统架构.md" >}})