• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Nosql
 

Nosql

on

  • 292 views

NOSQL and Neo4j and Mongodb

NOSQL and Neo4j and Mongodb

Statistics

Views

Total Views
292
Views on SlideShare
291
Embed Views
1

Actions

Likes
2
Downloads
0
Comments
0

1 Embed 1

http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Nosql Nosql Presentation Transcript

    • NOSQLIntroduction to NOSQL databasesVAHID KHARAZI <vahid@Kharazi.net>
    • Why NOSQL?
    • OBJECT BASED DATABASESSQL way to saving objects in database
    • An Example
    • Structured Types create type Name as (firstname varchar(20), lastname varchar(20)) create type Address as (street varchar(20), city varchar(20), zipcodevarchar(20)) Structured types can be used to create tables with composite attributes create table person ( name Name, address Address, dateOfBirth date)
    • NOSQL DATA MODELSIntroduction to nosql data modelsVAHID KHARAZI <vahid@Kharazi.net>
    • NEO4jA graph based DBMS
    • NEO4J DBMS
    • Cypher – the neo4j query language
    • LOCALHOST:7474Secure the port and remote client connection accepts
    • MONGODBA Document-Oriented DBMS
    • MONGODB DBMS
    • Document-Oriented StorageSQL Terms/Concepts MongoDB Terms/Conceptsdatabase databasetable collectionrow document or BSON documentcolumn fieldindex indextable joins embedded documents and linkingprimary keySpecify any unique column or columncombination as primary key.primary keyIn MongoDB, the primary key isautomatically set to the _idfield.aggregation (e.g. group by)aggregation frameworkSee the SQL to AggregationFramework Mapping Chart.
    • Dictionaries j = { name : "mongo“, family : ”Kharazi” , courses: [ database : {instructor:’Dr Naderi’ , grade : 9.75 }, algorithm: { instructor : ‘Karimi’ ] } k = { x : 3 } db.person.insert( j ) db.person.insert( k ) Person is a collection
    • SQL to MongoDB Mapping Chart
    • SQL to MongoDB Mapping Chart
    • SQL to MongoDB Mapping Chart
    • SQL to MongoDB Mapping Chart