NOSQL DATABASE SYSTEMS: DATA MODELING. Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe

Similar documents
NOSQL DATABASE SYSTEMS: DECISION GUIDANCE AND TRENDS. Big Data Technologies: NoSQL DBMS (Decision Guidance) - SoSe

NoSQL systems: introduction and data models. Riccardo Torlone Università Roma Tre

Oral Questions and Answers (DBMS LAB) Questions & Answers- DBMS

Database Architectures

San Jose State University College of Science Department of Computer Science CS185C, NoSQL Database Systems, Section 1, Spring 2018

Sources. P. J. Sadalage, M Fowler, NoSQL Distilled, Addison Wesley

A Non-Relational Storage Analysis

Big Data Management and NoSQL Databases

NoSQL Databases. CPS352: Database Systems. Simon Miner Gordon College Last Revised: 4/22/15

Non-Relational Databases. Pelle Jakovits

Databases : Lecture 1 2: Beyond ACID/Relational databases Timothy G. Griffin Lent Term Apologies to Martin Fowler ( NoSQL Distilled )

Modern Database Concepts

AN introduction to nosql databases

Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept]

San Jose State University College of Science Department of Computer Science CS185C, Introduction to NoSQL databases, Spring 2017

SQL++ Query Language 9/9/2015. Semistructured Databases have Arrived. in the form of JSON. and its use in the FORWARD framework

Introduction Aggregate data model Distribution Models Consistency Map-Reduce Types of NoSQL Databases

YeSQL: Battling the NoSQL Hype Cycle with Postgres

NOSQL DATABASE PERFORMANCE BENCHMARKING - A CASE STUDY

Big Data Analytics. Rasoul Karimi

Highly Scalable, Ultra-Fast and Lots of Choices

CPS352 Database Systems Syllabus Fall 2012

NoSQL Databases MongoDB vs Cassandra. Kenny Huynh, Andre Chik, Kevin Vu

Hands-on immersion on Big Data tools

1. Data Definition Language.

Distributed Non-Relational Databases. Pelle Jakovits

Kim Greene - Introduction

Introduction to Big Data. NoSQL Databases. Instituto Politécnico de Tomar. Ricardo Campos

Systems Analysis & Design

An Brief Introduction to Data Storage

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13

Avancier Methods (AM) From logical model to physical database

Big Data Management and NoSQL Databases

Something to think about. Problems. Purpose. Vocabulary. Query Evaluation Techniques for large DB. Part 1. Fact:

SCALABLE DATABASES. Sergio Bossa. From Relational Databases To Polyglot Persistence.

Road to a Multi-model Database -- making PostgreSQL the most popular and versatile database

AN ALGORITHM FOR MAPPING THE RELATIONAL DATABASES TO MONGODB A CASE STUDY

Building High Performance Apps using NoSQL. Swami Sivasubramanian General Manager, AWS NoSQL

CS317 File and Database Systems

Chapter 24 NOSQL Databases and Big Data Storage Systems

What is database? Types and Examples

Polyglot Persistence. EclipseLink JPA for NoSQL, Relational, and Beyond. Shaun Smith Gunnar Wagenknecht

Beyond Relational Databases: MongoDB, Redis & ClickHouse. Marcos Albe - Principal Support Percona

Introduction to NoSQL by William McKnight

Relational databases

1/19/2012. Finish Chapter 1. Workers behind the Scene. CS 440: Database Management Systems

Distributed Databases: SQL vs NoSQL

Getting to know. by Michelle Darling August 2013

Data Modeling with Neo4j. Stefan Armbruster, Neo Technology (slides from Michael Hunger)

Big Data Development CASSANDRA NoSQL Training - Workshop. November 20 to (5 days) 9 am to 5 pm HOTEL DUBAI GRAND DUBAI

Hadoop An Overview. - Socrates CCDH

Join (SQL) - Wikipedia, the free encyclopedia

Systems Analysis & Design

Improving NoSQL Database Benchmarking

relational Key-value Graph Object Document

Modern Database Concepts

Managing Data at Scale: Microservices and Events. Randy linkedin.com/in/randyshoup

Big Data Presentation of the course

Uniform Query Framework for Relational and NoSQL Databases

The NoSQL Movement. FlockDB. CSCI 470: Web Science Keith Vertanen

Moving from RELATIONAL TO NoSQL: Relational to NoSQL:

OpenStack Trove and DBaaS: Impedance Match?

Using ElasticSearch to Enable Stronger Query Support in Cassandra

Industrial system integration experts with combined 100+ years of experience in software development, integration and large project execution

A Review to the Approach for Transformation of Data from MySQL to NoSQL

DATABASE DESIGN II - 1DL400

CIB Session 12th NoSQL Databases Structures

Architecting and Implementing Domain-driven Design Patterns in.net

Final Exam Logistics. CS 133: Databases. Goals for Today. Some References Used. Final exam take-home. Same resources as midterm

