Book Image

Hands-On Big Data Modeling

By : James Lee, Tao Wei, Suresh Kumar Mukhiya
Book Image

Hands-On Big Data Modeling

By: James Lee, Tao Wei, Suresh Kumar Mukhiya

Overview of this book

Modeling and managing data is a central focus of all big data projects. In fact, a database is considered to be effective only if you have a logical and sophisticated data model. This book will help you develop practical skills in modeling your own big data projects and improve the performance of analytical queries for your specific business requirements. To start with, you’ll get a quick introduction to big data and understand the different data modeling and data management platforms for big data. Then you’ll work with structured and semi-structured data with the help of real-life examples. Once you’ve got to grips with the basics, you’ll use the SQL Developer Data Modeler to create your own data models containing different file types such as CSV, XML, and JSON. You’ll also learn to create graph data models and explore data modeling with streaming data using real-world datasets. By the end of this book, you’ll be able to design and develop efficient data models for varying data sizes easily and efficiently.
Table of Contents (17 chapters)

Graph-data models

A graph is a just a collection of vertices and edges. The most convincing example of a graph-data model is a social network. Each piece of information in this world is connected. To store and process information correctly, a database must embrace and store the entity and its connectivity with another entity. This is where the graph-data model kicks in. Storing and accessing nodes and relationships in a graph database is an easy, efficient, and constant-time operation that permits a user to quickly traverse and get correct information.

Mathematically, a graph is a pair G = (V, E) of sets that satisfy E ( V X V). The elements of V are the vertices or nodes of the graph, G, and the elements of E are its edges or relationships.

Let's see a graph model of movies and actors.

Figure 5.6: Labeled graph model of movies and actors

From the movie data model given...