Sharding is an approach of distributing data across different machines. In other words, it can be said that the sharding concept is used for splitting large data sets into undersized data sets across several MongoDB instances. In this chapter, you will learn about this MongoDB feature name - sharding.
SQL Injection which is abbreviated as SQLi is one of the popular databases attacking technique that poisons dynamic SQL statements which blurs out certain segments of the query assertion or append an additional condition which leads the logic to true.
After creating an updating the document, a situation might occur where you want to delete any document or a set of documents. MongoDB also allows you to delete any particular document or multiple collections of documents. In this chapter, you will learn about how to delete documents from a MongoDB database.
The insert operation is one of the crucial operations in the database system. In this chapter, you will learn about the different concepts and methods that are related to the insert operation in MongoDB.
For dropping a collection in MongoDB, you have to make use of the collection.drop() method. This will eliminate the collection from the database completely and will not leave any indexes that are connected to this drop collection.
Collections are like that of tables of RDBMS and are capable enough to store documents of diverse or dissimilar types. Creation and removal of collections in MongoDB can be done in specific ways. In this chapter, you will learn about the creation of collections in a database created using MongoDB.
Data type is an essential component of a language. MongoDB stores data in BSON format. In this chapter, you will learn about the different data types that exist in MongoDB, along with their implementation techniques.
Cards are a square or rectangular box-shaped bordered element in which contents reside with some padding around it. Options like contents, headers, footers can also be included in it. These cards can be used for different purposes and provide different styles and features which you will study in this chapter.
For storing data in a MongoDB, you need to create a database first. This will allow you to systematically organize your data so that it can be retrieved as per requirement. If you wish to delete a database, MongoDB also allows you to delete that. In this chapter, you will learn how to create and delete a database in MongoDB.
To get started with MongoDB, you have to install it in your system. You need to find and download the latest version of MongoDB, which will be compatible with your computer system. In this chapter, you will learn how to setup a complete environment to start working with MongoDB.
Like another database scripting/query languages such as SQL, MySQL, and Oracle, MongoDB also provides a high performance, scalability as well as availability for managing the database. MongoDB is one of the most accepted NoSQL database and stores data in a […]
Since you are now familiar with the various features of MongoDB, and its characteristics and how it is related to NoSQL, it is time to know the history of Mongo DB. In this chapter, you will briefly learn the history of MongoDB.
MongoDB is based on a NoSQL database that is used for storing data in a key-value pair. Its working is based on the concept of document and collection. It is also an open source, a document-oriented, cross-platform database system that is written using C++. In this chapter, you will learn more about MongoDB and its importance.
Java provides built-in support for multithreaded programming. Multithreaded programming contains two or more parts that can run concurrently. Each piece of such a program is called a thread, and each thread defines a separate path of execution.