This issue requires an assignee. Since you haven't specified one, we've assigned TestManager as the default assignee for this issue.


Welcome To openGauss Community
Hey @wuchenlong , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.
Contact Guide
If you have any questions, please contact the SIG: StorageEngine ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @CityYard, @libiao2024, @lijieac, @theothersideofsea, @wang_bowen, @weithu, @xiong_xjun, @yuanyazhi, @zhangzq131 .


根据当前实际情况更新了文档




回归版本:oGRAC Release 7.0.0-RC3 18ce0a2 build 2026-08-26 09:48:01
回归环境:oGRAC 双节点(20.20.20.104 / 20.20.20.106),db=ONLINE,节点 20.20.20.104 执行(106 仅 SHOW 对照)
结论:通过(行为仍为重启生效;文档已改为与实测一致,不再写「动态生效 / 仅支持在线调大」)
说明:本单为资料与行为不符。开发已更新 database_reference.md「DATA_BUFFER_SIZE」:重启生效、VALUE 可改、RUNTIME_VALUE 不变、EFFECTIVE=reboot;缺省值区分内核回退 128M、模板 2G、LUN 自动调优下限 4G。
完整回归 SQL
show parameters DATA_BUFFER_SIZE;
alter system set DATA_BUFFER_SIZE = '5G';
show parameters DATA_BUFFER_SIZE;
alter system set DATA_BUFFER_SIZE = '5G' scope=memory;
show parameters DATA_BUFFER_SIZE;
-- 回归后已还原
alter system set DATA_BUFFER_SIZE = '4G';
实际输出
安装后初始(LUN 自动调优,与文档「下限 4G」一致):
NAME VALUE RUNTIME_VALUE EFFECTIVE
DATA_BUFFER_SIZE 4G 4G reboot
ALTER SYSTEM SET ... = '5G'(默认 scope)Succeed 后:
NAME VALUE RUNTIME_VALUE EFFECTIVE
DATA_BUFFER_SIZE 5G 4G reboot
scope=memory 同样 Succeed,RUNTIME_VALUE 仍为 4G。
节点 106 SHOW 结果同为 4G / 4G / reboot。
已将 VALUE 还原为 4G。


测试类型
SQL功能
资料
测试版本
7.0.0LTS
操作系统和硬件信息
openEuler release 24.03 (LTS) aarch64
测试环境
oGRAC双节点
操作步骤
-- 预置:oGRAC 7.0.0-RC3(实测 build c9914d4,2026-07-29),节点 20.20.20.104(node0)db=ONLINE -- 1) 查看当前值 show parameters DATA_BUFFER_SIZE; -- 2) 尝试在线调大(文档称支持动态生效/在线调大) alter system set DATA_BUFFER_SIZE = '5G'; -- 3) 再次查看运行值 show parameters DATA_BUFFER_SIZE;预期输出
实际输出
日志信息
oGRAC 双节点 20.20.20.104(node0 db=ONLINE)执行,节点 20.20.20.106(node1)当前 db=OFFLINE(环境维护中)。
资料出处:oGRAC-docs docs/zh/database_reference/database_reference.md「数据库参数配置说明 → 1. 全局共享内存 → DATA_BUFFER_SIZE」,其中明确写「动态生效」「仅支持在线调大;如需调小,需修改配置文件或使用 SCOPE=PFILE,并重启数据库生效」。
实测表现:DATA_BUFFER_SIZE 的 EFFECTIVE 为 reboot(与 SHARED_POOL_SIZE / TEMP_BUFFER_SIZE 等 SGA 共享内存参数一致),alter system set(含 scope=memory)只更新 VALUE,RUNTIME_VALUE 不变化,即无法在线调大,只能重启生效,与文档描述矛盾。
提单组织
测试团队