One page that sets SQL, document, and vector databases side by side. Print it, save it as a PDF, or send it to a colleague.
| SQL (relational) | NoSQL (document) | Vector | |
|---|---|---|---|
| Stores | Tables with fixed columns | Whole records with flexible fields | Embeddings, lists of numbers describing meaning |
| You ask | “Which orders came from this customer?” | “Show me this user’s profile.” | “Find content like this.” |
| Strong at | Clear links between tables, exact answers | Changing shapes, fast growth | Search by meaning, similar items |
| Weak at | Frequent shape changes | Joining many records | Exact terms, so add keyword search |
| Typical example | Orders and invoices | User profiles and posts | Searching your own documents with AI |
| Read more | SQL vs NoSQL | SQL vs NoSQL | What Does a Vector Database Do? |
How to choose
- Fixed shape and clear links between tables: start with SQL.
- Varied records that change often: look at a document database.
- Search by meaning across text or files: use a vector database, and add keyword search for exact terms.
Not sure? Take the two-minute quiz.
A starting point for learning, not a design review. From SI Database. Go deeper with The Data Behind AI.