Questions tagged [mongodb]

MongoDB is a scalable, high-performance, open source, document-oriented NoSQL database. It supports a large number of languages and application development platforms. Questions about server administration can be asked on http://dba.stackexchange.com.

MongoDB is a widely used, general-purpose, document-oriented NoSQL database with features including high-availability replication and auto-sharding for horizontal scaling.

The MongoDB Community Edition database server and tools are open-sourced and available under Server Side Public License (all versions released after October 16, 2018) or AGPL v3.0 license (versions released prior to October 16, 2018). Commercial Licenses are also available from MongoDB, Inc.

MongoDB has strong support for dynamic querying and aggregating data including MapReduce and an Aggregation Framework. MongoDB uses BSON (Binary JSON) format for storage purposes and the MongoDB Wire Protocol for communication between client drivers and the MongoDB server. Officially supported Drivers and Client Libraries are available for most popular programming languages, and there are also Community Supported Drivers which offer alternative implementations and support for further programming languages.

The latest MongoDB server releases can be installed via common packaging systems or downloaded as binary archives from mongodb.com.

The current production release series of MongoDB 4.0. It is generally recommended to stay current with the latest minor release of a production release series (e.g. 4.0.x) to take advantage of bug fixes and backward-compatible improvements. For more information on the versioning scheme used by the server, see MongoDB Version Numbers.

FAQ

The mongodb-user discussion forum is very busy and almost every question on earth has been asked on there, so try searching the archives.

Tip: searching Google with " site:groups.google.com/group/mongodb-user" added to your search terms generally works better than using the Google Groups search bar.

For help with data modeling (schema design), check out the Data Modeling Considerations for MongoDB Applications documentation page or search the mongodb-user discussion forum archives. For information on MongoDB Security, view the Security section of the MongoDB Manual which includes a MongoDB Security Checklist.

MongoDB, Inc. (the company behind MongoDB) provides archives of many presentations from their events such as conferences and webinars. They also develop a number of related tools and services including MongoDB Cloud Manager, MongoDB Ops Manager, MongoDB Atlas, and MongoDB Compass.

Useful links

Initial Release:

February 11, 2009

Stable Release:

6.2.0 (Feb 7, 2019)

https://docs.mongodb.com/manual/release-notes/4.0

Books

15 questions
21
votes
3 answers

Uses of NoSQL database in data science

How can NoSQL databases like MongoDB be used for data analysis? What are the features in them that can make data analysis faster and powerful?
10land
  • 369
  • 3
  • 10
11
votes
3 answers

Which is faster: PostgreSQL vs MongoDB on large JSON datasets?

I have a large dataset with 9m JSON objects at ~300 bytes each. They are posts from a link aggregator: basically links (a URL, title and author id) and comments (text and author ID) + metadata. They could very well be relational records in a table,…
blue-dino
  • 383
  • 2
  • 3
  • 11
11
votes
3 answers

Can map-reduce algorithms written for MongoDB be ported to Hadoop later?

In our company, we have a MongoDB database containing a lot of unstructured data, on which we need to run map-reduce algorithms to generate reports and other analyses. We have two approaches to select from for implementing the required…
Amir Ali Akbari
  • 1,393
  • 3
  • 13
  • 25
6
votes
1 answer

Database options for JSON storage, queried with Apache Drill

I am planning to set up a JSON storage system. It will store tens of millions of JSON records, all in the same format. I'd like to be able to query the data using Apache Drill. It looks like there is Drill support for MongoDB and Postgres. However,…
sheldonkreger
  • 1,169
  • 8
  • 20
5
votes
3 answers

Storing Sensor Data for Analysis of the Office

I have currently been tasked with designing an application that tracks several different measurements around the office, eg. the temperature, light, presence of people, etc. Having never really worked on data analysis before, I would like some…
3
votes
1 answer

Data representation (NoSQL database?) for a medical study

Problem description I have a data set about 10000 patients in a study. For each patient, I have a list of various measurements. Some information is scalar data (e.g. age), some information is time series of measurements, some other information can…
Karel Macek
  • 131
  • 2
2
votes
1 answer

Which open-source sgdb for kind of large data

I have a 7 giga confidential dataset which I want to use for a machine learning application. I tried : Every package recommanded for efficient dataset management in R like : data.table, ff and sqldf with no success. Data.table needs to load all…
Stéphanie C
  • 281
  • 1
  • 2
  • 5
1
vote
0 answers

MongoDB Groupby Rank

Im Working With Mongodb And Wanted to do a query using Aggregate fucntion. Query Is Each city has several zip codes. Find the city in each state with the most number of zip codes and rank those cities along with the states using the city…
Noob
  • 11
  • 1
1
vote
0 answers

Deal with huge amount of data

I'm writing to get advices about my project. I want to make recommander system for shop with some products. In fact i want to recommand to shop A to take item X because shop B sell this item and shops A and B are very similar. The "problem" here is…
Learner
  • 31
  • 3
1
vote
2 answers

Should I use MongoDB instead of storing data in CSV in python?

I am currently storing data crawled from multiple websites having same but still different structure so every crawler is saving data in separate csv. I am planning to store the data using MongoDB instead of storing it in csv. Will this be…
Rishabh Sharma
  • 619
  • 1
  • 8
  • 17
1
vote
1 answer

Is Elastic Search recommended if attribute getting search is not a huge text document?

We are currently developing a system with MEAN stack with Mongodb at backend. We have employees name, and Ids in our system and our client wants to get pretty good (Read: Google Like) search in our system to search for employees' records. He needs…
1
vote
0 answers

How to dowload Wikileaks Cable Leaks documents as text corpus?

I'd like to perform NLP analysis on Wikileaks US Diplomatic Cable Leaks documents (https://wikileaks.org/plusd/), preferably as Python's NLTK3 corpus od Mongo DB documents. I couldn't find any option for download these in any raw text format, so I'm…
Hendrik
  • 8,377
  • 17
  • 40
  • 55
1
vote
1 answer

What is the difference between mongodb and tuple space storages

There are some storage space type like GigaSpaces. that inspired from tuple space. Would you say mongodb can act like a tuple space or not? What is the difference between mongo and tuple space?
mlibre
  • 111
  • 4
1
vote
2 answers

What is a good way to start Data Analysis of unknown dataset (JSON data)

I am working with an organization to analyse their data residing in Mongodb and to look for any trends/patterns in the data. I am quite new to the professional field of Data Analysis but have a good background of Statistics and Data Mining…
Rohan
  • 191
  • 10
0
votes
0 answers

How should I save data in deeplearning with nosql (mongodb)?

I usually use file system to manage data for my deep learning model, but one of my boss told me to make nosql database to manage data. Datasets I use have m rows, and n columns of count matrix and column, and row names (over 30000 rows, over 30000…