AiTeky Original Interactive Learning & Practice Intermediate
Managed databases in the cloud: recovery, replicas and choosing a plan
See how a snapshot plus a log of changes lets you recover a database to any minute, why a read replica can show out-of-date data right after you save, and choose a backup and failover plan from the loss and downtime a business can bear.
A managed database is a database that a cloud provider runs for you: installing, patching, backing up and failing over are handled by the service. That removes a lot of work and creates three decisions you still own: how much data you can afford to lose, how long you can be down, and what your application does about copies that lag behind.
This course models these ideas with small programs you can run in your browser, using Python's built-in database for the first one. They mimic the behaviour of managed services; they are not any provider's product. Check your provider's documentation for exact features, limits and prices. All numbers are made up.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
Some SQL helps (see the SQL course). Basic Python helps.
- ▶ Run code in your browser. Nothing to install
- ✓ Exercises that check themselves
- 📖 Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 30 min Free sample 🔒 AiTeky Pass Snapshots, logs and point-in-time recovery Take a snapshot of a small database, keep a log of every change after it, make a destructive mistake, and recover to the minute before the mistake by restoring the snapshot and replaying the log, then work out the data you could lose and the time it takes.
- 02 30 min 🔒 AiTeky Pass Replicas and the stale read Add a read replica that copies the primary a moment later, see a user save a change and then not see it, and compare three fixes (read from the primary after writing, wait for the replica, send a version number with the request) by how often users see stale data and how much load stays on the primary.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

