From 6f53c162a511b001c983ad54f7dcf83182a68f8c Mon Sep 17 00:00:00 2001 From: spaceoddity91719 Date: Tue, 5 Nov 2024 09:44:50 +0800 Subject: [PATCH 1/3] =?UTF-8?q?update(mogdb):=E5=8F=82=E6=95=B0=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E7=BB=86=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../24-miscellaneous-parameters.md | 2 +- .../24-miscellaneous-parameters.md | 2 +- .../guc-parameters/guc-parameter-list.md | 44 +++++++++---------- .../miscellaneous-parameters.md | 2 +- .../miscellaneous-parameters.md | 2 +- 5 files changed, 26 insertions(+), 26 deletions(-) diff --git a/product/zh/docs-mogdb/v1.1/reference-guide/guc-parameters/24-miscellaneous-parameters.md b/product/zh/docs-mogdb/v1.1/reference-guide/guc-parameters/24-miscellaneous-parameters.md index 2185fadf..2955552d 100644 --- a/product/zh/docs-mogdb/v1.1/reference-guide/guc-parameters/24-miscellaneous-parameters.md +++ b/product/zh/docs-mogdb/v1.1/reference-guide/guc-parameters/24-miscellaneous-parameters.md @@ -21,7 +21,7 @@ date: 2021-04-20 **参数说明**: 报告服务器版本号(整数形式)。 -该参数属于INTERNAL类型参数,为固定参数,用户无法修改此参数,只能查看。 +该参数属于INTERNAL类型参数,为固定参数,用户无法修改此参数,只能查看。该参数继承自PostgreSQL内核,表示当前数据库内核兼容PostgreSQL对应的server_version_num版本,无实际含义,为保持北向对外工具接口的生态兼容性(工具连接时查询),保留该参数。 **取值范围**: 整数 diff --git a/product/zh/docs-mogdb/v2.0/reference-guide/guc-parameters/24-miscellaneous-parameters.md b/product/zh/docs-mogdb/v2.0/reference-guide/guc-parameters/24-miscellaneous-parameters.md index 62cd0396..ec20c231 100644 --- a/product/zh/docs-mogdb/v2.0/reference-guide/guc-parameters/24-miscellaneous-parameters.md +++ b/product/zh/docs-mogdb/v2.0/reference-guide/guc-parameters/24-miscellaneous-parameters.md @@ -21,7 +21,7 @@ date: 2021-04-20 **参数说明**: 报告服务器版本号(整数形式)。 -该参数属于INTERNAL类型参数,为固定参数,用户无法修改此参数,只能查看。 +该参数属于INTERNAL类型参数,为固定参数,用户无法修改此参数,只能查看。该参数继承自PostgreSQL内核,表示当前数据库内核兼容PostgreSQL对应的server_version_num版本,无实际含义,为保持北向对外工具接口的生态兼容性(工具连接时查询),保留该参数。 **取值范围**: 整数 diff --git a/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/guc-parameter-list.md b/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/guc-parameter-list.md index 01b70b16..ec458059 100644 --- a/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/guc-parameter-list.md +++ b/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/guc-parameter-list.md @@ -229,7 +229,7 @@ date: 2023-04-07 | [elastic_search_ip_addr](security-configuration.md#elastic_search_ip_addr) | | | [emit_illegal_bind_chars](miscellaneous-parameters.md#emit_illegal_bind_chars) | 5.0.2 - [写入不合法字符报错](../../characteristic-description/maintainability/error-when-writing-illegal-characters.md) | | [enable_absolute_tablespace](query-planning/optimizer-method-configuration.md#enable_absolute_tablespace) | | -| [enable_accept_empty_str](./query-planning/other-optimizer-options.md#enable_accept_empty_str) | | +| [enable_accept_empty_str](./query-planning/other-optimizer-options.md#enable_accept_empty_str) | 5.0.6 | | [enable_access_server_directory](auditing/operation-audit.md#enable_access_server_directory) | | | [enable_adaptive_hashagg](./query-planning/optimizer-method-configuration.md#enable_adaptive_hashagg) | | | [enable_adio_debug](resource-consumption/asynchronous-io-operations.md#enable_adio_debug) | | @@ -242,7 +242,7 @@ date: 2023-04-07 | [enable_auto_explain](query-planning/other-optimizer-options.md#enable_auto_explain) | | | [enable_availablezone](./ha-replication/sending-server.md#enable_availablezone) | | | [enable_backend_compress](./backend-compression.md#enable_backend_compress) | | -| [enable_batch_dispatch](write-ahead-log/log-replay.md#enable_batch_dispatch) | | +| [enable_batch_dispatch](write-ahead-log/log-replay.md#enable_batch_dispatch) | 5.0.2 - [日志回放性能增强](../../characteristic-description/high-performance/enhancement-of-wal-redo-performance.md) | | [enable_bbox_dump](load-management.md#enable_bbox_dump) | | | [enable_beta_features](version-and-platform-compatibility/compatibility-with-earlier-versions.md#enable_beta_features) | | | [enable_beta_opfusion](developer-options.md#enable_beta_opfusion) | | @@ -250,7 +250,7 @@ date: 2023-04-07 | [enable_bloom_filter](query-planning/other-optimizer-options.md#enable_bloom_filter) | | | [enable_broadcast](./query-planning/optimizer-method-configuration.md#enable_broadcast) | | | [enable_cachedplan_mgr](./AI-features.md#enable_cachedplan_mgr) | | -| [enable_cache_function_result](./miscellaneous-parameters.md#enable_cache_function_result) | 5.0.9 - [支持语句级Function Cache](../../characteristic-description/high-performance/plsql-function-cache.md) | +| [enable_cache_function_result](./miscellaneous-parameters.md#enable_cache_function_result) | 5.0.9 - [支持语句级Function Cache](../../characteristic-description/high-performance/plsql-function-cache.md) | | [enable_cbm_tracking](backup-and-restoration-parameter.md#enable_cbm_tracking) | | | [enable_change_hjcost](query-planning/optimizer-method-configuration.md#enable_change_hjcost) | | | [enable_codegen](query-planning/other-optimizer-options.md#enable_codegen) | | @@ -277,7 +277,7 @@ date: 2023-04-07 | [enable_dolphin_proto](./connection-and-authentication/connection-settings.md#enable_dolphin_proto) | | | [enable_double_write](write-ahead-log/checkpoints.md#enable_double_write) | | | [enable_early_free](resource-consumption/memory.md#enable_early_free) | | -| [enable_event_trigger_a_mode](./miscellaneous-parameters.md#enable_event_trigger_a_mode) | | +| [enable_event_trigger_a_mode](./miscellaneous-parameters.md#enable_event_trigger_a_mode) | 5.0.1 | | [enable_expr_fusion](./query-planning/optimizer-method-configuration.md#enable_expr_fusion) | | | [enable_extrapolation_stats](query-planning/other-optimizer-options.md#enable_extrapolation_stats) | | | [enable_fast_allocate](resource-consumption/asynchronous-io-operations.md#enable_fast_allocate) | | @@ -336,7 +336,7 @@ date: 2023-04-07 | [enable_save_confirmed_lsn](./ha-replication/primary-server.md#enable_save_confirmed_lsn) | | | [enable_save_datachanged_timestamp](statistics-during-the-database-running/query-and-index-statistics-collector.md#enable_save_datachanged_timestamp) | | | [enable_security_policy](security-configuration.md#enable_security_policy) | | -| [enable_segment](./miscellaneous-parameters.md#enable_segment) | | +| [enable_segment](./miscellaneous-parameters.md#enable_segment) | 5.0.6 | | [enable_seqscan](query-planning/optimizer-method-configuration.md#enable_seqscan) | | | [enable_seqscan_fusion](./miscellaneous-parameters.md#enable_seqscan_fusion) | | | [enable_set_variables_b_format](version-and-platform-compatibility/platform-and-client-compatibility.md#enable_set_variables_b_format) | | @@ -353,9 +353,9 @@ date: 2023-04-07 | [enable_stream_replication](ha-replication/primary-server.md#enable_stream_replication) | | | [enable_tde](security-configuration.md#enable_tde) | | | [enable_thread_pool](thread-pool.md#enable_thread_pool) | | -| [enable_tidrangescan](./miscellaneous-parameters.md#enable_tidrangescan) | | +| [enable_tidrangescan](./miscellaneous-parameters.md#enable_tidrangescan) | 5.0.6 | | [enable_tidscan](query-planning/optimizer-method-configuration.md#enable_tidscan) | | -| [enable_time_report](write-ahead-log/log-replay.md#enable_time_report) | | +| [enable_time_report](write-ahead-log/log-replay.md#enable_time_report) | 5.0.2 - [日志回放性能增强](../../characteristic-description/high-performance/enhancement-of-wal-redo-performance.md) | | [enable_uheap_async_prefetch](thread-pool.md#enable_uheap_async_prefetch) | 5.0.8 - [顺序扫描预读](../../characteristic-description/high-performance/seqscan-prefetch.md) | | [enable_upgrade_merge_lock_mode](miscellaneous-parameters.md#enable_upgrade_merge_lock_mode) | | | [enable_user_metric_persisten](load-management.md#enable_user_metric_persistent) | | @@ -363,7 +363,7 @@ date: 2023-04-07 | [enable_valuepartition_pruning](query-planning/optimizer-method-configuration.md#enable_valuepartition_prunin) | | | [enable_vector_engine](query-planning/optimizer-method-configuration.md#enable_vector_engine) | | | [enable_wal_shipping_compression](ha-replication/sending-server.md#enable_wal_shipping_compression) | | -| [enable_walrcv_reply_dueto_commit](./write-ahead-log/log-replay.md#enable_walrcv_reply_dueto_commit) | | +| [enable_walrcv_reply_dueto_commit](./write-ahead-log/log-replay.md#enable_walrcv_reply_dueto_commit) | 5.0.2 | | [enable_wdr_snapshot](system-performance-snapshot.md#enable_wdr_snapshot) | | | [enable_xlog_prune](write-ahead-log/checkpoints.md#enable_xlog_prune) | | | [enableSeparationOfDuty](auditing/operation-audit.md#enableseparationofduty) | | @@ -382,12 +382,12 @@ date: 2023-04-07 | [FencedUDFMemoryLimit](guc-user-defined-functions.md#fencedudfmemorylimit) | | | [force_bitmapand](query-planning/optimizer-method-configuration.md#force_bitmapand) | | | [force_promote](write-ahead-log/settings.md#force_promote) | | -| [force_tidrangescan](./miscellaneous-parameters.md#force_tidrangescan) | | +| [force_tidrangescan](./miscellaneous-parameters.md#force_tidrangescan) | 5.0.6 | | [from_collapse_limit](query-planning/other-optimizer-options.md#from_collapse_limit) | | | [fsync](write-ahead-log/settings.md#fsync) | | | [full_audit_users](./auditing/user-and-permission-audit.md#full_audit_users) | | | [full_page_writes](write-ahead-log/settings.md#full_page_writes) | | -| [function_result_cache_max_mem](./miscellaneous-parameters.md#function_result_cache_max_mem) | 5.0.9 - [支持语句级Function Cache](../../characteristic-description/high-performance/plsql-function-cache.md) | +| [function_result_cache_max_mem](./miscellaneous-parameters.md#function_result_cache_max_mem) | 5.0.9 - [支持语句级Function Cache](../../characteristic-description/high-performance/plsql-function-cache.md) | | [geqo](query-planning/genetic-query-optimizer.md#geqo) | | | [geqo_effort](query-planning/genetic-query-optimizer.md#geqo_effort) | | | [geqo_generations](query-planning/genetic-query-optimizer.md#geqo_generations) | | @@ -406,9 +406,9 @@ date: 2023-04-07 | [hadr_recovery_point_target](./ha-replication/primary-server.md#hadr_recovery_point_target) | | | [hadr_recovery_time_target](./ha-replication/primary-server.md#hadr_recovery_time_target) | | | [hadr_super_user_record_path](./ha-replication/primary-server.md#hadr_super_user_record_path) | | -| [handle_toast_in_autovac](./automatic-vacuuming.md#handle_toast_in_autovac) | | -| [hash_agg_total_cost_ratio](./query-planning/optimizer-cost-constants.md#hash_agg_total_cost_ratio) | | -| [hash_join_total_cost_ratio](./query-planning/optimizer-cost-constants.md#hash_join_total_cost_ratio) | | +| [handle_toast_in_autovac](./automatic-vacuuming.md#handle_toast_in_autovac) | 5.0.6 | +| [hash_agg_total_cost_ratio](./query-planning/optimizer-cost-constants.md#hash_agg_total_cost_ratio) | 5.0.2 | +| [hash_join_total_cost_ratio](./query-planning/optimizer-cost-constants.md#hash_join_total_cost_ratio) | 5.0.2 | | [hashagg_table_size](query-planning/other-optimizer-options.md#hashagg_table_size) | | | [hba_file](file-location.md#hba_file) | | | [hll_default_expthresh](./HyperLogLog.md#hll_default_expthresh) | | @@ -423,7 +423,7 @@ date: 2023-04-07 | [hot_standby_feedback](ha-replication/standby-server.md#hot_standby_feedback) | | | [ident_file](file-location.md#ident_file) | | | [idle_in_transaction_session_timeout](connection-and-authentication/security-and-authentication.md#idle_in_transaction_session_timeout) | | -| [ifnull_all_return_text](./developer-options.md#ifnull_all_return_text) | | +| [ifnull_all_return_text](./developer-options.md#ifnull_all_return_text) | 5.0.3 | | [ignore_checksum_failure](developer-options.md#ignore_checksum_failure) | | | [ignore_system_indexes](developer-options.md#ignore_system_indexes) | | | [incremental_checkpoint_timeout](write-ahead-log/checkpoints.md#incremental_checkpoint_timeout) | | @@ -531,13 +531,13 @@ date: 2023-04-07 | [memory_tracking_mode](load-management.md#memory_tracking_mode) | | | [memorypool_enable](resource-consumption/memory.md#memorypool_enable) | | | [memorypool_size](resource-consumption/memory.md#memorypool_size) | | -| [merge_join_total_cost_ratio](./query-planning/optimizer-cost-constants.md#merge_join_total_cost_ratio) | | +| [merge_join_total_cost_ratio](./query-planning/optimizer-cost-constants.md#merge_join_total_cost_ratio) | 5.0.2 | | [min_table_block_num_enable_ios](thread-pool.md#min_table_block_num_enable_ios) | 5.0.8 - [顺序扫描预读](../../characteristic-description/high-performance/seqscan-prefetch.md) | | [min_uheap_table_block_num_enable_ios](thread-pool.md#min_uheap_table_block_num_enable_ios) | 5.0.8 - [顺序扫描预读](../../characteristic-description/high-performance/seqscan-prefetch.md) | | [modify_initial_password](connection-and-authentication/security-and-authentication.md#modify_initial_password) | | | [most_available_sync](ha-replication/primary-server.md#most_available_sync) | | | [multi_stats_type](./AI-features.md#multi_stats_type) | | -| [nestloop_total_cost_ratio](./query-planning/optimizer-cost-constants.md#nestloop_total_cost_ratio) | | +| [nestloop_total_cost_ratio](./query-planning/optimizer-cost-constants.md#nestloop_total_cost_ratio) | 5.0.2 | | [ngram_gram_size](query-planning/other-optimizer-options.md#ngram_gram_size) | | | [ngram_grapsymbol_ignore](query-planning/other-optimizer-options.md#ngram_grapsymbol_ignore) | | | [ngram_punctuation_ignore](query-planning/other-optimizer-options.md#ngram_punctuation_ignore) | | @@ -553,9 +553,9 @@ date: 2023-04-07 | [ora_dblink_col_case_sensitive](./version-and-platform-compatibility/platform-and-client-compatibility.md#ora_dblink_col_case_sensitive) | | | [pagewriter_sleep](resource-consumption/background-writer.md#pagewriter_sleep) | | | [pagewriter_thread_num](resource-consumption/background-writer.md#pagewriter_thread_num) | | -| [parallel_recovery_batch](write-ahead-log/log-replay.md#parallel_recovery_batch) | | -| [parallel_recovery_dispatch_algorithm](write-ahead-log/log-replay.md#parallel_recovery_dispatch_algorithm) | | -| [parallel_recovery_timeout](write-ahead-log/log-replay.md#parallel_recovery_timeout) | | +| [parallel_recovery_batch](write-ahead-log/log-replay.md#parallel_recovery_batch) | 5.0.2 - [日志回放性能增强](../../characteristic-description/high-performance/enhancement-of-wal-redo-performance.md) | +| [parallel_recovery_dispatch_algorithm](write-ahead-log/log-replay.md#parallel_recovery_dispatch_algorithm) | 5.0.2 - [日志回放性能增强](../../characteristic-description/high-performance/enhancement-of-wal-redo-performance.md) | +| [parallel_recovery_timeout](write-ahead-log/log-replay.md#parallel_recovery_timeout) | 5.0.2 - [日志回放性能增强](../../characteristic-description/high-performance/enhancement-of-wal-redo-performance.md) | | [parallel_scan_gap](thread-pool.md#parallel_scan_gap) | 5.0.8 - [顺序扫描预读](../../characteristic-description/high-performance/seqscan-prefetch.md) | | [partition_lock_upgrade_timeout](lock-management.md#partition_lock_upgrade_timeout) | | | [partition_max_cache_size](./data-import-export.md#partition_max_cache_size) | | @@ -579,7 +579,7 @@ date: 2023-04-07 | [perf_directory](./query.md#perf_directory) | | | [pgxc_node_name](MogDB-transaction.md#pgxc_node_name) | | | [plan_cache_mode](query-planning/other-optimizer-options.md#plan_cache_mode) | | -| [plan_cache_type_validation](./miscellaneous-parameters.md#plan_cache_type_validation) | | +| [plan_cache_type_validation](./miscellaneous-parameters.md#plan_cache_type_validation) | 5.0.2 | | [plan_mode_seed](query-planning/other-optimizer-options.md#plan_mode_seed) | | | [pldebugger_timeout](developer-options.md#pldebugger_timeout) | | | [pljava_vmoptions](guc-user-defined-functions.md#pljava_vmoptions) | | @@ -651,8 +651,8 @@ date: 2023-04-07 | [show_fdw_remote_plan](./query-planning/other-optimizer-options.md#show_fdw_remote_plan) | | | [skew_option](query-planning/optimizer-method-configuration.md#skew_option) | | | [smp_thread_cost](./query-planning/optimizer-cost-constants.md#smp_thread_cost) | | -| [sort_agg_total_cost_ratio](./query-planning/optimizer-cost-constants.md#sort_agg_total_cost_ratio) | | -| [sort_key_pruning_level](query-planning/other-optimizer-options.md#sort_key_pruning_level) | | +| [sort_agg_total_cost_ratio](./query-planning/optimizer-cost-constants.md#sort_agg_total_cost_ratio) | 5.0.2 | +| [sort_key_pruning_level](query-planning/other-optimizer-options.md#sort_key_pruning_level) | 5.0.6 | | [sql_beta_feature](query-planning/other-optimizer-options.md#sql_beta_feature) | | | [sql_compatibility](version-and-platform-compatibility/platform-and-client-compatibility.md#sql_compatibility) | | | [sql_ignore_strategy](miscellaneous-parameters.md#sql_ignore_strategy) | | diff --git a/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/miscellaneous-parameters.md b/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/miscellaneous-parameters.md index 212ca237..33fe18a2 100644 --- a/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/miscellaneous-parameters.md +++ b/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/miscellaneous-parameters.md @@ -69,7 +69,7 @@ date: 2021-04-20 **参数说明**:报告服务器版本号(整数形式)。 -该参数属于INTERNAL类型参数,为固定参数,用户无法修改此参数,只能查看。该参数为MogDB版本的整数形式,再将末位换成0可得。如果MogDB的版本为3.1.1,那么这个参数的值为30100。 +该参数属于INTERNAL类型参数,为固定参数,用户无法修改此参数,只能查看。该参数继承自PostgreSQL内核,表示当前数据库内核兼容PostgreSQL对应的server_version_num版本,无实际含义,为保持北向对外工具接口的生态兼容性(工具连接时查询),保留该参数。 **取值范围**:整数 diff --git a/product/zh/docs-mogdb/v6.0/reference-guide/guc-parameters/miscellaneous-parameters.md b/product/zh/docs-mogdb/v6.0/reference-guide/guc-parameters/miscellaneous-parameters.md index d4e39e29..e09b7901 100644 --- a/product/zh/docs-mogdb/v6.0/reference-guide/guc-parameters/miscellaneous-parameters.md +++ b/product/zh/docs-mogdb/v6.0/reference-guide/guc-parameters/miscellaneous-parameters.md @@ -59,7 +59,7 @@ date: 2021-04-20 **参数说明**:报告服务器版本号(整数形式)。 -该参数属于INTERNAL类型参数,为固定参数,用户无法修改此参数,只能查看。该参数为MogDB版本的整数形式,再将末位换成0可得。如果MogDB的版本为3.1.1,那么这个参数的值为30100。 +该参数属于INTERNAL类型参数,为固定参数,用户无法修改此参数,只能查看。该参数继承自PostgreSQL内核,表示当前数据库内核兼容PostgreSQL对应的server_version_num版本,无实际含义,为保持北向对外工具接口的生态兼容性(工具连接时查询),保留该参数。 **取值范围**:整数 -- Gitee From cd9595de61de6cbd958919276a900126002b4782 Mon Sep 17 00:00:00 2001 From: spaceoddity91719 Date: Mon, 11 Nov 2024 15:09:12 +0800 Subject: [PATCH 2/3] =?UTF-8?q?update(mogdb):=E7=BA=AFinsert=E8=A1=A8?= =?UTF-8?q?=E6=94=AF=E6=8C=81autovacuum=E6=B7=BB=E5=8A=A0=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md | 2 +- .../reference-guide/guc-parameters/automatic-vacuuming.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md b/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md index d152f242..6a4c2f4d 100644 --- a/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md +++ b/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md @@ -35,7 +35,7 @@ MogDB 5.0.9是MogDB 5.0.0的补丁版本,于2024-10-31发布,其在MogDB 5.0 5. 【9296】修复了在针对超过10GB的大表,对变长字段进行单列排序之后进行查询操作,会导致内存溢出问题。 -6. 【6889】修复了针对纯INSERT的表没做autovacuum问题。 +6. 【6889】修复了针对纯INSERT的表没做autovacuum问题。**相关页面**:[autovacuum_vacuum_insert_threshold、autovacuum_vacuum_insert_scale_factor](../../reference-guide/guc-parameters/automatic-vacuuming.md#autovacuum_vacuum_insert_threshold) 7. 【6740】修复了在调用SELECT * FROM pg_logical_slot_peek_changes('xxx_slot',NULL,1024,'include-timestamp','1','skip-empty-xacts','1');会导致内存堆积的问题。 diff --git a/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/automatic-vacuuming.md b/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/automatic-vacuuming.md index 90794811..8a25520b 100644 --- a/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/automatic-vacuuming.md +++ b/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/automatic-vacuuming.md @@ -221,7 +221,7 @@ date: 2021-04-20 **默认值**:1000 -**其他说明**:该参数的优先级低于表的存储参数autovacuum_vacuum_insert_threshold +**其他说明**:该参数的优先级低于[CREATE TABLE](../sql-syntax/CREATE-TABLE.md)和[ALTER TABLE](../sql-syntax/ALTER-TABLE.md)的存储参数autovacuum_vacuum_insert_threshold。 ## autovacuum_vacuum_insert_scale_factor @@ -233,8 +233,8 @@ date: 2021-04-20 **默认值**:0.2 -**其他说明**:该参数的优先级低于表的存储参数autovacuum_vacuum_insert_scale_factor +**其他说明**:该参数的优先级低于[CREATE TABLE](../sql-syntax/CREATE-TABLE.md)和[ALTER TABLE](../sql-syntax/ALTER-TABLE.md)的存储参数autovacuum_vacuum_insert_scale_factor。 > **说明**: > -> 触发对只插入表的autovacuum的判断依据为:n_insert_since_vacuum > autovacuum_vacuum_insert_threshold + reltuples * autovacuum_vacuum_insert_scale_factor,其中,n_insert_since_vacuum表示上次autovacuum之后,新插入的记录数;reltuples表示表中总的记录数,取自pg_class中的reltuples字段,非实时更新。 \ No newline at end of file +> 触发对只插入表的autovacuum的判断依据为:n_insert_since_vacuum > autovacuum_vacuum_insert_threshold + reltuples * autovacuum_vacuum_insert_scale_factor,其中,[n_insert_since_vacuum](../system-catalogs-and-system-views/system-views/PG_STAT_ALL_TABLES.md)表示上次autovacuum之后,新插入的记录数;reltuples表示表中总的记录数,取自pg_class中的reltuples字段,非实时更新。 \ No newline at end of file -- Gitee From d810ffc631b00e7f173b728cf91e8a112fa44ffe Mon Sep 17 00:00:00 2001 From: spaceoddity91719 Date: Mon, 11 Nov 2024 16:25:32 +0800 Subject: [PATCH 3/3] update(mogdb):509 eng --- .../about-mogdb/mogdb-new-feature/5.0.9.md | 68 ++++++++++++++ .../mogdb-new-feature/release-note.md | 1 + .../characteristic-description-overview.md | 1 + .../enhancement-of-wal-redo-performance.md | 2 +- .../high-performance/high-performance.md | 3 +- .../high-performance/plsql-function-cache.md | 88 +++++++++++++++++++ .../guc-parameters/automatic-vacuuming.md | 28 ++++++ .../guc-parameters/guc-parameter-list.md | 44 +++++----- .../miscellaneous-parameters.md | 22 ++++- .../reference-guide/sql-syntax/ALTER-TABLE.md | 12 +++ .../sql-syntax/CREATE-TABLE.md | 12 +++ .../system-views/PG_STAT_ALL_TABLES.md | 49 ++++++----- .../system-views/PG_STAT_USER_TABLES.md | 49 ++++++----- product/en/docs-mogdb/v5.0/toc.md | 2 + product/en/docs-mogdb/v5.0/toc_about.md | 1 + .../v5.0/toc_characteristic_description.md | 1 + .../about-mogdb/mogdb-new-feature/5.0.9.md | 2 + .../characteristic-description-overview.md | 3 +- 18 files changed, 316 insertions(+), 72 deletions(-) create mode 100644 product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md create mode 100644 product/en/docs-mogdb/v5.0/characteristic-description/high-performance/plsql-function-cache.md diff --git a/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md b/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md new file mode 100644 index 00000000..1830836b --- /dev/null +++ b/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md @@ -0,0 +1,68 @@ +--- +title: MogDB 5.0.9 +summary: MogDB 5.0.9 +author: Guo Huan +date: 2024-10-31 +--- + +# MogDB 5.0.9 + +## 1. Version Description + +MogDB 5.0.9 is a patch version of MogDB 5.0.0, released on 2024-10-31. It adds a new feature and fixes some defects based on MogDB 5.0.8, with the following details: + +
+ +## 2. New Features + +### Statement Level PLSQL Function Cache Support + +When executing a query, if the statement contains a PLSQL function, the execution of the function will take up a lot of time. If the function is stable/immutable and the function parameters are repeated, caching the result can greatly improve the query efficiency. + +This feature supports that in the process of SQL execution, for the first time encountered parameters of stable/immutable type function, the result will be put into cache after calculation, and then if the same parameters are encountered, the result can be taken out from cache directly, which can save the calculation process and improve the query performance. + +**Related Page**: [Statement Level PLSQL Function Cache Support](../../characteristic-description/high-performance/plsql-function-cache.md) + +
+ +## 3. Defect Fixes + +1. [9464] Fixed a low probability downtime issue due to inappropriate handling of the guc parameter when comparing because of the occurrence of the name NULL scenario. + +2. [9431] Fixed the issue that queries with fetchsize are not automatically committed after select-o auto-transaction commit is enabled. + +3. [9355] Fixed the issue that MogDB will fail to upgrade again after helicoptering from MogDB 3.0.x to MogDB 5.0.7 and later and performing a rollback operation during the upgrade. + +4. [9178] Fix a bug that MogDB will go down when creating a partition table, creating a function, creating a trigger, inserting at least 256M data, and performing an update operation after the compression is completed. + +5. [9296] Fix a memory overflow issue when querying a large table with more than 10GB of variable-length fields after single-column sorting. + +6. [6889] Fix the problem that autovacuum is not done for INSERT-only tables. + + **Related Page**: [autovacuum_vacuum_insert_threshold, autovacuum_vacuum_insert_scale_factor](../../reference-guide/guc-parameters/automatic-vacuuming.md#autovacuum_vacuum_insert_threshold) + +7. [6740] Fixed memory buildup in calls to SELECT * FROM pg_logical_slot_peek_changes('xxx_slot',NULL,1024,'include-timestamp','1','skip-empty-xacts','1'); which would result in memory buildup. issue. + +8. [6130] Fixed the issue that executing insert operation on partitioned table while executing vacuum full leads to deadlock. + +9. [5642] Fixed the issue that using aggregate function will report error when the result set of order by is empty in B mode. + +10. [6357] Fix the issue that after gs_dump exports data, some tables cannot be restored due to the B-mode does not support default(-1) way to set the default value of columns. + +11. [6472] Fix the issue that the amount of data queried in parallel is inconsistent with the amount of data queried out serially when querying data using indexes in descending order with ustore scenario enabled. + +12. [6785] Fix the problem that querying data with low probability after modifying the default values of columns under b-bank will lead to database downtime. + +13. [6048] Fixed a security vulnerability that allowed authenticated database users to execute arbitrary code due to lack of overflow checking during SQL array value modification. + +14. [5825] Fixed an issue where gs_dump reports an error when exporting tables with self-incrementing primary keys after renaming the user and schema. + +15. [6166] Fix the issue that gs_probackup does not report error reasonably when specifying the wrong format of j parameter, j=0, during backup. + +16. [9081] Fix the problem that after enabling char_coerce_compat parameter, the length of nvarchar2 type is judged in a wrong way. + +17. [9122] Fix the problem of case sensitivity when gs_dump supports package, type, trigger export. + +18. [9267] Fix the problem of inconsistency of data types returned by union all versions in dolphin. + +19. [9453] Fix the problem that select current_schema() is not supported in B-compatible mode. \ No newline at end of file diff --git a/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md b/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md index 88b811ea..07093663 100644 --- a/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md +++ b/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md @@ -9,6 +9,7 @@ date: 2022-09-27 | Version | Release Date | Overview | | ------------------- | ------------ | ------------------------------------------------------------ | +| [5.0.9](./5.0.9.md) | 2024/10/31 | Building upon the MogDB 5.0.8, MogDB 5.0.9 fixed some bugs and added support for statement-level PLSQL Function Cache. | | [5.0.8](./5.0.8.md) | 2024/07/31 | MogDB 5.0.8 builds upon the previous version 5.0.7 by addressing key defects and introducing new features such as sequential scan pre-fetching and SMP parallel execution for UStore. Additionally, this release has made significant enhancements in compatibility, performance, and usability. | | [5.0.7](./5.0.7.md) | 2024/05/30 | MogDB 5.0.7 fixed some defects based on MogDB 5.0.6. | | [5.0.6](./5.0.6.md) | 2024/03/30 | Building upon the MogDB 5.0.5 version, MogDB 5.0.6 not only rectified a range of defects but also introduced a suite of new features, including the commercial utilization of the Ustore storage engine, automatic commit for SELECT statements, and significant performance enhancements for import and export functions. Moreover, this version has seen comprehensive improvements in compatibility, performance, and ease of use. | diff --git a/product/en/docs-mogdb/v5.0/characteristic-description/characteristic-description-overview.md b/product/en/docs-mogdb/v5.0/characteristic-description/characteristic-description-overview.md index 0cda3b91..0231496e 100644 --- a/product/en/docs-mogdb/v5.0/characteristic-description/characteristic-description-overview.md +++ b/product/en/docs-mogdb/v5.0/characteristic-description/characteristic-description-overview.md @@ -33,6 +33,7 @@ MogDB 5.0 has the following characteristics. + [Enhancement of Dirty Pages Flushing Performance](./high-performance/enhancement-of-dirty-pages-flushing-performance.md) + [Sequential Scan Prefetch](./high-performance/seqscan-prefetch.md) + [Ustore SMP Parallel Scanning](./high-performance/ustore-smp.md) + + [Statement Level PLSQL Function Cache Support](./high-performance/plsql-function-cache.md) + High Availability (HA) + [Primary/Standby](./high-availability/1-primary-standby.md) + [Logical Replication](./high-availability/2-logical-replication.md) diff --git a/product/en/docs-mogdb/v5.0/characteristic-description/high-performance/enhancement-of-wal-redo-performance.md b/product/en/docs-mogdb/v5.0/characteristic-description/high-performance/enhancement-of-wal-redo-performance.md index b21faf28..1e2d1933 100644 --- a/product/en/docs-mogdb/v5.0/characteristic-description/high-performance/enhancement-of-wal-redo-performance.md +++ b/product/en/docs-mogdb/v5.0/characteristic-description/high-performance/enhancement-of-wal-redo-performance.md @@ -5,7 +5,7 @@ author: zhang cuiping date: 2023-10-07 --- -# Enhancement of WAL Redo Performance +# Enhancement of WAL Redo Performance ## Availability diff --git a/product/en/docs-mogdb/v5.0/characteristic-description/high-performance/high-performance.md b/product/en/docs-mogdb/v5.0/characteristic-description/high-performance/high-performance.md index 9640c456..9c14c917 100644 --- a/product/en/docs-mogdb/v5.0/characteristic-description/high-performance/high-performance.md +++ b/product/en/docs-mogdb/v5.0/characteristic-description/high-performance/high-performance.md @@ -30,4 +30,5 @@ date: 2023-05-22 + **[Enhancement of WAL Redo Performance](enhancement-of-wal-redo-performance.md)** + **[Enhancement of Dirty Pages Flushing Performance](enhancement-of-dirty-pages-flushing-performance.md)** + **[Sequential Scan Prefetch](seqscan-prefetch.md)** -+ **[Ustore SMP Parallel Scanning](ustore-smp.md)** \ No newline at end of file ++ **[Ustore SMP Parallel Scanning](ustore-smp.md)** ++ **[Statement Level PLSQL Function Cache Support](plsql-function-cache.md)** \ No newline at end of file diff --git a/product/en/docs-mogdb/v5.0/characteristic-description/high-performance/plsql-function-cache.md b/product/en/docs-mogdb/v5.0/characteristic-description/high-performance/plsql-function-cache.md new file mode 100644 index 00000000..deedb9c5 --- /dev/null +++ b/product/en/docs-mogdb/v5.0/characteristic-description/high-performance/plsql-function-cache.md @@ -0,0 +1,88 @@ +--- +title: Statement Level PLSQL Function Cache Support +author: Guo Huan 谢海滨 +date: 2024-11-01 +--- + +# Statement Level PLSQL Function Cache Support + +## Availability + +This feature is available since MogDB 5.0.9. + +## Introduction + +This feature supports caching the results of stable/immutable type functions, increase query performance by more than 10 times in scenarios with low base. + +## Description + +When executing a query, if the statement contains a PLSQL function, the execution of the function will take up a lot of time. If the function is stable/immutable and the function parameters are repeated, caching the result can greatly improve the query efficiency. + +This feature supports that in the process of SQL execution, for the first time encountered parameters of stable/immutable type function, the result will be put into cache after calculation, and then if the same parameters are encountered, the result can be taken out from cache directly, which can save the calculation process and improve the query performance. + +## Parameters + +- Add USERSET type GUC parameter enable_cache_function_result to control whether caching is enabled or not, default value is off. + + Value range: on/off + + Default value: off + +- Add USERSET type GUC parameter function_result_cache_max_mem, control the maximum memory size in kilobytes that can be used by the cache. + + Value range: 1024 ~ INT_MAX + + Default value: 16*1024 + +## Constraints + +1. Cacheable function condition: + - Functions need to be of type stable/immutable. + - Arguments and results of the function cannot contain the type set. + - Scenarios with out parameter in plsql are not supported. + - Supports all function types except for buildin, including c/sql/java/plsql functions etc. +2. To determine whether the results in the cache can be reused, the following conditions need to be met: + - The function oid is the same. + - The function needs to have the same number of arguments as well as the same type. +3. For a query of the type select foo(), the results will not be cached as they will only be used once. +4. If a query contains both cacheable and non-cacheable functions, the cacheable function is still cached. +5. Function cache results are only valid at the query level. +6. In a parallel scenario, each worker has its own cache, which is not shared. + +## Example + +```SQL +CREATE TABLE t_plsql_cache(a int, b varchar); +INSERT INTO t_plsql_cache VALUES (generate_series(1, 10000)/3, (generate_series(1, 10000)/3)::int::varchar); +CREATE OR REPLACE FUNCTION is_even(a int) +RETURNS int +LANGUAGE 'plpgsql' +IMMUTABLE +AS $$ +BEGIN + RETURN a%2 = 0; +END; +$$; + +MogDB=# explain analyze select sum(is_even(a)) from t_plsql_cache; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------- + Aggregate (cost=2677.00..2677.01 rows=1 width=12) (actual time=873.801..873.801 rows=1 loops=1) + -> Seq Scan on t_plsql_cache (cost=0.00..152.00 rows=10000 width=4) (actual time=0.023..4.404 rows=10000 loops=1) + Total runtime: 873.917 ms +(3 rows) + +MogDB=# set enable_cache_function_result= true; +SET +MogDB=# explain analyze select sum(is_even(a)) from t_plsql_cache; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------- + Aggregate (cost=2677.00..2677.01 rows=1 width=12) (actual time=291.390..291.390 rows=1 loops=1) + -> Seq Scan on t_plsql_cache (cost=0.00..152.00 rows=10000 width=4) (actual time=0.019..2.455 rows=10000 loops=1) + Total runtime: 291.550 ms +(3 rows) +``` + +## Related Pages + +[enable_cache_function_result](../../reference-guide/guc-parameters/miscellaneous-parameters.md#enable_cache_function_result), [function_result_cache_max_mem](../../reference-guide/guc-parameters/miscellaneous-parameters.md#function_result_cache_max_mem) \ No newline at end of file diff --git a/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/automatic-vacuuming.md b/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/automatic-vacuuming.md index 53eab0f4..d7d149d1 100644 --- a/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/automatic-vacuuming.md +++ b/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/automatic-vacuuming.md @@ -198,3 +198,31 @@ This parameter is a SIGHUP parameter. Set it based on instructions provided in T - off means to disable processing of the toast table by the automatic VACUUM operation. **Default value**: off + +## autovacuum_vacuum_insert_threshold + +**Parameter description**: Sets the threshold for triggering autovacuum for insert-only tables. When the number of newly inserted rows in a table exceeds the set threshold, autovacuum will be triggered for that table. + +This parameter is a SIGHUP parameter. Set it based on instructions provided in Table 2 [Methods for setting GUC parameters](appendix.md). + +**Value range**: an integer ranging from -1 to 2147483647, -1 means disable autovacuum for insert-only tables. + +**Default value**: 1000 + +**Remarks**: This parameter has a lower priority than the storage parameter autovacuum_vacuum_insert_threshold for [CREATE TABLE](../sql-syntax/CREATE-TABLE.md) and [ALTER TABLE](../sql-syntax/ALTER-TABLE.md). + +## autovacuum_vacuum_insert_scale_factor + +**Parameter description**: Sets the scaling factor for the table size that is increased to autovacuum_vacuum_insert_threshold when an insert-only table triggers autovacuum. + +This parameter is a SIGHUP parameter. Set it based on instructions provided in Table 2 [Methods for setting GUC parameters](appendix.md). + +**Value range**: a floating point number ranging from 0 to 100 + +**Default value**: 0.2 + +**Remarks**: This parameter has a lower priority than the storage parameter autovacuum_vacuum_insert_scale_factor for [CREATE TABLE](../sql-syntax/CREATE-TABLE.md) and [ALTER TABLE](../sql-syntax/ALTER-TABLE.md). + +> **Note**: +> +> Triggering an autovacuum on an insert-only table is based on n_insert_since_vacuum > autovacuum_vacuum_insert_threshold + reltuples * autovacuum_vacuum_insert_scale_factor, where [n_insert_since_vacuum](../system-catalogs-and-system-views/system-views/PG_STAT_ALL_TABLES.md) represents the number of new inserts since the last autovacuum; reltuples represents the total number of rows in the table, taken from pg_class, which is not updated in real time. diff --git a/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/guc-parameter-list.md b/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/guc-parameter-list.md index 297f8bcc..7f113cde 100644 --- a/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/guc-parameter-list.md +++ b/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/guc-parameter-list.md @@ -80,6 +80,8 @@ date: 2022-05-26 | [autovacuum_naptime](automatic-vacuuming.md#autovacuum_naptime) | | | [autovacuum_vacuum_cost_delay](automatic-vacuuming.md#autovacuum_vacuum_cost_delay) | | | [autovacuum_vacuum_cost_limit](automatic-vacuuming.md#autovacuum_vacuum_cost_limit) | | +| [autovacuum_vacuum_insert_scale_factor](automatic-vacuuming.md#autovacuum_vacuum_insert_scale_factor) | 5.0.9 - INSERT-only table supports autovacuum | +| [autovacuum_vacuum_insert_threshold](automatic-vacuuming.md#autovacuum_vacuum_insert_threshold) | 5.0.9 - INSERT-only table supports autovacuum | | [autovacuum_vacuum_scale_factor](automatic-vacuuming.md#autovacuum_vacuum_scale_factor) | | | [autovacuum_vacuum_threshold](automatic-vacuuming.md#autovacuum_vacuum_threshold) | | | [available_zone](ha-replication/sending-server.md#available_zone) | | @@ -227,7 +229,7 @@ date: 2022-05-26 | [elastic_search_ip_addr](security-configuration.md#elastic_search_ip_addr) | | | [emit_illegal_bind_chars](miscellaneous-parameters.md#emit_illegal_bind_chars) | 5.0.2 - [Error When Writing Illegal Characters](../../characteristic-description/maintainability/error-when-writing-illegal-characters.md) | | [enable_absolute_tablespace](query-planning/optimizer-method-configuration.md#enable_absolute_tablespace) | | -| [enable_accept_empty_str](./query-planning/other-optimizer-options.md#enable_accept_empty_str) | | +| [enable_accept_empty_str](./query-planning/other-optimizer-options.md#enable_accept_empty_str) | 5.0.6 | | [enable_access_server_directory](auditing/operation-audit.md#enable_access_server_directory) | | | [enable_adaptive_hashagg](./query-planning/optimizer-method-configuration.md#enable_adaptive_hashagg) | | | [enable_adio_debug](resource-consumption/asynchronous-io-operations.md#enable_adio_debug) | | @@ -240,7 +242,7 @@ date: 2022-05-26 | [enable_auto_explain](query-planning/other-optimizer-options.md#enable_auto_explain) | | | [enable_availablezone](./ha-replication/sending-server.md#enable_availablezone) | | | [enable_backend_compress](./backend-compression.md#enable_backend_compress) | | -| [enable_batch_dispatch](write-ahead-log/log-replay.md#enable_batch_dispatch) | | +| [enable_batch_dispatch](write-ahead-log/log-replay.md#enable_batch_dispatch) | 5.0.2 - [Enhancement of WAL Redo Performance](../../characteristic-description/high-performance/enhancement-of-wal-redo-performance.md) | | [enable_bbox_dump](load-management.md#enable_bbox_dump) | | | [enable_beta_features](version-and-platform-compatibility/compatibility-with-earlier-versions.md#enable_beta_features) | | | [enable_beta_opfusion](developer-options.md#enable_beta_opfusion) | | @@ -248,6 +250,7 @@ date: 2022-05-26 | [enable_bloom_filter](query-planning/other-optimizer-options.md#enable_bloom_filter) | | | [enable_broadcast](./query-planning/optimizer-method-configuration.md#enable_broadcast) | | | [enable_cachedplan_mgr](./AI-features.md#enable_cachedplan_mgr) | | +| [enable_cache_function_result](./miscellaneous-parameters.md#enable_cache_function_result) | 5.0.9 - [Statement Level PLSQL Function Cache Support](../../characteristic-description/high-performance/plsql-function-cache.md) | | [enable_cbm_tracking](backup-and-restoration-parameter.md#enable_cbm_tracking) | | | [enable_change_hjcost](query-planning/optimizer-method-configuration.md#enable_change_hjcost) | | | [enable_codegen](query-planning/other-optimizer-options.md#enable_codegen) | | @@ -274,7 +277,7 @@ date: 2022-05-26 | [enable_dolphin_proto](./connection-and-authentication/connection-settings.md#enable_dolphin_proto) | | | [enable_double_write](write-ahead-log/checkpoints.md#enable_double_write) | | | [enable_early_free](resource-consumption/memory.md#enable_early_free) | | -| [enable_event_trigger_a_mode](./miscellaneous-parameters.md#enable_event_trigger_a_mode) | | +| [enable_event_trigger_a_mode](./miscellaneous-parameters.md#enable_event_trigger_a_mode) | 5.0.1 | | [enable_expr_fusion](./query-planning/optimizer-method-configuration.md#enable_expr_fusion) | | | [enable_extrapolation_stats](query-planning/other-optimizer-options.md#enable_extrapolation_stats) | | | [enable_fast_allocate](resource-consumption/asynchronous-io-operations.md#enable_fast_allocate) | | @@ -333,7 +336,7 @@ date: 2022-05-26 | [enable_save_confirmed_lsn](./ha-replication/primary-server.md#enable_save_confirmed_lsn) | | | [enable_save_datachanged_timestamp](statistics-during-the-database-running/query-and-index-statistics-collector.md#enable_save_datachanged_timestamp) | | | [enable_security_policy](security-configuration.md#enable_security_policy) | | -| [enable_segment](./miscellaneous-parameters.md#enable_segment) | | +| [enable_segment](./miscellaneous-parameters.md#enable_segment) | 5.0.6 | | [enable_seqscan](query-planning/optimizer-method-configuration.md#enable_seqscan) | | | [enable_seqscan_fusion](./miscellaneous-parameters.md#enable_seqscan_fusion) | | | [enable_set_variables_b_format](version-and-platform-compatibility/platform-and-client-compatibility.md#enable_set_variables_b_format) | | @@ -350,9 +353,9 @@ date: 2022-05-26 | [enable_stream_replication](ha-replication/primary-server.md#enable_stream_replication) | | | [enable_tde](security-configuration.md#enable_tde) | | | [enable_thread_pool](thread-pool.md#enable_thread_pool) | | -| [enable_tidrangescan](./miscellaneous-parameters.md#enable_tidrangescan) | | +| [enable_tidrangescan](./miscellaneous-parameters.md#enable_tidrangescan) | 5.0.6 | | [enable_tidscan](query-planning/optimizer-method-configuration.md#enable_tidscan) | | -| [enable_time_report](write-ahead-log/log-replay.md#enable_time_report) | | +| [enable_time_report](write-ahead-log/log-replay.md#enable_time_report) | 5.0.2 - [Enhancement of WAL Redo Performance](../../characteristic-description/high-performance/enhancement-of-wal-redo-performance.md) | | [enable_uheap_async_prefetch](thread-pool.md#enable_uheap_async_prefetch) | 5.0.8 - [Sequential Scan Prefetch](../../characteristic-description/high-performance/seqscan-prefetch.md) | | [enable_upgrade_merge_lock_mode](miscellaneous-parameters.md#enable_upgrade_merge_lock_mode) | | | [enable_user_metric_persisten](load-management.md#enable_user_metric_persistent) | | @@ -360,7 +363,7 @@ date: 2022-05-26 | [enable_valuepartition_pruning](query-planning/optimizer-method-configuration.md#enable_valuepartition_prunin) | | | [enable_vector_engine](query-planning/optimizer-method-configuration.md#enable_vector_engine) | | | [enable_wal_shipping_compression](ha-replication/sending-server.md#enable_wal_shipping_compression) | | -| [enable_walrcv_reply_dueto_commit](./write-ahead-log/log-replay.md#enable_walrcv_reply_dueto_commit) | | +| [enable_walrcv_reply_dueto_commit](./write-ahead-log/log-replay.md#enable_walrcv_reply_dueto_commit) | 5.0.2 | | [enable_wdr_snapshot](system-performance-snapshot.md#enable_wdr_snapshot) | | | [enable_xlog_prune](write-ahead-log/checkpoints.md#enable_xlog_prune) | | | [enableSeparationOfDuty](auditing/operation-audit.md#enableseparationofduty) | | @@ -379,11 +382,12 @@ date: 2022-05-26 | [FencedUDFMemoryLimit](guc-user-defined-functions.md#fencedudfmemorylimit) | | | [force_bitmapand](query-planning/optimizer-method-configuration.md#force_bitmapand) | | | [force_promote](write-ahead-log/settings.md#force_promote) | | -| [force_tidrangescan](./miscellaneous-parameters.md#force_tidrangescan) | | +| [force_tidrangescan](./miscellaneous-parameters.md#force_tidrangescan) | 5.0.6 | | [from_collapse_limit](query-planning/other-optimizer-options.md#from_collapse_limit) | | | [fsync](write-ahead-log/settings.md#fsync) | | | [full_audit_users](./auditing/user-and-permission-audit.md#full_audit_users) | | | [full_page_writes](write-ahead-log/settings.md#full_page_writes) | | +| [function_result_cache_max_mem](./miscellaneous-parameters.md#function_result_cache_max_mem) | 5.0.9 - [Statement Level PLSQL Function Cache Support](../../characteristic-description/high-performance/plsql-function-cache.md) | | [geqo](query-planning/genetic-query-optimizer.md#geqo) | | | [geqo_effort](query-planning/genetic-query-optimizer.md#geqo_effort) | | | [geqo_generations](query-planning/genetic-query-optimizer.md#geqo_generations) | | @@ -402,9 +406,9 @@ date: 2022-05-26 | [hadr_recovery_point_target](./ha-replication/primary-server.md#hadr_recovery_point_target) | | | [hadr_recovery_time_target](./ha-replication/primary-server.md#hadr_recovery_time_target) | | | [hadr_super_user_record_path](./ha-replication/primary-server.md#hadr_super_user_record_path) | | -| [handle_toast_in_autovac](./automatic-vacuuming.md#handle_toast_in_autovac) | | -| [hash_agg_total_cost_ratio](./query-planning/optimizer-cost-constants.md#hash_agg_total_cost_ratio) | | -| [hash_join_total_cost_ratio](./query-planning/optimizer-cost-constants.md#hash_join_total_cost_ratio) | | +| [handle_toast_in_autovac](./automatic-vacuuming.md#handle_toast_in_autovac) | 5.0.6 | +| [hash_agg_total_cost_ratio](./query-planning/optimizer-cost-constants.md#hash_agg_total_cost_ratio) | 5.0.2 | +| [hash_join_total_cost_ratio](./query-planning/optimizer-cost-constants.md#hash_join_total_cost_ratio) | 5.0.2 | | [hashagg_table_size](query-planning/other-optimizer-options.md#hashagg_table_size) | | | [hba_file](file-location.md#hba_file) | | | [hll_default_expthresh](./HyperLogLog.md#hll_default_expthresh) | | @@ -419,7 +423,7 @@ date: 2022-05-26 | [hot_standby_feedback](ha-replication/standby-server.md#hot_standby_feedback) | | | [ident_file](file-location.md#ident_file) | | | [idle_in_transaction_session_timeout](connection-and-authentication/security-and-authentication.md#idle_in_transaction_session_timeout) | | -| [ifnull_all_return_text](./developer-options.md#ifnull_all_return_text) | | +| [ifnull_all_return_text](./developer-options.md#ifnull_all_return_text) | 5.0.3 | | [ignore_checksum_failure](developer-options.md#ignore_checksum_failure) | | | [ignore_system_indexes](developer-options.md#ignore_system_indexes) | | | [incremental_checkpoint_timeout](write-ahead-log/checkpoints.md#incremental_checkpoint_timeout) | | @@ -527,13 +531,13 @@ date: 2022-05-26 | [memory_tracking_mode](load-management.md#memory_tracking_mode) | | | [memorypool_enable](resource-consumption/memory.md#memorypool_enable) | | | [memorypool_size](resource-consumption/memory.md#memorypool_size) | | -| [merge_join_total_cost_ratio](./query-planning/optimizer-cost-constants.md#merge_join_total_cost_ratio) | | +| [merge_join_total_cost_ratio](./query-planning/optimizer-cost-constants.md#merge_join_total_cost_ratio) | 5.0.2 | | [min_table_block_num_enable_ios](thread-pool.md#min_table_block_num_enable_ios) | 5.0.8 - [Sequential Scan Prefetch](../../characteristic-description/high-performance/seqscan-prefetch.md) | | [min_uheap_table_block_num_enable_ios](thread-pool.md#min_uheap_table_block_num_enable_ios) | 5.0.8 - [Sequential Scan Prefetch](../../characteristic-description/high-performance/seqscan-prefetch.md) | | [modify_initial_password](connection-and-authentication/security-and-authentication.md#modify_initial_password) | | | [most_available_sync](ha-replication/primary-server.md#most_available_sync) | | | [multi_stats_type](./AI-features.md#multi_stats_type) | | -| [nestloop_total_cost_ratio](./query-planning/optimizer-cost-constants.md#nestloop_total_cost_ratio) | | +| [nestloop_total_cost_ratio](./query-planning/optimizer-cost-constants.md#nestloop_total_cost_ratio) | 5.0.2 | | [ngram_gram_size](query-planning/other-optimizer-options.md#ngram_gram_size) | | | [ngram_grapsymbol_ignore](query-planning/other-optimizer-options.md#ngram_grapsymbol_ignore) | | | [ngram_punctuation_ignore](query-planning/other-optimizer-options.md#ngram_punctuation_ignore) | | @@ -549,9 +553,9 @@ date: 2022-05-26 | [ora_dblink_col_case_sensitive](./version-and-platform-compatibility/platform-and-client-compatibility.md#ora_dblink_col_case_sensitive) | | | [pagewriter_sleep](resource-consumption/background-writer.md#pagewriter_sleep) | | | [pagewriter_thread_num](resource-consumption/background-writer.md#pagewriter_thread_num) | | -| [parallel_recovery_batch](write-ahead-log/log-replay.md#parallel_recovery_batch) | | -| [parallel_recovery_dispatch_algorithm](write-ahead-log/log-replay.md#parallel_recovery_dispatch_algorithm) | | -| [parallel_recovery_timeout](write-ahead-log/log-replay.md#parallel_recovery_timeout) | | +| [parallel_recovery_batch](write-ahead-log/log-replay.md#parallel_recovery_batch) | 5.0.2 - [Enhancement of WAL Redo Performance](../../characteristic-description/high-performance/enhancement-of-wal-redo-performance.md) | +| [parallel_recovery_dispatch_algorithm](write-ahead-log/log-replay.md#parallel_recovery_dispatch_algorithm) | 5.0.2 - [Enhancement of WAL Redo Performance](../../characteristic-description/high-performance/enhancement-of-wal-redo-performance.md) | +| [parallel_recovery_timeout](write-ahead-log/log-replay.md#parallel_recovery_timeout) | 5.0.2 - [Enhancement of WAL Redo Performance](../../characteristic-description/high-performance/enhancement-of-wal-redo-performance.md) | | [parallel_scan_gap](thread-pool.md#parallel_scan_gap) | 5.0.8 - [Sequential Scan Prefetch](../../characteristic-description/high-performance/seqscan-prefetch.md) | | [partition_lock_upgrade_timeout](lock-management.md#partition_lock_upgrade_timeout) | | | [partition_max_cache_size](./data-import-export.md#partition_max_cache_size) | | @@ -575,7 +579,7 @@ date: 2022-05-26 | [perf_directory](./query.md#perf_directory) | | | [pgxc_node_name](MogDB-transaction.md#pgxc_node_name) | | | [plan_cache_mode](query-planning/other-optimizer-options.md#plan_cache_mode) | | -| [plan_cache_type_validation](./miscellaneous-parameters.md#plan_cache_type_validation) | | +| [plan_cache_type_validation](./miscellaneous-parameters.md#plan_cache_type_validation) | 5.0.2 | | [plan_mode_seed](query-planning/other-optimizer-options.md#plan_mode_seed) | | | [pldebugger_timeout](developer-options.md#pldebugger_timeout) | | | [pljava_vmoptions](guc-user-defined-functions.md#pljava_vmoptions) | | @@ -647,8 +651,8 @@ date: 2022-05-26 | [show_fdw_remote_plan](./query-planning/other-optimizer-options.md#show_fdw_remote_plan) | | | [skew_option](query-planning/optimizer-method-configuration.md#skew_option) | | | [smp_thread_cost](./query-planning/optimizer-cost-constants.md#smp_thread_cost) | | -| [sort_agg_total_cost_ratio](./query-planning/optimizer-cost-constants.md#sort_agg_total_cost_ratio) | | -| [sort_key_pruning_level](query-planning/other-optimizer-options.md#sort_key_pruning_level) | | +| [sort_agg_total_cost_ratio](./query-planning/optimizer-cost-constants.md#sort_agg_total_cost_ratio) | 5.0.2 | +| [sort_key_pruning_level](query-planning/other-optimizer-options.md#sort_key_pruning_level) | 5.0.6 | | [sql_beta_feature](query-planning/other-optimizer-options.md#sql_beta_feature) | | | [sql_compatibility](version-and-platform-compatibility/platform-and-client-compatibility.md#sql_compatibility) | | | [sql_ignore_strategy](miscellaneous-parameters.md#sql_ignore_strategy) | | diff --git a/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/miscellaneous-parameters.md b/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/miscellaneous-parameters.md index 1453ba4f..cb10da3b 100644 --- a/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/miscellaneous-parameters.md +++ b/product/en/docs-mogdb/v5.0/reference-guide/guc-parameters/miscellaneous-parameters.md @@ -366,4 +366,24 @@ This parameter is a POSTMASTER parameter. Set it based on instructions provided **Value range:** Boolean -**Default value:** on \ No newline at end of file +**Default value:** on + +## enable_cache_function_result + +**Parameter description**: Controls whether the function result caching feature is enabled. For related feature, see [Statement Level PLSQL Function Cache Support](../../characteristic-description/high-performance/plsql-function-cache.md)。 + +This parameter is a USERSET parameter. Set it based on instructions provided in Table 1 [GUC parameters](appendix.md). + +**Value range:** Boolean + +**Default value:** off + +## function_result_cache_max_mem + +**Parameter description**: Controls the maximum size of memory that can be used by the function result cache. For related feature, see [Statement Level PLSQL Function Cache Support](../../characteristic-description/high-performance/plsql-function-cache.md)。 + +This parameter is a USERSET parameter. Set it based on instructions provided in Table 1 [GUC parameters](appendix.md). + +**Value range:** 1024 ~ INT_MAX,unit in kb. + +**Default value:** 16*1024 \ No newline at end of file diff --git a/product/en/docs-mogdb/v5.0/reference-guide/sql-syntax/ALTER-TABLE.md b/product/en/docs-mogdb/v5.0/reference-guide/sql-syntax/ALTER-TABLE.md index fec0fd80..6bf14c14 100644 --- a/product/en/docs-mogdb/v5.0/reference-guide/sql-syntax/ALTER-TABLE.md +++ b/product/en/docs-mogdb/v5.0/reference-guide/sql-syntax/ALTER-TABLE.md @@ -334,6 +334,18 @@ date: 2021-05-17 Default value: **off** If this parameter is set to **on**, a unique table-level ID is allocated to a tuple when the tuple is updated. + + - autovacuum_vacuum_insert_threshold + + Sets the threshold for triggering autovacuum for insert-only tables. When the number of newly inserted rows in a table exceeds the set threshold, autovacuum will be triggered for that table. + + Range: Integer, [-1, INTMAX], -1 disables autovacuum for insert-only tables. + + - autovacuum_vacuum_insert_scale_factor + + Sets the scaling factor for the table size that is increased to autovacuum_vacuum_insert_threshold when an insert-only table triggers autovacuum. + + Value range: floating point, [0, 100]. - **new_owner** diff --git a/product/en/docs-mogdb/v5.0/reference-guide/sql-syntax/CREATE-TABLE.md b/product/en/docs-mogdb/v5.0/reference-guide/sql-syntax/CREATE-TABLE.md index ca582c09..3ef8b817 100644 --- a/product/en/docs-mogdb/v5.0/reference-guide/sql-syntax/CREATE-TABLE.md +++ b/product/en/docs-mogdb/v5.0/reference-guide/sql-syntax/CREATE-TABLE.md @@ -372,6 +372,18 @@ CreateTable ::= CREATE [ [ GLOBAL | LOCAL ] [ TEMPORARY | TEMP ] | UNLOGGED ] TA Value range: **on** and **off** Default value: **off** + + - autovacuum_vacuum_insert_threshold + + Sets the threshold for triggering autovacuum for insert-only tables. When the number of newly inserted rows in a table exceeds the set threshold, autovacuum will be triggered for that table. + + Range: Integer, [-1, INTMAX], -1 disables autovacuum for insert-only tables. + + - autovacuum_vacuum_insert_scale_factor + + Sets the scaling factor for the table size that is increased to autovacuum_vacuum_insert_threshold when an insert-only table triggers autovacuum. + + Value range: floating point, [0, 100]. - **ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP }** diff --git a/product/en/docs-mogdb/v5.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ALL_TABLES.md b/product/en/docs-mogdb/v5.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ALL_TABLES.md index 36b22d60..cb320159 100644 --- a/product/en/docs-mogdb/v5.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ALL_TABLES.md +++ b/product/en/docs-mogdb/v5.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_ALL_TABLES.md @@ -11,27 +11,28 @@ date: 2021-04-19 **Table 1** PG_STAT_ALL_TABLES columns -| Name | Type | Description | -| :---------------- | :----------------------- | :----------------------------------------------------------- | -| relid | oid | OID of the table | -| schemaname | name | Name of the schema that the table is in | -| relname | name | Table name | -| seq_scan | bigint | Number of sequential scans initiated on the table | -| seq_tup_read | bigint | Number of live rows fetched by sequential scans | -| idx_scan | bigint | Number of index scans initiated on the table | -| idx_tup_fetch | bigint | Number of live rows fetched by index scans | -| n_tup_ins | bigint | Number of rows inserted | -| n_tup_upd | bigint | Number of rows updated | -| n_tup_del | bigint | Number of rows deleted | -| n_tup_hot_upd | bigint | Number of rows HOT updated (that is, with no separate index update required) | -| n_live_tup | bigint | Estimated number of live rows | -| n_dead_tup | bigint | Estimated number of dead rows | -| last_vacuum | timestamp with time zone | Last time when the table is cleared | -| last_autovacuum | timestamp with time zone | Last time at which the table was vacuumed by the autovacuum daemon | -| last_analyze | timestamp with time zone | Last time when the table is analyzed | -| last_autoanalyze | timestamp with time zone | Last time at which the table was analyzed by the autovacuum daemon | -| vacuum_count | bigint | Number of times the table is cleared | -| autovacuum_count | bigint | Number of times the table has been vacuumed by the autovacuum daemon | -| analyze_count | bigint | Number of times the table is analyzed | -| autoanalyze_count | bigint | Number of times the table has been analyzed by the autovacuum daemon | -| last_data_changed | timestamp with time zone | Last time at which the table was updated (by **INSERT**/**UPDATE**/**DELETE** or **EXCHANGE**/**TRUNCATE**/**DROP** **partition**). This column is recorded only on the local primary database node. | +| Name | Type | Description | +| :-------------------- | :----------------------- | :----------------------------------------------------------- | +| relid | oid | OID of the table | +| schemaname | name | Name of the schema that the table is in | +| relname | name | Table name | +| seq_scan | bigint | Number of sequential scans initiated on the table | +| seq_tup_read | bigint | Number of live rows fetched by sequential scans | +| idx_scan | bigint | Number of index scans initiated on the table | +| idx_tup_fetch | bigint | Number of live rows fetched by index scans | +| n_tup_ins | bigint | Number of rows inserted | +| n_tup_upd | bigint | Number of rows updated | +| n_tup_del | bigint | Number of rows deleted | +| n_tup_hot_upd | bigint | Number of rows HOT updated (that is, with no separate index update required) | +| n_live_tup | bigint | Estimated number of live rows | +| n_dead_tup | bigint | Estimated number of dead rows | +| n_insert_since_vacuum | bigint | Number of records added since last autovacuum | +| last_vacuum | timestamp with time zone | Last time when the table is cleared | +| last_autovacuum | timestamp with time zone | Last time at which the table was vacuumed by the autovacuum daemon | +| last_analyze | timestamp with time zone | Last time when the table is analyzed | +| last_autoanalyze | timestamp with time zone | Last time at which the table was analyzed by the autovacuum daemon | +| vacuum_count | bigint | Number of times the table is cleared | +| autovacuum_count | bigint | Number of times the table has been vacuumed by the autovacuum daemon | +| analyze_count | bigint | Number of times the table is analyzed | +| autoanalyze_count | bigint | Number of times the table has been analyzed by the autovacuum daemon | +| last_data_changed | timestamp with time zone | Last time at which the table was updated (by **INSERT**/**UPDATE**/**DELETE** or **EXCHANGE**/**TRUNCATE**/**DROP** **partition**). This column is recorded only on the local primary database node. | diff --git a/product/en/docs-mogdb/v5.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_TABLES.md b/product/en/docs-mogdb/v5.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_TABLES.md index 374a5e80..5cccd424 100644 --- a/product/en/docs-mogdb/v5.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_TABLES.md +++ b/product/en/docs-mogdb/v5.0/reference-guide/system-catalogs-and-system-views/system-views/PG_STAT_USER_TABLES.md @@ -11,27 +11,28 @@ date: 2021-04-19 **Table 1** PG_STAT_USER_TABLES columns -| Name | Type | Description | -| :---------------- | :----------------------- | :----------------------------------------------------------- | -| relid | oid | OID of the table | -| schemaname | name | Name of the schema that the table is in | -| relname | name | Table name | -| seq_scan | bigint | Number of sequential scans initiated on the table | -| seq_tup_read | bigint | Number of live rows fetched by sequential scans | -| idx_scan | bigint | Number of index scans initiated on the table | -| idx_tup_fetch | bigint | Number of live rows fetched by index scans | -| n_tup_ins | bigint | Number of rows inserted | -| n_tup_upd | bigint | Number of rows updated | -| n_tup_del | bigint | Number of rows deleted | -| n_tup_hot_upd | bigint | Number of rows HOT updated (with no separate index update required) | -| n_live_tup | bigint | Estimated number of live rows | -| n_dead_tup | bigint | Estimated number of dead rows | -| last_vacuum | timestamp with time zone | Last time at which the table was manually vacuumed (excluding **VACUUM FULL**) | -| last_autovacuum | timestamp with time zone | Last time at which the table was vacuumed by the autovacuum daemon | -| last_analyze | timestamp with time zone | Last time at which the table was manually analyzed | -| last_autoanalyze | timestamp with time zone | Last time at which the table was analyzed by the autovacuum daemon | -| vacuum_count | bigint | Number of times the table has been manually vacuumed (not counting **VACUUM FULL**) | -| autovacuum_count | bigint | Number of times the table has been vacuumed by the autovacuum daemon | -| analyze_count | bigint | Number of times the table has been manually analyzed | -| autoanalyze_count | bigint | Number of times the table has been analyzed by the autovacuum daemon | -| last_data_changed | timestamp with time zone | Last modification time of the table data | +| Name | Type | Description | +| :-------------------- | :----------------------- | :----------------------------------------------------------- | +| relid | oid | OID of the table | +| schemaname | name | Name of the schema that the table is in | +| relname | name | Table name | +| seq_scan | bigint | Number of sequential scans initiated on the table | +| seq_tup_read | bigint | Number of live rows fetched by sequential scans | +| idx_scan | bigint | Number of index scans initiated on the table | +| idx_tup_fetch | bigint | Number of live rows fetched by index scans | +| n_tup_ins | bigint | Number of rows inserted | +| n_tup_upd | bigint | Number of rows updated | +| n_tup_del | bigint | Number of rows deleted | +| n_tup_hot_upd | bigint | Number of rows HOT updated (with no separate index update required) | +| n_live_tup | bigint | Estimated number of live rows | +| n_dead_tup | bigint | Estimated number of dead rows | +| n_insert_since_vacuum | bigint | Number of records added since last autovacuum | +| last_vacuum | timestamp with time zone | Last time at which the table was manually vacuumed (excluding **VACUUM FULL**) | +| last_autovacuum | timestamp with time zone | Last time at which the table was vacuumed by the autovacuum daemon | +| last_analyze | timestamp with time zone | Last time at which the table was manually analyzed | +| last_autoanalyze | timestamp with time zone | Last time at which the table was analyzed by the autovacuum daemon | +| vacuum_count | bigint | Number of times the table has been manually vacuumed (not counting **VACUUM FULL**) | +| autovacuum_count | bigint | Number of times the table has been vacuumed by the autovacuum daemon | +| analyze_count | bigint | Number of times the table has been manually analyzed | +| autoanalyze_count | bigint | Number of times the table has been analyzed by the autovacuum daemon | +| last_data_changed | timestamp with time zone | Last modification time of the table data | diff --git a/product/en/docs-mogdb/v5.0/toc.md b/product/en/docs-mogdb/v5.0/toc.md index 00189691..bf74cc50 100644 --- a/product/en/docs-mogdb/v5.0/toc.md +++ b/product/en/docs-mogdb/v5.0/toc.md @@ -8,6 +8,7 @@ + [MogDB Introduction](/overview.md) + [Comparison Between MogDB and openGauss](/about-mogdb/MogDB-compared-to-openGauss.md) + [MogDB Release Notes](/about-mogdb/mogdb-new-feature/release-note.md) + + [MogDB 5.0.9](/about-mogdb/mogdb-new-feature/5.0.9.md) + [MogDB 5.0.8](/about-mogdb/mogdb-new-feature/5.0.8.md) + [MogDB 5.0.7](/about-mogdb/mogdb-new-feature/5.0.7.md) + [MogDB 5.0.6](/about-mogdb/mogdb-new-feature/5.0.6.md) @@ -77,6 +78,7 @@ + [Enhancement of Dirty Pages Flushing Performance](/characteristic-description/high-performance/enhancement-of-dirty-pages-flushing-performance.md) + [Sequential Scan Prefetch](/characteristic-description/high-performance/seqscan-prefetch.md) + [Ustore SMP Parallel Scanning](/characteristic-description/high-performance/ustore-smp.md) + + [Statement Level PLSQL Function Cache Support](/characteristic-description/high-performance/plsql-function-cache.md) + [High Availability (HA)](/characteristic-description/high-availability/high-availability.md) + [Primary/Standby](/characteristic-description/high-availability/1-primary-standby.md) + [Logical Replication](/characteristic-description/high-availability/2-logical-replication.md) diff --git a/product/en/docs-mogdb/v5.0/toc_about.md b/product/en/docs-mogdb/v5.0/toc_about.md index b98a04e7..b474fd1f 100644 --- a/product/en/docs-mogdb/v5.0/toc_about.md +++ b/product/en/docs-mogdb/v5.0/toc_about.md @@ -7,6 +7,7 @@ + [MogDB Introduction](/overview.md) + [Comparison Between MogDB and openGauss](/about-mogdb/MogDB-compared-to-openGauss.md) + [MogDB Release Notes](/about-mogdb/mogdb-new-feature/release-note.md) + + [MogDB 5.0.9](/about-mogdb/mogdb-new-feature/5.0.9.md) + [MogDB 5.0.8](/about-mogdb/mogdb-new-feature/5.0.8.md) + [MogDB 5.0.7](/about-mogdb/mogdb-new-feature/5.0.7.md) + [MogDB 5.0.6](/about-mogdb/mogdb-new-feature/5.0.6.md) diff --git a/product/en/docs-mogdb/v5.0/toc_characteristic_description.md b/product/en/docs-mogdb/v5.0/toc_characteristic_description.md index bb5d916c..b630f47e 100644 --- a/product/en/docs-mogdb/v5.0/toc_characteristic_description.md +++ b/product/en/docs-mogdb/v5.0/toc_characteristic_description.md @@ -32,6 +32,7 @@ + [Enhancement of Dirty Pages Flushing Performance](/characteristic-description/high-performance/enhancement-of-dirty-pages-flushing-performance.md) + [Sequential Scan Prefetch](/characteristic-description/high-performance/seqscan-prefetch.md) + [Ustore SMP Parallel Scanning](/characteristic-description/high-performance/ustore-smp.md) + + [Statement Level PLSQL Function Cache Support](/characteristic-description/high-performance/plsql-function-cache.md) + [High Availability (HA)](/characteristic-description/high-availability/high-availability.md) + [Primary/Standby](/characteristic-description/high-availability/1-primary-standby.md) + [Logical Replication](/characteristic-description/high-availability/2-logical-replication.md) diff --git a/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md b/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md index 6a4c2f4d..58cb7dac 100644 --- a/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md +++ b/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.9.md @@ -23,6 +23,8 @@ MogDB 5.0.9是MogDB 5.0.0的补丁版本,于2024-10-31发布,其在MogDB 5.0 **相关页面**:[支持语句级Function Cache](../../characteristic-description/high-performance/plsql-function-cache.md) +
+ ## 3. 修复缺陷 1. 【9464】修复了由于guc参数在比对的时候因为出现名字为NULL场景处理不恰当,导致的低概率宕机问题。 diff --git a/product/zh/docs-mogdb/v5.0/characteristic-description/characteristic-description-overview.md b/product/zh/docs-mogdb/v5.0/characteristic-description/characteristic-description-overview.md index d4a9bbe5..410c59bd 100644 --- a/product/zh/docs-mogdb/v5.0/characteristic-description/characteristic-description-overview.md +++ b/product/zh/docs-mogdb/v5.0/characteristic-description/characteristic-description-overview.md @@ -33,7 +33,8 @@ MogDB 5.0版本具有以下特性: + [极致刷脏](./high-performance/enhancement-of-dirty-pages-flushing-performance.md) + [顺序扫描预读](./high-performance/seqscan-prefetch.md) + [Ustore SMP并行扫描](./high-performance/ustore-smp.md) - + + [支持语句级Function Cache](./high-performance/plsql-function-cache.md) + + 高可用 + [主备机](./high-availability/1-primary-standby.md) + [逻辑复制](./high-availability/2-logical-replication.md) -- Gitee