Relational (SQL)
RequiredRequired
Relational databases store data in tables with a defined schema and are queried with SQL. They offer ACID transactions: several operations succeed or fail together. They are the default choice for almost any backend.
Which one to pick
- PostgreSQL: our recommendation. Very complete (JSON, text search, extensions such as PostGIS) and strict about data integrity.
- MySQL: widespread in hosting and in stacks such as WordPress or Laravel; simple to operate.
- SQL Server: common in companies built on .NET and the Microsoft ecosystem.
- SQLite: a database in a single file, with no server. Ideal for small apps, tests, and mobile or desktop applications.
SQL itself is almost the same in all of them: what you learn in one carries over to the rest.