pgfincore
examine and manage the os buffer cache
pgfincore : examine and manage the os buffer cache
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 5060 | pgfincore | pgfincore | 1.4.0 |
ADMIN | BSD-3-Clause | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-r | No | Yes | No | Yes | yes | no |
| Relationships | |
|---|---|
| See Also | pg_buffercache pgcozy pg_prewarm pg_cooldown |
pg18 el fixed by vonng
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PGDG | 1.4.0 |
18 17 16 15 14 | pgfincore |
- |
| RPM | PGDG | 1.4.0 |
18 17 16 15 14 | pgfincore_$v |
- |
| DEB | PGDG | 1.4.0 |
18 17 16 15 14 | postgresql-$v-pgfincore |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 |
| el8.aarch64 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 |
| el9.x86_64 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 |
| el9.aarch64 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 |
| el10.x86_64 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 |
| el10.aarch64 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 | PIGSTY 1.4.0 |
| d12.x86_64 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 |
| d12.aarch64 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 |
| d13.x86_64 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 |
| d13.aarch64 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 |
| u22.x86_64 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 |
| u22.aarch64 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 |
| u24.x86_64 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 |
| u24.aarch64 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 |
| u26.x86_64 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 |
| u26.aarch64 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 | PGDG 1.4.0 |
Source
github.com/klando/pgfincore
pgfincore-1.4.0.tar.gz
Install
Make sure PGDG repo available:
Install this extension with pig:
Create this extension with:
Usage
pgfincore provides functions to inspect and manage OS page cache contents for PostgreSQL relations using mincore and POSIX_FADVISE.
Inspect Cache State
Returns per-segment info: relpath, segment, os_page_size, rel_os_pages, pages_mem (pages in OS cache), group_mem, os_pages_free, pages_dirty, group_dirty.
Use pgfincore('relation', true) to include the databit varbit map for snapshot/restore.