Module 51: Introduction to Databases

Lesson 4 of 5 · 15–25 minutes

SQL and NoSQL

🏠The everyday picture

A library catalogue with strict cards for every book, versus a box of folders where each folder can hold whatever papers belong to that topic. Both have their uses; the catalogue is better for most libraries.

📘What it really is

🖱️Try it

For each of these, write which kind of database you'd choose and why: a booking system for a clinic; a cache of exchange rates; storing user-written blog posts with varying sections; a "people you may know" feature; a search that finds lessons similar in meaning to a question.

✅Quick check

Which kind of database is usually best for customers, orders and payments?

Show the answer

A relational database, such as PostgreSQL.

What's Redis commonly used for in web apps?

Show the answer

Caching, sessions and rate-limit counters: fast key-value lookups.

← PreviousRelational databases
ProLearners Assist