30-day lab plan · 🧮 Database Administrator (DBA)
Become job-ready as adatabase administrator in 30 days.
One focused task a day, four weeks, ending with a portfolio and a mock interview. Built for students and engineers in India who learn by doing — about 2 hours a day on weekdays, a little more on weekends.
Your kit
Set up before day 1
PostgreSQL and MySQL on two VMs, pgAdmin/DBeaver, sample datasets (pagila, employees), and our cron explainer. Everything here is free or has a free tier; a laptop with 16 GB RAM is enough for most labs (32 GB for nested clusters).
- Daily ruleFinish the task, write 5 lines of notes, commit to Git. Notes become your interview stories.
- Weekend ruleDay 7 of each week is a review: redo the hardest task from memory.
- Stuck rule30 minutes max, then ask in a community or our engineer network.
Week 1
SQL & design
- Day 1Install PostgreSQL + MySQL; load sample DBs
- Day 2Write 20 queries/day: joins, aggregates, window functions
- Day 3Design a schema for an invoicing app; normalise to 3NF
- Day 4Indexes: add/remove and compare EXPLAIN ANALYZE
- Day 5Transactions and isolation levels: reproduce a dirty/phantom read
- Day 6Constraints, triggers, views
- Day 7Review: document the schema and query performance findings
Week 2
Operations
- Day 8Backups: pg_dump/pg_basebackup + WAL archiving; mysqldump + binlogs
- Day 9Point-in-time recovery drill (drop a table, recover to just before)
- Day 10Users/roles/least privilege; TLS connections
- Day 11Monitoring with pg_stat_statements + Zabbix/Prometheus exporter
- Day 12Vacuum/bloat lab; pg_repack
- Day 13Scheduled maintenance with cron (use our explainer) and logging
- Day 14Review: write the DBA runbook v1
Week 3
HA & performance
- Day 15Streaming replication primary → standby; promote standby
- Day 16Patroni + etcd automatic failover (3 VMs)
- Day 17PgBouncer pooling; load test with pgbench
- Day 18MySQL InnoDB cluster or replica; failover
- Day 19Partition a large table; measure query gains
- Day 20Slow query triage exercise with a deliberately bad query
- Day 21Review: HA design doc with RPO/RTO
Week 4
Migration & portfolio
- Day 22ora2pg/pgloader: migrate a sample MySQL schema to PostgreSQL
- Day 23pgvector: load embeddings and run similarity search
- Day 24Security audit against CIS benchmark; fix findings
- Day 25Cost model: RDS vs self-managed on Proxmox for 500 GB
- Day 26Write a migration plan with dual-run and rollback
- Day 27Mock interview with our question bank
- Day 28Publish scripts/runbooks on GitHub; update resume
After day 30
What you will have
- A portfolio repoDiagrams, configs, scripts and runbooks a hiring manager can read in five minutes.
- Interview storiesReal faults you fixed — the answers to “tell me about a time…”.
- A certification targetSee the role path for which exam to book next.
- A place in our networkFinish the plan, share the repo, and apply — we mentor and place engineers who complete it.
Finished the plan? Show us.
Share your repo and notes; completed plans get a technical conversation with our architects and first paid tasks through the engineer network.