NOTE

Relational Database

1. What Is a Relational Database A database that uses the relational model to organize data. Relationships: one-to-one, one-to-many, many-to-many; many-to-many can be decomposed into two one-to-many relationships through an intermediate table. 2. Why Relational Databases Are Needed 3. Characteristics of Relational Databases 3.1. Table-Structured Storage Data is stored using a two-dimensional table model, in rows and columns. 3.2. Normalized Design Database Normal Forms.md 3.3. Query Data Using SQL SQL Join Queries.md 3.4. Support Transactions Database Transactions.md

DatabasesCreated Updated 1 min readhistorical

This is a historical learning note and may contain outdated or incomplete understanding.

1. What Is a Relational Database

  • A database that uses the relational model to organize data
  • Relationships
    • One-to-one
    • One-to-many
    • Many-to-many: can be decomposed into two one-to-many relationships through an intermediate table

2. Why Relational Databases Are Needed

3. Characteristics of Relational Databases

3.1. Table-Structured Storage

  • Data is stored using a two-dimensional table model, in rows and columns

3.2. Normalized Design

3.3. Query Data Using SQL

3.4. Support Transactions

4. Database Optimization

5. Database Principles

5.1. SQL Execution Order

5.2. Locks

5.3. B+Tree

6. Common Relational Databases

6.1. MySQL

6.2. PostgreSQL

7. References

Discussion

Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub