diff --git a/docs/cn/ivorysql-doc/master/_exports/index.pdf b/docs/cn/ivorysql-doc/master/_exports/index.pdf index 4af0a99b1..5e05db653 100644 Binary files a/docs/cn/ivorysql-doc/master/_exports/index.pdf and b/docs/cn/ivorysql-doc/master/_exports/index.pdf differ diff --git a/docs/cn/ivorysql-doc/master/containerization/operator_deployment.html b/docs/cn/ivorysql-doc/master/containerization/operator_deployment.html index 0e79b5992..83c9e31c4 100644 --- a/docs/cn/ivorysql-doc/master/containerization/operator_deployment.html +++ b/docs/cn/ivorysql-doc/master/containerization/operator_deployment.html @@ -896,7 +896,7 @@

3.1

还发生了什么?IVYO 从 metadata.name 读取值,为 Ivory 集群命名为 hippo。此外,IVYO 通过查看 spec.image 和 spec.backups.pgbackrest.image 的值,分别确定了 Ivory 和 pgBackRest 使用的容器镜像。spec.postgresVersion 的值也很重要,它帮助 IVYO 跟踪你使用的 Ivory 主版本。

-

IVYO 通过清单中的 spec.instances 部分知道要创建多少个 Ivory 实例。虽然 name 是可选的,但我们选择将其命名为 instance1。我们也可以在集群初始化期间创建多个副本和实例,但稍后在我们讨论 如何扩展并创建高可用 Ivory 集群 时会详细介绍。

+

IVYO 通过清单中的 spec.instances 部分知道要创建多少个 Ivory 实例。虽然 name 是可选的,但我们选择将其命名为 instance1。我们也可以在集群初始化期间创建多个副本和实例,但稍后在我们讨论 如何扩展并创建高可用 Ivory 集群 时会详细介绍。

ivorycluster 自定义资源中非常重要的一部分是 dataVolumeClaimSpec 部分。它描述了 Ivory 实例将使用的存储,建模自 Persistent Volume Claim。如果你没有提供 spec.instances.dataVolumeClaimSpec.storageClassName,则将使用 Kubernetes 环境中的默认存储类。

@@ -2978,7 +2978,7 @@

10. 监控

-

虽然拥有 高可用性 和 灾难恢复 系统可以在您的 IvorySQL 集群出现问题时提供帮助,但监控可以帮助您预防问题的发生。此外,监控可以帮助您诊断和解决可能导致性能下降的问题,而不是停机。

+

虽然拥有 高可用性 和 灾难恢复 系统可以在您的 IvorySQL 集群出现问题时提供帮助,但监控可以帮助您预防问题的发生。此外,监控可以帮助您诊断和解决可能导致性能下降的问题,而不是停机。

让我们看看 IVYO 如何允许您在集群中启用监控。

diff --git a/docs/cn/ivorysql-doc/master/cpu_os_adaptation/cpu_architecture_adaptation.html b/docs/cn/ivorysql-doc/master/cpu_os_adaptation/cpu_architecture_adaptation.html index 2a7abc0ab..e7999cef7 100644 --- a/docs/cn/ivorysql-doc/master/cpu_os_adaptation/cpu_architecture_adaptation.html +++ b/docs/cn/ivorysql-doc/master/cpu_os_adaptation/cpu_architecture_adaptation.html @@ -792,19 +792,19 @@

芯片架构适配

2

aarch64

飞腾、鲲鹏

-

deb, rpm

+

deb, rpm

3

mips64el

龙芯3000,龙芯4000

-

deb, rpm

+

deb, rpm

4

loongarch64

龙芯5000

-

deb, rpm

+

deb, rpm

diff --git a/docs/cn/ivorysql-doc/master/ecosystem_components/age.html b/docs/cn/ivorysql-doc/master/ecosystem_components/age.html index 867ae9bc8..771f83157 100644 --- a/docs/cn/ivorysql-doc/master/ecosystem_components/age.html +++ b/docs/cn/ivorysql-doc/master/ecosystem_components/age.html @@ -921,7 +921,8 @@

# 预加载 AGE 扩展(推荐)
-shared_preload_libraries = 'age'
+# 保留 IvorySQL 默认加载的库,在末尾追加 age
+shared_preload_libraries = 'gb18030_2022, liboracle_parser, ivorysql_ora, age'
 
 # 或者在数据库级别加载(不需要重启)
 # shared_preload_libraries = ''
