pg_cooldown
remove buffered pages for specific relations
pg_cooldown : remove buffered pages for specific relations
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 5070 | pg_cooldown | pg_cooldown | 0.1 |
ADMIN | Apache-2.0 | 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 pgfincore pgcozy pg_prewarm |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.1 |
18 17 16 15 14 | pg_cooldown |
- |
| RPM | PIGSTY | 0.1 |
18 17 16 15 14 | pg_cooldown_$v |
- |
| DEB | PIGSTY | 0.1 |
18 17 16 15 14 | postgresql-$v-pg-cooldown |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| el8.aarch64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| el9.x86_64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| el9.aarch64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| el10.x86_64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| el10.aarch64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| d12.x86_64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| d12.aarch64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| d13.x86_64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| d13.aarch64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| u22.x86_64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| u22.aarch64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| u24.x86_64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| u24.aarch64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| u26.x86_64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
| u26.aarch64 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 | PIGSTY 0.1 |
Source
github.com/rbergm/pg_cooldown
pg_cooldown-0.1.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
pg_cooldown is the complement to pg_prewarm: it removes all buffered pages of a specific relation from the shared buffer, useful for simulating cold-start scenarios in research and testing.