• Tidak ada hasil yang ditemukan

Introduction to database management

N/A
N/A
Protected

Academic year: 2017

Membagikan "Introduction to database management"

Copied!
26
0
0

Teks penuh

(1)

Introduction to Database

MtM

anagemen

(2)

Outline

Outline

ƒ Database characteristicsDatabase characteristics

ƒ DBMS features

ƒ Architectures

ƒ Architectures

(3)

Initial Vocabulary

Initial Vocabulary

ƒ Data: raw facts about things and eventsData: raw facts about things and events

ƒ Information: transformed data that has value for decision making

value for decision making

ƒ Essential to organize data for retrieval and maintenance

maintenance

(4)

Database Characteristics

Database Characteristics

ƒ Persistent : stable storagePersistent : stable storage

ƒ Shared : multiple users and uses

ƒ Shared : multiple users and uses

ƒ Interrelated : data stored as entities and

(5)

University Database

University Database

Registration Faculty Registration Assignment Entities:

students, faculty, courses, offerings, enrollments Relationships: Grade Recording Course Scheduling Relationships:

faculty teach offerings, students enroll in

offerings, offerings made

University Database

g

of courses, ...

(6)

Water Utility Database

Water Utility Database

Billing ProcessingPayment

E titi

g Processing

Entities:

customers, meters, bills, payments, meter readings

Relationships:

Meter Reading

Service Start/ Stop

Relationships:

bills sent to customers,

customers make payments, customers use meters, ...

(7)

Database Management

System (DBMS)

ƒ Collection of components that supportCollection of components that support data acquisition, dissemination, storage, maintenance, retrieval, and formatting

maintenance, retrieval, and formatting

ƒ Enterprise DBMSs

ƒ Desktop DBMSs

ƒ Desktop DBMSs

ƒ Embedded DBMSs

ƒ Major part of information technology infrastructure

(8)

Database Definition

Database Definition

ƒ Define database structure before using aDefine database structure before using a database

ƒ Tables and relationships

ƒ Tables and relationships

ƒ SQL CREATE TABLE statement G

(9)

University

Database

University

Database

R

elatio

n

sh

ip

s

Ta

b

le

s

(10)

University Database (ERD)

University Database (ERD)

Student Offering Faculty

StdSSN StdClass StdMajor Student OfferNo OffLocation OffTime Offering FacSSN FacSalary FacRank Faculty Teaches j StdGPA Accepts FacHireDate Has Supervises

E ll t

(11)

Nonprocedural Access

Nonprocedural Access

ƒ Query: request for data to answer aQuery: request for data to answer a question

ƒ Indicate what parts of database to retrieve

ƒ Indicate what parts of database to retrieve not the procedural details

ƒ Improve productivity and improve

ƒ Improve productivity and improve accessibility

SQL SELECT d hi l

ƒ SQL SELECT statement and graphical tools

(12)
(13)

Application Development

Application Development

ƒ Form: formatted document for data entryForm: formatted document for data entry and display

ƒ Report: formatted document for display

ƒ Report: formatted document for display

ƒ Use nonprocedural access to specify data requirements of forms and reports

requirements of forms and reports

(14)

Data

Entry

Form

Data

Entry

Form

(15)

Sample

Report

Sample

Report

(16)

Procedural Language Interface

Procedural Language Interface

ƒ Combine procedural language withCombine procedural language with nonprocedural access

ƒ Why

ƒ Why

ƒ Batch processing

ƒ Customization and automation

ƒ Customization and automation

(17)

Transaction Processing

Transaction Processing

ƒ Transaction: unit of work that should beTransaction: unit of work that should be reliably processed

ƒ Control simultaneous users

ƒ Control simultaneous users

ƒ Recover from failures

(18)

Database Technology Evolution

Database Technology Evolution

Era Generation Orientation Major Features

1960s 1st Generation File File structures and proprietary program interfaces

1970 2nd G ti N t k N t k d hi hi

1970s 2nd Generation Network Navigation

Networks and hierarchies of related records,

standard program interfaces

1980s 3rd Generation Relational Non-procedural

languages, optimization, transaction processing

(19)

DBMS Marketplace

DBMS Marketplace

ƒ Enterprise DBMSEnterprise DBMS

ƒ Oracle: dominates in Unix; strong in Windows

ƒ SQL Server: strong in WindowsSQL Server: strong in Windows

ƒ DB2: strong in mainframe environment

ƒ Significant open source DBMSs: MySQL, g p y , Firebird, PostgreSQL

ƒ Desktop DBMS

ƒ Access: dominates

ƒ FoxPro, Paradox, Approach, FileMaker Pro

(20)

Data Independence

Data Independence

ƒ Software maintenance is a large partSoftware maintenance is a large part (50%) of information system budgets

ƒ Reduce impact of changes by separating

ƒ Reduce impact of changes by separating database description from applications

ƒ Change database definition with minimal

ƒ Change database definition with minimal effect on applications that use the

(21)

Three Schema Architecture

Three Schema Architecture

View 1 View 2 View n ExternalL l

View 1 View 2 View n Level

External to Conceptual

Conceptual Schema

Conceptual Level

Conceptual Mappings

Conceptual

Internal InternalLevel

to Internal Mappings

Schema Level

(22)

Differences among Levels

Differences among Levels

ƒ External ƒ Forms

ƒ Reports

ƒ Conceptual ƒ Tables

ƒ Internal

ƒ Files needed to store the tables

(23)

Client-Server Architecture

Client Server Architecture

a) Client, server, and

d t b th

b) Mulitple clients and 1 server

diff t t

database on the same computer

on different computers

Client Server Client Server Database Server Client Client Database

c) Multiple servers and databases on different computers

Client Server Server

(24)

Organizational Roles

Organizational Roles

Specialization

Functional User Information Systems

Specialization

Indirect Parametric Power

Functional User

DBA Analyst/Programmer Management

Information Systems

Indirect Parametric Power

Technical Non Technical

DBA Analyst/Programmer Management

(25)

Database Specialists

Database Specialists

ƒ Database administrator (DBA)Database administrator (DBA) ƒ More technical

ƒ DBMS specific skillsDBMS specific skills

ƒ Data administrator

Less technical

ƒ Less technical

ƒ Planning role

(26)

Summary

Summary

ƒ Databases and database technology vitalDatabases and database technology vital to modern organizations

ƒ Database technology supports daily

ƒ Database technology supports daily operations and decision making

ƒ Nonprocedural access is a crucial feature

ƒ Nonprocedural access is a crucial feature

Referensi

Dokumen terkait

The use of a centralized database to register experimentally-acquired data sets, along with software allowing searching of the database and setting

linguistics forms and entities in the world; how words literally connect to things. • Pragmatics is the only study who allows

Methods --> how to encompass a broad array of tasks: - requirements analysis, design, coding, testing, and maintenance  Software engineering methods rely on a set of

Therefore, integrated reports in Oracle Forms applications must be recoded to use the RUN_REPORT_OBJECT Built-in and Oracle Fusion Middleware Reports Services. For

Data mining is the exploration and analysis of large quantities of data in order to discover valid, novel, potentially useful, and ultimately understandable patterns in data.

When to use this form The role of Access Management Organisation Administrator is assigned to users who will manage school staff access to the QCAA Portal and assign roles for

5.2 Filters and Expressions 5.2 Filters and Expressions • CONNECTIONTYPE, CONNECTION and DATA elements have unique PostGIS forms • Most other Mapserver map file elements are the same

Integrity problems Integrity Constraints are the compulsory conditions which should be satisfied by every data value present in the relational table at any instance of time to ensure