# jfcoz/postgresqltuner

Simple script to analyse your PostgreSQL database configuration, and give tuning advice

Repository: https://github.com/jfcoz/postgresqltuner
Canonical: https://ross.abutalabs.com/products/postgresqltuner
Homepage: https://postgresqltuner.pl
Language: Perl
License: GPL-3.0
License Family: copyleft
Topics: postgresql, perl, docker, tuning, postgresql-database, postgres, ssh, mem-buffer
Last push: 2024-01-08T22:51:46+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3548, "days_push": 968, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2699, forks 192 (observed 2026-08-28T04:07:11.314702+00:00)

## What it is
postgresqltuner.pl is a Perl script that analyzes a running PostgreSQL instance's configuration and produces a report with tuning hints, inspired by mysqltuner.pl. It inspects OS settings, memory configuration, connections, extensions, and version info to recommend configuration improvements.

## Use cases
- tune postgresql configuration for my server
- analyze postgres memory settings like shared_buffers and work_mem
- audit postgresql instance for misconfigurations
- get tuning advice for a postgres database
- check if my postgres settings use RAM efficiently
- run a health report on my postgresql instance over ssh

## When to choose
- you run self-hosted PostgreSQL and want quick config recommendations without installing agents
- you want a mysqltuner-style one-shot report for PostgreSQL
- you need to inspect remote instances via SSH or Docker

## When to avoid
- you need continuous monitoring and alerting rather than point-in-time analysis
- you use a managed cloud database without superuser access
- you want automated config changes rather than advice

## Facets
- artifact type: cli-tool
- maturity: active
- function: monitoring, developer-tools, database
- domain: databases, performance
- platform: cli, self-hosted
- tags: postgresql, tuning, perl, database-configuration, mysqltuner-inspired, devops, linux, docker

## Member repositories
- jfcoz/postgresqltuner (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.314702+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:16:07.538152+00:00, confidence not recorded.
  - readme: https://github.com/jfcoz/postgresqltuner (fetched 2026-08-28T04:07:11.314702+00:00, sha 48d1d447ec87)
- Data as of 2026-08-30T08:39:29.467469+00:00.
