Skip to content

DBMS

一句话解释

DBMS (数据库 Management 系统) 是 software 那个创建, 读取, 更新, and manages 数据库.

用大白话说

The DBMS is the program that sits between your application and the raw data on disk. When you write a query, the DBMS parses it, figures out the most efficient way to execute it, reads the data, and returns the result. PostgreSQL, MySQL, SQLite, MongoDB, and Redis are all DBMSs.

People often say "I use PostgreSQL" when they really mean "I use PostgreSQL DBMS 到 manage my 数据库." The database is the data; the DBMS is the software that manages it.

A good DBMS handles concurrency (many users at once), security (who can read what), integrity (enforcing rules), and recovery (surviving crashes).

示例

bash
# Start the PostgreSQL DBMS server
pg_ctl start

# Connect to it with the psql client
psql -U postgres -d mydb

PostgreSQL 是 DBMS — 你开始服务器处理, 然后连接使用客户端到 运行查询.

常见混淆

  • 容易混淆的对象: 数据库

    关键区别: 数据库是 数据它自己; DBMS 是 software 那个 manages 那个数据. One DBMS 能 manage 许多数据库.

相关术语

相关资源

相关课程

解读错误信息

用大白话解释常见错误——什么意思、为什么发生、如何修复。

查看错误

← 返回术语表