9. SSEMI-EMI-SSTRUCTUREDTRUCTURED IINFORMATIONNFORMATION
If you tried to collect all the data of every movie ever
made, how would you model it?
Actors, Characters, Locations, Dates, Costs, Ratings,
Showings, Ticket Sales, etc.
Need to store more data about each entity
15. Key Value Stores: Pros and Cons
Pros:
Simple data model
Scalable
Cons:
Create your own “foreign keys”
Poor for complex data
16. Column Family: Pros and Cons
Pros:
Supports Simi-Structured Data
Naturally Indexed (columns)
Scalable
Cons:
Poor for interconnected data
17. Document Databases: Pros and Cons
Pros:
Simple, powerful data model
Scalable
Cons:
Poor for interconnected data
Query model limited to keys and indexes
Map reduce for larger queries
18. Graph Databases: Pros and Cons
Pros:
Powerful data model, as general as RDBMS
Connected data locally indexed
Easy to query
Cons:
Requires rewiring your brain
31. Graph Database Use Cases
Clustering Task Planning
Social Connections Scheduling
Hubs Process Assignation
Graph Mining Routing
Centrality Measures Logistics
Location Based services League Planning
32. Graph Like Applications
Recommendations
– Heuristics (Page Rank)
– Local
Shortest Paths
Hammock Functions
Walks
Search algorithms
Shooting stars
K-nearest neighbours
Some of the best-known uses of graph databases include Google’s
Knowledge Graph, Facebook's Social Graph and Twitter’s Interest Graph.
33. If your database is highly associative
If your data is NOT used for statistical analysis, data
mining and exploration, or operational research
If you have large data sets with changing or on-the-
fly schemas
When To Use Graph Databases?
34. Represent related data as it inherently is. So, developers can start
coding immediately
Great performance , as graph databases, which are defined as
any storage system that provides index-free adjacency. What this
means is that every element in the database contains a direct link
to its adjacent element, and so no need of joins
Response time remains constant, not depending on the total
amount of data stored.
Benefits Of Graph Databases?