JSONiq JSONiq is a query language that is outlined for the widely known JSON data model. The most important conceptions of jSONiq were derived from the hard learnt lesson for over 30 years of relational...
Read MoreCategory "MongoDB"
When to use CouchDB over MongoDB and vice versa
There are number of serious discussions over NoSQL database for the high performance distributed web applications. At present there are only two main contenders in the race. One is the MongoDB and the other one...
Read MoreTypes of Indexes in MongoDB
Before going in detail about types of indexes in MongoDB let’s talk a little about what indexes does in your database and how it help you to speed up your database search queries. When we...
Read MoreScheme Design Approach in MongoDB
If you come from the world of relation database then you certainly know that the best way to keep your data and design your scheme is to keep them in third normal form 3NF, you...
Read MoreIn MongoDB you must have ID for each collection you create and the data type that you can store in the ID field is limited only to arrays in other word you can use all kinds of data type including timestamp, integer, string and etc. But you cannot use array as your document id as...
[ Click to Continue ]In NoSQL databases world there is no tables instead you store your data in collections which is similar to normal relation database table they are not really a table in structure but if you compare it with relation database you can do so with tables, collection in mongo is kind of scope which defines and...
[ Click to Continue ]Your application always stores the data that is given to it by the user in the memory and then it stores that data to a storage medium device mainly the disk or other type of storage devices, and MongodDB uses memory mapped files as the server cannot stores all its information in the memory instead...
[ Click to Continue ]For demo purpose we are going to configure three servers primary, secondary and arbiter servers and we are going to do this in local computer for testing purpose only in real world you need separate servers or you can use virtual machine to use seprate virtual machines for each servers,open command line and paste the...
[ Click to Continue ]In typical database environment we need to have back up of our database because if we don’t have if in any case our database goes down it will be disaster and typically we have our database back up in a timely interval and then once something goes wrong we restore our data from the latest...
[ Click to Continue ]It’s normal to run your database in auto mood that when you start your computer MongoDB should run as service in background without even initiating any command line for that, in windows machine which I will be showing you the steps we can do it by installing MongoDB as service but in linux environment we...
[ Click to Continue ]
What is DocumentID in MongoDB?