7 Tweets 1 reads Dec 24, 2022
/1 How do you decide which type of database to use?
There are hundreds or even thousands of databases available today, such as Oracle, MySQL, MariaDB, SQLite, PostgreSQL, Redis, ClickHouse, MongoDB, S3, Ceph, etc. How do you select the architecture for your system?
/2 My short summary is as follows:
🔹Relational database. Almost anything could be solved by them.
🔹In-memory store. Their speed and limited data size make them ideal for fast operations.
🔹Time-series database. Store and manage time-stamped data.
/3 🔹Graph database. It is suitable for complex relationships between unstructured objects.
🔹Document store. They are good for large immutable data.
🔹Wide column store. They are usually used for big data, analytics, reporting, etc., which needs denormalized data.
/4 👉 Over to you: Obviously, I did not cover every type of database. Is there anything else you often use, and why do you choose it?
/5 Subscribe to my weekly system design newsletter (10-min read): lnkd.in
/6 I hope you've found this thread helpful.
Follow me @alexxubyte for more.
Like/Retweet the first tweet below if you can:
Edit: Change "Document store" to "Object store"

Loading suggestions...