Back to course overview
Database Administration
Security and Monitoring
Grant least privilege, monitor slow queries, connections and bloat, and roll out schema migrations without downtime.
3 lessons ยท 2h 21m
- 53mAccess controlReading
Apply least privilege with roles, GRANT and REVOKE, default privileges and regular audits of who can do what.
- 47mMonitoringReading
Watch connections, slow queries, cache hit ratio, dead tuples and disk, and use pg_stat_statements to find what to fix first.
- 41mSchema migrationsReading
Plan schema changes as versioned migrations and roll them out without downtime using expand, backfill and contract.