Apache Lucene is a Java library used for the full text search of documents, and is at the core of search servers such as Solr and Elasticsearch. It can also be embedded into Java applications, such as Android apps or web backends. While Lucene’s…
This is a custom implementation created by the MongoDB developers as a specific index type, and is due to be launched as an experimental feature in MongoDB 2.4. It has features such as: Full text search as an index type…
Q – Does data file fragmentation in MongoDB reduce the amount of data cached in memory Yes, the memory mapping approach used by MongoDB maps files directly to memory. If there is fragmentation in these files, this will be mapped…
You hear a familiar song in the club or the restaurant. You listened to this song a thousand times long ago, and the sentimentality of the song really touches your heart. You desperately want to heart it tomorrow, but you…
One of the most amazing things about working in software development is the ability to work in many different industries – especially if you’re a consultant. Most software development skills you learn while working within one industry are directly transferable to any…
In today’s rapidly proliferating landscape of JavaScript frameworks and libraries, selecting the one on which you want to base your development can be quite a challenge. After all, once you go down the path of using a particular framework, migrating your code…
MySQL replication is a process that enables data from one MySQL database server (the master) to be copied automatically to one or more MySQL database servers (the slaves). It is usually used to spread read access on multiple servers for…
1) Equivalent to RDBMS triggers in MongoDB ? There is no direct functionality available in MongoDB equivalent to triggers. However, we can achieve similar results using couple of solutions: (a) MongoDB’s “Tailable Cursors” Tailable cursors are conceptually equivalent to the…
#!/bin/bash from=”Alerts@dbversity.com” to=”dbversity@gmail.com” subject=”MongoDB Monitoring Alerts : Long running queries and No. of Open connections” echo ” Hello Team,” > /tmp/email_body.txt echo ” ” >> /tmp/email_body.txt echo “There are long running queries on the MongoDB server, please find attached txt…