Mongo An alternative database system. Installing Mongo We must install both the Mongo database and at least one GUI for managing Mongo See

Slides:



Advertisements
Similar presentations
Tricks and Tips in Word Yves Tkaczyk (
Advertisements

Word – Pika Training © August 2006, Pro Seniors, Inc. Microsoft Office Automation Using Pika Data Overview.
More about Ruby Maciej Mensfeld Presented by: Maciej Mensfeld More about Ruby dev.mensfeld.pl github.com/mensfeld.
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Senior Solutions Architect, MongoDB James Kerr Security Features Preview Field Level Access Control.
What is a Database By: Cristian Dubon.
Chapter 5: Introduction to Information Retrieval
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.
Fall 2014, project. XAMPP (or other stack) Go to Install a MySQL, Apache,
1 More MongoDB: Ch 3- 8, plus a little Hadoop CSSE 533 Week 2, Spring, 2015.
COLUMN-BASED DBS BigTable, HBase, SimpleDB, and Cassandra.
Relational Database Alternatives NoSQL. Choosing A Data Model Relational database underpin legacy applications and meet business needs However, companies.
CIS101 Introduction to Computing Week 02. Agenda Your questions CIS101 Blackboard Site online.pace.edu and the online orientation Excel Project One Next.
ETEC 100 Information Technology
Optimized Data Migration within a System of Linked Medical Research Databases By Jared Christopherson U. of Connecticut.
CSE 190: Internet E-Commerce Lecture 10: Data Tier.
NoSQL and NewSQL Justin DeBrabant CIS Advanced Systems - Fall 2013.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Tutorial 11: Connecting to External Data
Graph databases …the other end of the NoSQL spectrum. Material taken from NoSQL Distilled and Seven Databases in Seven Weeks.
Microsoft Access 2010 Chapter 7 Using SQL.
What is MongoDB? Developed by 10gen It is a NoSQL database A document-oriented database It uses BSON format.
Jeff Lemmerman Matt Chimento Medtronic Confidential 1 9th Annual CodeFreeze Symposium Medtronic Energy and Component Center.
A Social blog using MongoDB ITEC-810 Final Presentation Lucero Soria Supervisor: Dr. Jian Yang.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Microsoft Access 2010 Chapter 7 Using SQL. Change the font or font size for SQL queries Create SQL queries Include fields in SQL queries Include simple.
MongoDB An introduction. What is MongoDB? The name Mongo is derived from Humongous To say that MongoDB can handle a humongous amount of data Document.
WTT Workshop de Tendências Tecnológicas 2014
Physical Database Design & Performance. Optimizing for Query Performance For DBs with high retrieval traffic as compared to maintenance traffic, optimizing.
Goodbye rows and tables, hello documents and collections.
NOSQL DATABASES Please remember to read the NOSQL Distilled book and the Seven Databases book.
M Taimoor Khan Course Objectives 1) Basic Concepts 2) Tools 3) Database architecture and design 4) Flow of data (DFDs)
Relational Database CISC/QCSE 810 some materials from Software Carpentry.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 12 Understanding database managers on z/OS.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation Exam and Lecture Overview.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Tips and Tricks for Managing and Administering your Enterprise Project Management Server Solution Mike Joe / Karthik Chermakani Software Test Engineer.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation MongoDB Architecture.
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.
Rails & Ajax Module 5. Introduction to Rails Overview of Rails Rails is Ruby based “A development framework for Web-based applications” Rails uses the.
Introduction to MongoDB
Why Use Google BigQuery?. LogosPlatforms Why use BigQuery? Cost Effective Infrastructure Maintenance DB Administrators.
Excel 2007 Part (3) Dr. Susan Al Naqshbandi
MongoDB First Light. Mongo DB Basics Mongo is a document based NoSQL. –A document is just a JSON object. –A collection is just a (large) set of documents.
NOSQL DATABASE Not Only SQL DATABASE
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
Introduction to MongoDB. Database compared.
Table Structures and Indexing. The concept of indexing If you were asked to search for the name “Adam Wilbert” in a phonebook, you would go directly to.
Apache Solr Dima Ionut Daniel. Contents What is Apache Solr? Architecture Features Core Solr Concepts Configuration Conclusions Bibliography.
Getting Started with Oracle Berkeley DB 11gR2 and ADO.NET
CS422 Principles of Database Systems Introduction to NoSQL Chengyu Sun California State University, Los Angeles.
6. (supplemental) User Interface Design. User Interface Design System users often judge a system by its interface rather than its functionality A poorly.
CS122B: Projects in Databases and Web Applications Winter 2017
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
Introduction to Web programming
NOSQL databases and Big Data Storage Systems
Introduction to Execution Plans
MongoDB for the SQL DBA.
MIT GSL 2018 week 3 | thursday Meteor and App Ideation.
Developing a Model-View-Controller Component for Joomla Part 3
Introduction to Execution Plans
Building applications with MongoDB – An introduction
Tutorial 7 – Integrating Access With the Web and With Other Programs
INTRODUCTION TO MONgodb
Introduction to Execution Plans
Information Retrieval and Web Design
Introduction to Execution Plans
Lecuter-1.
Presentation transcript:

Mongo An alternative database system

Installing Mongo We must install both the Mongo database and at least one GUI for managing Mongo See See

What is Mongo? Document based Focuses on clusters for extremely large scaling Supports nested documents Uses JavaScript for queries No schema)

Basic Mongo concepts A database consists of collections Which is more or less a table Collections are made up of documents A lot like rows A document is made up of fields A lot like columns There are also indices There are also cursors

Mongo goals “Horizontal” scaling – i.e., the cloud & simple servers And no joins, effectively, pre-computed joins Anti-normalization Fast Avoid bottleneck of centralized schema Near real-time data access High availability

Implementation of Mongo C++ Heavy use of memory caching for read and write-through Distributes by sharding

Applications of Mongo Medical records and other large document systems Read heavy environments like analytics and mining Partnered with relational databases Relational for live data Mongo for huge largely read only archives Online applications Massively wide e-commerce

Using Mongo In bin folder mongod for database mongo for shell For data, it needs a directory called data on c: and a directory called db within data Commands Global, like help Db-specific, like db.x, where x is the collection Db.x.help()

Tutorial from mongodb.pdf: The Little MongoDB Book Go to: First command: use learn Second command: db.unicorns.insert({name: ‘Aurora’, gender: ‘f’, weight: 450}) In other words, we can create a db and a collection simply by saying they exist – no schema!

Query selectors Similar to an SQL program Used for finding, counting, updating, and removing docs from collections {} is the null search and matches all documents We could run: {gender:’f’} {field1: value1, field2: value2} creates an ‘and’ operation Also, less than, greater than, etc. (e.g., $gt) $exists, $or

Updating data db.unicorns.update({name: ‘ro’}, {weight: 590}) Finds unicorn with that name and updates its weight Can also find and update records according to the keys mongo has assigned Note: mongo supports arrays as document fields

Documents Nested documents are supported DBRef allows documents to reference each other For the future? Full text search Map reduce

If you are using Windows Go to Install it Run it…

You should get this

Other GUIs that are easy to install MongoVision (web based): PHPMoAdmin (web based): – this one is ugly, though! RockMongo (web based):

RockMongo is perhaps the best

Mongo tutorial: Assignment 8: Due Dec. 4 Read the 33 page book Follow the entire tutorial Send an “I did it.” message for homework 8 Include your final document database (“db”) as a zipped attachment Include a screen snapshot of the GUI you used. (You can do the project easily without a GUI, but it’s a good idea to get an idea of how they work.) Important: this material will be on the final.