MySQL/MariaDB vs MongoDB Privileges Comparision
privileges_comparision_mysql_or_mariadb_vs_mongodb
How to Transition from SQL to MongoDB
How to Transition from SQL to MongoDB It’s the ultimate question. Five years ago you would have looked at your company’s environment and you have said “we’re a SQL shop.” The same was true of MongoDB’s 3000+ customers before they…
[MongoDB]: For loop to generate documents with array, sub and nested documents
Find below sample for loop to generate a document with array, sub-document, nested-document use mydb db.studentscol.drop() for(var i = 1; i <= 1000 ; i++){var r= Math.random().toString(36).substring(7); db.studentscol.insert( { _id:i, name:r, address: { address_id:i, state:r,country:”India”,street:{name:r,colony:{ name:r,pin:r}}}, hobbies: [{h1:r},{h2:r},{h3:r},{h4:r}] });} //…
MongoDB DBA : Roles and Responsibilities
Roles & Responsibilities 01) Defragmentation 02) Schema Design – working with Application/Development team 03) Query fine tuning 04) Shell scripts for Monitoring like ‘slow queries’, replication lag, nodes fails, disk usage .. etc 05) Backup and restores (…
MongoDB: Working with JS ( For Loop)
MongoDB itself has provided some basic looping mechanism through which you can achieve iteration functionality. let’s discuss one by one. FOR LOOP:- For loop is a basic loop available in mongodb and its syntax is just same as we have…
Ten Basal Trait amid a High Quality Cloud Computing
VDRs are gaining popularity among businessmen all over the planet. Investment bankers, lawyers and top managers of corporations need the functional and safe place to keep their documents and to finish plenty of deals. Thus, today, VDR providers provide the…
MongoDB 3.2 CSharp Driver 2.2 Testing with SSL & Kerberos Enabled
using System; using MongoDB.Bson; using MongoDB.Driver; using MongoDB.Driver.Builders; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { protected static IMongoClient _client; protected static IMongoDatabase _database; public static void Main(string[] args) { var credential = MongoCredential.CreateGssapiCredential(“user@DBVERSITY.COM”);…
MongoDB: Understanding Oplog
The following table clearly explains what each Oplog field denotes. Field Name Alias Details Operations Values ts TimeSpace Holds the “Time of the operation” & “incremental id”. For all bulk (insert/remove/update) operations “Time of the operation” remains same and…
Business Intelligence Platform: Tutorial Using MongoDB Aggregation Pipeline
Using data to answer interesting questions is what researchers are busy doing in today’s data driven world. Given huge volumes of data, the challenge of processing and analyzing it is a big one; particularly for statisticians or data analysts who…
How MongoDB’s Plan Cache works !
When queries will get cached in MongoDB ? To answer this, not all queries automatically place a query plan in the cache. The query optimizer only caches the plans for those query shapes that can have more than one “viable/feasible…