当前位置:网站首页>GBASE 8S内存管理
GBASE 8S内存管理
2022-06-25 03:59:00 【八珍豆腐】
GBASE 8S共享内存按类型分成3类:常驻内存段(Resident Segment)、虚拟内存段(Virtual Segment)和消息段(Message Segment)。
1.常驻内存段
这里简要介绍常驻内存中几个重要部分的参数设置
PHYSBUFF 128,单位为K,物理日志缓存,最大值为:(32767 * pagesize / 1024),pagesize 为系统默认的pagesize, Linux为2K。 AIX为4K。一般设置为128—1024即可。
LOGBUFF 64,单位为K,逻辑日至缓存,最大值为:(32767 * pagesize / 1024),pagesize 为系统默认的pagesize, Linux为2K。 AIX为4K。一般设置为128以上,从性能角度建议比较大的值。如果采用了Buffer的日志模式,那么从数据丢失的安全角度考虑,LOGBUFF值应设置的尽量低。
BUFFERPOOL修改:
BUFFERPOOL default,buffers=10000,lrus=8,lru_min_dirty=50,lru_max_dirty=60.5
BUFFERPOOL size=2K,buffers=5000,lrus=32,l ru_min_dirty=50,lru_max_dirty=60
BUFFERPOOL size=8K,buffers=5000,lrus=32,l ru_min_dirty=50,lru_max_dirty=60
修改充气方式才能修改BUFFERPOOL值。内存的pagesize和dbspace的pagesize对应。
2.虚拟内存段
RESIDENT 0:是否将内存段、包括常驻内存驻留,既启动时将内存从系统分配给GBase 8S,如果内存较大,则启动过程较长。
SHMBASE 0x44000000L:一般为默认值即可,特别是在单服务器安装多个实例的情况下。
SHMVIRTSIZE 1024000:虚拟内存段大小,按性能考虑,一般配置4GB以上。
SHMADD 1024000:虚拟内存段每次自动扩展的大小。
SHMTOTAL 0:Gbase 8S使用内存总量设置(包括常驻内存,虚拟内存段,消息内存段),0 表示不限制大小,直至系统使用完。建议:在生产系统中为保障系统安全,防止系统存在内存溢出,导致系统内存消耗的情况下,可以设置一个合理的上限值。
3.数据库消息段
当应用程序和服务器部署在统一台物理服务器上时,采用共享内存通道的机制,GBase 8S将使用一块独立的内存来进行应用程序和服务器的通信,可以提高通信的效率。
边栏推荐
- 讲座记录《捷联惯导解算的历史及发展》
- Coinlist how to operate the middle lot number security tutorial
- Finereport (sail soft) handling the problem that the histogram data label is blocked
- Smart wind power: operation and maintenance of digital twin 3D wind turbine intelligent equipment
- Anaconda installation +tensorflow installation +keras installation +numpy installation (including image and version information compatibility issues)
- "Comment positionner l'industrie" dans la planification industrielle locale / parc
- Cesium drag 3D model
- 1. Phase II of the project - user registration and login
- Uniapp makes mobile app programs, using uni Choosevideo record video, video playback is fuzzy, and the resolution is low
- Introduction to intstream API
猜你喜欢

Failed to install redis interface

cnpm : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\cnpm.ps1,因为在此系统上禁止运行脚本。

95% of programmers fish here

i. Max development board learning record

关于TCP连接四次握手(或者叫四次挥手)的详细总结

什么是存储引擎以及MySQL常见的三种数据库存储引擎

"Renaissance" in the digital age? The bottom digital collection makes people happy and sad

1280_C语言求两个无符号整形的平均值

numpy np tips:使用opencv对数组插值放缩到固定形状 cv2.resize(res, dsize=(64, 64), interpolation=cv2.INTER_CUBIC)

Smart wind power: operation and maintenance of digital twin 3D wind turbine intelligent equipment
随机推荐
acmStreamOpen返回值问题
Lecture record: new application of inertial navigation - inertial measurement
The yii2 debug toolbar is missing
Vigilance against over range collection of privacy - ten mobile app violations
Cesium graphic annotation circle, square, polygon, ellipse, etc
【Kubernetes系列】Helm的安装使用
What is data persistence?
如何筛选出和产品相关的词,精准排除掉无效词
Openmmlab environment configuration
Exercise: how difficult is it to simulate the blessing lottery two-color ball - China 500W grand prize? Just run the code.
Smart contract learning materials
关于TCP连接三次握手的详细总结
Failed to install redis interface
mongodb集群
马斯克发布人形机器人,AI对马斯克为什么意义重大?
@Requestbody solution get parameter is null
List rendering in wechat applet
UCLA | generative pre training for black box optimization
Flutter Builder & FutureBuilder组件
Read lsd-slam: large scale direct monolithic slam