Skip to main content
Back to courses

Database Administration

Design, tune, operate and secure production databases: normalisation, indexing, backups, replication, access control, monitoring and safe migrations.

Level: Mid-level4 modules · 12 lessons · 7h 40m
databasespostgresqlsqldatabase administrationperformance tuningbackup and recoverysecurity

Leads to: Database Administrator, Data Engineer

Before you start

This course builds on SQL for Analysis and Linux Administration. Take them first if you are new to the topic.

About this course

This mid-level course takes you from writing SQL to running databases that other people depend on, the core of the database administrator role. The first module covers design: normalising tables to third normal form, choosing keys, data types and constraints for the workload, and deciding when a relational database or a document, key-value, wide-column or graph store fits better. The second module is performance: indexing strategy and composite indexes, reading query plans, rewriting slow queries, and how transactions, isolation levels, locks and deadlocks behave under concurrency. The third module is operations on a real PostgreSQL server that you run yourself in Docker or as a native install: configuration files, roles, logical backups and tested restores, point-in-time recovery, and replication with safe failover. The last module covers security and monitoring: least-privilege roles with GRANT and REVOKE, watching connections, slow queries and bloat with pg_stat_statements and the statistics views, and planning zero-downtime schema migrations with expand, backfill and contract. Design and performance lessons have SQL exercises that run in your browser on SQLite; operations lessons are hands-on steps on a practice server with practice data only. Most ideas transfer to MySQL, SQL Server and managed cloud databases, and lessons point out where engines differ. Employers usually also look for a degree or equivalent experience, vendor certifications and on-call experience, which you build on the job.

Course content

  1. Module 1

    Database Design

  2. Module 2

    Performance

  3. Module 3

    Operations

  4. Module 4

    Security and Monitoring

Where this course leads