MongoDB 3.2 Installation
1) Know your OS version & OS bit type with following commands to download the MongoDB packages. [ root@dbversity.com #]more /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION=”Ubuntu 14.04.3 LTS” [ root@dbversity.com #] [ root@dbversity.com #]uname -a Linux srinivas-HP-G62-Notebook-PC 3.19.0-42-generic#48~14.04.1-Ubuntu SMP Fri Dec…
Why The Hell Would I Use Node.js? A Case-by-Case Tutorial
Introduction JavaScript’s rising popularity has brought with it a lot of changes, and the face of web development today is dramatically different. The things that we can do on the web nowadays with JavaScript running on the server, as well…
Why odd nodes in MongoDB ReplicaSet ?
https://www.youtube.com/watch?v=mLbMV5RknFY
How to remove a shard from the MongoDB sharded cluster
Removes a shard from a sharded cluster. When you run removeShard, MongoDB first moves the shard’s chunks to other shards in the cluster. Then MongoDB removes the shard. [root@dbversity bin]# ./mongo –port 10000 MongoDB shell version: 2.4.11 connecting to: 127.0.0.1:10000/test…
MongoDB Indexes
MongoDB provides a number of different index types to support specific types of data and queries. Indexes support the efficient execution of queries in MongoDB. MongoDB defines indexes at the collection level and supports indexes on any field or sub-field…
How do we insert image/audio/video files in MongoDB ?
Uploading a video file using GRIDFS with mongofiles utility : mongofiles -d database put video.mp4 mongofiles -d database get video.mp4 mongofiles -d database delete video.mp4 [dbfryusr@dbversity ~]$ ./mongofiles –port 27010 -d shrdb put /home/dbfryusr/MongoDB.mp4 connected to: 127.0.0.1:27010 added file: {…
MongoDB Tag aware sharding – Controlling Collection Distribution
Shard tagging is a new feature in MongoDB version 2.2.0. It’s supposed to force writes to go to a local data center, but it can also be used to pin a collection to a shard or set of shards….
IBM Cloudant Overview
Cloudant NoSQL Cloud DB – Grow into Your Data Layer, Not Out of It Cloudant puts the ‘service’ in NoSQL database as a service. Unlike scale-it-yourself NoSQL databases, Cloudant is scaled and operated for you. You focus on code, we’ve…
MySQL Fabric as a MySQL High-Availability Solutions
MySQL Fabric is a framework for managing groups of MySQL Servers and using those servers to provide services. In the current version the services provided are High Availability (built on top of MySQL Replication) and scale-out (by sharding the data)….