# Performance und Kapazität

> Queries, Indizes und Ressourcen anhand messbarer Evidenz verbessern.

Track: [Datenbankadministration für Sysadmins](https://physar.tech/learn/database-administration-basics)  
Kanonische Fassung: https://physar.tech/learn/database-administration-basics/performance-capacity  
Stand: 2026-07-29  
Interaktiver Teil: 2 Checks (nur im Browser)

## Performance und Kapazität

### Die Betriebsfrage

Performancearbeit ist Hypothesentest. Queryplan, Datenvolumen, Sperren und Ressourcen bestimmen die nächste sichere Änderung.

> **Lernziel:** Du kannst einen Indexvorschlag erst nach Plan- und Lastanalyse bewerten.

### Messroute

Symptom messen → Plan und Parameter prüfen → kleinste Änderung testen → Last und Nebenwirkung vergleichen

## Quellen

- postgresql.org/docs/current/using-explain.html — https://www.postgresql.org/docs/current/using-explain.html
- postgresql.org/docs/current/indexes.html — https://www.postgresql.org/docs/current/indexes.html
