📜  SQLite和PostgreSQL之间的区别

📅  最后修改于: 2021-08-27 17:57:38             🧑  作者: 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.