当前位置:网站首页>Gbase 8s memory management
Gbase 8s memory management
2022-06-25 04:32:00 【Eight delicacies tofu】
GBASE 8S Shared memory is divided into types 3 class : Resident memory segment (Resident Segment)、 Virtual memory segment (Virtual Segment) and Message segment (Message Segment).
1. Resident memory segment
Here is a brief introduction to the parameter settings of several important parts of the resident memory
PHYSBUFF 128, Unit is K, Physical log cache , The maximum value is :(32767 * pagesize / 1024),pagesize Is the system default pagesize, Linux by 2K. AIX by 4K. Generally set as 128—1024 that will do .
LOGBUFF 64, Unit is K, Logical day break cache , The maximum value is :(32767 * pagesize / 1024),pagesize Is the system default pagesize, Linux by 2K. AIX by 4K. Generally set as 128 above , From the performance point of view, it is recommended to have a larger value . If... Is used Buffer Log mode for , From the security point of view of data loss ,LOGBUFF The value should be set as low as possible .
BUFFERPOOL modify :
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
Only by modifying the inflation method can BUFFERPOOL value . In memory pagesize and dbspace Of pagesize Corresponding .
2. Virtual memory segment
RESIDENT 0: Whether the memory segment 、 Including resident memory , It allocates memory from the system to GBase 8S, If the memory is large , The starting process is long .
SHMBASE 0x44000000L: Generally, it is the default value , Especially when multiple instances are installed on a single server .
SHMVIRTSIZE 1024000: Virtual memory segment size , Considering the performance , General configuration 4GB above .
SHMADD 1024000: The size of each automatic expansion of the virtual memory segment .
SHMTOTAL 0:Gbase 8S Use total memory settings ( Including resident memory , Virtual memory segment , Message memory segment ),0 It means unlimited size , Until the system is used up . Suggest : In order to ensure system safety in the production system , Prevent memory overflow in the system , When the system memory is consumed , You can set a reasonable upper limit .
3. Database message segment
When applications and servers are deployed on the same physical server , use Shared memory channel The mechanism of ,GBase 8S A separate piece of memory will be used to communicate between the application and the server , It can improve the efficiency of communication .
边栏推荐
- GBASE 8s 索引R树
- EasyRecovery15非常好用的电脑数据恢复软件
- 冰冰学习笔记:循环队列的实现
- Laravel document sorting 7. View
- kenlm
- 论文笔记: 多标签学习 ESMC (没看懂, 还没写出来, 暂时放这里占个位置)
- What is persistence? What are RDB and AOF in redis persistence?
- 2021.4.15 note the difference between let, const and VaR in ES6
- The yii2 debug toolbar is missing
- GBASE 8s的数据导入和导出
猜你喜欢

深度学习——几种学习类型

Vigilance against over range collection of privacy - ten mobile app violations

无法安装redis接口

Intel 13th generation core showed its true colors for the first time: 68mb cache improved significantly

"How to carry out industrial positioning" in local / Park industrial planning

Nodejs connects to MySQL through heidisql, and ER appears_ BAD_ DB_ ERROR: Unknown database 'my_ db_ books'

Anaconda installation +tensorflow installation +keras installation +numpy installation (including image and version information compatibility issues)

UCLA | 用于黑盒优化的生成式预训练

How much do you know about the use value of WMS warehouse management system

Easyrecovery15 very easy to use computer data recovery software
随机推荐
2021.8.29 notes: register, bit operation, pointer, structure
关于TCP连接四次握手(或者叫四次挥手)的详细总结
2021.4.15 note the difference between let, const and VaR in ES6
Communication problems in parent and child components of uniapp
L'épée leetcode fait référence au chemin leetcode de l'offre II 091 pour peindre la maison [planification dynamique] heroding
navicat可不可以直接操作安卓数据库SQLite
EasyRecovery15非常好用的电脑数据恢复软件
CMD operation MySQL in Windows
Gbase 8s overall architecture
GBASE 8s 索引R树
什么是存储引擎以及MySQL常见的三种数据库存储引擎
单元测试覆盖率
1280_ C language to find the average value of two unsigned integer
Musk released humanoid robot. Why is AI significant to musk?
Error 1062 is reported during MySQL insertion, but I do not have this field.
Record small knowledge points
Laravel document sorting 6. Response
Should I use on or where for the left join
GBASE 8s的多线程结构
论文笔记: 多标签学习 ESMC (没看懂, 还没写出来, 暂时放这里占个位置)