Picking a Database Management System (DBMS)

Database Design

Lis Sulmont

Curriculum Manager

DBMS

  • DBMS: DataBase Management System
  • Create and maintain databases
    • Data
    • Database schema
    • Database engine
  • Interface between database and end users

Diagram of DBMS interface between database and end users

Database Design

DBMS types

  • Choice of DBMS depends on database type

  • Two types:

    • SQL DBMS
    • NoSQL DBMS
Database Design

SQL DBMS

  • Relational DataBase Management System (RDBMS)
  • Based on the relational model of data
  • Query language: SQL
  • Best option when:
    • Data is structured and unchanging
    • Data must be consistent

Microsoft SQL Server Logo

PostgreSQL Logo

Oracle SQL Logo

Database Design

NoSQL DBMS

  • Less structured
  • Document-centered rather than table-centered
  • Data doesn’t have to fit into well-defined rows and columns
  • Best option when:
    • Rapid growth
    • No clear schema definitions
    • Large quantities of data
  • Types: key-value store, document store, columnar database, graph database
Database Design

NoSQL DBMS - key-value store

 

Diagram represent key and values using a shopping cart example

  • Combinations of keys and values
    • Key: unique identifier
    • Value: anything
  • Use case: managing the shopping cart for an on-line buyer
  • Example:

Database Design

NoSQL DBMS - document store

 

Diagram representing key and document relationship

  • Similar to key-value
  • Values (= documents) are structured
  • Use case: content management
  • Example:

MongoDB Logo

Database Design

NoSQL DBMS - columnar database

 

 

Diagram comparing storage of row-store and column-store

  • Store data in columns
  • Scalable
  • Use case: big data analytics where speed is important
  • Example:

Logo of Cassandra

Database Design

NoSQL DBMS - graph database

 

Diagram of a graph database

  • Data is interconnected and best represented as a graph
  • Use case: social media data, recommendations
  • Example:

Neo4j Logo

Database Design

Choosing a DBMS

Diagram comparing storage of SQL and NoSQL DBMSs.

Database Design

Let's practice!

Database Design

Preparing Video For Download...