📜  SQLite 和 PostgreSQL 的区别

📅  最后修改于: 2021-09-11 03:49:29             🧑  作者: Mango

1. SQLite:
SQLite 是一个提供关系数据库管理系统 (RDBMS) 的软件库。它由 D. Richard Hipp 于 2000 年 8 月设计。SQLite 的设计目标是允许程序在不安装数据库管理系统 (DBMS) 或不需要数据库管理员的情况下运行。
MySQL的一些特性是——

  • 高可靠性
  • 嵌入式
  • 事务遵循 ACID 属性

2. PostgreSQL :
它是一个功能强大的开源对象关系数据库系统。由于其高稳定性,它以低维护工作提供良好的性能。 PostgreSQL 是第一个实现多版本并发控制 (MVCC) 功能的 DBMS。
PostgreSQL 的一些亮点是——

  • 支持大量语言
  • 它处理高级安全功能
  • 它具有地理标记支持

SQLite 和 PostgreSQL 的区别:

S.NO. SQLITE POSTGRESQL
1. Developed by D. Richard Hipp on August 2000. Developed By PostgreSQL Global Development Group on 1989.
2. It is widely used in-process RDBMS. It is widely used open source RDBMS.
3. Implementation language is C. Implementation language is C.
4. It has no Secondary database models It has Document store as Secondary database models
5. It does not supports XML format. It supports XML format.
6. SQLite does not require a server to run. Hence, it is serverless. Server operating systems for PostgreSQL are FreeBSD, Linux, OS X, Solaris and Windows.
7. It does not support Server-side scripting It has user defined functions for Server-side scripts
8. It does not support any replication methods. It support only one replication methods Master-master replication.
9. It does not support any Partitioning methods. In PostgreSQL, partitioning can be done by range, list and hash.
10. It supports in-memory capabilities. It does not supports in-memory capabilities.
11. SQLite provides ACID transactions. PostgreSQL also provides ACID transactions.