📜  Oracle 和 MongoDB 的区别

📅  最后修改于: 2021-09-13 03:08:52             🧑  作者: Mango

1. 甲骨文:
Oracle 是一个关系数据库管理系统 (RDBMS)。它由 Oracle Corporation 于 1980 年开发。它是第一个专为网格计算设计的数据库,可提供最灵活、最具成本效益的信息和应用程序管理方式。它可以在 Windows、Unix、Linux 和 macOS 等主要平台上运行。它是一种关系数据库,用户可以通过应用程序或称为 SQL 的查询语言访问其中的数据。

2. MongoDB:
MongoDB 是一个跨平台的面向文档的非关系型(即 NoSQL)数据库程序。它是一个开源文档数据库,以键值对的形式存储数据。 MongoDB 由 MongoDB Inc. 开发,最初于 2009 年 2 月 11 日发布。它是用 C++、Go、JavaScript、 Python语言编写的。 MongoDB 提供高速、高可用性和高可扩展性。一旦安装了 MongoDB,用户也可以使用 Mongo shell。 Mongo shell 提供了一个 JavaScript 接口,用户可以通过它进行交互和执行 CRUD 操作。 Oracle 和 MongoDB 的区别:

S.NO. ORACLE MONGODB
1. It was developed by Oracle Corporation in 1980. It was developed by MongoDB Inc. in 2009.
2. It is written in C and C++. It is written in C++, Go, JavaScript, Python languages.
3. It is a commercial software. It is an open-source software.
4. Server operating systems for Oracle are Solaris, Linux, OS X, Windows. Server operating systems for MongoDB are Solaris, Linux, OS X, Windows, AIX, HP-UX.
5. It uses Horizontal partitioning method for storing different data on different nodes. It uses Sharding partitioning method for storing different data on different nodes.
6. Referential integrity is used in Oracle. No concept of referential integrity and no Foreign keys.
7. JDBC, ODBC, ODP.NET, OCI are the APIs and access methods used in Oracle. Proprietary protocol using JSON are the APIs and access methods used in MongoDB.
8. The replication methods that Oracle supports are Master-Slave Replication and Master-Master Replication. The replication method that MongoDB supports is Master-Slave Replication.
9. It provides fine grained access rights according to SQL-standard. It provides access rights for users and roles .
10. Immediate Consistency method ensures consistency in Oracle. Eventual Consistency and Immediate Consistency methods ensures consistency in MongoDB.