暂无图片
暂无图片
1
暂无图片
暂无图片
暂无图片
PostgreSQL : Page Buffer Overview.pdf
20
21页
0次
2025-03-31
5墨值下载
IITM Pravartak Technologies Foundation
PostgreSQL: Page Buffer
Overview
This presentation provides an in-depth look into PostgreSQL pages. It
explores the buffer cache and the clock-sweep buffer eviction algorithm.
Understand how PostgreSQL manages data efficiently.
IITM Pravartak Technologies Foundation
Agenda: Understanding
PostgreSQL Pages
2
Page Structure
Delve into the structure of
PostgreSQL pages. Explore
how data is organized for
optimal access.
1
Buffer Cache
Learn about the buffer cache.
Understand its role in reducing
I/O delays.
4
Buffer Management
Examine the clock-sweep
algorithm. Discover how
PostgreSQL manages
memory.
3
Buffer Usage
View buffer usage during query
execution
IITM Pravartak Technologies Foundation
Page Buffer
Shared Memory Area
It stores data from physical files
into RAM. This avoids I/O delays.
Part of Shared Buffer Pool
Accessible to all PostgreSQL
processes. Ensures efficient data
sharing.
Cache Lookup
PostgreSQL checks buffer cache
for data. Returns data from cache if
available.
The page buffer is crucial for performance. It reduces the need to read from disk.
Configuration
Controlled by shared_buffers
parameter (default: 128 MB).
Initialization
InitBufTable in
backend/storage/buffer/freelist.c
of 21
5墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。