diff --git "a/content/docs-lite/zh/docs/ReleaseNotes/\347\211\210\346\234\254\344\273\213\347\273\215.md" "b/content/docs-lite/zh/docs/ReleaseNotes/\347\211\210\346\234\254\344\273\213\347\273\215.md" index fecc7eb7ef33f157bd3bf8c3295fc96410d6b9eb..a4342fba250b786b0b62d4b33ad4a4c5e6a4614d 100644 --- "a/content/docs-lite/zh/docs/ReleaseNotes/\347\211\210\346\234\254\344\273\213\347\273\215.md" +++ "b/content/docs-lite/zh/docs/ReleaseNotes/\347\211\210\346\234\254\344\273\213\347\273\215.md" @@ -2,6 +2,73 @@ openGauss 6.0.0是openGauss 2024年9月发布的LTS版本,该版本生命周期为3年。当前文档说明范围仅限轻量版。 +轻量版的特点如下: + +(1)占用资源少: + +本次发布轻量化版本安装包实际大小小于30MB,空载内存小于250MB。 + +(2)易安装 + +相比于企业版,其安装流程更简单快捷。 + +(3)轻量版通过参数控制的特性: + +默认关闭的特性:Ustore特性(inplace-update引擎)、Asp特性(active session profile)、增量检查点(incremental checkpoint)、双写(double write)、Full /Slow SQL特性、workload特性、sql响应时间信息计算特性、数据库监控快照功能、两阶段提交事务。 +部分特性的参数配置通过调整默认值使其占用更少的内存和CPU,包括global syscache、shared buffer等。 +主要的参数配置如下。 +``` +enable_thread_pool=on +thread_pool_attr='16,1,(nobind)' +enable_asp=off +enable_ustore=off +enable_incremental_checkpoint=off +enable_double_write=off +max_prepared_transactions=0 +enable_stmt_track=off +use_workload_manager=off +enable_instr_rt_percentile=off +enable_wdr_snapshot=off +enable_cachedplan_mgr=off + +enable_global_syscache=on +asp_sample_num=10 +shared_buffers=64MB +cstore_buffers=16MB +num_internal_lock_partitions='CLOG_PART=1,CSNLOG_PART=1,LOG2_LOCKTABLE_PART=4,TWOPHASE_PART=1,FASTPATH_PART=20' +max_locks_per_transaction=64 +audit_file_remain_threshold=1024 +wal_buffers=16MB +segment_buffers=16 +max_connections=200 +track_activity_query_size=200 +data_replicate_buffer_size=4096 +max_inner_tool_connections=10 +global_syscache_threshold=64MB +local_syscache_threshold=16MB +wal_flush_timeout=800 +wal_flush_delay=100 +``` + +不支持的GUC参数: +``` +standby_recycle_interval +standby_max_query_time +base_page_saved_interval +standby_force_recycle_ratio +max_standby_base_page_size +max_standby_lsn_info_size +``` + +(4)轻量版不支持的特性: + +ORC文件访问、Kerberos安全校验、JAVA UDF、Codegen、MOT内存表特性、SMP并行查询特性、AI特性相关工具和功能、全密态数据库、CM、OM、资源池化功能(含DSS、DMS等)、ECPG、pljava、HTAP特性、OBS、异步IO功能、容灾集群相关功能等。 + +(5)二进制工具精简: + +保留了用户常用的gsql、gs_ctl、gs_guc、gs_dump、gs_restore、gs_probackup、gs_initdb等工具,它还提供了安装部署、升级的工具liteom。不支持gs_cgroup、 +pg_recvlogical、pg_xlogdump、pagehack、pg_archivecleanup、gs_assessment、ndpplugin、spqplugin、timescaledb、age、chparser、postgres_fdw、dblink、gms_compress、gms_tcp、gms_xmlgen、libog_query等插件和工具。不包含JRE组件。 + 6.0.0与之前的版本特性功能保持兼容,主要功能如下: - 继承功能: