• Tidak ada hasil yang ditemukan

Fundamental of Database Systems 1401312-3

N/A
N/A
Protected

Academic year: 2024

Membagikan "Fundamental of Database Systems 1401312-3"

Copied!
22
0
0

Teks penuh

(1)

FUNDAMENTAL OF DATABASE SYSTEMS

1401312-3

By

Dr Abdullah Alzahrani د . ينارهزلا اللهدبع

[email protected] Introduction

1

(2)

Assessment عيزوت

تاجردلا

■ 20% Mid-Term written exam

■ 10% Mid-Term practical exam

■ 20% Project

■ 50% Final Exam

يرظن يفصن رابتخا 20%

يلمع يفصن رابتخا 10%

عورشم 20%

يئاهن رابتخا 50%

(3)

Reference باتكلا

عجرملا

■ Fundamentals of Database Systems, 5th ed., by Elmasri and Navathe, Pearson International Edition, 2007.

■ http://dev.mysql.com/doc/

Dr Abdullah Alzahrani. [email protected]

Fundamental of Database Systems 1401312-3 3

(4)

Introduction همدقم

■ What is Database (DB)?

■ Motivations of using Databases

■ Database Models

■ What are Database Management Systems (DBMS)?

■ What DBMS will we use?

■ Some important terms

(5)

Introduction همدقم

■ What is a Database (DB)?

– A database is a collection of related data. By data, we mean known facts that can be recorded and that have implicit meaning.

■ Properties:

– A database represents some aspect of the real world – A database is a logically coherent collection of data with

some inherent meaning

– A database is designed, built, and populated with data for a specific purpose.

Dr Abdullah Alzahrani. [email protected]

Fundamental of Database Systems 1401312-3 5

(6)

row

column

Introduction همدقم

■ What is the main component of a Database (DB)?

– A table (Relation) – one or many

– is a data structure for representing related Entities.

– consists of columns (represent Attributes) and rows (represent Entities or tuples).

– A column represents a same property of a same data type for all entities.

– A row represents a set of properties of different data

types for a specific entity

(7)

Introduction همدقم

■ Motivations of using Databases. Why ? – Redundancy

■ storing the same data multiple times

– Modification anomalies (updating – deleting - adding) – Problems with searching

Dr Abdullah Alzahrani. [email protected]

Fundamental of Database Systems 1401312-3 7

(8)

Introduction

همدقم

(9)

Introduction همدقم

Dr Abdullah Alzahrani. [email protected]

Fundamental of Database Systems 1401312-3 9

(10)

Introduction همدقم

■ Data Models

1. Relational Model

■ Describes a structure of database. It is a set of relations definitions (relations schema)

■ Relational table is a set of tuples

■ Supported Relational Algebra

2. Object-Oriented Model

■ It is a logical model that is represented as a set of class definitions in OO language.

3. Entity-Relationship Model

■ High-level model which describes data as entities, attributes, and relationships

– Others …..

(11)

Introduction همدقم

■ Data Models

– Relational Model

Dr Abdullah Alzahrani. [email protected]

Fundamental of Database Systems 1401312-3 11

(12)

Introduction همدقم

■ Data Models

– Object-Oriented Model

(13)

Introduction همدقم

Dr Abdullah Alzahrani. [email protected]

Fundamental of Database Systems 1401312-3 13

(14)

Introduction همدقم

■ Data Models

– Entity-Relationship Model

(15)

Introduction همدقم

■ What are Database Management Systems (DBMS)?

– A database management system (DBMS)is a collection of programs that enables users to create and maintain a database.

– It facilitates the processes of:

1. Defining (specifying the data types, structures, and constraints of the data)

2. Constructing (storing the data on a storage that is controlled by the DBMS)

3. Manipulating (querying, updating, generating reports)

4. and sharing databases among various users and applications.

– Other functions of DBMS is Protection and Maintenance.

Dr Abdullah Alzahrani. [email protected]

Fundamental of Database Systems 1401312-3 15

(16)

Introduction همدقم

■ DBMS examples – MySQL

– PostgreSQL

– Microsoft Access – SQL Server

– Oracle

(17)

Introduction همدقم

■ DBMS consists of:

1. Physical database

■ Collection of files that contain the data content.

2. Schema

■ A specification of the information content of Physical database

3. Database engine

■ software that supports access to and modification of the contents of the databases.

4. Data Definition and Manipulation languages

■ Programming languages that support schema definition and database access

■ Ex: SQL (Structured Query Language)

Dr Abdullah Alzahrani. [email protected]

Fundamental of Database Systems 1401312-3 17

(18)

Introduction همدقم

■ People who work with databases and DBMS : 1. Database designers

■ Create databases according to the client requirements.

2. Applications developers

■ Design and build applications which interact with databases to accomplish specific tasks.

3. End users

■ Mainly users who interacts with databases via interfaces of applications designed by Applications developers

4. Database administrators

■ Responsible for controlling access to databases, maintaining data

accuracy and integrity, monitoring an improving performance.

(19)

Introduction همدقم

■ SQL (Structured Query Language)

– The standard language for interaction with relational DBMS

– Also, is the standard database language for DDL, DML, VDL, and SDL for relational DB

■ DDL (Data Definition Language)

– A Language for specifying the conceptual schema of a DB – Examples: Create, alter, and drop schema

■ DML (Data Manipulation Language)

– A Language manipulating the contents of a DB – Examples : DELETE, INSERT, SELECT, UPDATE

■ VDL (View Definition Language)

– A Language that supports the definition of external views of a DB

– Examples :CREATE VIEW

■ SDL (Storage Definition Language)

– A Language that supports the definition of internal schema of a DB – Examples: Initrans, pctfree

Dr Abdullah Alzahrani. [email protected]

Fundamental of Database Systems 1401312-3 19

(20)

Introduction همدقم

■ What DBMS will we use?

http://dev.mysql.com/doc/

(21)

Introduction همدقم

■ Some important terms 1. DB and DBMS

2. Table (Relation), column, and row

3. Redundancy and Modification anomalies

4. Data Models: Relational Model, Logical, Object-Oriented, and Entity-Relationship (ER)

5. SQL

6. DDL, DML, VDL, and SDL

7. Database designers, Applications developers, End User, Database administrators

Dr Abdullah Alzahrani. [email protected]

Fundamental of Database Systems 1401312-3 21

(22)

Introduction همدقم

End

Referensi

Dokumen terkait

• Bahasa user yang meminta pada database untuk menyediakan suatu data yang diperlukan menggunakan tipe bahasa khusus yang disebut dengan Structured Query Language (SQL

MySQL atau DBMS ( Database Manajement System ), ialah manajemen database yang menggukan perintah dasar SQL ( Structured Query Language ), software atau aplikasi dasar

MySQL menggunakan SQL (Structured Query Language) yang merupakan bahasa standard dalam melakukan query database server MySQL mengendalikan akses data untuk

struktured query language (SQL) retreival database dengan perbandingan database management system (DBMS) oracle dan MySQL, agar dapat mempercepat proses

Mohan’s Diabetes Specialities Centre, DR diabetic retinopathy, EMR electronic medical record, HbA1c glycated hemoglobin, PVD peripheral vascular disease, SQL structured query language,

MySQL MySQL adalah sebuah sistem perangkat lunak untuk manajemen basis data Database Management System atau DBMS yang menggunakan perintah standar SQL Structured Query Language,