Neo4j Cipher via Neo4j-shell
MATCH (a)-[r:ACTED_IN]->(m) RETURN a.name,r.roles, m.title :play movies MATCH (a)-[:ACTED_IN]->(m) RETURN a.name, m.title Number of movies : $match (n:Movie) return count(n) match (n:Movie) return count(n) match (n) return count(n) // Creating Movies CREATE (TheMatrix:Movie {title:’The Matrix’, released:1999, tagline:’Welcome to the Real…
Neo4j Installation steps
1. Install Neo4j Go to http://neo4j.com/download/ and download the Community edition. This should download Neo4j 2.3 Based on your download type, follow the appropriate instructions. Linux/Mac/Windows zip 1. Untar/unzip the download 2. Run command: bin/neo4j start for Linux/Mac or just…
KDB Installation
Download Link : http://kx.com/software-download.php Installation instructions : http://code.kx.com/wiki/Tutorials/Installation?_ga=1.228375069.1038810810.1445944746 Go to http://kx.com/software-download.php. Click through the form and proceed to download. Choose the latest version and click ZIP. Unzip the downloaded file (linux.zip), and move the extracted q directory into your home…
[MongoDB]: When Arbiter required for Replica Set
MongoDB replica sets provide a number of features that most MongoDB users are going to want to leverage. Best of all they are relatively easy to setup. However, first timers often hesitate when it comes to the role of arbiters….
6 Rules of Thumb for MongoDB Schema Design
When designing a MongoDB schema, you need to start with a question that you’d never consider when using SQL: what is the cardinality of the relationship? Put less formally: you need to characterize your “One-to-N” relationship with a bit more…
[Couchbase]: Free on-demand NoSQL trainings
Couchbase is pleased to announce free on-demand training for developers, admins, and architects. And their online courses consist of lessons, quizzes, coding labs, and other resources that get you up to speed quickly on NoSQL concepts, Couchbase Server 4.0 architecture, and…
Neo4j Installation
[ root @ dbversitydotcom : /neo4j ] ll -lhtr total 56M -rw-r–r– 1 root root 56M Oct 8 04:27 neo4j-enterprise-2.2.4-unix.tar [ root @ dbversitydotcom : /neo4j ] [ root @ dbversitydotcom : /neo4j ] [ root @ dbversitydotcom : /neo4j…
[MongoDB]: Storing Comments
This document outlines the basic patterns for storing user-submitted comments in a content management system (CMS.) Overview MongoDB provides a number of different approaches for storing data like users-comments on content from a CMS. There is no correct implementation, but…