Tutor WorkstationTest site

Lesson 5: SQLite vs PostgreSQL

The everyday picture

SQLite is a notebook in your pocket: always with you, no setup, perfect for one person writing. PostgreSQL is a library with a librarian: many people can read and write at once, the librarian checks who's allowed in, and nothing gets lost in the crowd.

What it really is

What it means for your idea

For learning, a prototype or a small personal tool, SQLite is perfect: nothing to set up. Once you have real users logging in, booking, paying or editing at the same time, you want PostgreSQL. Moving later is possible, but it's easier to start with PostgreSQL if you already know the app will have many users.

Pick this when...

Quick check

A booking site where 200 people might book slots at the same moment. Which database? PostgreSQL. Many people writing at once is exactly what it's built for.

Goes deeper in Modules 51–62.

← Lesson 4: PHP vs Node.jsLesson 6: Shared hosting vs VPS →