A database is a system that systematically manages data, an organization's core asset. Unlike a file system, it minimizes data redundancy, guarantees integrity, and controls concurrent access. It is the foundation of every modern application.
An RDBMS (relational database) stores data in tables and uses SQL. PostgreSQL, MySQL, Oracle, and SQL Server are representative examples. By guaranteeing ACID transactions, it is well suited to data where consistency is important, such as finance and orders.
NoSQL refers to non-relational databases, whose strengths are flexible schemas and horizontal scaling. There are various types, such as document (MongoDB), key-value (Redis), column-family (Cassandra), and graph (Neo4j). It is suitable when large volumes of data, rapid change, and flexible structures are needed.
NewSQL is a database that combines the ACID guarantees of an RDBMS with the scalability of NoSQL. Examples include CockroachDB, YugabyteDB, and Google Spanner, and it is used when strong consistency is needed even in a distributed environment.
Considerations when choosing a database: you should comprehensively review the data structure (structured/unstructured), the required level of consistency, the scaling method (vertical/horizontal), query patterns (complex joins/simple lookups), whether transactions are needed, the team's technical proficiency, and so on.