The Elasticsearch ELK Stack
( E – Elasticsearch, L – Logstash , K – Kibana ) Elasticsearch ( search, analyze in real-time. sweet.) —————– Elasticsearch is a flexible and powerful open source, distributed, real-time search and analytics engine. Architected from the ground up for…
Elasticsearch
Elasticsearch, the distributed restful search and analytics :- ———————————————————————— Elasticsearch is a flexible and powerful open source, distributed, real-time search and analytics engine. Architected from the ground up for use in distributed environments where reliability and scalability are must haves,…
What is NoSQL ?
Understanding NoSQL NoSQL refers to a database that is not based on SQL (Structured Query Language), which is the language most commonly associated with relational databases. Essentially, NoSQL data isn’t relational, NoSQL databases usually do not have schema, and they…
[MongoDB]: How to get nested document thru mongoimport
Imagine you’ve a flat CSV something like below, but you wanted to create a nested document something like dbversity collection below with mongoimport – how do we do ? Files,FileName,Extension,Size,SubFolders \\dbversity\\dbversity_files,dbversity_file00.db,db,1024,Subfolder1 \\dbversity\\dbversity_files,dbversity_file11.db,db,500,Subfolder2 \\dbversity\\dbversity_file1,dbversity_file22.db,db,250,Subfolder1 [root@dbversity ~]# mongo –port 27010 MongoDB shell…
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…