NO SQL for SQL DBA Dilip Nayak & Dan Hess.

Slides:



Advertisements
Similar presentations
Relational Database Alternatives NoSQL. Choosing A Data Model Relational database underpin legacy applications and meet business needs However, companies.
Advertisements

NoSQL Databases: MongoDB vs Cassandra
NoSQL Database.
Group 11 Sameera Shah & Fatemah Husain [10/31/13].
What is MongoDB? Developed by 10gen It is a NoSQL database A document-oriented database It uses BSON format.
A Social blog using MongoDB ITEC-810 Final Presentation Lucero Soria Supervisor: Dr. Jian Yang.
A Study in NoSQL & Distributed Database Systems John Hawkins.
Databases with Scalable capabilities Presented by Mike Trischetta.
AN INTRODUCTION TO NOSQL DATABASES Karol Rástočný, Eduard Kuric.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
NoSQL continued CMSC 461 Michael Wilson. MongoDB  MongoDB is another NoSQL solution  Provides a bit more structure than a solution like Accumulo  Data.
Getting Biologists off ACID Ryan Verdon 3/13/12. Outline Thesis Idea Specific database Effects of losing ACID What is a NoSQL database Types of NoSQL.
WTT Workshop de Tendências Tecnológicas 2014
Goodbye rows and tables, hello documents and collections.
Modern Databases NoSQL and NewSQL Willem Visser RW334.
NoSQL Databases NoSQL Concepts SoftUni Team Technical Trainers Software University
Changwon Nati Univ. ISIE 2001 CSCI5708 NoSQL looks to become the database of the Internet By Lawrence Latif Wed Dec Nhu Nguyen and Phai Hoang CSCI.
NoSQL Databases Oracle - Berkeley DB Rasanjalee DM Smriti J CSC 8711 Instructor: Dr. Raj Sunderraman.
NoSQL Databases Oracle - Berkeley DB. Content A brief intro to NoSQL About Berkeley Db About our application.
Methodological Foundations of Biomedical Informatics (BMSC-GA 4449) Himanshu Grover.
CSE 3330 Database Concepts MongoDB. Big Data Surge in “big data” Larger datasets frequently need to be stored in dbs Traditional relational db were not.
MongoDB Jer-Shuan Lin.
NOSQL DATABASE Not Only SQL DATABASE
Some notes on NoSQL, in particular MongoDB Bettina Berendt (with thanks to Matthijs van Leeuwen for some of the slides) 8 December 2015.
Data and Information Systems Laboratory University of Illinois Urbana-Champaign Data Mining Meeting Mar, From SQL to NoSQL Xiao Yu Mar 2012.
NoSQL databases A brief introduction NoSQL databases1.
CMPE 226 Database Systems May 3 Class Meeting Department of Computer Engineering San Jose State University Spring 2016 Instructor: Ron Mak
Group members: Phạm Hoàng Long Nguyễn Huy Hùng Lê Minh Hiếu Phan Thị Thanh Thảo Nguyễn Đức Trí 1 BIG DATA & NoSQL Topic 1:
Dive into NoSQL with Azure Niels Naglé Hylke Peek.
NoSQL: Graph Databases
Introduction to Mongo DB(NO SQL data Base)
Neo4j: GRAPH DATABASE 27 March, 2017
2 Phase Commit Protocol In transaction processing, databases, and computer networking, the two-phase commit protocol (2PC) is a type of atomic commitment.
CSE-291 (Distributed Systems) Winter 2017 Gregory Kesden
CS 405G: Introduction to Database Systems
NoSQL: Graph Databases
DBSI Teaser Presentation
and Big Data Storage Systems
Cloud Computing and Architecuture
CSE 775 – Distributed Objects Bekir Turkkan & Habib Kaya
CS122B: Projects in Databases and Web Applications Winter 2017
Based on: NoSQL Databases Based on:
Introduction In the computing system (web and business applications), there are enormous data that comes out every day from the web. A large section of.
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
Every Good Graph Starts With
Modern Databases NoSQL and NewSQL
NOSQL.
CMPE 280 Web UI Design and Development October 17 Class Meeting
Dineesha Suraweera.
Twitter & NoSQL Integration with MVC4 Web API
NOSQL databases and Big Data Storage Systems
Database Management  .
CSE-291 (Cloud Computing) Fall 2016 Gregory Kesden
Massively Parallel Cloud Data Storage Systems
1 Demand of your DB is changing Presented By: Ashwani Kumar
MongoDB for the SQL DBA.
NOSQL and CAP Theorem.
NoSQL Databases An Overview
Let's make a complex dataset simple using Azure Cosmos DB
MANAGING DATA RESOURCES
NoSQL Databases Antonino Virgillito.
Overview of big data tools
Database Systems Summary and Overview
CSE 482 Lecture 5: NoSQL.
relational thoughts on NoSql
Azure Cosmos DB with SQL API .Net SDK
CMPE 280 Web UI Design and Development March 14 Class Meeting
NoSQL databases An introduction and comparison between Mongodb and Mysql document store.
Working with GEOLocation Data
Presentation transcript:

