# le0pard/pgtune

Pgtune - tuning PostgreSQL config by your hardware

Repository: https://github.com/le0pard/pgtune
Canonical: https://ross.abutalabs.com/products/pgtune
Homepage: https://pgtune.leopard.in.ua/
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, pgtune, hardware, postgresql, pwa, rdbms, database, tunning, performance, performance-tuning
Last push: 2026-08-08T22:34:41+00:00

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

## Adoption (not part of the score)
Stars 2735, forks 246 (observed 2026-08-28T04:07:16.285816+00:00)

## What it is
PgTune is a web application that generates tuned PostgreSQL configuration files based on your hardware specifications. It is a modern rewrite of the original pgtune tool, built as a PWA with JavaScript.

## Use cases
- generate postgresql.conf for my server hardware
- tune postgres memory settings for a given amount of RAM
- calculate optimal postgres config for a web application workload
- recommend postgres settings for a data warehouse
- optimize postgresql performance parameters
- get starting postgres config for a new database server

## When to choose
- you need a quick, sensible starting postgresql.conf for your hardware
- you want a free hosted tool with no installation
- you are provisioning a new postgres server and want baseline tuning

## When to avoid
- you need runtime adaptive tuning or query-level optimization
- you require per-workload deep analysis rather than hardware-based heuristics
- you need to manage configs across many servers automatically

## Facets
- artifact type: application
- maturity: active
- function: configuration-management, developer-tools, database
- domain: databases, developer-tools, performance
- platform: -
- tags: postgresql, config-generator, pwa, performance-tuning, web-app, web, javascript, nodejs

## Member repositories
- le0pard/pgtune (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:16.285816+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:14:27.593258+00:00, confidence not recorded.
  - readme: https://github.com/le0pard/pgtune (fetched 2026-08-28T04:07:16.285816+00:00, sha b5a8c22e9115)
  - homepage: https://pgtune.leopard.in.ua/ (fetched 2026-08-29T09:57:49.431856+00:00, sha 10d0d9f85cf6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
