📜  MySQL 和 SQLite 的区别

📅  最后修改于: 2021-09-11 04:44:55             🧑  作者: Mango

1. MySQL:
MySQL 是一种基于结构化查询语言 (SQL) 的开源关系数据库管理系统 (RDBMS)。它由oracle 公司开发和管理,于1995 年5 月23 日首次发布。它被广泛应用于许多小型和大型工业应用程序,能够处理大量数据。

2. SQLite:
SQLite 是一个提供关系数据库管理系统(RDBMS)的软件库。它由 D. Richard Hipp 于 2000 年 8 月设计。SQLite 的设计目标是允许程序在不安装数据库管理系统(DBMS)的情况下运行或需要数据库管理员。 SQLite 中的 lite 意味着在设置、数据库管理和所需资源方面的轻量级。

MySQL 和 SQLite 的区别:

S.NO. MySQL SQLite
1. Developed by Oracle on May 1995. Developed By D. Richard Hipp on August 2000.
2. MySQL is developed in C and C++ languages. SQLite is developed only in C language.
3. MySQL requires a database server for its functioning. Hence, it follows client/server architecture. SQLite does not require a server to run. Hence, it is serverless.
4. It can handle multiple connections simultaneously. It can handle only one connection at a time.
5. It is highly scalable and can handle a large volume of data very efficiently. It can handle only small set of data if the volume of data increased its performance degrades.
6. It requires large space in the memory for its functioning (approx 600 Mb). It requires only some KBs of space as it is very lightweight approx (250Kb-300Kb).
7. MySQL supports multiple user environment. SQLite does not support multiple user environment.
8. It also supports XML format. It does not supports XML format.