Questions tagged [mongodb]

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

enter image description here

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 database server and tools, written in C++, are open-sourced and available under AGPL v3.0 license or a Commercial License. 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.org.

FAQ

The mongodb-user mailing list 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 mailing list archives.

MongoDB, Inc. (the company behind MongoDB) provides archives of many presentations from their events such as conferences and webinars.

Useful links

200 questions
10
votes
1 answer

Why does MongoDB check for order of keys when matching embedded documents?

The db.collection.find() documentation includes this explanation of Query Exact Matches on Embedded Documents: The following operation returns documents in the bios collection where the embedded document name is exactly { first: "Yukihiro", last:…
tscizzle
  • 313
3
votes
1 answer

Storing data in elasticsearch vs mongodb

We are trying to create an online-shopping like application in which we have to store a huge amount of data,since the data that will be stored are mostly document like data, the suggestion was to store the data in mongodb and using elasticsearch to…
2
votes
1 answer

What is the best way to store multilingual data in MongoDB?

I want to save/serve multilingual data in my CMS application using Mongoose. Is this the correct way? name: { global: { type: String, default: '', trim: true, required: 'Please fill name', }, en_US:…
Burak
  • 159
1
vote
0 answers

On fetching an item does the database read its whole content?

In my database (mongoDB) I have a model called exam and each instance of the modal has a somewhat large json object (500k). I'm using strapi cms to make the query, using graphql plugin. However when fetching all the ids of the model, the fetching is…
sir-haver
  • 179
  • 5
1
vote
0 answers

Relational DB sync to Mongo DB

I am currently working with a system which has been upgraded piecemeal from an original Visual FoxPro solution, to a system that now has the following parts: Local FoxPro installation (this is a Point Of Sale system, so designed to be used on…
Macros
  • 147
0
votes
1 answer

Copying/cloning MongoDB database from production to development

I am struggling to find a good way to copy over our production MongoDB database to overwrite our development database on demand. db.copyDatabase doesn't work from the command line using mongo-cli. Is there a better way to clone a database and…