📜  MS SQL Server与MongoDB之间的区别

📅  最后修改于: 2021-07-05 08:46:40             🧑  作者: Mango

1. MS SQL Server:
Microsoft SQL Server是一个依赖于平台的关系数据库管理系统(RDBMS),它既是GUI也是基于命令的软件。它支持公司IT环境中的各种事务处理,商业智能和分析应用程序。它由Microsoft Corporation开发,最初于1989年4月24日发布。它使用C和C++语言编写。

2. MongoDB:
MongoDB是一个跨平台的面向文档的非关系(即NoSQL)数据库程序。它是一个开放源代码文档数据库,以键值对的形式存储数据。 MongoDB由MongoDB Inc.开发,最初于2009年2月11日发布。它使用C++,Go,JavaScript, Python语言编写。 MongoDB提供高速,高可用性和高可伸缩性。

MS SQL Server和MongoDB之间的区别:

S.NO. MS SQL server Mongodb
1. Developed by Microsoft Corporation and initially released on April 24, 1989. Developed by MongoDB Inc. and initially released on 11 February 2009.
2. MS SQL server is written in C and C++. MongoDB is written in C++, Go, JavaScript, Python languages.
3. The primary database model for MS SQL Server is Relational DBMS The primary database model for MongoDB is Document store.
4. The license for MS SQL Server is Commercial. The license for MongoDB is Open Sourse.
5. MS SQL Server supports XML data format. MongoDB does not supports XML data format.
6. MS SQL Server provides ACID transactions without snapshot isolation. MongoDB provides Multi-document ACID transactions with snapshot isolation.
7. In MS SQL Server the data schema is Fixed. In MongoDB the data schema is Dynamic.
8. MS SQL Server provides the concept of Referential Integrity and have Foreign keys. MongoDB does not provides the concept of Referential Integrity. Hence no Foreign Keys.
9. MS SQL Server does not supports Map Reduce method. MongoDB supports Map Reduce method.
10. Server operating systems for MS SQL Server are Linux Windows. Server operating systems for MongoDB are Solaris, Linux, OS X, Windows.
11. Famous companies like Citi, Bank of America, UPS, etc uses MS SQL Server. Famous companies like Adobe, Amadeus, Lyft, ViaVarejo, Craftbase, etc uses MongoDB.