📜  Oracle和MongoDB之间的区别

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