随笔 - 404  文章 - 4  评论 - 0  阅读 - 25万

Change the Global Memory Allocation Limit

Change the Global Memory Allocation Limit

The SAP HANA database preallocates a pool of memory from the operating system over time, up to a predefined global allocation limit. You can change the default global allocation limit.

Prerequisites

You have the system privilege INIFILE ADMIN.

Context

The global_allocation_limit parameter is used to limit the amount of memory that can be used by the database. The unit for this parameter is MB. The default value is 0 in which case the global allocation limit is calculated as follows: 90% of the first 64 GB of available physical memory on the host plus 97% of each further GB. Or, in the case of small physical memory, physical memory minus 1 GB.

Changing this parameter does not require a restart.

Procedure

In the global.ini configuration file change the value of the global_allocation_limit in the memorymanager section.

You can enter a value for the entire system and for individual hosts. If you enter only a value for the system, it is used for all hosts. For example, if you have 5 hosts and you set the limit to 5 GB, the database can use up to 5 GB on each host (25 GB in total). If you enter a value for a specific host, then for that host, the specific value is used and the system value is only used for all other hosts. This is relevant only for multiple-host (distributed) systems.

Refer to the Workload Management section for details of other options for managing memory including setting a statement limit and admission control.

posted on   HelonTian  阅读(289)  评论(0编辑  收藏  举报
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
历史上的今天:
2019-07-24 Oracle数据库用户的密码过期问题处理
2017-07-24 获取oracle数据库对象定义
2017-07-24 ORA-20011
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示