Road Map Introduction to Neo4j NoSQL databases Graph databases
How Neo4j works Comparison
Slide 4
Introducing Neo4j Introduced in 2010 Open source Java-based
NoSQL Graph Database
Slide 5
NoSQL databases Four classes of NoSQL databases Key-value store
Amazons Simple DB Column-family or big table databases Googles Big
Table Apache Cassandra database Document-oriented MongoDB Graph
Databases Neo4j
Slide 6
Graph Database Neo4j is a graph database Database full of
linked nodes Stores data as nodes and relationships
Slide 7
Graph Database (cont.) Nodes represent entities Edges represent
relationships Connections between data are explored Faster for
associative data sets Intuitive Optimal for searching social
network data
Slide 8
How Neo4j Works Storing Objects Domain objects take a node
Jo4neo framework public class Person { //used by jo4neo transient
Nodeid node; //simple property @neo String firstName; //helps you
store a java.util.Date to neo4j @neo Date date; // jo4neo will
index for you @neo(index=true) String email; // many to many
relation @neo Collection roles; /* normal class oriented *
programming stuff goes here */ }
Slide 9
How Neo4j Works (cont.) Dealing with complexity Simple domains
can be complex Mutual Friend example
Slide 10
Case Study A side by side comparison of a relational database
and Neo4j Artificially generated graph dataset with natural
statistics 1 million vertices and 4 million edges
Slide 11
Case Study Results First 250 vertices used as roots
Slide 12
Result Conclusion Neo4j proved to take less than half the time
of the SQL database. Neo4j is optimal
Slide 13
Conclusion Introduced Neo4j Discussed NoSQL databases Went over
graph databases How Neo4j works Case study
Slide 14
Questions?
Slide 15
References "Ayende @ Rahien." That No SQL Thing: Column
(Family) Databases -. N.p., n.d. Web. 13 Mar. 2013..
WebsiteLinkTagsEditDelete "Graph Database." Wikipedia. Wikimedia
Foundation, 03 June 2013. Web. 13 Mar. 2013..
WebsiteLinkTagsEditDelete Krill, Paul. "Neo Technology Execs: How
Neo4j Beat Oracle Database." InfoWorld. N.p., n.d. Web. 13 Mar.
2013.. WebsiteLinkTagsEditDelete "MySQL vs. Neo4j on a Large-Scale
Graph Traversal." Javalobby. N.p., 12 May 2011. Web. 13 Mar. 2013..
WebsiteLinkTagsEditDelete "Neo4j Blog." : The Top 10 Ways to Get to
Know Neo4j. N.p., n.d. Web. 13 Mar. 2013..
WebsiteLinkTagsEditDelete "Processing MongoDB for and Open-Data
Portal, MongoDB Emerges as NoSQL Leader." Magazine for Software
Developers Programmers and Designers Software Developers Journal.
N.p., n.d. Web. 13 Mar. 2013..