pg_meminfo
Backend memory and process usage inspection from SQL.
pg_meminfo · Backend memory and process usage inspection from SQL.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101917 | pg_meminfo | pg_meminfo | 1.0 | STAT | MIT | C |
Usage
Sources:
pg_meminfo Backend memory and process usage inspection from SQL.
Enablement
Install the files for the intended server, then create pg_meminfo in the target database:
Core Workflow
The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.
Main Objects
The reviewed install surface includes these prominent objects:
| Object | Kind | Operational role |
|---|---|---|
smap_summary | VIEW | Inspection or query view created by the extension. |
get_all_smaps | FUNCTION | Callable function from the reviewed install surface. |
Operations and Boundaries
- Treat extension upgrades as database changes: review the upstream upgrade path, privileges, locks, and backup/restore behavior first.