CLOUD ARCHITECT Certification. Cloud Architect

Project # 1: Database Programming

For those of you who think we are engaged in some sort of darwinian processes that make things better for us, it s actually quite the opposite.

Designing High-Performance Data Structures for MongoDB

Intro to Neo4j and Graph Databases

Scaling. Yashh Nelapati Gotham City. Marty Weiner Krypton. Friday, July 27, 12

Web Application Development Using JEE, Enterprise JavaBeans and JPA

LazyBase: Trading freshness and performance in a scalable database

Database Evolution. DB NoSQL Linked Open Data. L. Vigliano

TOPLink for WebLogic. Whitepaper. The Challenge: The Solution:

Review - Relational Model Concepts

NoSQL Database Comparison: Bigtable, Cassandra and MongoDB CJ Campbell Brigham Young University October 16, 2015

Big Data Analytics using Apache Hadoop and Spark with Scala

Couchbase Architecture Couchbase Inc. 1

Intro Cassandra. Adelaide Big Data Meetup.

Cassandra- A Distributed Database

Advanced Database Systems

Advances in Data Management - NoSQL, NewSQL and Big Data A.Poulovassilis

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Migrating Oracle Databases To Cassandra

NoSQL Schema Evolution and Big Data Migration at Scale

PARALLEL & DISTRIBUTED DATABASES CS561-SPRING 2012 WPI, MOHAMED ELTABAKH

MongoDB Schema Design

At-Scale Data Centers & Demand for New Architectures

Goal of the presentation is to give an introduction of NoSQL databases, why they are there.

Design Patterns for Large- Scale Data Management. Robert Hodges OSCON 2013

Moving from Relational to NoSQL: How to Get Started

Introduction to NoSQL Databases

Data Informatics. Seon Ho Kim, Ph.D.

COMPARATIVE EVALUATION OF BIG DATA FRAMEWORKS ON BATCH PROCESSING

Big Data Management and NoSQL Databases

Transcription:

NOSQL DATABASE SYSTEMS: DATA MODELING Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 24

Data Modeling Object-relational impedance mismatch Example: orders, order lines, customers (with different payment methods) Object-oriented modeling Mapping to relational database Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 25

Data Modeling Decisions Primary Decision: Embedding vs. Referencing However, to consider There are no (or very limited) join operations within NoSQL database systems! There are no distributed transactions within NoSQL! Advantages and Disadvantages of Embedding Advantages and Disadvantages of Referencing Martin Fowler: Aggregate-Oriented Modeling Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 26

Data Modeling: Document Store DBS How to realize references? Direction of references? Embedding: What about denormalization and redundancy? Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 27

Data Modeling: Document Store DBS Excurse: Join operations There are no (or very limited) join operations within NoSQL database systems New in MongoDB (since release 3.2) $lookup operator which implements left-outer equi-joins to an unsharded collection in the same database New in Couchbase (since release 4.0 introduction of N1QL) JOIN operator for left-outer or inner equi joins on document id (right side) Performance? (see Exercise 2) How to realize joins without join operators? Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 28

Data Modeling: Column Family DBS How to implement embedded objects in column family database systems? Variant 1: Using run-time named column qualifiers Variant 2: Using timestamps (or other id s) New (since Cassandra CQL3): Using collection types (map, set, list) What about column families? Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 29

Data Modeling: Key-Value Database Systems What about data modeling in key-value database systems? Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 30

Aggregate-oriented Data Modeling Aggregate-oriented data models / aggregate-oriented database systems (i.e., key-value, document store and column family database systems) Have a fundamental unit of storage which is a rich structure of closely related data Make it easier for the database to manage data storage over clusters, since the unit of data now could reside on any machine Work best when most data interaction is done with the same aggregate Make inter-aggregate relationships more difficult to handle than intra-aggregate relationships In contrast, graph databases Focus on relationships (related items) Item relationships are natively supported by graph databases and optimized for fast navigation. Further reading: https://www.thoughtworks.com/insights/blog/nosql-databases-overview and Sadalage, P. J., Fowler, M. NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 31

Data Modeling: Graph Databases Easy to design and model direct representation of the model Whiteboard Friendlyness Source: Neo Technology, Inc. Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 32

Data Modeling: Graph Databases Source: Neo Technology, Inc. Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 33

Data Modeling: Graph Databases Best Practices Nodes for Things Relationships for Structure Represent complex value types as nodes Iterative and incremental development Test-driven data model development Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 34

Data Modeling: Conclusion Aggregate-oriented vs. relational or graph modeling Aggregate-oriented Data Modeling More degrees of freedom Embedding vs. referencing Denormalization and redundancy Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 35

NoSQL Database Systems Foundations Data Modeling NoSQL Application Development Techniques for Scalability, Availability and Consistency Decision Guidance: Select the Right DBMS Big Data Technologies: NoSQL DBMS (Data Modeling) - SoSe 2017 36