What is capped collection MongoDB

Capped Collections MongoDB Capped collections are fixed-size circular collections that follow the insertion order to support high performance for create, read, and delete operations. By circular, it means that when the fixed size allocated to the collection is exhausted, it will start deleting the oldest document in the collection without providing Read more…

What is GridFS in MongoDB

MongoDB – GridFS GridFS is the MongoDB specification for storing and retrieving large files such as images, audio files, video files, etc. It is kind of a file system to store files but its data is stored within MongoDB collections. GridFS has the capability to store files even greater than its Read more…

How to working With Rock MongoDb

Working With rock MongoDB RockMongo is a MongoDB administration tool using which you can manage your server, databases, collections, documents, indexes, and a lot more. It provides a very user-friendly way for reading, writing, and creating documents. It is similar to PHPMyAdmin tool for PHP and MySQL. Downloading RockMongo You Read more…

What does MongoDB – Regular Expression

Regular Expression-MongoDB Regular Expressions are frequently used in all languages to search for a pattern or word in any string. MongoDB also provides functionality of regular expression for string pattern matching using the $regex operator. MongoDB uses PCRE (Perl Compatible Regular Expression) as regular expression language. Unlike text search, we do not Read more…

How to search for text in MongoDB

Text Search-MongoDB Starting from version 2.4, MongoDB started supporting text indexes to search inside string content. The Text Search uses stemming techniques to look for specified words in the string fields by dropping stemming stop words like a, an, the, etc. At present, MongoDB supports around 15 languages. Enabling Text Search Initially, Text Search Read more…

What is MapReduce in MongoDB

MApReduce in MongoDB As per the MongoDB documentation, Map-reduce is a data processing paradigm for condensing large volumes of data into useful aggregated results. MongoDB uses mapReduce command for map-reduce operations. MapReduce is generally used for processing large data sets. MapReduce Command Following is the syntax of the basic mapReduce command − >db.collection.mapReduce( function() Read more…

What is MongoDB – ObjectId

ObjectId-MongoDB We have been using MongoDB Object Id in all the previous chapters. In this chapter, we will understand the structure of ObjectId. An ObjectId is a 12-byte BSON type having the following structure − The first 4 bytes representing the seconds since the unix epoch The next 3 bytes are the Read more…

What is MongoDB ObjectID

Add Your Heading Text Here MongoDB uses ObjectIds as the default value of _id field of each document, which is generated while the creation of any document. The complex combination of ObjectId makes all the _id fields unique. Creating New ObjectId To generate a new ObjectId use the following code − >newObjectId Read more…