Kham Pha
Mental Log 09/11/2013
Table of contents
●

Overview of Big Data and NoSQL

●

Introduction to NoSQL

●

Features

●

NoSQL Databases

●

Example...
Why Big Data?
Web 2.0

The Internet of Things

Social Network
Why NoSQL?
So what is NoSQL?
●

“SELECT fun, profit FROM real_world
WHERE relational = False”.

●

Introduced in 1998.

●

Eric Evans...
Features
●

Schema-free

●

Easy scale

●

Simple API

●

Eventual Consistancy
NoSQL Databases
●
●

Over 150 NoSQL databases.
Key-Value Stores: Dynamo, Riak, Redis,
Cache, Project Voldemort,..

●

Docu...
NoSQL Databases
Distributed System & CAP theorem
●

Consistency

●

Available

●

Partition tolerance
What does NoSQL look like?
●
●

2007

●

HUMONGOUS

●

Mong
oDB
is

Document Stores

Open source, free

●

Support for man...
Example
●

An AV store needs to store the list of customer
and order's details.
SQL

NoSQL
Example
Want to expand?

Make it here
SQL vs NoSQL
●

INSERT INTO USERS VALUES(3,5)

●

db.users.insert({a:3,b:5})

●

SELECT * FROM users

●

db.users.find()

...
Advantage over SQL
●

Elastic scaling

●

Big data

●

Less management

●

Economics

●

Flexible data models

●

High Per...
Performance
Performance
●

Lenovo T61.

●

Windows 7 - 64 bit.

●

SQL Server 2008 Standard

●

●

64 bit.
MongoDB 1.4.1.
SQL

NoSQL

Performance
Disadvantage of NoSQL
●

There are no “Transaction”

●

Using too much system resources

●

Potential Risk.

●

Expertise.
When NoSQL?
●

●

●

Cannot write SQL

Extraordinary Large Applications (search
engines, social network,…)
Tiny Applicatio...
Are people out there using it?
●

Yes

●

Facebook with Cassandra

●

Google with BigTable

●

Amazon with SimpleDB

●

Se...
Summary
●

We have learned a lot!

●

What are BigData and NoSQL.

●

What does NoSQL look like.

●

Advantages, Disadvant...
Thanks for your attention!
Upcoming SlideShare
Loading in...5
×

Nosql

1,485

Published on

Week 12 -No SQL

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,485
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
92
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Web 2.0
    Social network
    Internet of thing
    Amazon, google, …. collect data for future use
  • Tại vì Big Data.
    Có nhiều ưu điểm vượt trội hơn SQL.
    Sự hỗ trợ đến từ cộng đồng mã nguồn mở.
    Có thật là người ta đang dùng NoSQL?
  • Thuật ngữ NoSQL được giới thiệu lần đầu vào năm 1998 sử dụng làm tên gọi chung cho các
    lightweight open source relational database (cơ sở dữ liệu quan hệ nguồn mở nhỏ) nhưng không
    sử dụng SQL cho truy vấn.
    Vào năm 2009, Eric Evans, nhân viên của Rackspace giới thiệu lại thuật ngữ NoSQL trong một
    hội thảo về cơ sở dữ liệu nguồn mở phân tán. Thuật ngữ NoSQL đánh dấu bước phát triển của
    thế hệ database mới: distributed (phân tán) + non-relational (không ràng buộc)
  • Nosql

    1. 1. Kham Pha Mental Log 09/11/2013
    2. 2. Table of contents ● Overview of Big Data and NoSQL ● Introduction to NoSQL ● Features ● NoSQL Databases ● Example ● Advantages & Disadvantages of NoSQL ● NoSQL's applications ● Summary
    3. 3. Why Big Data? Web 2.0 The Internet of Things Social Network
    4. 4. Why NoSQL?
    5. 5. So what is NoSQL? ● “SELECT fun, profit FROM real_world WHERE relational = False”. ● Introduced in 1998. ● Eric Evans, 2009.
    6. 6. Features ● Schema-free ● Easy scale ● Simple API ● Eventual Consistancy
    7. 7. NoSQL Databases ● ● Over 150 NoSQL databases. Key-Value Stores: Dynamo, Riak, Redis, Cache, Project Voldemort,.. ● Document Stores: MongoDB, Couchbase,... ● Column Stores: HBase, Accumulo,... ● Graph Database: Neo4J, Allegro, Virtuoso,..
    8. 8. NoSQL Databases
    9. 9. Distributed System & CAP theorem ● Consistency ● Available ● Partition tolerance
    10. 10. What does NoSQL look like? ● ● 2007 ● HUMONGOUS ● Mong oDB is Document Stores Open source, free ● Support for many languages the m ost po pular in NoSQ L world !
    11. 11. Example ● An AV store needs to store the list of customer and order's details. SQL NoSQL
    12. 12. Example Want to expand? Make it here
    13. 13. SQL vs NoSQL ● INSERT INTO USERS VALUES(3,5) ● db.users.insert({a:3,b:5}) ● SELECT * FROM users ● db.users.find() ● SELECT * FROM users WHERE age=33 ● db.users.find({age:33}) SELECT DISTINCT last_name FROM users ● db.users.distince('lastname') ● db.users.find({name:/Joe/}) ● ● ● ● SELECT * FROM users WHERE name LIKE “%Joe%” ● UPDATE users SET a=1 WHERE b=’q’ SELECT order_id FROM orders o, order_line_items li WHERE li.order_id=o.order_id AND li.sku=12345 ● db.users.update({b:’q'}, {$set: {a:1}}, false, true) db.orders.find({“items.sku”:1234 5},{_id:1})
    14. 14. Advantage over SQL ● Elastic scaling ● Big data ● Less management ● Economics ● Flexible data models ● High Performance
    15. 15. Performance
    16. 16. Performance ● Lenovo T61. ● Windows 7 - 64 bit. ● SQL Server 2008 Standard ● ● 64 bit. MongoDB 1.4.1.
    17. 17. SQL NoSQL Performance
    18. 18. Disadvantage of NoSQL ● There are no “Transaction” ● Using too much system resources ● Potential Risk. ● Expertise.
    19. 19. When NoSQL? ● ● ● Cannot write SQL Extraordinary Large Applications (search engines, social network,…) Tiny Applications.
    20. 20. Are people out there using it? ● Yes ● Facebook with Cassandra ● Google with BigTable ● Amazon with SimpleDB ● Season Store, Profile Store, Mobile App,...
    21. 21. Summary ● We have learned a lot! ● What are BigData and NoSQL. ● What does NoSQL look like. ● Advantages, Disadvantages. ● Some syntaxs of NoSQL. ● Applications of NoSQL.
    22. 22. Thanks for your attention!
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×