当前位置:网站首页>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 .
边栏推荐
- English Grammar - pronunciation rules
- 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)
- How much do you know about the use value of WMS warehouse management system
- 2021.6.14 notes
- Nodejs connects to MySQL through heidisql, and ER appears_ BAD_ DB_ ERROR: Unknown database 'my_ db_ books'
- CTF_ Web: how to recognize and evaluate a regular expression
- 讲座记录《多种空间大地测量技术的数据处理方法和应用》
- CTF_ Variable coverage in web:php
- GBASE 8s的隔离级别介绍
- GBASE 8s的多线程结构
猜你喜欢

How to draw an industry investment map

无法安装redis接口

Lecture record: new application of inertial navigation - inertial measurement

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

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

Finereport displays and hides column data according to conditions

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

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

LabVIEW开发气体调节器

CTF_ Web:php weak type bypass and MD5 collision
随机推荐
@Requestbody solution get parameter is null
Upgrade cmake
kenlm
"How to carry out industrial positioning" in local / Park industrial planning
微信小程序父子组件之间传值
GBASE 8s的包
Acmstreamopen return value problem
CTF_ Web: Advanced questions of attack and defense world expert zone WP (15-18)
2021.6.14 notes
Classification of gbase 8s locks
深度学习——几种学习类型
GBASE 8s存储过程语法结构
Finereport (sail soft) handling the problem that the histogram data label is blocked
A detailed summary of TCP connection triple handshake
Gbase 8s stored procedure syntax structure
什么是存储引擎以及MySQL常见的三种数据库存储引擎
Nodejs 通过Heidisql连接mysql出现ER_BAD_DB_ERROR: Unknown database 'my_db_books'
What is persistence? What are RDB and AOF in redis persistence?
A detailed summary of four handshakes (or four waves) over TCP connections
Easyrecovery15 very easy to use computer data recovery software