返回首页

gbase数据、南大通用产品文档:GBase8sLOW_MEMORY_RESERVE 配置参数

更新日期:2024年09月11日

当关键活动需要而服务器的空闲内存有限时,使用 LOW_MEMORY_RESERVE 配置参数来保留
使用特定的内存量。
如果您通过将其设定为一个特定的 KB 值来启用新的 LOW_MEMORY_RESERVE 配置参数,则
即使您收到内存用尽的警告,诸如回滚活动这样的关键活动仍可完成。
onconfig.std 值
LOW_MEMORY_RESERVE 0

0 或 128 - 2147483648,虽然最大值不可高于 SHMVIRTSIZE 配置参数值的 20%
单位
KB
生效
编辑 onconfig 文件并重启数据库服务器之后。
当您通过运行 onmode -wf 命令在 onconfig 文件中动态地重置该值时。
当您通过运行 onmode -wm 命令重置内存中的该值时。
用法
不管如何设置 LOW_MEMORY_RESERVE 配置参数,
保留的内存大小最大值是 SHMVIRTSIZE 配
置参数值的 20%。
例如,要保留 512 KB 内存,请指定:
LOW_MEMORY_RESERVE 512
您可使用 onstat -g seg 命令来查看低内存保留信息。输出包括若干行,显示保留的内存
大小、服务器已经使用的保留内存次数和需要的最大内存。

Multi-Instance Deployment
Deploy multiple data computing nodes on a physical server, and each computing
node is called a database instance. The diagram below shows the schematic of
multi-instance deployment:
Figure 3-8. GBase 8a MPP Cluster multi-instance deployment diagram.

GBase 8a MPP Cluster Technical White Paper
- 20 -
General Data Technology Co., Ltd.
By installing multiple computing nodes on a physical machine, each computing
node corresponds to a NUMA node of the server. Resource isolation and full
utilization of CPU, memory, and other resources are achieved through NUMA node
binding to avoid performance degradation caused by cross-NUMA node operation.
Multiple
instance
deployment
can
effectively
utilize
the
performance
of
high-configuration servers and NUMA architecture servers. Compared with
deploying only one computing node on a physical server, it can improve computing
performance by more than 1 times.

可以通过创建服务器组来组织注册服务器中的服务器。服务器组可以包括注册服务器,也
可以包含其他服务器组。
服务器和服务器组都可以从一个服务器组移动到另一个服务器组。


GBase 8s 企业管理器用户手册
南大通用数据技术股份有限公司

9

在注册服务器中,右击某服务器,再单击“移动到”。

在“移动服务器注册”对话框中,展开服务器组列表,单击要显示的服务器的节点,
再单击“确定”。