diff --git a/docs/cn/ivorysql-doc/master/ecosystem_components/pg_cron.html b/docs/cn/ivorysql-doc/master/ecosystem_components/pg_cron.html index 9f8bb87c1..59821b4dc 100644 --- a/docs/cn/ivorysql-doc/master/ecosystem_components/pg_cron.html +++ b/docs/cn/ivorysql-doc/master/ecosystem_components/pg_cron.html @@ -811,7 +811,8 @@

diff --git a/docs/cn/ivorysql-doc/master/ecosystem_components/pg_stat_monitor.html b/docs/cn/ivorysql-doc/master/ecosystem_components/pg_stat_monitor.html index f351555fe..7ff5529cd 100644 --- a/docs/cn/ivorysql-doc/master/ecosystem_components/pg_stat_monitor.html +++ b/docs/cn/ivorysql-doc/master/ecosystem_components/pg_stat_monitor.html @@ -834,7 +834,8 @@

3. 加载模块

-
shared_preload_libraries = 'pg_stat_monitor';
+
# 保留 IvorySQL 默认加载的库,在末尾追加 pg_stat_monitor
+shared_preload_libraries = 'gb18030_2022, liboracle_parser, ivorysql_ora, pg_stat_monitor';
diff --git a/docs/cn/ivorysql-doc/master/ecosystem_components/pgaudit.html b/docs/cn/ivorysql-doc/master/ecosystem_components/pgaudit.html index 2d9e0c398..889e21a85 100644 --- a/docs/cn/ivorysql-doc/master/ecosystem_components/pgaudit.html +++ b/docs/cn/ivorysql-doc/master/ecosystem_components/pgaudit.html @@ -844,7 +844,8 @@

-
shared_preload_libraries = 'pgaudit'   # 需实例重启生效
+
# 保留 IvorySQL 默认加载的库,在末尾追加 pgaudit
+shared_preload_libraries = 'gb18030_2022, liboracle_parser, ivorysql_ora, pgaudit'   # 需实例重启生效
 pgaudit.log = 'read, write, ddl'       # 审计范围示例,可按需调整

diff --git a/docs/cn/ivorysql-doc/master/ecosystem_components/set_user.html b/docs/cn/ivorysql-doc/master/ecosystem_components/set_user.html index 5c297208d..2d7d4800f 100644 --- a/docs/cn/ivorysql-doc/master/ecosystem_components/set_user.html +++ b/docs/cn/ivorysql-doc/master/ecosystem_components/set_user.html @@ -1024,7 +1024,8 @@

4.1. 源码安

-
shared_preload_libraries = 'set_user'
+
# 保留 IvorySQL 默认加载的库,在末尾追加 set_user
+shared_preload_libraries = 'gb18030_2022, liboracle_parser, ivorysql_ora, set_user'
diff --git a/docs/cn/ivorysql-doc/master/getting-started/quick_start.html b/docs/cn/ivorysql-doc/master/getting-started/quick_start.html index 2bb198daa..63150c690 100644 --- a/docs/cn/ivorysql-doc/master/getting-started/quick_start.html +++ b/docs/cn/ivorysql-doc/master/getting-started/quick_start.html @@ -1027,6 +1027,23 @@

3. 数据 更多参数使用方法,请使用psql --help命令获取。 +
+

3.1. 连接不同兼容模式

+
+

通过 initdb -m oracle 初始化的集群提供两个监听端口。默认情况下,5432 端口的会话以 PostgreSQL 兼容模式启动,1521 端口的会话以 Oracle 兼容模式启动。运行 Oracle SQL 或 PL/iSQL 示例时,请连接 Oracle 端口。

+
+
+
+
# 预期模式为 pg
+psql -X -p 5432 -d ivorysql -c 'SHOW ivorysql.compatible_mode'
+
+# 预期模式为 oracle
+psql -X -p 1521 -d ivorysql -c 'SHOW ivorysql.compatible_mode'
+
+
+
+

如果服务器使用自定义端口,请以 port 和 ivorysql.port 的配置值为准。通过 initdb -m pg 初始化的集群只提供 PostgreSQL 监听端口。

+
@@ -1034,7 +1051,7 @@

3. 数据

-Docker运行IvorySQL时,需要添加额外参数,如 psql -d ivorysql -U ivorysql -h 127.0.0.1 -p 5434 +上面的 Docker 示例将 PostgreSQL 监听端口映射到主机的 5434 端口。使用 psql -d ivorysql -U ivorysql -h 127.0.0.1 -p 5434 连接。如需从主机连接 Oracle 模式容器的 Oracle 监听端口,还需映射该端口。
@@ -1047,6 +1064,7 @@

3. 数据

+