Brief introduction of database classification
1. Introduction to the database
A database is a warehouse for storing and managing data. The data is stored in a certain format. Users can add, modify, delete, and query data in the database.
2. Classification of the database
- Relational Database
- Non-relational database
Relational database:
refers to a database that uses a relational model to organize data. Simply put, a relational model refers to a two-dimensional table model, like a table in an Excel file, and emphasizes the use of tables to store data.
Core elements in relational databases
- Data row
- Data column
- data sheet
- Database (collection of data tables)
Commonly used relational databases:
- Oracle
- Microsoft SQL Server
- MySQL
- SQLite
Non-relational database:
Non-relational database, also known as NoSQL (Not Only SQL), means not only SQL, the most common definition of NoSQL is "non-relational", emphasizing the key-value method of storing data .
Commonly used non-relational databases:
- MongoDB
- Redis
3. The role of the database
The role of the database is to store and manage data, such as: the list of products we browsed on a certain Dong website, these data will be stored in the database.
4. The characteristics of the database
- Persistent storage
- Very high read and write speed
- Ensure the validity of data