NO SQL for SQL DBA Dilip Nayak & Dan Hess

Dilip Nayak Works as Senior DBA at a financial company Email: d_nayak@hotmail.com Twitter: @d_nayak Event Coordinator of Sacramento SQL User Group.

Dan Hess Senior DBA with Corelogic Email: sqldch@expressnetsolutions.com Twitter: @sqldch Bachelor of Science, Computer Science

My Story

How Big is BIGDATA? Source: www.alphr.com

SQL or NoSQL

Limitations of Traditional DBs Scalability Scaling up is very expensive Schema bound Schema is not flexible and fixed. Same/similar type of data Heterogeneous data storage is not possible or recommended.

Benefits of NoSQL Database Schema less Easier for developers Horizontal scalability – lowers cost. Heterogeneous data storage High Availability/Disaster Recovery

SQL vs NoSQL SQL NoSQL Gigabytes to Terabytes Petabytes(1kTB) to Exabytes(1kPB) to Zetabytes(1kEB) Centralized Distributed Structured Semi structured and Unstructured Structured Query Language No declarative query language Stable Data Model Schema less Complex Relationships Less complex relationships ACID Property Eventual Consistency Transaction is priority High Availability, High Scalability Joins Tables Embedded structures

RDBMS vs NoSQL RDBMS No SQL Structured & Organized data Structured Query Language Data and its relationships are stored in different tables. ACID Property Tight consistency Prioritize Transaction is very important. No SQL No predefined Schema No declarative query language. Key-value pair, documents, graph databases Eventual consistency. Unstructured and unpredictable data. Prioritize High Performance, High Availability and High scalability CAP Theorem(Consistency, Availability, Performance)

CAP Theorem

Types of NoSQL Storage

Types of NoSQL Databases http://wikibon.org/w/images/0/08/Disruptive_NoSQL_Database_Solutions.jpg

Types of NoSQL Databases

NoSQL vs SQL http://2.bp.blogspot.com/

MongoDB One of the widely used NoSQL databases Document store database JSON document for operations in DML Data is stored in BSON format. Available in Community, Enterprise Edition.

Data stored in documents

SQL to MongoDB Mapping Chart Database Table Row Column Index Table Joins Primary Key Database Collection Document Field Index Embedded docs Primary Key automatically set to _id field. http://www.mongodb.com

MongoDB architecture Copies of the data on each node Data safety High availability Disaster recovery Maintenance Read scaling

MongoDB architecture “Partitions” of the data Horizontal scale Big data sets

MongoDB architecture Replica set + sharding

DEMO

MongoDB explain plan 3 ways to generate explain plan db.<collection>.explain cursor.explain explain() 3 outputs in explain plan queryPlanner executionStats serverInfo

MongoDB index B+ tree Used to access data quickly Used in sorting, order can matter

Disadvantages of NoSQL No standardization Limited query capability Items are aggregated together like a big excel file Prone to data duplication

No SQL = Not Only SQL

MongoDB GUIs MongoChef Mongo Compass http://3t.io/mongochef/download/ Mongo Compass https://www.mongodb.com/products/compass MongoBooster http://mongobooster.com/

Credits & References http://www.mongodb.com http://university.mongodb.com