0% found this document useful (0 votes)
7 views

02 Database Management System

Uploaded by

Hein Htet Zaw
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

02 Database Management System

Uploaded by

Hein Htet Zaw
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 34

Database

Management System
DIT201 Database System
Asst. Prof. Dr. Parkpoom Chaisiriprasert
What is a Database
Management System ?
Database Management System

A Database Management System (DBMS)


is a software application that facilitates
the creation, organization, management,
and manipulation of databases.
Database Management System &
Database
Database Server

Database Management System

. .
Database Database Database .
DBMS Characteristics
● Provides system and tools to create and manage database.
● Provides Structured Query Language (SQL), a standard language for
accessing and manipulating databases
● Facilitates import and export of data (Backup and Restore)
● Does not allow duplication of data, thus reducing data redundancy
● Supports multiple levels of data access and data views.
● Provides controlled data access & Data Security with multiuser environment
● Provides an data interface between application programs and database
● Concurrent multi-user access without anomalies
● Enforce integrity with Atomicity, Consistency, Isolation and Durability (ACID)
● Support Online Transaction Processing (OLTP) with concurrently high volumes
● Perform data integration from multiple sources with Extract Transform Load (ETL)
● Perform high speeds on larger data with Online Analytical Processing (OLAP)
Some commonly used DBMS
Relational vs. Non-relational Databases
Relational Databases Non-relational Databases
Learning Environment

Installation

- Apache : Web Server


- MySQL : DBMS
- FileZilla : File Server
- Mercury : Mail Server
- Tomcat : Web Container
Learning Environment

TCP/IP TCP/IP

Web Browser Web Server + DBMS


Learning Environment

TCP/IP TCP/IP

Web Browser

Web Server DBMS


User

htdocs

http://127.0.0.1

Developer Web Front-End


Download & Installation
phpMyAdmin is a free and open source administration tool for MySQL and
MariaDB. As a portable web application written primarily in PHP.
Provides system and tools to create and manage
database
Create Database
1 2 3 4
Provides Structured Query Language (SQL),
a standard language for accessing and
manipulating databases.

1
Create Table

1 2 3 4

Students

ID Name Surname Mobile Birthday

5703597 อภิชา ดีอา 08xxxxxxxx 6/18/2004


รมย์

5706613 ณฐพล ชั้น 06xxxxxxxx 10/3/2006


ประดั

Create Table

6
Create Table

Students

ID Name Surname Mobile Birthday

5703597 อภิชา ดีอา 08xxxxxxxx 6/18/2004


รมย์

5706613 ณฐพล ชั้น 06xxxxxxxx 10/3/2006


ประดั

Example : DROP TABLE student;
Facilitates import/restore of data
2 Import Result

4
Facilitates export/backup of data
2 Export Result

3
Does not allow duplication of data, thus reducing
data redundancy.
Supports multiple levels of data access and
data views.
Supports multiple levels of data access and
data views.
Provides controlled data access & Data Security
with multiuser environment. 2

3
Provides an interface between application
programs and database.
Database Server Web Application

Data Interface Mobile Application


Concurrent multi-user access without anomalies
Database Server

DBMS

The concurrent user


refers to more than one
Balance = 10,000
user using a computer
Balance = 10,000 Balance = 10,000
resource at the same
time. These resources Deposit = 5,000

include a computer Withdraw = 5,000


Balance = 15,000 Balance = 15,000
network, program, file,
or database system. Balance = 5,000 Balance = 5,000

Time Time
Enforce integrity with Atomicity, Consistency,
Isolation and Durability (ACID).
Database Server

DBMS

ACID
Support Online Transaction Processing (OLTP)
with concurrently high volumes.
Database Server

DBMS

OLTP ACID
Perform data integration from multiple sources with
Extract Transform Load (ETL)
Data Source Data Data Data Data Analytics
Lake cleansing Warehouse

ETL
Perform high speeds on larger data with Online
Analytical Processing (OLAP).
Multi-dimensional Data mining
Data Warehouse array of data cube

Data forecasting

Decision Making
End.
DIT201

You might also like