mongo数据库插入数据_深入研究Mongo数据库

mongo数据库插入数据

More popularly known as "mongoDB". It is a no-sql based database.

俗称“ mongoDB” 。 这是一个基于无SQL的数据库。

BASIC STRUCTURE OF MONGO DB

MONGO DB的基本结构

MongoDB structure

A COLLECTION IN MONGODB having 3 DOCUMENTS

MONGODB中有3个文档的集合

MongoDB structure

ADVANTAGES OF MONGODB OVER SQL BASED DBS

MONGODB在基于SQL的DBS上的优势

  • Flexibility

    灵活性

    In comparison to a SQL based database, MongoDB is far more flexible.

    与基于SQL的数据库相比,MongoDB更加灵活。

    First, it supports a much wider array of datatypes. Secondly, unlike SQL based database which are composed of tables and columns it is based on JSON( Javascript Object Notation). MongoDB is of a graph like pdf format. Thus, within a collection, each document can have different schema/data model making MongoDB very flexible and less opinionated.

    首先,它支持更广泛的数据类型。 其次,与由表和列组成的基于SQL的数据库不同,它基于JSON(JavaScript对象表示法)。 MongoDB具有pdf格式的图形。 因此,在一个集合中,每个文档可以具有不同的架构/数据模型,从而使MongoDB非常灵活且无拘无束。

  • Availability

    可用性

    MongoDB makes more than one replicas of the primary database. Thus storing the same data at multiple locations. So, that traffic gets divided between multiple locations, therefore, ensuring fast retrieval of data even in cases of a large number of transactions.

    MongoDB制作主数据库的多个副本。 因此,将相同的数据存储在多个位置。 因此,该流量会在多个位置之间分配,因此即使在大量事务的情况下也可确保快速检索数据。

  • Readability

    可读性

    Computers parse data in MongoDB which is in JSON format at a much higher rate as compared to SQL- based database. Moreover for even human beings data in MongoDB is much more readable rather than tedious tables and columns used in SQL DBS.

    与基于SQL的数据库相比,计算机以JSON格式解析MongoDB中的数据的速率要高得多。 而且,对于人类来说,MongoDB中的数据比SQL DBS中使用的繁琐的表和列更具可读性。

蒙古罗盘 (MONGODB COMPASS)

It is a software developed by MongoDB enterprise which provides a user interface for viewing our mongo database. It also supports CRUD operations, Querying of our database. Also enables the filtering of data in the database via equality, inequality and geospatial filters. It even provides an analytical summary of data in each collection.

它是由MongoDB企业开发的软件,提供用于查看我们的mongo数据库的用户界面。 它还支持CRUD操作,数据库查询。 还可以通过相等,不相等和地理空间过滤器来过滤数据库中的数据。 它甚至提供每个集合中数据的分析摘要。

MONGODB SHELL (MONGODB SHELL)

  • Provides all the functionality provided by mongo compass.

    提供mongo罗盘提供的所有功能。

  • The difference is that it is not GUI tool rather it is an interpreter wherein user writes commands.

    区别在于它不是GUI工具,而是用户在其中编写命令的解释器。

  • Based JavaScript programming language.

    基于JavaScript的编程语言

翻译自: https://www.includehelp.com/mongodb/a-deep-dive-into-mongo-database.aspx

mongo数据库插入数据

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值