Operating a database
The admin literacy an entry-level role needs.
Running it in production
Beyond queries, a data-systems job expects operational fluency:
- Loading data fast —
COPYstreams CSV in/out far faster than row-by-rowINSERT(psql's\copydoes it client-side).INSERT ... SELECTandgenerate_serieshandle bulk transforms. - Backups —
pg_dump/pg_restorefor logical backups; understand point-in-time recovery exists. - Health —
VACUUM/ANALYZEreclaim space and refresh planner statistics (autovacuum does this automatically);pg_stat_activityshows live queries. - The psql client —
\dtlists tables,\d tabledescribes one,\dulists roles. - Connections — apps use a connection pool (PgBouncer) because each Postgres connection has real overhead.
You don't need to be a DBA, but knowing these terms — and that they exist — is the difference between a junior who can operate and one who's stuck.