You are on page 1of 26

1

Revisi : Kusnawi, S.Kom, M.Eng

mynameiskhus
What is covered in this presentation? 2

A brief history of databases

NoSQL WHY, WHAT & WHEN

4 March 2020
Introduction 3
 Database - Organized collection of data

 DBMS - Database Management System: a software


package with computer programs that controls the
creation, maintenance and use of a database

 Databases are created to operate large quantities of


information by inputting, storing, retrieving, and
managing that information.

4 March 2020
A brief history 4

4 March 2020
Relational databases 5

• Benefits of Relational databases:

 Designed for all purposes


 ACID (Atomicity, Consistency, Isolation, Durability)
 Strong consistancy, concurrency, recovery
 Mathematical background
 Standard Query language (SQL)
 Lots of tools to use with i.e: Reporting services,
entity frameworks, etc

4 March 2020
Relational databases 5

4 March 2020
SQL databases 6

4 March 2020
RDBMS 7

4 March 2020
NoSQL why, what and when? 8
But...
 Relational databases were not built
for distributed applications.

Because...
 Joins are expensive
 Hard to scale horizontally
 Impedance mismatch occurs
 Expensive (product cost, hardware,
Maintenance)

4 March 2020
NoSQL why, what and when? 9

And....
It’s weak in:
 Speed (performance)
 High availability
 Partition tolerance
4 March 2020
Why NOSQL now?? Ans. Driving Trends 10

4 March 2020
Side note: RDBMS performance 11

4 March 2020
12
But..
But..What’s NoSQL?
What’s NoSQL?

 A No SQL database provides a mechanism for


storage and retrieval of data that employs less
constrained consistency models than
traditional relational database

 No SQL systems are also referred to as


"NotonlySQL“ to emphasize that they do in fact
allow SQL-like query languages to be used.

4 March 2020
Characteristics of NoSQL databases 13

NoSQL avoids:
 Overhead of ACID transactions
 Complexity of SQL query
 Burden of up-front schema design
 DBA presence
 Transactions (It should be handled
at application layer)
Provides:
 Easy and frequent changes to DB
 Fast development
 Large data volumes(eg.Google)
 Schema less
4 March 2020
NoSQL why, what and when? 14

4 March 2020
NoSQL is getting more & more popular 15

4 March 2020
SQL vs NOSQL 16

4 March 2020
SQL & NoSQL Schema Model 17

4 March 2020
SQL & NoSQL Schema Model 18

4 March 2020
SQL & NoSQL Schema Model 19

4 March 2020
SQL & NoSQL Schema Model 20

4 March 2020
Conclusion…. 21

4 March 2020
References.. 22

 nosql-database.org/

 https://www.mongodb.com/nosql-explained

 www.couchbase.com/nosql-resources/what-is-no-sql

 http://nosql-database.org/ "NoSQL DEFINITION: Next Generation Databases


mostly addressing some of the points: being non-relational, distributed, open-
source and horizontally scalable“

 NoSQL distilled, Martin Fowler

4 March 2020
Policies 23

• Mematuhi semua Peraturan dan Tata Tertib Akademik yang berlaku di Lingkup
UNIVERSITAS AMIKOM Yogyakarta

• Tidak berorentasi kepada Hasil Akhir tetapi Proses yang berjalan.

• Kehadiran Minimal 75 %, dan sebagai Persyaratan untuk pengajuan Kroscek Nilai

• Keterlambatan maksimal 10 Menit

4 March 2020
Grading (2T/2P) 24

Points 2T :
• Class participation (Kuis/Tugas Harian/Presentasi)  30%
• UTS 30 %
• UAS/Tugas Final Project  40 %

Total nilai 50 % Praktikum + 50 % Teori

• Our Grading Scale :


• >=81-100 = A
• >=61-80 = B
• >=40-60 = C
• >=20-40 = D
• Below 20 = E

4 March 2020
31

4 March 2020

You might also like