SlideShare a Scribd company logo
Database Terminology
 in 15 minutes or your money back!
Sean Collins

@sc68cal

https://github.com/sc68cal
Currently Works
     With....
9AM - 5PM (SQL)

  Oracle 11gR2

5-???? (NoSQL)

  Redis

  SimpleDB
Concepts

ACID

CAP

All of these terms describe the
promises that a database system will
abide by.

A contract for your data
ACID

Atomicity

Consistency

Isolation

Durability
Atomicity

All operations will occur, or none
will occur

Simple example:

  INSERT INTO Names
  (firstname,lastname) VALUES (Sean,
  Collins)
Consistency

All operations will leave the
database in a known good state

  Keys, Constraints, triggers, etc..

Cannot have operations that violate
the rules for your data

  Customer doesn’t exist

  Primary key that already exists
Isolation

Operations cannot interfere with one-
another

Handle multiple, concurrent
operations (One write, many reads) in
a defined manner.
Durability

Completed operations are bullet-proof

  Yank out the power cable

  Crash the database server process

When the database server comes back
up - database is in a consistent
state - with your data intact.
CAP
CAP Theorem - Eric Brewer
(Conjecture)

Seth Gilbert and Nancy Lynch
(Theorem)

    Consistency

    Availability

    Partition Tolerance
Consistency

All nodes in a distributed system see
the same data - at that exact moment

  Simple example: Update item B on
  node #1, query node #2 about B -
  get back the updated data
Availability

System will process requests, despite
failures in individual nodes

  Not a guarantee that the operation
  will succeed

Just a guarantee that you will get a
response back

  No guarantee is made for WHEN you
  will get a response back
Partition Tolerance


System will continue to operate, even
when arbitrarily many messages
between nodes are lost
PICK TWO


CAP Theorem asserts that of the three
properties, a system can only have
two.
Data Types

Relational Database

  Tables

  Columns

  Rows
Common NoSQL
      Datatypes

Key/Value

Column Store

Document

etc....
ACID vs. BASE
Someone clever... har har

“Basic Availability”

“Soft State”

“Eventually Consistent”

Much prefer CAP theorem - exposes the
tradeoffs that you have to choose
between

More Related Content

Similar to Database Throwdown Introduction (20)

PPTX
To SQL or NoSQL, that is the question
Krishnakumar S
 
PDF
Cap in depth
Ioanna Tsalouchidou
 
PPTX
No sql databases
Ankit Dubey
 
PPTX
HbaseHivePigbyRohitDubey
Rohit Dubey
 
PPTX
NoSQL Evolution
Abdul Manaf
 
PDF
A Critique of the CAP Theorem by Martin Kleppmann
mustafa sarac
 
PDF
System design fundamentals CAP.pdf
UsmanAhmed269749
 
PPTX
cse40822-CAP.pptx
NedaaHamed1
 
PPTX
Master.pptx
KarthikR780430
 
PPT
6269441.ppt
Swapna Jk
 
PPTX
FoundationDB - NoSQL and ACID
inside-BigData.com
 
PDF
Cap theorem
Dharmu Immannavar
 
PPTX
Lecture 1-Introduction of NoSQL in DBMS.pptx
agrawalmonikacomp
 
PPTX
ACID vs BASE in NoSQL: Another False Dichotomy
Dan Sullivan, Ph.D.
 
PPTX
Introduction to mongodb
Mohammed Ragab
 
PPTX
Data Engineering for Data Scientists
jlacefie
 
PPTX
CS 542 Parallel DBs, NoSQL, MapReduce
J Singh
 
PPTX
Hbase hivepig
Radha Krishna
 
PPTX
Database History From Codd to Brewer
OpenSource Connections
 
PPTX
UNIT I Introduction to NoSQL.pptx
Rahul Borate
 
To SQL or NoSQL, that is the question
Krishnakumar S
 
Cap in depth
Ioanna Tsalouchidou
 
No sql databases
Ankit Dubey
 
HbaseHivePigbyRohitDubey
Rohit Dubey
 
NoSQL Evolution
Abdul Manaf
 
A Critique of the CAP Theorem by Martin Kleppmann
mustafa sarac
 
System design fundamentals CAP.pdf
UsmanAhmed269749
 
cse40822-CAP.pptx
NedaaHamed1
 
Master.pptx
KarthikR780430
 
6269441.ppt
Swapna Jk
 
FoundationDB - NoSQL and ACID
inside-BigData.com
 
Cap theorem
Dharmu Immannavar
 
Lecture 1-Introduction of NoSQL in DBMS.pptx
agrawalmonikacomp
 
ACID vs BASE in NoSQL: Another False Dichotomy
Dan Sullivan, Ph.D.
 
Introduction to mongodb
Mohammed Ragab
 
Data Engineering for Data Scientists
jlacefie
 
CS 542 Parallel DBs, NoSQL, MapReduce
J Singh
 
Hbase hivepig
Radha Krishna
 
Database History From Codd to Brewer
OpenSource Connections
 
UNIT I Introduction to NoSQL.pptx
Rahul Borate
 

Recently uploaded (20)

PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Learn Computer Forensics, Second Edition
AnuraShantha7
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
July Patch Tuesday
Ivanti
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Learn Computer Forensics, Second Edition
AnuraShantha7
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Ad

Database Throwdown Introduction

Editor's Notes