NoSql An alternative option in the DevEvenings ORM Smackdown Tarn Barford

Slides:



Advertisements
Similar presentations
Introduction to MongoDB
Advertisements

Data Management in the Cloud Paul Szerlip. The rise of data Think about this o For the past two decades, the largest generator of data was humans -- now.
Map/Reduce in Practice Hadoop, Hbase, MongoDB, Accumulo, and related Map/Reduce- enabled data stores.
Jennifer Widom NoSQL Systems Overview (as of November 2011 )
Relational Database Alternatives NoSQL. Choosing A Data Model Relational database underpin legacy applications and meet business needs However, companies.
Reporter: Haiping Wang WAMDM Cloud Group
NoSQL and NewSQL Justin DeBrabant CIS Advanced Systems - Fall 2013.
CS 405G: Introduction to Database Systems 24 NoSQL Reuse some slides of Jennifer Widom Chen Qian University of Kentucky.
An introduction to MongoDB Rácz Gábor ELTE IK, febr. 10.
Massively Parallel Cloud Data Storage Systems S. Sudarshan IIT Bombay.
1 Yasin N. Silva Arizona State University This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
First Indico Workshop Database Technology Pedro Ferreira May 2013 CERN.
NoSQL for the SQL Server Pro
SQL vs NOSQL Discussion
Entity Framework Code First End to End
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.
Moohanad Hassan Maedeh Pishvaei. Introduction Open Source Apache foundation project Relational DB: SQL Server CouchDB : JSON document-oriented DB (NoSQL)
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.
Cloud Computing Clase 8 - NoSQL Miguel Johnny Matias
Methodological Foundations of Biomedical Informatics (BMSC-GA 4449) Himanshu Grover.
© Copyright 2013 STI INNSBRUCK
Introduction to MongoDB
NOSQL Implementation and examples Maciej Matuszewski.
Modeling MongoDB with Relational Model Proposed by Christopher Polanco.
NoSQL Or Peles. What is NoSQL A collection of various technologies meant to work around RDBMS limitations (mostly performance) Not much of a definition...
Nov 2006 Google released the paper on BigTable.
NoSQL Systems Motivation. NoSQL: The Name  “SQL” = Traditional relational DBMS  Recognition over past decade or so: Not every data management/analysis.
NOSQL DATABASE Not Only SQL DATABASE
NoSQL: Graph Databases. Databases Why NoSQL Databases?
Introduction to MongoDB. Database compared.
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.
Department of Computer Science, Johns Hopkins University EN Instructor: Randal Burns 24 September 2013 NoSQL Data Models and Systems.
Data Tier Options NWEN304 Advanced Network Applications.
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:
Why NO-SQL ?  Three interrelated megatrends  Big Data  Big Users  Cloud Computing are driving the adoption of NoSQL technology.
NoSQL: Graph Databases
Neo4j: GRAPH DATABASE 27 March, 2017
CS 405G: Introduction to Database Systems
NO SQL for SQL DBA Dilip Nayak & Dan Hess.
NoSQL: Graph Databases
DBSI Teaser Presentation
and Big Data Storage Systems
Cloud Computing and Architecuture
CS122B: Projects in Databases and Web Applications Winter 2017
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
Dremel.
Modern Databases NoSQL and NewSQL
NOSQL.
Christian Stark and Odbayar Badamjav
NOSQL databases and Big Data Storage Systems
Project Project mid-term report due on 25th October at midnight Format
NoSQL Systems Overview (as of November 2011).
Massively Parallel Cloud Data Storage Systems
1 Demand of your DB is changing Presented By: Ashwani Kumar
NOSQL and CAP Theorem.
NoSQL Databases An Overview
NoSQL Databases Antonino Virgillito.
NoSQL Databases Antonino Virgillito.
Overview of big data tools
Database Systems Summary and Overview
CSE 482 Lecture 5: NoSQL.
Comparison of table-based and JSON-based chaincode
Introduction to NoSQL Database Systems
NoSQL databases An introduction and comparison between Mongodb and Mysql document store.
Polyglot Persistence: Document Databases
Presentation transcript:

NoSql An alternative option in the DevEvenings ORM Smackdown Tarn Barford

What is this all about? ● NoSql is not really about T-SQL, but more about relational data storage and querying ● While ORMs provide useful mapping to relational data, for some data this can be unnecessary and even detrimental. ● Lets first look at some of the pain of using ORMs

Impedance Mismatch Hope this Smith chart helps improve power transfer, but you'll need to do your analysis in the frequency domain using complex numbers representing the reactive response of your curcuits.

Relational Model != Object Model ● Object models better model the real world, relational data models better model.. relational data. ● In an object model People have Pets, in a relational model Pets have People! ● ORMs do help but it's worth considering if you're getting value out of the relational database?

Crazy Mapping

What Crazy Mappings? ● Most ORM tools generate a lot of mapping code or configuration. ● They'll try and hide it with their tools and generators. ● Don't be fooled, it's in your repo and it's your code now! ● Conventions can help, but are not always possible.

Relational is not the only data model ● Not well suited to hierarchical data ● Little support for graph models ● Not suited to large data objects (normal SQL rows are about 7k, right?) ● Relational databases are typically scaled up then fragmented

Typical data store characteristics ● Non-relational ● ACID principals, although sometimes over different contexts (eg. per document) ● Not defined by fixed table schemas ● Map-reduce ● Typically scaled out

Its not magical ● Storage databases are just service layers using files on the filesystem. ● Object databases provide similar connections, but can use different locking stragegies and boundaries. ● Map-reduce and binary tree indexing is well suited to scaling out.

Types of databases ● Document Database – CouchDB, MongoDB and Lotus Notes ● Object Database – Db4o, ZODB ● Tabular – BigTable, HBase ● Key-value store – Memcachedb, Berkeley DB ● Other types include eventually ‐ consistent key ‐ value store, graph, tuple store.

Are these crazy databases used? ● Yes, lots. ● Google BigTable / Amazon Dynamo ● For storing data like videos, pictures and documents. ● You can use them too, let's have a look at MongoDB

MongoDB Features ● Document-oriented storage ● Full index support, incl secondary indexes, inner-objects, embedded arrays, geospatial ● Query profiling ● Fast, in-place updates ● Efficient storage of binary data large objects (e.g. photos and videos) ● Replication and fail-over support ● Auto-sharding for cloud-level scalability ● MapReduce for complex aggregation

End of boring slides. Demo Time! ● I thought a blog or CMS scenario appears to suit a document database ● I have a mess of a blog I have shown little love and it is deteriorating fast, can a document database save it? ● First we'll explore the database from a Python script environment ● Then we will look at how it fits in a demoware ASP.NET MVC application on Mono.