Node.JS Installation
Installing from binary (pre-built): Download the latest nodejs binary package (it will include npm as well) – http://nodejs.org/download/ curl -O http://nodejs.org/dist/v0.10.24/node-v0.10.24-linux-x64.tar.gz Decompress the package and rename the directory: tar xzf node-v0.10.24-linux-x64.tar.gz mv node-v0.10.24-linux-x64 node Update your PATH to reference the…
[MongoDB] : Basic Troubleshooting
db.runCommand( { replSetGetStatus: 1 } ) – returns all members in replica set + their status.(All members should be either PRIMARY or SECONDARY) db.printSlaveReplicationInfo() – returns sync differences between members of replica set, good values should be under a minute….
[MongoDB] : Importance of Aggregation Framework
I’m representing file system information (folders and files) inside mongoDB as below. > use dbversity switched to db dbversity > > db.dbversity_col.insert({ … … “_id” : “\\\\DBVERSITW06DV\\D$\\DTS\\096-dbversity.db.Database\\dbversity.db.Database.Incident”, … “Size” : 6312131, … “DirectoryName” : “dbversity.db.Database.Incident”, … “Files” : … […
Intro to Spring Data
The spring-data project offer abstraction and unified data access for variety of data sources. Category Sub-project Relational Databases JPA Spring Data JPA – Simplifies the development of creating a JPA-based data access layer JDBC Extensions Support for Oracle RAC, Advanced Queuing,…
[MongoDb]: Developer tools
While mongo shell provides an excellent non-GUI way to interoperate with the data, there are many GUI tools available to view/modify MongoDB data and also to provide support for administrative tasks in a more graphical manner. Best place to…
MongoDB Bench marking/Limitations
Most of us have these questions in mind when we go MongoDB on boarding – here you go. Max No. of Shards :- ————————— The MongoDB software imposes no limit here, so theoretically the number of shards can be infinite….
MongoDB ODBC Driver (by Easysoft Ltd.)
Real-time, SQL access to MongoDB from BI, Analytics and Reporting applications As part of our commitment to bringing SQL functionality to NoSQL databases, we are pleased to release a beta version of our MongoDB ODBC Driver. Our driver allows you…
MongoDB Connector for Hadoop
Purpose The MongoDB Connector for Hadoop is a library which allows MongoDB (or backup files in its data format, BSON) to be used as an input source, or output destination, for Hadoop MapReduce tasks. It is designed to allow greater…
Chunk Size in MongoDB
When the first mongos connects to a set of config servers, it initializes the sharded cluster with a default chunk size of 64 megabytes. This default chunk size works well for most deployments; however, if you notice that automatic…
[MongoDB]: Tag aware sharding
MongoDB supports tagging a range of shard key values to associate that range with a shard or group of shards. Those shards receive all inserts within the tagged range. The balancer obeys tagged range associations, which enables the following deployment…