LearnViz CompSci
Home / Learn / Databases

πŸ—„οΈ Databases

Storing, querying and scaling data. 51 topics, from beginner to advanced.

Databases store, organize and retrieve data reliably. This area covers relational models and SQL, indexing and query planning, transactions and consistency, and the trade-offs of NoSQL and distributed storage. Understanding these topics explains why an application is fast, why data stays correct after a crash, and how systems grow beyond one machine.

Who this area is for

Backend developers, data analysts who write SQL, and anyone designing an application that must store data safely.

Real-world use cases

Topics in Databases

Beginner (17)

Intermediate (17)

Advanced (17)

How to study Databases

Design a small schema for a real problem, such as a library or a shop, then write queries against it. Use EXPLAIN on each query to see how the database runs it. Read the transaction topics with a concrete example, such as a bank transfer, in mind.

Frequently asked questions

SQL or NoSQL: which should I use?
Use SQL when data has clear relationships and you need transactions and flexible queries. NoSQL fits known access patterns, very large scale or flexible schemas. Many production systems use both.
Why do database indexes make queries faster?
An index is a sorted structure, usually a B-tree, that lets the database find matching rows without scanning the whole table. The trade-off is extra storage and slower writes.
What does ACID mean?
ACID stands for Atomicity, Consistency, Isolation and Durability. Together they guarantee that transactions either complete fully or not at all and survive crashes.
Should I learn SQL before NoSQL?
Yes. Relational concepts such as keys, joins and transactions appear in most data systems, and they make it easier to understand what NoSQL databases trade away.
Do I need a database administrator skill set to be a backend developer?
Not at first. Knowing how to model data, write efficient queries and read a query plan covers most day-to-day needs. Operations skills such as backups and replication can come later.

Open the interactive Databases area Take the Databases quiz

Other areas