15. Building relational models: Expectation
Talk: “data modelers still have jobs adjusting for
the nosql environment” Joe Maguire
Data modeling emerged in the 1970’s in response to
the needs of database
Mastering Data Modeling: A User Driven Approach
16. Building relational models: Expectation
Talk: “data modelers still have jobs adjusting for
the nosql environment” Joe Maguire
Data modeling emerged in the 1970’s in response to
the needs of database
Mastering Data Modeling: A User Driven Approach
17. Building relational models: REALITY
Talk: “data modelers still have jobs adjusting for
the nosql environment” Joe Maguire
Data modeling emerged in the 1970’s in response to
the needs of database
Mastering Data Modeling: A User Driven Approach
18. Neo4j is better at expressing what relational schema tries to emulate
Entities -> nodes/labels
Attributes -> properties
Relationships -> relationships
Identifiers -> constraints
31. ● Interpret Schema as graphs
● Import { MySQL, postgres, oracle, Db2, Sql Server,
Cassandra } database
● Any database with a JDBC driver that exposes metadata
32.
33.
34. Configure connection
Configure connection url
● Postgres
● Mysql
Start mapping
Select your database
connection to map to
your neo4j instance
Make edits and save
mapping
Edit the mapping,
relationship name, table
name to your liking
Import your data
Into Neo4j
You can import your data
using one of the many
tools
● neo4j-import
● neo4j-shell
● cypher-shell
● cypher
42. Schema interpretation rules
A table with a foreign key is treated as a Join and imported as a node
with a relationship
43. Schema interpretation rules
A table that has two foreign keys is imported as a JoinTable and imported
as a relationship
44. Schema interpretation rules
A table that has more than two foreign keys is treated as an intermediate
node and imported as node with multiple relationships
56. Conclusion
People interpret the world in predefinedstructures that make sense to them and experience it that way. But as they begin to
explore it you will notice the anomaliesand special case that makes it beautifulthe way it is.. Which is why we need a
database to reflect the same.