From d460005164ccfeef667d628d39d033eaa21bd68f Mon Sep 17 00:00:00 2001 From: liuxiaohui Date: Thu, 18 Dec 2025 11:38:05 +0800 Subject: [PATCH 1/4] Update release note v5.1 --- CN/modules/ROOT/pages/v5.1/1.adoc | 182 +++-------------- CN/modules/ROOT/pages/v5.1/23.adoc | 2 +- CN/modules/ROOT/pages/v5.1/3.1.adoc | 14 +- CN/modules/ROOT/pages/v5.1/4.1.adoc | 28 +-- CN/modules/ROOT/pages/v5.1/4.2.adoc | 14 +- CN/modules/ROOT/pages/v5.1/4.4.adoc | 14 +- CN/modules/ROOT/pages/v5.1/4.5.adoc | 4 +- CN/modules/ROOT/pages/v5.1/4.6.1.adoc | 4 +- CN/modules/ROOT/pages/v5.1/4.6.3.adoc | 8 +- CN/modules/ROOT/pages/v5.1/4.6.4.adoc | 18 +- CN/modules/ROOT/pages/v5.1/4.7.1.adoc | 4 +- CN/modules/ROOT/pages/v5.1/5.0.adoc | 20 +- CN/modules/ROOT/pages/v5.1/5.1.adoc | 2 +- CN/modules/ROOT/pages/v5.1/5.2.adoc | 2 +- CN/modules/ROOT/pages/v5.1/5.7.adoc | 4 +- CN/modules/ROOT/pages/v5.1/5.9.adoc | 2 +- CN/modules/ROOT/pages/v5.1/6.3.12.adoc | 2 +- CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc | 8 +- EN/modules/ROOT/pages/v5.1/1.adoc | 193 ++++--------------- EN/modules/ROOT/pages/v5.1/3.1.adoc | 12 +- EN/modules/ROOT/pages/v5.1/4.1.adoc | 36 ++-- EN/modules/ROOT/pages/v5.1/4.2.adoc | 14 +- EN/modules/ROOT/pages/v5.1/4.4.adoc | 14 +- EN/modules/ROOT/pages/v5.1/4.5.adoc | 4 +- EN/modules/ROOT/pages/v5.1/4.6.1.adoc | 4 +- EN/modules/ROOT/pages/v5.1/4.6.3.adoc | 8 +- EN/modules/ROOT/pages/v5.1/4.6.4.adoc | 18 +- EN/modules/ROOT/pages/v5.1/4.7.1.adoc | 4 +- EN/modules/ROOT/pages/v5.1/5.0.adoc | 20 +- EN/modules/ROOT/pages/v5.1/5.1.adoc | 2 +- EN/modules/ROOT/pages/v5.1/5.2.adoc | 2 +- EN/modules/ROOT/pages/v5.1/5.7.adoc | 4 +- EN/modules/ROOT/pages/v5.1/5.9.adoc | 2 +- EN/modules/ROOT/pages/v5.1/6.3.12.adoc | 2 +- EN/modules/ROOT/pages/v5.1/8.adoc | 2 +- EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc | 8 +- 36 files changed, 223 insertions(+), 458 deletions(-) diff --git a/CN/modules/ROOT/pages/v5.1/1.adoc b/CN/modules/ROOT/pages/v5.1/1.adoc index 3eecf7d..231a451 100644 --- a/CN/modules/ROOT/pages/v5.1/1.adoc +++ b/CN/modules/ROOT/pages/v5.1/1.adoc @@ -4,156 +4,49 @@ == 版本概览 -[*发布日期:2025 年 11 月 25 日*] +[*发布日期:2025 年 12 月 18 日*] -IvorySQL 5.0 基于 PostgreSQL 18.0 全面升级:Oracle 兼容性再突破,生态组件集成再升级,云原生深度支持,配合全平台安装包与在线丝滑体验,让复杂变得简单。 -有关完整更新列表,请访问我们的 https://docs.ivorysql.org/[文档站点]。 +IvorySQL 5.1 基于 PostgreSQL 18.1 构建,包含多项错误修复。有关更新的完整列表,请访问我们的 https://docs.ivorysql.org/[文档站点]。 == 增强内容 -- PostgreSQL 18.0 +- PostgreSQL 18.1 -1. 新增异步 I/O(AIO)子系统,可提升顺序扫描、位图堆扫描、vacuum 等操作的性能。 -2. pg_upgrade 现在会保留优化器统计信息。 -3. 支持 "skip scan" 查找,使多列 B-tree 索引能够在更多场景下使用。 -4. 提供用于生成按时间排序 UUID 的 uuidv7() 函数。 -5. 支持虚拟生成列(在读取时计算值),并将其设为生成列的默认模式。 -6. 增加 OAuth 认证能力。 -7. 在 INSERT、UPDATE、DELETE 和 MERGE 的 RETURNING 子句中支持 OLD 和 NEW。 -8. 对 PRIMARY KEY、UNIQUE 与 FOREIGN KEY 引入时间区间约束。 +1. 执行 CREATE STATISTICS 时检查 schema 上的 CREATE 权限。 +2. 避免 libpq 中分配内存计算时发生整数溢出。 +3. SQL/JSON 函数(如 JSON_VALUE)的 DEFAULT 子句中包含 COLLATE 表达式时,防止出现“未识别的节点类型”错误。 +4. 避免在包含分组集且不含变量的 HAVING 子句中进行不正确的优化。 +5. 在哈希右半连接中禁用并行处理。 +6. 创建有序追加执行计划时避免可能的除零错误。 +7. 修复规划器在处理“支持有序访问但不支持仅索引扫描的索引类型”时的失败问题。 -更多细节请参阅 https://www.postgresql.org/docs/release/18.0/[PostgreSQL 18.0 发布说明]。 +更多详情,请参阅 https://www.postgresql.org/docs/release/18.1/[PostgreSQL 18.1 发布说明]。 == 新特性 -=== 新增21 项 Oracle 兼容能力 -- Oracle 兼容 ROWID:Feature https://github.com/IvorySQL/IvorySQL/issues/126[#126] + - 让 IvorySQL 行标识符与 Oracle 语义保持一致,便于跨数据库工具协同。 +- 升级至 PG 18.1 内核:Feature https://github.com/IvorySQL/IvorySQL/pull/1004[#1004] + + PostgreSQL 内核已升级至 18.1 版本。 -- PL/iSQL CALL 调用语法:Feature https://github.com/IvorySQL/IvorySQL/issues/764[#764] + - 新增 Oracle 风格的 `CALL` 入口,实现存储过程一致的调用体验。 +- http://trial.ivorysql.org/[在线体验]:IvorySQL 5.1:Feature https://github.com/IvorySQL/ivorysql-wasm/pull/6[#6] + + 上线交互式浏览器环境,用户可实时体验与评估 IvorySQL v5.1,无需安装。 -- PL/iSQL `%ROWTYPE`:Feature https://github.com/IvorySQL/IvorySQL/issues/765[#765] + - 允许变量复用整张表或游标行的结构,便于紧凑编写 PL/iSQL。 - -- PL/iSQL `%TYPE`:Feature https://github.com/IvorySQL/IvorySQL/issues/766[#766] + - 支持变量继承既有列或变量的类型,降低类型漂移风险。 - -- 区分大小写兼容开关:Feature https://github.com/IvorySQL/IvorySQL/issues/767[#767] + - 在需要时可保留标识符大小写,以匹配 Oracle 行为。 - -- NLS 参数兼容性:Feature https://github.com/IvorySQL/IvorySQL/issues/768[#768] + - 支持 `NLS_DATE_FORMAT`、`NLS_TIMESTAMP_FORMAT` 等 Oracle 风格 NLS 设置。 - -- 空字符串转 NULL:Feature https://github.com/IvorySQL/IvorySQL/issues/769[#769] + - 将长度为零的字符串转换为 NULL,以遵循 Oracle 的兼容规则。 - -- 解析器切换能力:Feature https://github.com/IvorySQL/IvorySQL/issues/770[#770] + - 可在 Oracle 与 PostgreSQL 解析器之间切换,实现会话级灵活性。 - -- GB18030 数据库编码:Feature https://github.com/IvorySQL/IvorySQL/issues/771[#771] + - 为中国市场提供 GB18030 初始化和创建数据库选项。 - -- Oracle 兼容 `SYS_GUID`:Feature https://github.com/IvorySQL/IvorySQL/issues/773[#773] + - 实现 Oracle `SYS_GUID` 函数,生成基于 RAW 的 GUID。 - -- Oracle 兼容 `SYS_CONTEXT`:Feature https://github.com/IvorySQL/IvorySQL/issues/774[#774] + - 提供 Oracle `SYS_CONTEXT` API,用于查询会话与环境元数据。 - -- Oracle 兼容 `USERENV`:Feature https://github.com/IvorySQL/IvorySQL/issues/775[#775] + - 引入 `USERENV` 函数,使会话可检查 Oracle 风格的上下文信息。 - -- Oracle 兼容函数语法:Feature https://github.com/IvorySQL/IvorySQL/issues/776[#776] + - 支持 EDITIONABLE/NONEDITIONABLE、`RETURN`、`IS`、`OUT ... NOCOPY` 等 Oracle 结构。 - -- Oracle 兼容过程语法:Feature https://github.com/IvorySQL/IvorySQL/issues/777[#777] + - 支持包含 Oracle 选项的过程 DDL、EXEC 调用以及 ALTER PROCEDURE。 - -- libpq OUT 参数传递:Feature https://github.com/IvorySQL/IvorySQL/issues/778[#778] + - 扩展客户端协议,使 OUT 参数可像 OCI 一样被消费。 - -- 过程 OUT 参数:Feature https://github.com/IvorySQL/IvorySQL/issues/779[#779] + - 存储过程现在可按 Oracle 约定声明 IN、OUT、IN OUT 模式。 - -- 函数 OUT 参数:Feature https://github.com/IvorySQL/IvorySQL/issues/780[#780] + - 函数支持 Oracle 风格 OUT(含 IN OUT)参数。 - -- 嵌套子程序:Feature https://github.com/IvorySQL/IvorySQL/issues/781[#781] + - 允许在子程序内部定义函数或过程,并支持重载。 - -- Oracle 兼容 `INSTR`:Feature https://github.com/IvorySQL/IvorySQL/issues/782[#782] + - 与 Oracle `INSTR` 行为保持一致,覆盖子串搜索与位置判断。 - -- Oracle 兼容 FORCE VIEW:Feature https://github.com/IvorySQL/IvorySQL/issues/783[#783] + - 允许在引用对象尚未存在时创建视图,重现 Oracle FORCE 选项。 - -- Oracle 兼容 LIKE 运算符:Feature https://github.com/IvorySQL/IvorySQL/issues/784[#784] + - 对齐 Oracle 的通配符语义,确保匹配行为可预测。 - -=== 在线体验与多平台发行包 - -- 在线体验:IvorySQL v5.0:Feature https://github.com/IvorySQL/IvorySQL/issues/887[#887] + - 上线交互式浏览器环境,用户可实时体验与评估 IvorySQL v5.0,无需安装。 - -- 全平台打包:Feature https://github.com/IvorySQL/IvorySQL/issues/949[#949] + +- 全平台打包:Feature https://github.com/IvorySQL/IvorySQL/issues/1136[#1136] + 为 X86、ARM、MIPS、龙芯架构等平台提供多架构安装介质。 -=== 云原生与容器化 - -- 容器化部署支持(Docker Compose & Docker Swarm): - 支持在 Docker Swarm 与 Docker Compose 中部署单实例数据库与高可用集群。 - -- 容器化部署支持(Kubernetes 基础版): - 使用 Helm 在 Kubernetes(K8S)中部署单实例数据库与高可用集群。 - -- 发布 IvorySQL Operator v5(Kubernetes 进阶版): - Operator v5 适配 IvorySQL v5.0,并同步升级系统组件版本与数据库扩展版本。 - -- 发布 IvorySQL Cloud v5(统一全生命周期与可视化控制平面): - 提供可视化托管控制平面,覆盖订阅、全生命周期编排以及生态集成。 - -=== 新增 10 个 PostgreSQL 扩展 - -- pg_cron:Feature https://github.com/IvorySQL/IvorySQL/issues/882[#882] + - 通过 pg_cron 集成在数据库层内执行计划任务。 - -- pgAudit:Feature https://github.com/IvorySQL/IvorySQL/issues/929[#929] + - 借助 PostgreSQL 标准日志能力输出详尽的会话 / 对象审计记录。 - -- PostGIS:Feature https://github.com/IvorySQL/IvorySQL/issues/880[#880] + - 提供空间数据处理与地理分析能力。 - -- pgRouting:Feature https://github.com/IvorySQL/IvorySQL/issues/881[#881] + - 引入网络与路径分析能力。 - -- PGroonga:Feature https://github.com/IvorySQL/IvorySQL/issues/879[#879] + - 增强全文检索。 - -- ddlx:Feature https://github.com/IvorySQL/IvorySQL/issues/877[#877] + - 支持 ddlx,便于高级模式洞察与自动化 DDL 生成。 - -- pgsql-http:Feature https://github.com/IvorySQL/IvorySQL/issues/883[#883] + - 允许数据库内部发起 HTTP/HTTPS 请求,实现与外部 Web 服务的无缝通信。 - -- system_stats:Feature https://github.com/IvorySQL/IvorySQL/issues/946[#946] + - 通过 system_stats 提供系统级统计信息。 +- 容器化部署支持 + + 支持通过 Docker Compose、Podman、Swarm、Helm 以及 IvorySQL 5.1 Operator 一键部署单机或高可用的 IvorySQL 5.1 集群。 -- plpgsql_check:Feature https://github.com/IvorySQL/IvorySQL/issues/915[#915] + - 在运行前对 PL/pgSQL 函数做静态分析,定位错误、警告与潜在问题。 +- 发布 IvorySQL Cloud v5.1(统一全生命周期与可视化控制平台) + + 提供可视化托管控制平台,覆盖订阅、端到端的全生命周期编排以及生态集成。 -- pgvector:Feature https://github.com/IvorySQL/IvorySQL/issues/878[#878] + - 融合 pgvector,为 AI/ML 工作负载提供原生向量相似度检索。 +- PostgreSQL Extensions + + 新增支持 10 个 PostgreSQL 扩展:pg_cron、pgAudit、PostGIS、pgRouting、PGroonga、ddlx、pgsql-http、system_stats、plpgsql_check、pgvector。 == 缺陷修复 -- 修复 `unused_oids` 与 `duplicate_oids` 目录工具,使头文件扫描能准确检测冲突且无误报:Issue https://github.com/IvorySQL/IvorySQL/issues/841[#841] -- 为 `libpq/ivytest` 产物新增 `.gitignore`,避免生成的二进制与日志污染开发树:Issue https://github.com/IvorySQL/IvorySQL/issues/843[#843] -- 扩展 GitHub 工作流回归测试,覆盖 `--with-libnuma` 配置,防止未来在启用 NUMA 的主机上出问题:Issue https://github.com/IvorySQL/IvorySQL/issues/869[#869] -- 让 `psql` 用户可以通过 `\h create package` 获取 CREATE PACKAGE 语法帮助,补齐 PL/iSQL 包的 CLI 文档:Issue https://github.com/IvorySQL/IvorySQL/issues/936[#936] -- 排除 MainLoop 悬空指针引发的并发压力下间歇性段错误:Issue https://github.com/IvorySQL/IvorySQL/issues/898[#898] -- 修复 `oracle_test/modules/*/sql` 的测试框架假设,让 Oracle 兼容测试套件再次端到端运行:Issue https://github.com/IvorySQL/IvorySQL/issues/897[#897] -- 更新 `README.md` 与 `README_CN.md`,同步 IvorySQL v5 特性、打包与快速上手信息:Issue https://github.com/IvorySQL/IvorySQL/issues/896[#896] -- 更正全局唯一索引的强制机制,使相关回归测试在所有支持平台上稳定通过:Issue https://github.com/IvorySQL/IvorySQL/issues/894[#894] +- 清除编译警告:Issue https://github.com/IvorySQL/IvorySQL/issues/996[#996] +- PL/iSQL 解析器拒绝在 SELECT INTO 表达式中使用括号:Issue https://github.com/IvorySQL/IvorySQL/issues/981[#981] +- 源码安装过程中提示缺少 uuid-ossp:Issue https://github.com/IvorySQL/ivorysql_docs/pull/198[#198] == 源码仓库 @@ -167,40 +60,23 @@ IvorySQL 的主要代码仓库: == 贡献者名单 以下人员(按字母顺序)作为补丁作者、提交者、审阅者、测试者或问题报告者,为本次发布做出了贡献。 -* ccwxl +* Amberwww1 * Cédric Villemain * Grant Zhou -* Imran Zaheer -* luss -* Martin Gerhardy -* omstack -* otegami -* rophy -* shlei6067 -* sjw1933 +* Rophy Tsai * Yasir Hussain Shah -* 初少林 -* 崇鹏豪 * 高雪玉 * 矫顺田 -* 冯明冉 -* 付贝 -* 类延良 * 李苑 * 梁翔宇 * 刘晓辉 * 吕新杰 * 牛世继 -* 彭冲 * 潘振浩 * 石卓妍 * 隋戈 -* 孙锐克 * 陶郑 -* 童水森 -* 王硕 -* 薛晓刚 -* 严少安 +* 王志斌 * 杨世华 * 赵法威 -* 张哲 +* 张哲 \ No newline at end of file diff --git a/CN/modules/ROOT/pages/v5.1/23.adoc b/CN/modules/ROOT/pages/v5.1/23.adoc index 908c195..052a81f 100644 --- a/CN/modules/ROOT/pages/v5.1/23.adoc +++ b/CN/modules/ROOT/pages/v5.1/23.adoc @@ -29,7 +29,7 @@ IvorySQL由一个核心开发团队维护,该团队拥有对GitHub上的IvoryS == **贡献者指南** -在贡献之前,我们需要了解下IvorySQL目前的版本以及文档的版本。目前,我们维护着5.0等版本,我们的版本紧跟PG的更新步伐,贡献之前请更新至最新版本。之后我们需要细心浏览一下贡献的样式风格,熟悉代码贡献风格、提Issue样式、拉取PR标题样式、代码注释样式、文档贡献样式、文章贡献样式,这可以帮助您尽快成为IvorySQL的贡献者奥~。 +在贡献之前,我们需要了解下IvorySQL目前的版本以及文档的版本。目前,我们维护着5.1等版本,我们的版本紧跟PG的更新步伐,贡献之前请更新至最新版本。之后我们需要细心浏览一下贡献的样式风格,熟悉代码贡献风格、提Issue样式、拉取PR标题样式、代码注释样式、文档贡献样式、文章贡献样式,这可以帮助您尽快成为IvorySQL的贡献者奥~。 === 贡献前的准备 diff --git a/CN/modules/ROOT/pages/v5.1/3.1.adoc b/CN/modules/ROOT/pages/v5.1/3.1.adoc index 175d0ad..0ae3623 100644 --- a/CN/modules/ROOT/pages/v5.1/3.1.adoc +++ b/CN/modules/ROOT/pages/v5.1/3.1.adoc @@ -52,11 +52,11 @@ gpgcheck=0 ``` 保存退出后,安装IvorySQL5 ``` -$ sudo dnf install -y ivorysql5-5.0 +$ sudo dnf install -y ivorysql5-5.1 ``` .... - 正确安装后,数据库将被安装在/usr/ivory-5/路径下的IvorySQL-version(如:IvorySQL-5.0)文件夹内 + 正确安装后,数据库将被安装在/usr/ivory-5/路径下的IvorySQL-version(如:IvorySQL-5.1)文件夹内 .... 执行以下命令为ivorysql用户赋权: @@ -113,19 +113,19 @@ ivorysql 3238 1551 0 20:35 pts/0 00:00:00 grep --color=auto postgres ** 从Docker Hub上获取IvorySQL镜像 ``` -$ docker pull ivorysql/ivorysql:5.0-ubi8 +$ docker pull ivorysql/ivorysql:5.1-ubi8 ``` ** 运行IvorySQL ``` -$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:5.0-ubi8 +$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:5.1-ubi8 ``` ** 查看IvorySQL容器运行是否成功 ``` $ docker ps | grep ivorysql CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES -6faa2d0ed705 ivorysql:5.0-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql +6faa2d0ed705 ivorysql:5.1-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql ``` == 数据库连接 @@ -133,7 +133,7 @@ CONTAINER ID IMAGE COMMAND CREATED ST psql连接数据库: ``` $ psql -d -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# @@ -148,4 +148,4 @@ TIP: Docker运行IvorySQL时,需要添加额外参数,如 psql -d ivorysql - 现在可以开始使用IvorySQL啦!就是这么简单! -想要获得更多安装方式,请参考xref:v5.0/4.1.adoc[安装指南] +想要获得更多安装方式,请参考xref:v5.1/4.1.adoc[安装指南] diff --git a/CN/modules/ROOT/pages/v5.1/4.1.adoc b/CN/modules/ROOT/pages/v5.1/4.1.adoc index ff44f07..40360ee 100644 --- a/CN/modules/ROOT/pages/v5.1/4.1.adoc +++ b/CN/modules/ROOT/pages/v5.1/4.1.adoc @@ -14,7 +14,7 @@ IvorySQL安装方式包括以下5种: - <<源码安装>> - <> -本章将详细介绍每种方式的安装、运行及卸载过程。想要更快获得IvorySQL,请参阅xref:v5.0/3.1.adoc#快速开始[快速开始]。 +本章将详细介绍每种方式的安装、运行及卸载过程。想要更快获得IvorySQL,请参阅xref:v5.1/3.1.adoc#快速开始[快速开始]。 同样,安装前请先创建一个用户,并赋予其root权限,安装、使用和卸载均以该用户执行。这里以ivorysql用户为例。 @@ -32,7 +32,7 @@ gpgcheck=0 ``` 保存退出后,安装IvorySQL5 ``` -$ sudo dnf install -y ivorysql5-5.0 +$ sudo dnf install -y ivorysql5-5.1 ``` [[docker安装]] @@ -40,12 +40,12 @@ $ sudo dnf install -y ivorysql5-5.0 ** 从Docker Hub上获取IvorySQL镜像 ``` -$ docker pull ivorysql/ivorysql:5.0-ubi8 +$ docker pull ivorysql/ivorysql:5.1-ubi8 ``` ** 运行IvorySQL ``` -$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:5.0-ubi8 +$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:5.1-ubi8 ``` -e参数说明 |==== @@ -73,7 +73,7 @@ $ sudo dnf install -y lz4 libicu libxslt python3 ``` ** 获取rpm包 ``` -$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.x86_64.rpm +$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.x86_64.rpm ``` ** 安装rpm包 @@ -89,8 +89,14 @@ $ sudo yum --disablerepo=* localinstall *.rpm == 源码安装 ** 安装依赖 ``` -$ sudo dnf install -y bison readline-devel zlib-devel openssl-devel +# CentOS +$ sudo dnf install -y bison readline-devel zlib-devel openssl-devel uuid-devel $ sudo dnf groupinstall -y 'Development Tools' + +# Ubuntu +$ sudo apt install -y bison libreadline-dev zlib1g-dev libssl-dev +$ sudo apt install -y build-essential +$ sudo apt install -y pkg-config uuid-dev ``` ** 获取IvorySQL源代码 ``` @@ -138,12 +144,12 @@ $ sudo apt -y install pkg-config libreadline-dev libicu-dev libldap2-dev uuid-de ** 获取deb包 ``` -$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-a50789d-20250304.amd64.deb +$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-a50789d-20250304.amd64.deb ``` ** 安装deb包 ``` -$ sudo dpkg -i IvorySQL-5.0-a50789d-20250304.amd64.deb +$ sudo dpkg -i IvorySQL-5.1-a50789d-20250304.amd64.deb ``` 数据库将被安装在/usr/ivory-5/路径下。 @@ -209,7 +215,7 @@ ivorysql 130445 130274 0 02:45 pts/1 00:00:00 grep --color=auto postgres psql连接数据库: ``` $ psql -d -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# @@ -242,7 +248,7 @@ $ sudo dnf remove -y ivorysql5-5.0 ``` $ docker stop ivorysql $ docker rm ivorysql -$ docker rmi ivorysql/ivorysql:5.0-ubi8 +$ docker rmi ivorysql/ivorysql:5.1-ubi8 ``` === rpm安装的卸载 @@ -266,6 +272,6 @@ $ sudo rm -rf /usr/ivory-5 执行以下命令卸载数据库并清理文件夹: ``` -$ sudo dpkg -P IvorySQL-5.0 +$ sudo dpkg -P IvorySQL-5.1 $ sudo rm -rf /usr/ivory-5 ``` diff --git a/CN/modules/ROOT/pages/v5.1/4.2.adoc b/CN/modules/ROOT/pages/v5.1/4.2.adoc index 30c4cec..da20af2 100644 --- a/CN/modules/ROOT/pages/v5.1/4.2.adoc +++ b/CN/modules/ROOT/pages/v5.1/4.2.adoc @@ -8,9 +8,9 @@ == 主节点 === 安装并启动数据库 -yum源快速安装数据库,请参考xref:v5.0/3.1.adoc#从yum源安装ivorysql数据库[从yum源安装ivorysql数据库]。 +yum源快速安装数据库,请参考xref:v5.1/3.1.adoc#从yum源安装ivorysql数据库[从yum源安装ivorysql数据库]。 -想要获取更多安装方式,请参考xref:v5.0/4.1.adoc[安装指南]。 +想要获取更多安装方式,请参考xref:v5.1/4.1.adoc[安装指南]。 [NOTE] 主节点数据库需要安装并**启动** @@ -56,9 +56,9 @@ $ pg_ctl restart == 备节点 === 安装数据库 -Yum源快速安装数据库,请参考xref:v5.0/3.1.adoc#从yum源安装ivorysql数据库[从yum源安装ivorysql数据库]。 +Yum源快速安装数据库,请参考xref:v5.1/3.1.adoc#从yum源安装ivorysql数据库[从yum源安装ivorysql数据库]。 -想要获取更多安装方式,请参考xref:v5.0/4.1.adoc[安装指南]。 +想要获取更多安装方式,请参考xref:v5.1/4.1.adoc[安装指南]。 [NOTE] 备节点数据库只需要安装,**不需要启动** @@ -118,7 +118,7 @@ ivorysql 6567 6139 0 21:54 ? 00:00:00 postgres: walreceiver streaming 在主节点上psql连接数据库,并查看集群状态: ``` $ psql -d ivorysql -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# select * from pg_stat_replication; @@ -139,7 +139,7 @@ xmin | state | sent_lsn | write_lsn | flush_lsn | replay_lsn | write_lag | 例如,在主节点创建一个新的数据库test,并在主节点进行查询: ``` $ psql -d ivorysql -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# create database test; @@ -159,7 +159,7 @@ ivorysql=# \l 在备节点查询: ``` $ psql -d ivorysql -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# \l diff --git a/CN/modules/ROOT/pages/v5.1/4.4.adoc b/CN/modules/ROOT/pages/v5.1/4.4.adoc index 2eb6f51..a149d47 100644 --- a/CN/modules/ROOT/pages/v5.1/4.4.adoc +++ b/CN/modules/ROOT/pages/v5.1/4.4.adoc @@ -88,7 +88,7 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433 === 利用pg_upgrade 工具进行升级 -pg_upgrade 工具是PostgreSQL 内置的跨版本升级工具,能够对数据库就地升级,不需要执行导出和导入操作。IvorySQL源自于PG,因此也能够使用pg_upgrade 工具进行大版本升级。 下面简要介绍一下CentOS8平台上如何使用 pg_upgrade 将IvorySQL升级到最新的5.0版本。 +pg_upgrade 工具是PostgreSQL 内置的跨版本升级工具,能够对数据库就地升级,不需要执行导出和导入操作。IvorySQL源自于PG,因此也能够使用pg_upgrade 工具进行大版本升级。 下面简要介绍一下CentOS8平台上如何使用 pg_upgrade 将IvorySQL升级到最新的5.1版本。 pg_upgrade 提供了升级前的兼容性检查(-c 或者 --check 选项)功能,可以发现插件、数据类型不兼容等问题。如果指定了--link 选项,新版本服务可以直接使用原有的数据库文件而不需要执行复制,通常可以在几分钟内完成升级操作。 @@ -107,23 +107,23 @@ pg_upgrade 提供了升级前的兼容性检查(-c 或者 --check 选项)功 ``` /usr/ivory-4/bin/pg_ctl -D ./data stop ``` -然后安装新版本的IvorySQL5.0数据库: +然后安装新版本的IvorySQL5.1数据库: ``` -dnf install -y ivorysql5-5.0 +dnf install -y ivorysql5-5.1 ``` -初始化新版IvorySQL5.0数据目录: +初始化新版IvorySQL5.1数据目录: ``` /usr/ivory-5/bin/initdb -D ./data ``` 检查版本兼容性: ``` -/usr/ivory-5/bin/pg_upgrade --old-datadir=/home/ivorysql/test/4.6/data --new-datadir=/home/ivorysql/test/5.0/data --old-bindir=/usr/ivory-4/bin/ --new-bindir=/usr/ivory-5/bin/ --check +/usr/ivory-5/bin/pg_upgrade --old-datadir=/home/ivorysql/test/4.6/data --new-datadir=/home/ivorysql/test/5.1/data --old-bindir=/usr/ivory-4/bin/ --new-bindir=/usr/ivory-5/bin/ --check ``` 最后出现 “Clusters are compatible” 表明两个版本之间的数据不存在兼容性问题,可以进行升级。 正式升级: ``` -/usr/ivory-5/bin/pg_upgrade --old-datadir=/home/ivorysql/test/4.6/data --new-datadir=/home/ivorysql/test/5.0/data --old-bindir=/usr/ivory-4/bin/ --new-bindir=/usr/ivory-5/bin/ +/usr/ivory-5/bin/pg_upgrade --old-datadir=/home/ivorysql/test/4.6/data --new-datadir=/home/ivorysql/test/5.1/data --old-bindir=/usr/ivory-4/bin/ --new-bindir=/usr/ivory-5/bin/ ``` 看到 Upgrade Complete 说明升级已经顺利完成。 @@ -153,7 +153,7 @@ pg_upgrade https://www.postgresql.org/docs/current/pgupgrade.html[文档]概述 == 管理IvorySQL版本 -IvorySQL基于PostgreSQL开发,版本更新频率与PostgreSQL版本更新频率保持一致,每年更新一个大版本,每季度更新一个小版本。IvorySQL目前发布的版本有1.0到5.0,分别基于PostgreSQL 14.0到18.0进行开发,最新版本为IvorySQL 5.0,基于PostgreSQL 18.0进行开发。IvorySQL 的所有版本全部都做到了向下兼容。相关版本特性可以查看 https://www.ivorysql.org/zh-CN/releases-page[官网]。 +IvorySQL基于PostgreSQL开发,版本更新频率与PostgreSQL版本更新频率保持一致,每年更新一个大版本,每季度更新一个小版本。IvorySQL目前发布的版本有1.0到5.1,分别基于PostgreSQL 14.0到18.1进行开发,最新版本为IvorySQL 5.1,基于PostgreSQL 18.1进行开发。IvorySQL 的所有版本全部都做到了向下兼容。相关版本特性可以查看 https://www.ivorysql.org/zh-CN/releases-page[官网]。 == 管理IvorySQL数据库访问 diff --git a/CN/modules/ROOT/pages/v5.1/4.5.adoc b/CN/modules/ROOT/pages/v5.1/4.5.adoc index bcb6ddd..424f2cf 100644 --- a/CN/modules/ROOT/pages/v5.1/4.5.adoc +++ b/CN/modules/ROOT/pages/v5.1/4.5.adoc @@ -449,7 +449,7 @@ $ createdb orcl $ psql -psql (18.0) +psql (18.1) Type "help" for help. @@ -478,7 +478,7 @@ ivorysql=# ``` $ psql orcl -psql (18.0) +psql (18.1) Type "help" for help. diff --git a/CN/modules/ROOT/pages/v5.1/4.6.1.adoc b/CN/modules/ROOT/pages/v5.1/4.6.1.adoc index 1f91453..0b5464a 100644 --- a/CN/modules/ROOT/pages/v5.1/4.6.1.adoc +++ b/CN/modules/ROOT/pages/v5.1/4.6.1.adoc @@ -58,7 +58,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -78,7 +78,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; diff --git a/CN/modules/ROOT/pages/v5.1/4.6.3.adoc b/CN/modules/ROOT/pages/v5.1/4.6.3.adoc index d1b5706..7c77b9b 100644 --- a/CN/modules/ROOT/pages/v5.1/4.6.3.adoc +++ b/CN/modules/ROOT/pages/v5.1/4.6.3.adoc @@ -72,7 +72,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (ivorysql 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -90,7 +90,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (ivorysql 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -157,7 +157,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (ivorysql 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -175,7 +175,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (ivorysql 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; diff --git a/CN/modules/ROOT/pages/v5.1/4.6.4.adoc b/CN/modules/ROOT/pages/v5.1/4.6.4.adoc index 2cbbd0b..06e7046 100644 --- a/CN/modules/ROOT/pages/v5.1/4.6.4.adoc +++ b/CN/modules/ROOT/pages/v5.1/4.6.4.adoc @@ -8,28 +8,28 @@ ** 从Docker Hub上获取IvorySQL镜像 ``` -$ docker pull ivorysql/ivorysql:5.0-ubi8 +$ docker pull ivorysql/ivorysql:5.1-ubi8 ``` ** 运行IvorySQL ``` -$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:5.0-ubi8 +$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:5.1-ubi8 ``` ** 查看IvorySQL容器运行是否成功 ``` $ docker ps | grep ivorysql CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES -6faa2d0ed705 ivorysql:5.0-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql +6faa2d0ed705 ivorysql:5.1-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql ``` == podman方式运行 ** 从Docker Hub上获取IvorySQL镜像 ``` -[highgo@manager-node1 ~]$ podman pull ivorysql/ivorysql:5.0-ubi8 -✔ docker.io/ivorysql/ivorysql:5.0-ubi8 -Trying to pull docker.io/ivorysql/ivorysql:5.0-ubi8... +[highgo@manager-node1 ~]$ podman pull ivorysql/ivorysql:5.1-ubi8 +✔ docker.io/ivorysql/ivorysql:5.1-ubi8 +Trying to pull docker.io/ivorysql/ivorysql:5.1-ubi8... Getting image source signatures Copying blob 5885448c5c88 done | Copying blob 6c502b378234 done | @@ -50,21 +50,21 @@ Writing manifest to image destination ** 运行IvorySQL ``` -$ podman run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=123456 -d ivorysql/ivorysql:5.0-ubi8 +$ podman run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=123456 -d ivorysql/ivorysql:5.1-ubi8 ``` ** 查看IvorySQL容器运行是否成功 ``` [highgo@manager-node1 ~]$ podman ps | grep ivorysql CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES -368dee58d5ef docker.io/ivorysql/ivorysql:5.0-ubi8 postgres 20 seconds ago Up 20 seconds 0.0.0.0:5434->5432/tcp, 1521/tcp, 5866/tcp ivorysql +368dee58d5ef docker.io/ivorysql/ivorysql:5.1-ubi8 postgres 20 seconds ago Up 20 seconds 0.0.0.0:5434->5432/tcp, 1521/tcp, 5866/tcp ivorysql [highgo@manager-node1 ~]$ podman exec -it ivorysql /bin/bash [root@8cc631eb413d /]# ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (ivorysql 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# diff --git a/CN/modules/ROOT/pages/v5.1/4.7.1.adoc b/CN/modules/ROOT/pages/v5.1/4.7.1.adoc index 3c8e2b5..f469a8a 100644 --- a/CN/modules/ROOT/pages/v5.1/4.7.1.adoc +++ b/CN/modules/ROOT/pages/v5.1/4.7.1.adoc @@ -27,7 +27,7 @@ IvorySQL Cloud平台,目前支持Linux系统下的安装,以下为各部分 |后端|cloudnative-1.0-SNAPSHOT.jar |K8S集群 a| [arabic] -. docker.io/ivorysql/ivory-operator:v5.0 +. docker.io/ivorysql/ivory-operator:v5.1 . docker.io/ivorysql/pgadmin:ubi8-9.9-5.0-1 . docker.io/ivorysql/pgbackrest:ubi8-2.56.0-5.0-1 . docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-5.0-1 @@ -228,7 +228,7 @@ disableNative = false dbtype = "IvorySQL" -dbversion = "5.0" +dbversion = "5.1" ---- === 安装部署nginx diff --git a/CN/modules/ROOT/pages/v5.1/5.0.adoc b/CN/modules/ROOT/pages/v5.1/5.0.adoc index 9458a3f..bf828ea 100644 --- a/CN/modules/ROOT/pages/v5.1/5.0.adoc +++ b/CN/modules/ROOT/pages/v5.1/5.0.adoc @@ -11,16 +11,16 @@ IvorySQL 作为一款兼容 Oracle 且基于 PostgreSQL 的高级开源数据库 [cols="1,2,1,3,3"] |==== |*序号*|*插件名称*|*版本*|*功能描述*|*适用场景* -| 1 | xref:v5.0/5.1.adoc[postgis] | 3.5.4 | 为 IvorySQL 提供地理空间数据支持,包括空间索引、空间函数和地理对象存储 | 地理信息系统(GIS)、地图服务、位置数据分析 -| 2 | xref:v5.0/5.2.adoc[pgvector] | 0.8.1 | 支持向量相似性搜索,可用于存储和检索高维向量数据| AI 应用、图像检索、推荐系统、语义搜索 -| 3 | xref:v5.0/5.3.adoc[pgddl (DDL Extractor)] | 0.31 | 提取数据库中的 DDL(数据定义语言)语句,便于版本管理和迁移 | 数据库版本控制、CI/CD 集成、结构比对与同步 -| 4 | xref:v5.0/5.4.adoc[pg_cron]​ | 1.6.0 | 提供数据库内部的定时任务调度功能,支持定期执行SQL语句 | 数据清理、定期统计、自动化维护任务 -| 5 | xref:v5.0/5.5.adoc[pgsql-http]​ | 1.7.0 | 允许在SQL中发起HTTP请求,与外部Web服务进行交互 | 数据采集、API集成、微服务调用 -| 6 | xref:v5.0/5.6.adoc[plpgsql_check] | 2.8 | 提供PL/pgSQL代码的静态分析功能,可在开发阶段发现潜在错误 | 存储过程开发、代码质量检查、调试优化 -| 7 | xref:v5.0/5.7.adoc[pgroonga] | 4.0.4 | 提供​非英语语言全文搜索功能,满足高性能应用的需求 | 中日韩等语言的全文搜索功能 -| 8 | xref:v5.0/5.8.adoc[pgaudit] | 18.0 | 提供细粒度的审计功能,记录数据库操作日志,便于安全审计和合规性检查 | 数据库安全审计、合规性检查、审计报告生成 -| 9 | xref:v5.0/5.9.adoc[pgrouting] | 3.8.0 | 提供地理空间数据的路由计算功能,支持多种算法和数据格式 | 地理空间分析、路径规划、物流优化 -| 10 | xref:v5.0/5.10.adoc[system_stats] | 3.2 | 提供用于访问系统级统计信息的函数 | 系统监控 +| 1 | xref:v5.1/5.1.adoc[postgis] | 3.5.4 | 为 IvorySQL 提供地理空间数据支持,包括空间索引、空间函数和地理对象存储 | 地理信息系统(GIS)、地图服务、位置数据分析 +| 2 | xref:v5.1/5.2.adoc[pgvector] | 0.8.1 | 支持向量相似性搜索,可用于存储和检索高维向量数据| AI 应用、图像检索、推荐系统、语义搜索 +| 3 | xref:v5.1/5.3.adoc[pgddl (DDL Extractor)] | 0.31 | 提取数据库中的 DDL(数据定义语言)语句,便于版本管理和迁移 | 数据库版本控制、CI/CD 集成、结构比对与同步 +| 4 | xref:v5.1/5.4.adoc[pg_cron]​ | 1.6.0 | 提供数据库内部的定时任务调度功能,支持定期执行SQL语句 | 数据清理、定期统计、自动化维护任务 +| 5 | xref:v5.1/5.5.adoc[pgsql-http]​ | 1.7.0 | 允许在SQL中发起HTTP请求,与外部Web服务进行交互 | 数据采集、API集成、微服务调用 +| 6 | xref:v5.1/5.6.adoc[plpgsql_check] | 2.8 | 提供PL/pgSQL代码的静态分析功能,可在开发阶段发现潜在错误 | 存储过程开发、代码质量检查、调试优化 +| 7 | xref:v5.1/5.7.adoc[pgroonga] | 4.0.4 | 提供​非英语语言全文搜索功能,满足高性能应用的需求 | 中日韩等语言的全文搜索功能 +| 8 | xref:v5.1/5.8.adoc[pgaudit] | 18.0 | 提供细粒度的审计功能,记录数据库操作日志,便于安全审计和合规性检查 | 数据库安全审计、合规性检查、审计报告生成 +| 9 | xref:v5.1/5.9.adoc[pgrouting] | 3.8.0 | 提供地理空间数据的路由计算功能,支持多种算法和数据格式 | 地理空间分析、路径规划、物流优化 +| 10 | xref:v5.1/5.10.adoc[system_stats] | 3.2 | 提供用于访问系统级统计信息的函数 | 系统监控 |==== 这些插件均经过 IvorySQL 团队的测试和适配,确保在 IvorySQL 环境下稳定运行。用户可以根据业务需求选择合适的插件,进一步提升数据库系统的能力和灵活性。 diff --git a/CN/modules/ROOT/pages/v5.1/5.1.adoc b/CN/modules/ROOT/pages/v5.1/5.1.adoc index 0329399..855cc7e 100644 --- a/CN/modules/ROOT/pages/v5.1/5.1.adoc +++ b/CN/modules/ROOT/pages/v5.1/5.1.adoc @@ -14,7 +14,7 @@ IvorySQL原生100%兼容PostgreSQL,因此,PostGIS可以完美适配IvorySQL。 除PostGIS社区提供的安装方式以外,IvorySQL社区也提供了源码安装方式,源码安装环境为 Ubuntu 24.04(x86_64)。 [NOTE] -请确保环境中已安装了**IvorySQL5.0及以上版本** +请确保环境中已安装了**IvorySQL5.1及以上版本** ** 安装依赖 [literal] diff --git a/CN/modules/ROOT/pages/v5.1/5.2.adoc b/CN/modules/ROOT/pages/v5.1/5.2.adoc index c8bb7c8..727aaef 100644 --- a/CN/modules/ROOT/pages/v5.1/5.2.adoc +++ b/CN/modules/ROOT/pages/v5.1/5.2.adoc @@ -57,7 +57,7 @@ sudo --preserve-env=PG_CONFIG make install [literal] ---- [ivorysql@localhost ivorysql-5]$ psql -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# create extension vector; diff --git a/CN/modules/ROOT/pages/v5.1/5.7.adoc b/CN/modules/ROOT/pages/v5.1/5.7.adoc index 14727fe..22c57d4 100644 --- a/CN/modules/ROOT/pages/v5.1/5.7.adoc +++ b/CN/modules/ROOT/pages/v5.1/5.7.adoc @@ -23,7 +23,7 @@ IvorySQL社区提供了源码安装步骤,下面以PGroonga v4.0.4为例进行 ``` 操作系统:Ubuntu 24.04 CPU架构:x86_64 - IvorySQL: v5.0 + IvorySQL: v5.1 ``` ==== 安装 msgpack-c @@ -86,7 +86,7 @@ postgres=# SELECT * FROM pg_available_extensions WHERE name = 'pgroonga'; postgres=# select version(); version -------------------------------------------------------------------------------- - PostgreSQL (IvorySQL 5.0) 18.0 on x86_64-linux, compiled by gcc-13.3.0, 64-bit + PostgreSQL (ivorysql 5.1) 18.1 on x86_64-linux, compiled by gcc-13.3.0, 64-bit (1 row) ``` diff --git a/CN/modules/ROOT/pages/v5.1/5.9.adoc b/CN/modules/ROOT/pages/v5.1/5.9.adoc index 9ef7989..84f1b6e 100644 --- a/CN/modules/ROOT/pages/v5.1/5.9.adoc +++ b/CN/modules/ROOT/pages/v5.1/5.9.adoc @@ -14,7 +14,7 @@ pgRouting 广泛应用于物流配送、交通导航、网络分析、城市规 == 安装 [TIP] -环境中已经安装了IvorySQL5.0及以上版本,安装路径为/usr/local/ivorysql/ivorysql-5 +环境中已经安装了IvorySQL5.1及以上版本,安装路径为/usr/local/ivorysql/ivorysql-5 === 源码安装 diff --git a/CN/modules/ROOT/pages/v5.1/6.3.12.adoc b/CN/modules/ROOT/pages/v5.1/6.3.12.adoc index 96d405b..a0d55c9 100644 --- a/CN/modules/ROOT/pages/v5.1/6.3.12.adoc +++ b/CN/modules/ROOT/pages/v5.1/6.3.12.adoc @@ -129,7 +129,7 @@ typedef enum IvyStmtType { IVY_STMT_UNKNOW, IVY_STMT_DO, - IVY_STMT_DOFROMCALL, /* new statementt type */ + IVY_STMT_DOFROMCALL, /* new statement type */ IVY_STMT_DOHANDLED, IVY_STMT_OTHERS } IvyStmtType; diff --git a/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc b/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc index e929a54..d43df63 100644 --- a/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc +++ b/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc @@ -8,8 +8,8 @@ IvorySQL适配认证如下CPU架构: [cols="8h,~,~,~"] |==== | 序号 | 架构名称 | 适配品牌 | 全平台介质包下载 -| 1 | x86_64 | Intel、AMD、兆芯、海光 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.x86_64.rpm[rpm] -| 2 | aarch64 | 飞腾、鲲鹏 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.aarch64.rpm[rpm] -| 3 | mips64el| 龙芯3000,龙芯4000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.mips64el.rpm[rpm] -| 4 | loongarch64 | 龙芯5000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251118.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251118.loongarch64.rpm[rpm] +| 1 | x86_64 | Intel、AMD、兆芯、海光 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.x86_64.rpm[rpm] +| 2 | aarch64 | 飞腾、鲲鹏 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.aarch64.rpm[rpm] +| 3 | mips64el| 龙芯3000,龙芯4000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.mips64el.rpm[rpm] +| 4 | loongarch64 | 龙芯5000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251118.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251118.loongarch64.rpm[rpm] |==== diff --git a/EN/modules/ROOT/pages/v5.1/1.adoc b/EN/modules/ROOT/pages/v5.1/1.adoc index 703c86b..722ffbd 100644 --- a/EN/modules/ROOT/pages/v5.1/1.adoc +++ b/EN/modules/ROOT/pages/v5.1/1.adoc @@ -5,155 +5,49 @@ == Version Overview -[*Release Date: Nov 25, 2025*] +[*Release Date: Dec 18, 2025*] -IvorySQL 5.0, based on PostgreSQL 18.0, introduces significant Oracle compatibility improvements, PL/iSQL enhancements, and new globalization capabilities while refreshing packaging, automation, and tooling. For a comprehensive list of updates, please visit our https://docs.ivorysql.org/[documentation site]. +IvorySQL 5.1 is built on PostgreSQL 18.1 and includes a variety of bug fixes. For a comprehensive list of updates, please visit our https://docs.ivorysql.org/[documentation site]. == Enhancements -- PostgreSQL 18.0 +- PostgreSQL 18.1 -1. An asynchronous I/O (AIO) subsystem that can improve performance of sequential scans, bitmap heap scans, vacuums, and other operations. -2. pg_upgrade now retains optimizer statistics. -3. Support for "skip scan" lookups that allow using multicolumn B-tree indexes in more cases. -4. uuidv7() function for generating timestamp-ordered UUIDs. -5. Virtual generated columns that compute their values during read operations. This is now the default for generated columns. -6. OAuth authentication support. -7. OLD and NEW support for RETURNING clauses in INSERT, UPDATE, DELETE, and MERGE commands. -8. Temporal constraints, or constraints over ranges, for PRIMARY KEY, UNIQUE, and FOREIGN KEY constraints. +1. Check for CREATE privileges on the schema in CREATE STATISTICS. +2. Avoid integer overflow in allocation-size calculations within libpq. +3. Prevent “unrecognized node type” errors when a SQL/JSON function such as JSON_VALUE has a DEFAULT clause containing a COLLATE expression. +4. Avoid incorrect optimization of variable-free HAVING clauses with grouping sets. +5. Do not use parallelism in hash right semi joins. +6. Avoid possible division-by-zero when creating ordered-append plans. +7. Fix planner failure with index types that can do ordered access but not index-only scans. -For further details, visit https://www.postgresql.org/docs/release/18.0/[PostgreSQL’s release notes]. +For further details, visit https://www.postgresql.org/docs/release/18.1/[PostgreSQL’s release notes]. == New Features -=== 21 New Oracle Compatibility Features -- Oracle-compatible ROWID support: Feature https://github.com/IvorySQL/IvorySQL/issues/126[#126] + - Ensures IvorySQL row identifiers align with Oracle semantics for seamless cross-database tooling. +- Upgrade to PG 18.1 kernel: Feature https://github.com/IvorySQL/IvorySQL/pull/1004[#1004] + + PostgreSQL kernel upgraded to version 18.1. -- PL/iSQL CALL invocation syntax: Feature https://github.com/IvorySQL/IvorySQL/issues/764[#764] + - Adds the Oracle-style `CALL` entry point so stored procedures can be invoked consistently. +- http://trial.ivorysql.org/[Online Experience]: IvorySQL 5.1: Feature https://github.com/IvorySQL/ivorysql-wasm/pull/6[#6] + + An interactive, browser-based environment will be launched to allow users to explore and evaluate IvorySQL 5.1 in real time — no installation required. -- PL/iSQL `%ROWTYPE` support: Feature https://github.com/IvorySQL/IvorySQL/issues/765[#765] + - Allows variables to mirror entire table or cursor rows for concise PL/iSQL coding. +- Packaging for All Platforms: Feature https://github.com/IvorySQL/IvorySQL/issues/1136[#1136] + + Provides multi-platform media packages for X86, ARM, MIPS, LoongArch architecture. -- PL/iSQL `%TYPE` support: Feature https://github.com/IvorySQL/IvorySQL/issues/766[#766] + - Enables variables to adopt the data type of existing columns or variables to reduce drift. +- Containerized Deployment Support + + Supports one-click deployment of standalone or highly available IvorySQL 5.1 clusters via Docker Compose, Podman, Swarm, Helm, and the IvorySQL 5.1 Operator. -- Case-sensitive compatibility switch: Feature https://github.com/IvorySQL/IvorySQL/issues/767[#767] + - Preserves identifier case to match Oracle behavior when required. +- IvorySQL Cloud 5.1 released (Visual Database Lifecycle Management Platform) + + Offers a fully managed, graphical control plane that handles IvorySQL 5.1 database subscriptions, orchestrates end-to-end lifecycle operations, and integrates surrounding ecosystem services. -- NLS parameter compatibility: Feature https://github.com/IvorySQL/IvorySQL/issues/768[#768] + - Honors Oracle-style NLS settings such as `NLS_DATE_FORMAT` and `NLS_TIMESTAMP_FORMAT`. - -- Empty string to NULL translation: Feature https://github.com/IvorySQL/IvorySQL/issues/769[#769] + - Converts zero-length strings to NULL to match Oracle compatibility rules. - -- Parser switching capability: Feature https://github.com/IvorySQL/IvorySQL/issues/770[#770] + - Adds toggles between Oracle and PostgreSQL parsers for per-session flexibility. - -- GB18030 database encoding: Feature https://github.com/IvorySQL/IvorySQL/issues/771[#771] + - Provides GB18030 initialization and create-database options for full Chinese market coverage. - -- Oracle-compatible `SYS_GUID`: Feature https://github.com/IvorySQL/IvorySQL/issues/773[#773] + - Implements the Oracle `SYS_GUID` function to generate RAW-based GUIDs. - -- Oracle-compatible `SYS_CONTEXT`: Feature https://github.com/IvorySQL/IvorySQL/issues/774[#774] + - Delivers the Oracle `SYS_CONTEXT` API for querying session and environment metadata. - -- Oracle-compatible `USERENV`: Feature https://github.com/IvorySQL/IvorySQL/issues/775[#775] + - Adds the `USERENV` function so sessions can inspect Oracle-style contextual details. - -- Oracle-compatible function syntax: Feature https://github.com/IvorySQL/IvorySQL/issues/776[#776] + - Supports Oracle constructs such as EDITIONABLE/NONEDITIONABLE, `RETURN`, `IS`, and `OUT ... NOCOPY` options. - -- Oracle-compatible procedure syntax: Feature https://github.com/IvorySQL/IvorySQL/issues/777[#777] + - Enables procedure DDL with Oracle options, EXEC invocation, and ALTER PROCEDURE support. - -- libpq OUT parameter plumbing: Feature https://github.com/IvorySQL/IvorySQL/issues/778[#778] + - Extends client protocol handling so OUT parameters can be consumed like OCI. - -- Procedure OUT parameter support: Feature https://github.com/IvorySQL/IvorySQL/issues/779[#779] + - Allows stored procedures to declare IN, OUT, and IN OUT modes per Oracle conventions. - -- Function OUT parameter support: Feature https://github.com/IvorySQL/IvorySQL/issues/780[#780] + - Permits Oracle-style OUT parameters within functions, including IN OUT combinations. - -- Nested subprograms: Feature https://github.com/IvorySQL/IvorySQL/issues/781[#781] + - Introduces support for declaring functions or procedures within other subprograms, including overloading. - -- Oracle-compatible `INSTR`: Feature https://github.com/IvorySQL/IvorySQL/issues/782[#782] + - Matches Oracle `INSTR` behavior for substring searches and position checks. - -- Oracle-compatible FORCE VIEW: Feature https://github.com/IvorySQL/IvorySQL/issues/783[#783] + - Lets views be created even when referenced objects do not yet exist, mirroring Oracle's FORCE option. - -- Oracle-compatible LIKE operator: Feature https://github.com/IvorySQL/IvorySQL/issues/784[#784] + - Aligns pattern-matching semantics with Oracle for predictable wildcard behavior. - -=== Online Trial and Multi-Platform Distribution Packages - -- Online Experience: IvorySQL v5.0: Featuare https://github.com/IvorySQL/IvorySQL/issues/887[#887] + - An interactive, browser-based environment will be launched to allow users to explore and evaluate IvorySQL v5.0 in real time — no installation required. - -- Packaging for All Platforms: Featuare https://github.com/IvorySQL/IvorySQL/issues/949[#949] + - Provides multi-platform media packages for X86、ARM、MIPS、LoongArch architecture. - -=== Cloud-Native & Containerized - -- Containerized Deployment Support (Docker Compose & Docker Swarm): - Supports deployment of standalone IvorySQL databases and high-availability clusters in Docker Swarm and Docker Compose environments. - -- Containerized Deployment Support (Kubernetes): - Supports deployment of standalone IvorySQL databases and high-availability clusters on Kubernetes (K8S) using Helm. - -- IvorySQL Operator v5 released (Kubernetes): - The IvorySQL Operator v5 has been adapted to support IvorySQL v5.0, with upgrades to system component versions and database extension versions. - -- IvorySQL Cloud v5 released (Unified Lifecycle & Visual Control Plane): - Offers a fully managed, graphical control plane that handles IvorySQL v5 database subscriptions, orchestrates end-to-end lifecycle operations, and integrates surrounding ecosystem services. - -=== Support for 10 Additional PostgreSQL Extensions - -- pg_cron: Feature https://github.com/IvorySQL/IvorySQL/issues/882[#882] + - Scheduled job execution within the database layer will be available through pg_cron integration. - -- pgAudit: Feature https://github.com/IvorySQL/IvorySQL/issues/929[#929] + - Provides detailed session and/or object audit logging via the standard PostgreSQL logging facility. - -- PostGIS: Feature https://github.com/IvorySQL/IvorySQL/issues/880[#880] + - Spatial data processing and geospatial analytics will be enabled through PostGIS compatibility. - -- pgRouting: Feature https://github.com/IvorySQL/IvorySQL/issues/881[#881] + - Network and routing analysis features will be introduced with pgRouting support. - -- PGroonga: Feature https://github.com/IvorySQL/IvorySQL/issues/879[#879] + - Full-text search capabilities will be enhanced via planned PGroonga support. - -- ddlx: Feature https://github.com/IvorySQL/IvorySQL/issues/877[#877] + - Support for ddlx to enable advanced schema introspection and automated DDL generation. - -- pgsql-http: Feature https://github.com/IvorySQL/IvorySQL/issues/883[#883] + - Allow the database to initiate HTTP/HTTPS requests internally, enabling seamless communication between the database and external web services. - -- system_stats: Feature https://github.com/IvorySQL/IvorySQL/issues/946[#946] + - System level statistics will be provided by system_stats support. - -- plpgsql_check: Feature https://github.com/IvorySQL/IvorySQL/issues/915[#915] + - Static code analysis on PL/pgSQL functions to identify errors, warnings, and potential issues before runtime execution - -- pgvector: Feature https://github.com/IvorySQL/IvorySQL/issues/878[#878] + - Integration with pgvector to empower AI/ML workloads through native vector similarity search. +- PostgreSQL Extensions + + Support for 10 Additional PostgreSQL Extensions: pg_cron, pgAudit, PostGIS, pgRouting, PGroonga, ddlx, pgsql-http, system_stats, plpgsql_check, pgvector. == Fixed Issues -- Repaired `unused_oids` and `duplicate_oids` catalog tooling so header scans correctly detect conflicts without false positives: Issue https://github.com/IvorySQL/IvorySQL/issues/841[#841] -- Added `.gitignore` coverage for `libpq/ivytest` artifacts to prevent generated binaries and logs from polluting developer trees: Issue https://github.com/IvorySQL/IvorySQL/issues/843[#843] -- Extended GitHub workflow regression runs to cover builds configured with `--with-libnuma`, preventing future breakages on NUMA-enabled hosts: Issue https://github.com/IvorySQL/IvorySQL/issues/869[#869] -- Enabled `psql` users to access CREATE PACKAGE syntax help via `\h create package`, closing the CLI documentation gap for PL/iSQL packages: Issue https://github.com/IvorySQL/IvorySQL/issues/936[#936] -- Eliminated the MainLoop dangling-pointer scenario that triggered intermittent segmentation faults under concurrency stress: Issue https://github.com/IvorySQL/IvorySQL/issues/898[#898] -- Re-enabled `oracle_test/modules/*/sql` cases by fixing harness assumptions so Oracle-compatibility suites execute end-to-end again: Issue https://github.com/IvorySQL/IvorySQL/issues/897[#897] -- Updated `README.md` and `README_CN.md` to reflect IvorySQL v5 feature set, packaging, and onboarding instructions: Issue https://github.com/IvorySQL/IvorySQL/issues/896[#896] -- Corrected globally unique index enforcement so related regression tests now pass reliably across supported platforms: Issue https://github.com/IvorySQL/IvorySQL/issues/894[#894] +- Clear build warnings: Issue https://github.com/IvorySQL/IvorySQL/issues/996[#996] +- PL/iSQL Parser Rejects Parentheses in SELECT INTO Expression: Issue https://github.com/IvorySQL/IvorySQL/issues/981[#981] +- Doc:Fix reports missing uuid-ossp during source installation: Issue https://github.com/IvorySQL/ivorysql_docs/pull/198[#198] == Source Code @@ -161,47 +55,30 @@ IvorySQL's development is maintained across four main repositories: - IvorySQL database source code: https://github.com/IvorySQL/IvorySQL - IvorySQL official website: https://github.com/IvorySQL/Ivory-www -- IvorySQL documentation: https://github.com/IvorySQL/IvorySQL-docs +- IvorySQL documentation: https://github.com/IvorySQL/IvorySQL_docs - IvorySQL Docker: https://github.com/IvorySQL/docker_library == Contributors The following individuals (in alphabetical order) have contributed to this release as patch authors, committers, reviewers, testers, or reporters of issues. -* Bei Fu -* Carlos Chong -* ccwxl +* Amberwww1 * Cédric Villemain * Fawei Zhao * Ge Sui * Grant Zhou -* Imran Zaheer -* jerome-peng -* Jiaoshun Tian -* luss -* Martin Gerhardy -* Mingran Feng -* omstack -* otegami -* Ruike Sun -* rophy -* Shaolin Chu -* Shawn Yan -* Shihua Yang -* Shiji Niu -* Shuisen Tong -* shlei6067 -* sjw1933 +* Oreo Yang +* Rophy Tsai +* Shuntian Jiao +* Steven Niu * Xiangyu Liang * Xiaohui Liu * Xinjie Lv -* xuexiaoganghs * Xueyu Gao -* yangchunwanwusheng -* Yanliang Lei * Yasir Hussain Shah * Yuan Li -* Zhe Zhang * Zheng Tao * Zhenhao Pan -* Zhuoyan Shi +* Zhe Zhang +* Zhibin Wang +* Zhuoyan Shi \ No newline at end of file diff --git a/EN/modules/ROOT/pages/v5.1/3.1.adoc b/EN/modules/ROOT/pages/v5.1/3.1.adoc index 687d170..906a011 100644 --- a/EN/modules/ROOT/pages/v5.1/3.1.adoc +++ b/EN/modules/ROOT/pages/v5.1/3.1.adoc @@ -51,7 +51,7 @@ gpgcheck=0 ``` After saving and exiting, you can install IvorySQL 4 with the following steps ``` -$ sudo dnf install -y ivorysql5-5.0 +$ sudo dnf install -y ivorysql5-5.1 ``` [[setting-environment-variables]] @@ -108,19 +108,19 @@ ivorysql 3238 1551 0 20:35 pts/0 00:00:00 grep --color=auto postgres ** Get IvorySQL image from Docker Hub ``` -$ docker pull ivorysql/ivorysql:5.0-ubi8 +$ docker pull ivorysql/IvorySQL 5.1-ubi8 ``` ** Running IvorySQL ``` -$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:5.0-ubi8 +$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/IvorySQL 5.1-ubi8 ``` ** Check if the IvorySQL container is running successfully ``` $ docker ps | grep ivorysql CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES -6faa2d0ed705 ivorysql:5.0-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql +6faa2d0ed705 IvorySQL 5.1-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql ``` == Connecting to IvorySQL @@ -128,7 +128,7 @@ CONTAINER ID IMAGE COMMAND CREATED ST Connect to IovrySQL via psql: ``` $ psql -d -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# @@ -143,4 +143,4 @@ TIP: When running IvorySQL in Docker, additional parameters need to be added, li Now you can start your journey of IvorySQL! Enjoy! -To explore additional installation methods, please refer to the xref:v5.0/4.1.adoc[Installation]. \ No newline at end of file +To explore additional installation methods, please refer to the xref:v5.1/4.1.adoc[Installation]. \ No newline at end of file diff --git a/EN/modules/ROOT/pages/v5.1/4.1.adoc b/EN/modules/ROOT/pages/v5.1/4.1.adoc index f211e0a..e863679 100644 --- a/EN/modules/ROOT/pages/v5.1/4.1.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.1.adoc @@ -15,7 +15,7 @@ The installation methods for IvorySQL include the following five: - <> -This chapter will provide detailed instructions on the installation, execution, and uninstallation processes for each method. For a quicker access to IvorySQL, please refer to xref:v5.0/3.1.adoc#quick-installation[Quick installation]. +This chapter will provide detailed instructions on the installation, execution, and uninstallation processes for each method. For a quicker access to IvorySQL, please refer to xref:v5.1/3.1.adoc#quick-installation[Quick installation]. Before getting started, please create an user and grant it root privileges. All the installation steps will be performed by this user. Here we just name it 'ivorysql'. @@ -33,7 +33,7 @@ gpgcheck=0 ``` After saving and exiting, you can install IvorySQL 4 with the following steps ``` -$ sudo dnf install -y ivorysql5-5.0 +$ sudo dnf install -y ivorysql5-5.1 ``` [[Docker-installation]] @@ -41,12 +41,12 @@ $ sudo dnf install -y ivorysql5-5.0 ** Get IvorySQL image from Docker Hub ``` -$ docker pull ivorysql/ivorysql:5.0-ubi8 +$ docker pull ivorysql/IvorySQL 5.1-ubi8 ``` ** Run IvorySQL ``` -$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:5.0-ubi8 +$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/IvorySQL 5.1-ubi8 ``` -e Parameter Explanation |==== @@ -74,7 +74,7 @@ $ sudo dnf install -y lz4 libicu libxslt python3 ``` ** Getting rpms ``` -$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.x86_64.rpm +$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.x86_64.rpm ``` ** Installing rpms @@ -90,8 +90,14 @@ IvorySQL then will be installed in the /usr/ivory-5/ directory. == Source code installation ** Installing dependencies ``` -$ sudo dnf install -y bison readline-devel zlib-devel openssl-devel +# CentOS +$ sudo dnf install -y bison readline-devel zlib-devel openssl-devel uuid-devel $ sudo dnf groupinstall -y 'Development Tools' + +# Ubuntu +$ sudo apt install -y bison libreadline-dev zlib1g-dev libssl-dev +$ sudo apt install -y build-essential +$ sudo apt install -y pkg-config uuid-dev ``` ** Getting source code ``` @@ -139,12 +145,12 @@ $ sudo apt -y install pkg-config libreadline-dev libicu-dev libldap2-dev uuid-de ** Getting deb ``` -$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-a50789d-20250304.amd64.deb +$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-a50789d-20250304.amd64.deb ``` ** Installing deb ``` -$ sudo dpkg -i IvorySQL-5.0-a50789d-20250304.amd64.deb +$ sudo dpkg -i IvorySQL-5.1-a50789d-20250304.amd64.deb ``` IvorySQL will then be installed in the /usr/ivory-5/ directory. @@ -213,7 +219,7 @@ ivorysql 130445 130274 0 02:45 pts/1 00:00:00 grep --color=auto postgres Connect to IovrySQL via psql: ``` $ psql -d -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# @@ -237,7 +243,7 @@ No matter which method is used for the uninstallation, make sure the service has Run the following commands in turn and clean the residual folders: ``` -$ sudo dnf remove -y ivorysql5-5.0 +$ sudo dnf remove -y ivorysql5-5.1 ``` === Uninstallation for docker installation @@ -246,7 +252,7 @@ Stop IvorySQL container and remove IvorySQL image: ``` $ docker stop ivorysql $ docker rm ivorysql -$ docker rmi ivorysql/ivorysql:5.0-ubi8 +$ docker rmi ivorysql/IvorySQL 5.1-ubi8 ``` === Uninstallation for rpm installation @@ -254,7 +260,7 @@ $ docker rmi ivorysql/ivorysql:5.0-ubi8 Uninstall the rpms and clear the residual folders: ``` $ sudo yum remove --disablerepo=* ivorysql5\* -$ sudo rm -rf IvorySQL-5.0 +$ sudo rm -rf IvorySQL-5.1 ``` === Uninstallation for source code installation @@ -263,13 +269,13 @@ Uninstall the database system, then clear the residual folders: ``` $ sudo make uninstall $ make clean -$ sudo rm -rf IvorySQL-5.0 +$ sudo rm -rf IvorySQL-5.1 ``` === Uninstallation for deb installation Uninstall the database system, then clear the residual folders: ``` -$ sudo dpkg -P IvorySQL-5.0 -$ sudo rm -rf IvorySQL-5.0 +$ sudo dpkg -P IvorySQL-5.1 +$ sudo rm -rf IvorySQL-5.1 ``` \ No newline at end of file diff --git a/EN/modules/ROOT/pages/v5.1/4.2.adoc b/EN/modules/ROOT/pages/v5.1/4.2.adoc index c28eadf..78805c8 100644 --- a/EN/modules/ROOT/pages/v5.1/4.2.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.2.adoc @@ -8,9 +8,9 @@ This chapter is a demo to show you how to build an IvorySQL cluster. Just take a == Primary node === Installing and start database -For quick database installation by yum, please refer to xref:v5.0/3.1.adoc#quick-installation[Quick installation]。 +For quick database installation by yum, please refer to xref:v5.1/3.1.adoc#quick-installation[Quick installation]。 -For more installation options, please refer to xref:v5.0/4.1.adoc#Installation[Installation]。 +For more installation options, please refer to xref:v5.1/4.1.adoc#Installation[Installation]。 [NOTE] The master node database needs to be installed and **started**. @@ -55,9 +55,9 @@ $ pg_ctl restart == Standby node === Installing database -For quick database installation by yum, please refer to xref:v5.0/3.1.adoc#quick-installation[Quick installation]。 +For quick database installation by yum, please refer to xref:v5.1/3.1.adoc#quick-installation[Quick installation]。 -For more installation options, please refer to xref:v5.0/4.1.adoc#Installation[Installation]。 +For more installation options, please refer to xref:v5.1/4.1.adoc#Installation[Installation]。 [NOTE] The standby node database only needs to be installed and **not started**. @@ -117,7 +117,7 @@ ivorysql 6567 6139 0 21:54 ? 00:00:00 postgres: walreceiver streaming On the primary node, connect to IvorySQL and show the status: ``` $ psql -d ivorysql -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# select * from pg_stat_replication; @@ -141,7 +141,7 @@ All writing operations are performed on the primary node, while reading can be o Below is an example. Create a new database test on primary and query: ``` $ psql -d ivorysql -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# create database test; @@ -161,7 +161,7 @@ ivorysql=# \l Query on the standby node: ``` $ psql -d ivorysql -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# \l diff --git a/EN/modules/ROOT/pages/v5.1/4.4.adoc b/EN/modules/ROOT/pages/v5.1/4.4.adoc index f3a6392..1823d80 100644 --- a/EN/modules/ROOT/pages/v5.1/4.4.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.4.adoc @@ -77,7 +77,7 @@ When the above operation is executed, the old and new versions of the backend se === Upgrade with the pg_upgrade utility -The pg_upgrade tool is a built-in cross-version upgrade utility in PostgreSQL that enables in-place database upgrades without requiring export and import operations. Since IvorySQL is derived from PostgreSQL, it can also use the pg_upgrade tool for major version upgrades. Below is a brief introduction on how to use pg_upgrade to upgrade IvorySQL to the latest 5.0 version on the CentOS8 platform. +The pg_upgrade tool is a built-in cross-version upgrade utility in PostgreSQL that enables in-place database upgrades without requiring export and import operations. Since IvorySQL is derived from PostgreSQL, it can also use the pg_upgrade tool for major version upgrades. Below is a brief introduction on how to use pg_upgrade to upgrade IvorySQL to the latest 5.1 version on the CentOS8 platform. pg_upgrade provides a pre-upgrade compatibility check (using the -c or --check option), which can identify issues such as plugin or data type incompatibilities. If the --link option is specified, the new version service can directly use the existing database files without copying, typically completing the upgrade in just a few minutes. @@ -96,23 +96,23 @@ First, stop the old version of the IvorySQL 4.6 database: ``` /usr/ivory-4/bin/pg_ctl -D ./data stop ``` -Then install the new version of the IvorySQL 5.0 database: +Then install the new version of the IvorySQL 5.1 database: ``` -dnf install -y ivorysql5-5.0 +dnf install -y ivorysql5-5.1 ``` -Initialize the new IvorySQL 5.0 data directory: +Initialize the new IvorySQL 5.1 data directory: ``` /usr/ivory-5/bin/initdb -D ./data ``` Check version compatibility: ``` -/usr/ivory-5/bin/pg_upgrade --old-datadir=/home/ivorysql/test/4.6/data --new-datadir=/home/ivorysql/test/5.0/data --old-bindir=/usr/ivory-4/bin/ --new-bindir=/usr/ivory-5/bin/ --check +/usr/ivory-5/bin/pg_upgrade --old-datadir=/home/ivorysql/test/4.6/data --new-datadir=/home/ivorysql/test/5.1/data --old-bindir=/usr/ivory-4/bin/ --new-bindir=/usr/ivory-5/bin/ --check ``` The appearance of "Clusters are compatible" at the end indicates that there are no compatibility issues between the two versions of data, and the upgrade can proceed. Official upgrade: ``` -/usr/ivory-5/bin/pg_upgrade --old-datadir=/home/ivorysql/test/4.6/data --new-datadir=/home/ivorysql/test/5.0/data --old-bindir=/usr/ivory-4/bin/ --new-bindir=/usr/ivory-5/bin/ +/usr/ivory-5/bin/pg_upgrade --old-datadir=/home/ivorysql/test/4.6/data --new-datadir=/home/ivorysql/test/5.1/data --old-bindir=/usr/ivory-4/bin/ --new-bindir=/usr/ivory-5/bin/ ``` Seeing "Upgrade Complete" indicates that the upgrade has been successfully completed. @@ -142,7 +142,7 @@ This upgrade method can be used with built-in logical replication tools and exte == Managing IvorySQL Versions -IvorySQL is based on PostgreSQL and is updated at the same frequency as PostgreSQL, with one major release per year and one minor release per quarter. IvorySQL 5.0 is based on PostgreSQL 18.0, and all versions of IvorySQL are backward compatible.The relevant version features can be viewed by looking at https://www.ivorysql.org/en/releases-page/[Official Website]。 +IvorySQL is based on PostgreSQL and is updated at the same frequency as PostgreSQL, with one major release per year and one minor release per quarter. IvorySQL 5.1 is based on PostgreSQL 18.1, and all versions of IvorySQL are backward compatible.The relevant version features can be viewed by looking at https://www.ivorysql.org/en/releases-page/[Official Website]。 == Managing IvorySQL database access diff --git a/EN/modules/ROOT/pages/v5.1/4.5.adoc b/EN/modules/ROOT/pages/v5.1/4.5.adoc index 066e32f..f573f70 100644 --- a/EN/modules/ROOT/pages/v5.1/4.5.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.5.adoc @@ -460,7 +460,7 @@ $ createdb orcl $ psql -psql (18.0) +psql (18.1) Type "help" for help. @@ -489,7 +489,7 @@ Create SH, HR, SCOTT users: ``` $ psql orcl -psql (18.0) +psql (18.1) Type "help" for help. diff --git a/EN/modules/ROOT/pages/v5.1/4.6.1.adoc b/EN/modules/ROOT/pages/v5.1/4.6.1.adoc index de4757c..a295760 100644 --- a/EN/modules/ROOT/pages/v5.1/4.6.1.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.6.1.adoc @@ -58,7 +58,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -78,7 +78,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; diff --git a/EN/modules/ROOT/pages/v5.1/4.6.3.adoc b/EN/modules/ROOT/pages/v5.1/4.6.3.adoc index f438c2d..ff5b692 100644 --- a/EN/modules/ROOT/pages/v5.1/4.6.3.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.6.3.adoc @@ -72,7 +72,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -90,7 +90,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -156,7 +156,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -174,7 +174,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; diff --git a/EN/modules/ROOT/pages/v5.1/4.6.4.adoc b/EN/modules/ROOT/pages/v5.1/4.6.4.adoc index d3255e3..a5b8381 100644 --- a/EN/modules/ROOT/pages/v5.1/4.6.4.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.6.4.adoc @@ -8,28 +8,28 @@ ** Get IvorySQL image from Docker Hub ``` -$ docker pull ivorysql/ivorysql:5.0-ubi8 +$ docker pull ivorysql/IvorySQL 5.1-ubi8 ``` ** Running IvorySQL ``` -$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/ivorysql:5.0-ubi8 +$ docker run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=your_password -d ivorysql/IvorySQL 5.1-ubi8 ``` ** Check if the IvorySQL container is running successfully ``` $ docker ps | grep ivorysql CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES -6faa2d0ed705 ivorysql:5.0-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql +6faa2d0ed705 IvorySQL 5.1-ubi8 "docker-entrypoint.s…" 50 seconds ago Up 49 seconds 5866/tcp, 0.0.0.0:5434->5432/tcp ivorysql ``` == Running with Podman ** Pull IvorySQL Image from Docker Hub ``` -[highgo@manager-node1 ~]$ podman pull ivorysql/ivorysql:5.0-ubi8 -✔ docker.io/ivorysql/ivorysql:5.0-ubi8 -Trying to pull docker.io/ivorysql/ivorysql:5.0-ubi8... +[highgo@manager-node1 ~]$ podman pull ivorysql/IvorySQL 5.1-ubi8 +✔ docker.io/ivorysql/IvorySQL 5.1-ubi8 +Trying to pull docker.io/ivorysql/IvorySQL 5.1-ubi8... Getting image source signatures Copying blob 5885448c5c88 done | Copying blob 6c502b378234 done | @@ -50,21 +50,21 @@ Writing manifest to image destination ** Run IvorySQL Container ``` -$ podman run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=123456 -d ivorysql/ivorysql:5.0-ubi8 +$ podman run --name ivorysql -p 5434:5432 -e IVORYSQL_PASSWORD=123456 -d ivorysql/IvorySQL 5.1-ubi8 ``` ** Check if IvorySQL Container is Running Successfully ``` [highgo@manager-node1 ~]$ podman ps | grep ivorysql CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES -368dee58d5ef docker.io/ivorysql/ivorysql:5.0-ubi8 postgres 20 seconds ago Up 20 seconds 0.0.0.0:5434->5432/tcp, 1521/tcp, 5866/tcp ivorysql +368dee58d5ef docker.io/ivorysql/IvorySQL 5.1-ubi8 postgres 20 seconds ago Up 20 seconds 0.0.0.0:5434->5432/tcp, 1521/tcp, 5866/tcp ivorysql [highgo@manager-node1 ~]$ podman exec -it ivorysql /bin/bash [root@8cc631eb413d /]# ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# diff --git a/EN/modules/ROOT/pages/v5.1/4.7.1.adoc b/EN/modules/ROOT/pages/v5.1/4.7.1.adoc index cd9d9b1..567158a 100644 --- a/EN/modules/ROOT/pages/v5.1/4.7.1.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.7.1.adoc @@ -25,7 +25,7 @@ The IvorySQL Cloud platform currently supports installation on Linux systems. Th |Backend |cloudnative-1.0-SNAPSHOT.jar |K8S cluster a| [arabic] -. docker.io/ivorysql/ivory-operator:v5.0 +. docker.io/ivorysql/ivory-operator:v5.1 . docker.io/ivorysql/pgadmin:ubi8-9.9-5.0-1 . docker.io/ivorysql/pgbackrest:ubi8-2.56.0-5.0-1 . docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-5.0-1 @@ -229,7 +229,7 @@ disableNative = false dbtype = "IvorySQL" -dbversion = "5.0" +dbversion = "5.1" ---- === Install and configure NGINX diff --git a/EN/modules/ROOT/pages/v5.1/5.0.adoc b/EN/modules/ROOT/pages/v5.1/5.0.adoc index 4e3f24e..843ea87 100644 --- a/EN/modules/ROOT/pages/v5.1/5.0.adoc +++ b/EN/modules/ROOT/pages/v5.1/5.0.adoc @@ -12,16 +12,16 @@ IvorySQL, as an advanced open-source database compatible with Oracle and based o [cols="1,2,1,3,3"] |==== |*Index*|*Plugin Name*|*Version*|*Function Description*|*Use Cases* -|*1*| xref:v5.0/5.1.adoc[postgis] | 3.5.4 | Provides geospatial data support for IvorySQL, including spatial indexes, spatial functions, and geographic object storage | Geographic Information Systems (GIS), map services, location data analysis -|*2*| xref:v5.0/5.2.adoc[pgvector] | 0.8.1 | Supports vector similarity search, can be used to store and retrieve high-dimensional vector data| AI applications, image retrieval, recommendation systems, semantic search -|*3*| xref:v5.0/5.3.adoc[pgddl (DDL Extractor)] | 0.31 | Extracts DDL (Data Definition Language) statements from databases, facilitating version management and migration | Database version control, CI/CD integration, structure comparison and synchronization -|*4*| xref:v5.0/5.4.adoc[pg_cron]​ | 1.6.0 | Provides database-internal scheduled task scheduling functionality, supports regular SQL statement execution | Data cleanup, regular statistics, automated maintenance tasks -|*5*| xref:v5.0/5.5.adoc[pgsql-http]​ | 1.7.0 | Allows HTTP requests to be initiated in SQL, interacting with external web services | Data collection, API integration, microservice calls -|*6*| xref:v5.0/5.6.adoc[plpgsql_check] | 2.8 | Provides static analysis functionality for PL/pgSQL code, can detect potential errors during development | Stored procedure development, code quality checking, debugging and optimization -|*7*| xref:v5.0/5.7.adoc[pgroonga] | 4.0.4 | Provides full-text search functionality for non-English languages, meeting the needs of high-performance applications | Full-text search capabilities for languages like Chinese, Japanese, and Korean -|*8*| xref:v5.0/5.8.adoc[pgaudit] | 18.0 | Provides fine-grained auditing, recording database operation logs to support security auditing and compliance checks | Database security auditing, compliance checks, audit report generation -|*9*| xref:v5.0/5.9.adoc[pgrouting] | 3.8.0 | Provides routing computation for geospatial data, supporting multiple algorithms and data formats | Geospatial analysis, route planning, logistics optimization -|*10*| xref:v5.0/5.10.adoc[system_stats] | 3.2 | Provide functions for accessing system-level statistics. | system monitor +|*1*| xref:v5.1/5.1.adoc[postgis] | 3.5.4 | Provides geospatial data support for IvorySQL, including spatial indexes, spatial functions, and geographic object storage | Geographic Information Systems (GIS), map services, location data analysis +|*2*| xref:v5.1/5.2.adoc[pgvector] | 0.8.1 | Supports vector similarity search, can be used to store and retrieve high-dimensional vector data| AI applications, image retrieval, recommendation systems, semantic search +|*3*| xref:v5.1/5.3.adoc[pgddl (DDL Extractor)] | 0.31 | Extracts DDL (Data Definition Language) statements from databases, facilitating version management and migration | Database version control, CI/CD integration, structure comparison and synchronization +|*4*| xref:v5.1/5.4.adoc[pg_cron]​ | 1.6.0 | Provides database-internal scheduled task scheduling functionality, supports regular SQL statement execution | Data cleanup, regular statistics, automated maintenance tasks +|*5*| xref:v5.1/5.5.adoc[pgsql-http]​ | 1.7.0 | Allows HTTP requests to be initiated in SQL, interacting with external web services | Data collection, API integration, microservice calls +|*6*| xref:v5.1/5.6.adoc[plpgsql_check] | 2.8 | Provides static analysis functionality for PL/pgSQL code, can detect potential errors during development | Stored procedure development, code quality checking, debugging and optimization +|*7*| xref:v5.1/5.7.adoc[pgroonga] | 4.0.4 | Provides full-text search functionality for non-English languages, meeting the needs of high-performance applications | Full-text search capabilities for languages like Chinese, Japanese, and Korean +|*8*| xref:v5.1/5.8.adoc[pgaudit] | 18.0 | Provides fine-grained auditing, recording database operation logs to support security auditing and compliance checks | Database security auditing, compliance checks, audit report generation +|*9*| xref:v5.1/5.9.adoc[pgrouting] | 3.8.0 | Provides routing computation for geospatial data, supporting multiple algorithms and data formats | Geospatial analysis, route planning, logistics optimization +|*10*| xref:v5.1/5.10.adoc[system_stats] | 3.2 | Provide functions for accessing system-level statistics. | system monitor |==== These plugins have all been tested and adapted by the IvorySQL team to ensure stable operation in the IvorySQL environment. Users can select appropriate plugins based on business needs to further enhance the capabilities and flexibility of the database system. diff --git a/EN/modules/ROOT/pages/v5.1/5.1.adoc b/EN/modules/ROOT/pages/v5.1/5.1.adoc index e458040..7a762d1 100644 --- a/EN/modules/ROOT/pages/v5.1/5.1.adoc +++ b/EN/modules/ROOT/pages/v5.1/5.1.adoc @@ -14,7 +14,7 @@ Users can select the installation method for PostGIS that best suits their devel In addition to the installation methods provided by the PostGIS community, the IvorySQL community also offers a source code installation method, with Ubuntu 24.04 (x86_64) as the installation environment. [NOTE] -Please ensure that **IvorySQL 5.0 or above** is installed in the environment. +Please ensure that **IvorySQL 5.1 or above** is installed in the environment. ** Install dependencies [literal] diff --git a/EN/modules/ROOT/pages/v5.1/5.2.adoc b/EN/modules/ROOT/pages/v5.1/5.2.adoc index ae51355..d44316b 100644 --- a/EN/modules/ROOT/pages/v5.1/5.2.adoc +++ b/EN/modules/ROOT/pages/v5.1/5.2.adoc @@ -60,7 +60,7 @@ sudo --preserve-env=PG_CONFIG make install [literal] ---- [ivorysql@localhost ivorysql-5]$ psql -psql (18.0) +psql (18.1) Type "help" for help. ivorysql=# create extension vector; diff --git a/EN/modules/ROOT/pages/v5.1/5.7.adoc b/EN/modules/ROOT/pages/v5.1/5.7.adoc index 987f324..c76b99f 100644 --- a/EN/modules/ROOT/pages/v5.1/5.7.adoc +++ b/EN/modules/ROOT/pages/v5.1/5.7.adoc @@ -22,7 +22,7 @@ Setup Environment ``` Operating System: Ubuntu 24.04 CPU Architecture: x86_64 - IvorySQL: v5.0 + IvorySQL: v5.1 ``` ==== Install msgpack-c @@ -83,7 +83,7 @@ postgres=# SELECT * FROM pg_available_extensions WHERE name = 'pgroonga'; postgres=# select version(); version -------------------------------------------------------------------------------- - PostgreSQL (IvorySQL 5.0) 18.0 on x86_64-linux, compiled by gcc-13.3.0, 64-bit + PostgreSQL (IvorySQL 5.1) 18.0 on x86_64-linux, compiled by gcc-13.3.0, 64-bit (1 row) ``` diff --git a/EN/modules/ROOT/pages/v5.1/5.9.adoc b/EN/modules/ROOT/pages/v5.1/5.9.adoc index 6235290..7dc175b 100644 --- a/EN/modules/ROOT/pages/v5.1/5.9.adoc +++ b/EN/modules/ROOT/pages/v5.1/5.9.adoc @@ -13,7 +13,7 @@ pgRouting is widely used in logistics and distribution, traffic navigation, netw == Installation [TIP] -IvorySQL 5.0 or higher version is already installed in the environment, with the installation path at /usr/local/ivorysql/ivorysql-5 +IvorySQL 5.1 or higher version is already installed in the environment, with the installation path at /usr/local/ivorysql/ivorysql-5 === Source Installation diff --git a/EN/modules/ROOT/pages/v5.1/6.3.12.adoc b/EN/modules/ROOT/pages/v5.1/6.3.12.adoc index 6ee5244..125a151 100644 --- a/EN/modules/ROOT/pages/v5.1/6.3.12.adoc +++ b/EN/modules/ROOT/pages/v5.1/6.3.12.adoc @@ -136,7 +136,7 @@ typedef enum IvyStmtType { IVY_STMT_UNKNOW, IVY_STMT_DO, - IVY_STMT_DOFROMCALL, /* new statementt type */ + IVY_STMT_DOFROMCALL, /* new statement type */ IVY_STMT_DOHANDLED, IVY_STMT_OTHERS } IvyStmtType; diff --git a/EN/modules/ROOT/pages/v5.1/8.adoc b/EN/modules/ROOT/pages/v5.1/8.adoc index 357d6cc..9f6fa20 100644 --- a/EN/modules/ROOT/pages/v5.1/8.adoc +++ b/EN/modules/ROOT/pages/v5.1/8.adoc @@ -29,7 +29,7 @@ Our team is a continuously open team, focusing on parts of IvorySQL. In our team == **Contributor's Guide** -Before contributing, we need to know the current version of IvorySQL and the version of the document.At present, we maintain versions after version *5.0*. Our version follows the update pace of PG. Please update to the latest version before contributing. After that, we need to read the format requirements carefully and be familiar with code format, code comment format, issue format, pull PR title format, document contribution format, and article contribution format. These can help you become a contributor of IvorySQL as soon as possible. +Before contributing, we need to know the current version of IvorySQL and the version of the document.At present, we maintain versions after version *5.1*. Our version follows the update pace of PG. Please update to the latest version before contributing. After that, we need to read the format requirements carefully and be familiar with code format, code comment format, issue format, pull PR title format, document contribution format, and article contribution format. These can help you become a contributor of IvorySQL as soon as possible. === Preparation before Contribution diff --git a/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc b/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc index 856c8a3..7398946 100644 --- a/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc +++ b/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc @@ -8,8 +8,8 @@ IvorySQL adapts the following CPU architectures: [cols="8h,~,~,~"] |==== | Index | Architecture Name | Adapt to brands | Multi-platform Media Packages -| 1 | x86_64 | Intel, AMD, ZHAOXIN, HYGON | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.x86_64.rpm[rpm] -| 2 | aarch64 | Phytium, Kunpeng | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.aarch64.rpm[rpm] -| 3 | mips64el| Loongson3000,Loongson4000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251120.mips64el.rpm[rpm] -| 4 | loongarch64 | Loongson5000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251118.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.0/IvorySQL-5.0-9d890e9-20251118.loongarch64.rpm[rpm] +| 1 | x86_64 | Intel, AMD, ZHAOXIN, HYGON | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.x86_64.rpm[rpm] +| 2 | aarch64 | Phytium, Kunpeng | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.aarch64.rpm[rpm] +| 3 | mips64el| Loongson3000,Loongson4000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.mips64el.rpm[rpm] +| 4 | loongarch64 | Loongson5000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251118.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251118.loongarch64.rpm[rpm] |==== From 0aa281346a5415d61b8e18635794e4cb23dd147a Mon Sep 17 00:00:00 2001 From: liuxiaohui Date: Thu, 18 Dec 2025 14:08:02 +0800 Subject: [PATCH 2/4] Update Multi-platform Media Packages --- CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc | 10 +++++----- EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc b/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc index d43df63..0eb19cf 100644 --- a/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc +++ b/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc @@ -8,8 +8,8 @@ IvorySQL适配认证如下CPU架构: [cols="8h,~,~,~"] |==== | 序号 | 架构名称 | 适配品牌 | 全平台介质包下载 -| 1 | x86_64 | Intel、AMD、兆芯、海光 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.x86_64.rpm[rpm] -| 2 | aarch64 | 飞腾、鲲鹏 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.aarch64.rpm[rpm] -| 3 | mips64el| 龙芯3000,龙芯4000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.mips64el.rpm[rpm] -| 4 | loongarch64 | 龙芯5000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251118.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251118.loongarch64.rpm[rpm] -|==== +| 1 | x86_64 | Intel、AMD、兆芯、海光 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.x86_64.rpm[rpm] +| 2 | aarch64 | 飞腾、鲲鹏 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.aarch64.rpm[rpm] +| 3 | mips64el| 龙芯3000、龙芯4000 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.mips64el.rpm[rpm] +| 4 | loongarch64 | 龙芯5000 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.loongarch64.rpm[rpm] +|==== \ No newline at end of file diff --git a/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc b/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc index 7398946..eca8c42 100644 --- a/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc +++ b/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc @@ -8,8 +8,8 @@ IvorySQL adapts the following CPU architectures: [cols="8h,~,~,~"] |==== | Index | Architecture Name | Adapt to brands | Multi-platform Media Packages -| 1 | x86_64 | Intel, AMD, ZHAOXIN, HYGON | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.x86_64.rpm[rpm] -| 2 | aarch64 | Phytium, Kunpeng | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.aarch64.rpm[rpm] -| 3 | mips64el| Loongson3000,Loongson4000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.mips64el.rpm[rpm] -| 4 | loongarch64 | Loongson5000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251118.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251118.loongarch64.rpm[rpm] +| 1 | x86_64 | Intel, AMD, ZHAOXIN, HYGON | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.x86_64.rpm[rpm] +| 2 | aarch64 | Phytium, Kunpeng | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.aarch64.rpm[rpm] +| 3 | mips64el| Loongson3000, Loongson4000 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.mips64el.rpm[rpm] +| 4 | loongarch64 | Loongson5000 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.loongarch64.rpm[rpm] |==== From 61d201a45d703e675423576d9451f3722128f545 Mon Sep 17 00:00:00 2001 From: liuxiaohui Date: Thu, 18 Dec 2025 17:48:41 +0800 Subject: [PATCH 3/4] Update docker version --- CN/modules/ROOT/pages/v5.1/4.1.adoc | 8 ++++---- CN/modules/ROOT/pages/v5.1/4.7.1.adoc | 18 +++++++++--------- CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc | 8 ++++---- EN/modules/ROOT/pages/v5.1/4.1.adoc | 8 ++++---- EN/modules/ROOT/pages/v5.1/4.6.1.adoc | 4 ++-- EN/modules/ROOT/pages/v5.1/4.6.3.adoc | 8 ++++---- EN/modules/ROOT/pages/v5.1/4.6.4.adoc | 2 +- EN/modules/ROOT/pages/v5.1/4.7.1.adoc | 18 +++++++++--------- EN/modules/ROOT/pages/v5.1/5.7.adoc | 2 +- EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc | 10 +++++----- 10 files changed, 43 insertions(+), 43 deletions(-) diff --git a/CN/modules/ROOT/pages/v5.1/4.1.adoc b/CN/modules/ROOT/pages/v5.1/4.1.adoc index 40360ee..ec60aa0 100644 --- a/CN/modules/ROOT/pages/v5.1/4.1.adoc +++ b/CN/modules/ROOT/pages/v5.1/4.1.adoc @@ -73,7 +73,7 @@ $ sudo dnf install -y lz4 libicu libxslt python3 ``` ** 获取rpm包 ``` -$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.x86_64.rpm +$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.x86_64.rpm ``` ** 安装rpm包 @@ -102,7 +102,7 @@ $ sudo apt install -y pkg-config uuid-dev ``` $ git clone https://github.com/IvorySQL/IvorySQL.git $ cd IvorySQL -$ git checkout -b IVORY_REL_5_STABLE origin/IVORY_REL_5_STABLE +$ git checkout tags/IvorySQL_5.1 ``` ** 配置 @@ -144,12 +144,12 @@ $ sudo apt -y install pkg-config libreadline-dev libicu-dev libldap2-dev uuid-de ** 获取deb包 ``` -$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-a50789d-20250304.amd64.deb +$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.amd64.deb ``` ** 安装deb包 ``` -$ sudo dpkg -i IvorySQL-5.1-a50789d-20250304.amd64.deb +$ sudo dpkg -i IvorySQL-5.1-62069c2-20251211.amd64.deb ``` 数据库将被安装在/usr/ivory-5/路径下。 diff --git a/CN/modules/ROOT/pages/v5.1/4.7.1.adoc b/CN/modules/ROOT/pages/v5.1/4.7.1.adoc index f469a8a..8841056 100644 --- a/CN/modules/ROOT/pages/v5.1/4.7.1.adoc +++ b/CN/modules/ROOT/pages/v5.1/4.7.1.adoc @@ -28,10 +28,10 @@ IvorySQL Cloud平台,目前支持Linux系统下的安装,以下为各部分 |K8S集群 a| [arabic] . docker.io/ivorysql/ivory-operator:v5.1 -. docker.io/ivorysql/pgadmin:ubi8-9.9-5.0-1 -. docker.io/ivorysql/pgbackrest:ubi8-2.56.0-5.0-1 -. docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-5.0-1 -. docker.io/ivorysql/ivorysql:ubi8-5.0-5.0-1 +. docker.io/ivorysql/pgadmin:ubi9-9.9-5.1-1 +. docker.io/ivorysql/pgbackrest:ubi9-2.56.0-5.1-1 +. docker.io/ivorysql/postgres-exporter:ubi9-0.17.0-5.1-1 +. docker.io/ivorysql/ivorysql:ubi9-5.1-5.1-1 |=== 另外,云服务平台还需要用户安装以下组件: @@ -366,15 +366,15 @@ https://github.com/IvorySQL/ivory-operator/tree/IVYO_REL_5_STABLE[https://github [literal] ---- -docker.io/ivorysql/pgadmin:ubi8-9.9-5.0-1 +docker.io/ivorysql/pgadmin:ubi9-9.9-5.1-1 -docker.io/ivorysql/pgbackrest:ubi8-2.56.0-5.0-1 +docker.io/ivorysql/pgbackrest:ubi9-2.56.0-5.1-1 -docker.io/ivorysql/pgbouncer:ubi8-1.23.0-5.0-1 +docker.io/ivorysql/pgbouncer:ubi9-1.23.0-5.1-1 -docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-5.0-1 +docker.io/ivorysql/postgres-exporter:ubi9-0.17.0-5.1-1 -docker.io/ivorysql/ivorysql:ubi8-5.0-5.0-1 +docker.io/ivorysql/ivorysql:ubi9-5.1-5.1-1 docker.io/prom/prometheus:v2.33.5 diff --git a/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc b/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc index 0eb19cf..14eadcd 100644 --- a/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc +++ b/CN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc @@ -8,8 +8,8 @@ IvorySQL适配认证如下CPU架构: [cols="8h,~,~,~"] |==== | 序号 | 架构名称 | 适配品牌 | 全平台介质包下载 -| 1 | x86_64 | Intel、AMD、兆芯、海光 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.x86_64.rpm[rpm] -| 2 | aarch64 | 飞腾、鲲鹏 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.aarch64.rpm[rpm] -| 3 | mips64el| 龙芯3000、龙芯4000 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.mips64el.rpm[rpm] -| 4 | loongarch64 | 龙芯5000 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.loongarch64.rpm[rpm] +| 1 | x86_64 | Intel、AMD、兆芯、海光 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.x86_64.rpm[rpm] +| 2 | aarch64 | 飞腾、鲲鹏 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.aarch64.rpm[rpm] +| 3 | mips64el| 龙芯3000、龙芯4000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.mips64el.rpm[rpm] +| 4 | loongarch64 | 龙芯5000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.loongarch64.rpm[rpm] |==== \ No newline at end of file diff --git a/EN/modules/ROOT/pages/v5.1/4.1.adoc b/EN/modules/ROOT/pages/v5.1/4.1.adoc index e863679..19e63f4 100644 --- a/EN/modules/ROOT/pages/v5.1/4.1.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.1.adoc @@ -74,7 +74,7 @@ $ sudo dnf install -y lz4 libicu libxslt python3 ``` ** Getting rpms ``` -$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-9d890e9-20251120.x86_64.rpm +$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.x86_64.rpm ``` ** Installing rpms @@ -103,7 +103,7 @@ $ sudo apt install -y pkg-config uuid-dev ``` $ git clone https://github.com/IvorySQL/IvorySQL.git $ cd IvorySQL -$ git checkout -b IVORY_REL_5_STABLE origin/IVORY_REL_5_STABLE +$ git checkout tags/IvorySQL_5.1 ``` ** Configuring @@ -145,12 +145,12 @@ $ sudo apt -y install pkg-config libreadline-dev libicu-dev libldap2-dev uuid-de ** Getting deb ``` -$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-a50789d-20250304.amd64.deb +$ sudo wget https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.amd64.deb ``` ** Installing deb ``` -$ sudo dpkg -i IvorySQL-5.1-a50789d-20250304.amd64.deb +$ sudo dpkg -i IvorySQL-5.1-62069c2-20251211.amd64.deb ``` IvorySQL will then be installed in the /usr/ivory-5/ directory. diff --git a/EN/modules/ROOT/pages/v5.1/4.6.1.adoc b/EN/modules/ROOT/pages/v5.1/4.6.1.adoc index a295760..25bac38 100644 --- a/EN/modules/ROOT/pages/v5.1/4.6.1.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.6.1.adoc @@ -58,7 +58,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -78,7 +78,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; diff --git a/EN/modules/ROOT/pages/v5.1/4.6.3.adoc b/EN/modules/ROOT/pages/v5.1/4.6.3.adoc index ff5b692..8a16836 100644 --- a/EN/modules/ROOT/pages/v5.1/4.6.3.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.6.3.adoc @@ -72,7 +72,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -90,7 +90,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -156,7 +156,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; @@ -174,7 +174,7 @@ Password for user ivorysql: ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# show ivorysql.compatible_mode; diff --git a/EN/modules/ROOT/pages/v5.1/4.6.4.adoc b/EN/modules/ROOT/pages/v5.1/4.6.4.adoc index a5b8381..3503872 100644 --- a/EN/modules/ROOT/pages/v5.1/4.6.4.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.6.4.adoc @@ -64,7 +64,7 @@ CONTAINER ID IMAGE COMMAND CREATED ivorysql=# select version(); version ------------------------------------------------------------------------------------------------------------------------ - PostgreSQL 18.0 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit + PostgreSQL 18.1 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28), 64-bit (1 row) ivorysql=# diff --git a/EN/modules/ROOT/pages/v5.1/4.7.1.adoc b/EN/modules/ROOT/pages/v5.1/4.7.1.adoc index 567158a..1b87961 100644 --- a/EN/modules/ROOT/pages/v5.1/4.7.1.adoc +++ b/EN/modules/ROOT/pages/v5.1/4.7.1.adoc @@ -26,10 +26,10 @@ The IvorySQL Cloud platform currently supports installation on Linux systems. Th |K8S cluster a| [arabic] . docker.io/ivorysql/ivory-operator:v5.1 -. docker.io/ivorysql/pgadmin:ubi8-9.9-5.0-1 -. docker.io/ivorysql/pgbackrest:ubi8-2.56.0-5.0-1 -. docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-5.0-1 -. docker.io/ivorysql/ivorysql:ubi8-5.0-5.0-1 +. docker.io/ivorysql/pgadmin:ubi9-9.9-5.1-1 +. docker.io/ivorysql/pgbackrest:ubi9-2.56.0-5.1-1 +. docker.io/ivorysql/postgres-exporter:ubi9-0.17.0-5.1-1 +. docker.io/ivorysql/ivorysql:ubi9-5.1-5.1-1 |=== In addition, install the following supporting components: @@ -365,15 +365,15 @@ If your servers have direct access to Docker Hub, you can skip this step. Otherw [literal] ---- -docker.io/ivorysql/pgadmin:ubi8-9.9-5.0-1 +docker.io/ivorysql/pgadmin:ubi9-9.9-5.1-1 -docker.io/ivorysql/pgbackrest:ubi8-2.56.0-5.0-1 +docker.io/ivorysql/pgbackrest:ubi9-2.56.0-5.1-1 -docker.io/ivorysql/pgbouncer:ubi8-1.23.0-5.0-1 +docker.io/ivorysql/pgbouncer:ubi9-1.23.0-5.1-1 -docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-5.0-1 +docker.io/ivorysql/postgres-exporter:ubi9-0.17.0-5.1-1 -docker.io/ivorysql/ivorysql:ubi8-5.0-5.0-1 +docker.io/ivorysql/ivorysql:ubi9-5.1-5.1-1 docker.io/prom/prometheus:v2.33.5 diff --git a/EN/modules/ROOT/pages/v5.1/5.7.adoc b/EN/modules/ROOT/pages/v5.1/5.7.adoc index c76b99f..15ede03 100644 --- a/EN/modules/ROOT/pages/v5.1/5.7.adoc +++ b/EN/modules/ROOT/pages/v5.1/5.7.adoc @@ -83,7 +83,7 @@ postgres=# SELECT * FROM pg_available_extensions WHERE name = 'pgroonga'; postgres=# select version(); version -------------------------------------------------------------------------------- - PostgreSQL (IvorySQL 5.1) 18.0 on x86_64-linux, compiled by gcc-13.3.0, 64-bit + PostgreSQL (IvorySQL 5.1) 18.1 on x86_64-linux, compiled by gcc-13.3.0, 64-bit (1 row) ``` diff --git a/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc b/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc index eca8c42..63cd7d4 100644 --- a/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc +++ b/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc @@ -8,8 +8,8 @@ IvorySQL adapts the following CPU architectures: [cols="8h,~,~,~"] |==== | Index | Architecture Name | Adapt to brands | Multi-platform Media Packages -| 1 | x86_64 | Intel, AMD, ZHAOXIN, HYGON | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.x86_64.rpm[rpm] -| 2 | aarch64 | Phytium, Kunpeng | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.aarch64.rpm[rpm] -| 3 | mips64el| Loongson3000, Loongson4000 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.mips64el.rpm[rpm] -| 4 | loongarch64 | Loongson5000 | https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/untagged-5dfd1f3bd16bcf3f6347/IvorySQL-5.1-62069c2-20251211.loongarch64.rpm[rpm] -|==== +| 1 | x86_64 | Intel, AMD, ZHAOXIN, HYGON | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.x86_64.rpm[rpm] +| 2 | aarch64 | 飞腾、鲲鹏 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.aarch64.rpm[rpm] +| 3 | mips64el| 龙芯3000、龙芯4000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.mips64el.rpm[rpm] +| 4 | loongarch64 | 龙芯5000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.loongarch64.rpm[rpm] +|==== \ No newline at end of file From 48edcdb5182a38d75a6fe451f958c11343a2a7fe Mon Sep 17 00:00:00 2001 From: liuxiaohui Date: Thu, 18 Dec 2025 18:01:09 +0800 Subject: [PATCH 4/4] Modify cpu_arch_adp --- EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc b/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc index 63cd7d4..55f0e39 100644 --- a/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc +++ b/EN/modules/ROOT/pages/v5.1/cpu_arch_adp.adoc @@ -9,7 +9,7 @@ IvorySQL adapts the following CPU architectures: |==== | Index | Architecture Name | Adapt to brands | Multi-platform Media Packages | 1 | x86_64 | Intel, AMD, ZHAOXIN, HYGON | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.amd64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.x86_64.rpm[rpm] -| 2 | aarch64 | 飞腾、鲲鹏 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.aarch64.rpm[rpm] -| 3 | mips64el| 龙芯3000、龙芯4000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.mips64el.rpm[rpm] -| 4 | loongarch64 | 龙芯5000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.loongarch64.rpm[rpm] +| 2 | aarch64 | Phytium, Kunpeng | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.arm64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.aarch64.rpm[rpm] +| 3 | mips64el| Loongson3000, Loongson4000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.mips64el.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.mips64el.rpm[rpm] +| 4 | loongarch64 | Loongson5000 | https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.loongarch64.deb[deb], https://github.com/IvorySQL/IvorySQL/releases/download/IvorySQL_5.1/IvorySQL-5.1-62069c2-20251211.loongarch64.rpm[rpm] |==== \ No newline at end of file