Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.

Roadmap · Build products

Choosing the right database

Opens with credits

For students and developers building apps who keep hearing about SQL, NoSQL, Redis, vector databases and warehouses and want to know which one their project actually needs. By the end you can describe your data, pick a sensible database for each job, try every major type with a small hands-on task and explain your choice in plain words.

Curated by Tauseef Fayyaz9 stages, 56 topics~4 months at a few hours a week

By the end, you will be able to

  • Describe any app's data by its shape, how it is read and written, and how correct it must be, before naming a product
  • Explain why a relational database such as PostgreSQL is the usual default, and use its JSON columns when part of the data is flexible
  • Say when a document store, a key-value store or a cache is the better fit, and the trade-off you accept with each
  • Add search and vector similarity to an app, starting inside PostgreSQL and knowing when a dedicated engine is worth it
  • Tell OLTP from OLAP and know when reports belong in a columnar warehouse, and where graphs, time series and files fit
  • Choose between managed and self-hosted options across AWS, Azure and Google Cloud, learn on free tiers and justify the choice with a short checklist

The path

9 stages, in the order to learn them. Open one to start.

  1. 1Start from the data, not the productBefore picking a database, describe the data: its shape, how it is read and written, how correct it must be and how much there will be. These answers choose the database for you.6 topics · ~1 week
  2. 2Relational databases: the sensible defaultPostgreSQL and MySQL store related records in tables with keys, constraints and transactions. For most apps one of them is the right first choice, and JSON columns cover the parts that do not fit a fixed shape.6 topics · ~2 weeks
  3. Document databases: MongoDB and FirestoreDocument databases store each record as a JSON-like document, often with related data nested inside. They suit data that varies in shape and is read one whole record at a time.6 topics · ~2 weeksOpens with credits
  4. Key-value stores and cachingKey-value stores fetch a value by its key, extremely fast. Learn Redis as a cache and for sessions, rate limits and queues, DynamoDB as a primary key-value database, and when a cache is the wrong place for data.6 topics · ~2 weeksOpens with credits
  5. Search: from Postgres full-text to search enginesA search box needs more than LIKE. Learn how inverted indexes and relevance ranking work, start with PostgreSQL full-text search, and know when Elasticsearch, OpenSearch, Meilisearch or Typesense are worth running.6 topics · ~2 weeksOpens with credits
  6. Vector databases for AI featuresEmbeddings turn text and images into vectors, and vector search finds the nearest ones. Learn what that means, when pgvector inside PostgreSQL is enough, and when Qdrant, Pinecone, Chroma, Weaviate or Milvus make sense.7 topics · ~2 weeksOpens with credits
  7. Columnar databases and warehousesReports over millions of rows need a different kind of database. Learn OLTP versus OLAP, why columnar storage is fast for analytics, and where BigQuery, Snowflake, Redshift, ClickHouse and DuckDB fit.6 topics · ~2 weeksOpens with credits
  8. Graph, time-series and object storageThree specialised homes for data: graph databases for questions about connections, time-series databases for readings over time, and object storage for files. Know when each earns its place and when Postgres already covers it.6 topics · ~2 weeksOpens with credits
  9. Choosing, combining and running itPut it together: managed versus self-hosted, the matching services on AWS, Azure and Google Cloud, free tiers to learn on, what drives cost, why one Postgres is often enough, a decision checklist, and Firebase versus Supabase.7 topics · ~1 weekOpens with credits
Keep reading

7 more stages, 44 more topics, free with an account.

You have seen the open stages of the Choosing the right database roadmap. Every topic it covers is listed above, and an account opens the rest: what each topic means, a question to check yourself, the courses, the practice and Tauseef's advice for every stage. Early access is open: sign up and your account is active shortly after.

Everything here is free to learn from. A few things, like adding a roadmap, keeping a cheat sheet or asking Tauseef a question, use credits. You get 15 when you join, your first roadmap is free, and if you are learning seriously and run out, you can ask for more. Credits only make sure the platform goes to people who are actually learning.

Build a project

A finished project proves more than a certificate.

Picked from the other libraries by shared topics.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

  • 1:1 Mentorship
  • Fresh Graduate Mentorship
  • Career Guidance

Brand deals, promos and partnerships: tauseeffayyaz@gmail.com