TomoLink
CompaniesMicrosoftSystem DesignHow to Decide Which Type of Database to Use
System Design
Mediumdatabase-and-storage

How to Decide Which Type of Database to Use

30 minsdatabase selectiondatabase types
30 mins
1 sections
database selection, database types

Overview

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? My short summary is as follows:

Database Types

  • 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.
  • 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.
How to Decide Which Type of Database to Use [Medium] | Microsoft System_design | TomoLink