How to start implementing a database?

v2-4a74c29c943c966fe9b3aa5a5478e11e_1440

There is a question on Zhihu: How to implement a database? I couldn’t help itching and wrote another article. Using the most commonly used thinking in computers to analyze and understand problems, we can think about how to implement a database from two dimensions: logic and physics .

logical dimension

Data model (external, user-facing)

To implement a database, first you have to define what kind of data model for users? In the past few years, these may not be a problem. At that time, the database was approximately equal to relational data, approximately equal to Oracle/SQLServer/MySQL/PostgreSQL. However, with the continuous increase of the amount of data and the continuous refinement of user needs, the relational model can no longer be a new trick and eat all over the world.

This article is transferred from https://www.qtmuniao.com/2022/12/11/how-to-build-a-database/
This site is only for collection, and the copyright belongs to the original author.