当前位置:网站首页>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 .
边栏推荐
- NFT insider 63: the sandbox reached a cooperation with Time magazine, and YGG established Spain's subdao
- Value transfer between parent and child components of wechat applet
- CTF_ Web: Advanced questions of attack and defense world expert zone WP (15-18)
- Numpy NP tips: use OpenCV to interpolate and zoom the array to a fixed shape cv2 resize(res, dsize=(64, 64), interpolation=cv2. INTER_ CUBIC)
- PHP extracts and analyzes table contents, and collects bidding information
- JS arrow function
- 小白学习MySQL - 统计的'投机取巧'
- 讲座记录《多种空间大地测量技术的数据处理方法和应用》
- Failed to install redis interface
- 2021.4.15 note the difference between let, const and VaR in ES6
猜你喜欢

Office macro virus bounce shell experiment

记录小知识点

Watch out for the stolen face! So many risks of face recognition used every day?

论文阅读《LSD-SLAM: Large-Scale Direct Monocular SLAM》

CTF_ Web: Advanced questions of attack and defense world expert zone WP (19-21)

微信小程序父子组件之间传值

CTF_ Web: Advanced questions of attack and defense world expert zone WP (15-18)

Gbase 8s index R tree
![L'épée leetcode fait référence au chemin leetcode de l'offre II 091 pour peindre la maison [planification dynamique] heroding](/img/ad/69fce7cf064479a0ddd477fb935de2.png)
L'épée leetcode fait référence au chemin leetcode de l'offre II 091 pour peindre la maison [planification dynamique] heroding

Nodejs connects to MySQL through heidisql, and ER appears_ BAD_ DB_ ERROR: Unknown database 'my_ db_ books'
随机推荐
CTF_ Web: Advanced questions of attack and defense world expert zone WP (1-4)
GBASE 8s存储过程语法结构
[openwrt] we recommend a domestically developed version of openwrt, an introduction to istoreos. It is very easy to use. It is mainly optimized. It solves the problem of Sinicization.
GBASE 8S内存管理
关于TCP连接四次握手(或者叫四次挥手)的详细总结
OBS Browser+浏览器的基本使用
Can Navicat directly operate the Android database SQLite
NFT insider 63: the sandbox reached a cooperation with Time magazine, and YGG established Spain's subdao
How to draw an industry investment map
【LeetCode】143. Rearrange linked list
Basic use of OBS browser+ browser
Laravel document sorting 1. Installation and Preliminary Configuration
CTF_ Web: deserialization learning notes (I) classes and objects in PHP
Nodejs 通过Heidisql连接mysql出现ER_BAD_DB_ERROR: Unknown database 'my_db_books'
SQL injection details
Retrofit source code analysis
什么是持久化?redis 持久化中的RDB和AOF是什么?
2020.3.3 notes async/await and promise and Then processes and threads
Laravel document sorting 2. Route related
GBASE 8s的多线程结构