PostgreSQL
PostgreSQL von Grund auf lernen. SQL-Grundlagen, Joins, Indizes, Transaktionen, JSONB, EXPLAIN und Schema-Design.
14 Lektionen, der Reihe nach
- 120 Min.
Was ist PostgreSQL
Relational databaseACIDMVCCPostgres vs MySQL vs SQLiteWhere Postgres shines - 225 Min.
psql und erste Befehle
Psql command line clientConnecting as postgres userMeta commands like \l \c \dt \d \qSemicolons end statementsMultiline queriesSELECT version() - 330 Min.
Datenbanken und Tabellen erstellen
CREATE DATABASECREATE TABLEPRIMARY KEYNOT NULLDEFAULTDROP TABLE+1 - 425 Min.
Datentypen
Integer and bigintNumeric vs floatText and varcharBooleanTimestamptz vs timestampDate+3 - 530 Min.
SELECT und WHERE
SELECT specific columnsWHERE with AND ORBETWEENINLIKE and ILIKEIS NULL+2 - 635 Min.
Joins
INNER JOINLEFT JOINRIGHT JOINFULL OUTER JOINSelf joinUSING vs ON - 730 Min.
Aggregate und Gruppierung
COUNTSUMAVGMINMAXGROUP BY+3 - 835 Min.
Indexes
B-tree defaultCREATE INDEXMulti-column indexPartial index WHERE activeUnique indexWrite cost+1 - 935 Min.
Transactions und Isolation
BEGIN COMMIT ROLLBACKSavepointsREAD COMMITTED defaultREPEATABLE READSERIALIZABLEDirty read non-repeatable read phantom read serialization anomaly - 1035 Min.
Functions und Triggers
CREATE FUNCTIONLANGUAGE plpgsqlRETURNSCREATE TRIGGERBEFORE UPDATENEW and OLD+1 - 1135 Min.
JSONB und Arrays
JSONB column-> operator->> operator@> contains operatorGIN index on jsonbText[] and integer[] arrays+2 - 1235 Min.
EXPLAIN und Query-Optimierung
EXPLAINEXPLAIN ANALYZESeq scan vs index scan vs index-only scanFixing a missing indexPg_stat_statements overview - 1325 Min.
Sichern und Wiederherstellen
Pg_dump custom formatPg_restorePlain SQL dumpsPoint-in-time recovery overview - 1460 Min.
Abschlussprojekt: Ein Schema entwerfen
Schema designPrimary and foreign keysIndexes on hot columnsUpdated_at triggerJSONB metadataJoins with aggregates+1
Lerne PostgreSQL in deiner Sprache
Jede Lektion, jedes Quiz und jede Tutor-Antwort erscheint in deiner Sprache. Der KI-Tutor antwortet in der Sprache, in der du fragst.
Roles that use PostgreSQL
See how hiring teams interview engineers on PostgreSQL, in production-like environments.
Database Administrator (DBA)
Hire DBAs in real workspaces with PostgreSQL or MySQL, real replication lag, real slow queries and real backups to restore. Live or take-home.
See the interviewBackend Engineer (Go, Rust, Java)
Hire backend engineers in real services with real databases, real concurrency and real latency budgets. Live or take-home, fully recorded.
See the interviewData Engineer
Hire data engineers in workspaces with real Spark, dbt and Airflow pipelines. Schema drift, bad data and reruns included.
See the interview