57
Chapter I Database System

Chapter I Database System

Embed Size (px)

DESCRIPTION

Chapter I Database System

Citation preview

Page 1: Chapter I Database System

Chapter I Database System

Page 2: Chapter I Database System

In this chapter, you will learn:

• The difference between data and information

• What a database is, the various types of databases, and why they are valuable assets for decision making

Page 3: Chapter I Database System

• The importance of database design

• How modern databases evolved from file systems

• The main components of the database system

• The main functions of a database management system (DBMS)

Page 4: Chapter I Database System

1.1 WHY DATABASES?

• Imagine a business

Page 5: Chapter I Database System

Data Examples

• Airline flight management system

• Financial data

• Commercial store (eg, WalMart) data

• Department of Motor Vehicles

• University student records

• Baseball results

• Web sites

• Medical records

• ...

Page 6: Chapter I Database System

• Databases, are specialized structures that allow computer-based systems to store, manage, and retrieve data very quickly.

Page 7: Chapter I Database System

1.2 DATA VS. INFORMATION

Page 8: Chapter I Database System

Data

Data :

fakta,

Contoh : umur, nilai test, kode matakuliah,

nama orang tua, jumlah pasien, warna

mobil, luas tanah, ukuran sepatu, jenis

rambut, harga motor

Page 9: Chapter I Database System

Definisi

Informasi :

Hasil pemrosesan data

Data yang terkumpul, terproses dan bermakna

Data yang memiliki arti

Com Net 2
Highlight
Data yang terkumpul
Page 10: Chapter I Database System

Contoh Data

• 2 Februari 2008

• BCA

• 12:39:46

• 50.578

• Terpadu Yogya

• Adm. Klub 45

Page 11: Chapter I Database System

Contoh Informasi

Page 12: Chapter I Database System

• 26/8/2012

• Bukit Mayang

• 1.300

• 17.25

• PK-IWH

• Piper Navajo

Page 13: Chapter I Database System
Page 14: Chapter I Database System
Page 15: Chapter I Database System

1.3 INTRODUCING THE DATABASE

A database is a shared, integrated computer structure that stores a collection of:

• End-user data, that is, raw facts of interest to the end user.

• Metadata

Com Net 2
Highlight
Information of Data, which is a type of a data .. for example 50.000 relates to a value of currency
Page 16: Chapter I Database System

• A database management system (DBMS) is a collection of programs that manages the database structure and controls access to the data stored in the database.

Page 17: Chapter I Database System

• a database resembles a very well-organized electronic filing cabinet in which powerful software, known as a database management system, helps manage the cabinet’s contents.

Page 18: Chapter I Database System
Page 19: Chapter I Database System

1.3.1 Role and Advantages of the DBMS

Page 20: Chapter I Database System

DBMS provides advantages such as:

• Improved data sharing.

• Improved data security.

• Better data integration.

• Minimized data inconsistency.

• Improved data access.

• Improved decision making

• Increased end-user productivity.

Page 21: Chapter I Database System

1.3.2 Types of Databases

• A DBMS can support many different types of databases.

• Databases can be classified according to:

– the number of users and

– the database location(s)

– the expected type and extent of use.

Page 22: Chapter I Database System

• The number of users determines whether the database is classified as single-user or multiuser.

• A single-user database supports only one user at a time.

• A multiuser database supports multiple users at the same time.

Page 23: Chapter I Database System

single-user database and multi-user database

Page 24: Chapter I Database System

• multiuser database:

– Workgroup database (usually fewer than 50)

– Enterprise database (>50, usually hundreds)

Page 25: Chapter I Database System

• Location might also be used to classify the database

– a database that supports data located at a single site is called a centralized database

– A database that supports data distributed across several different sites is called a distributed database.

Page 26: Chapter I Database System

centralized database

Page 27: Chapter I Database System

Distributed Database

Page 28: Chapter I Database System

• classifying databases today based on how they will be used

– A database that is designed primarily to support a company’s day-to-day operations is classified as an operational database (sometimes referred to as a transactional or production database)

– focuses primarily on storing data used to generate information required to make tactical or strategic decisions - a data warehouse

Page 29: Chapter I Database System

• Databases can also be classified to reflect the degree to which the data are structured.

– Unstructured data

– Structured data

Page 30: Chapter I Database System

• Actually, most data you encounter are best classified as semistructured.

• Semistructured data are data that have already been processed to some extent

Page 31: Chapter I Database System

• a new generation of databases known as XML databases

• Extensible Markup Language (XML) is a special language used to represent and manipulate data elements in a textual format.

• An XML database supports the storage and management of semistructured XML data.

Page 32: Chapter I Database System

Table 1.1 compares the features of several well-known database management systems

Page 33: Chapter I Database System

1.4 WHY DATABASE DESIGN IS IMPORTANT

• Database design refers to the activities that focus on the design of the database structure that will be used to store and manage end-user data.

Page 34: Chapter I Database System

• Designing a database to be used in a centralized, single-user environment requires a different approach from that used in the design of a distributed, multiuser database.

Page 35: Chapter I Database System

• Apa hasil dari good design?

– accurate and valuable information

• Apa hasil dari poorly design?

– difficult-to-trace errors

– bad decision

– and bad decision making can lead to the failure of an organization

Page 36: Chapter I Database System

1.5 EVOLUTION OF FILE SYSTEM DATA PROCESSING

Page 37: Chapter I Database System
Page 38: Chapter I Database System

1.6 PROBLEMS WITH FILE SYSTEM DATA PROCESSING

• Structural and Data Dependence

• Data Redundancy

• Lack Of Design And Data-modeling Skills

Page 39: Chapter I Database System

1.7 DATABASE SYSTEMS

Page 40: Chapter I Database System
Page 41: Chapter I Database System

• Database system,

an organization of components that define and regulate the collection, storage, management, and use of data within a database environment

Page 42: Chapter I Database System

• From a general management point of view, the database system is composed of the five major

– hardware,

– software,

– people,

– procedures,

– and data.

Page 43: Chapter I Database System
Page 44: Chapter I Database System

Hardware

• Hardware refers to all of the system’s physical devices; for example:

– computers (PCs, workstations, servers, and supercomputers),

– storage devices, printers, network devices (hubs, switches, routers, fiber optics),

– and other devices (automated teller machines, ID readers, and so on).

Page 45: Chapter I Database System

Software

• Although the most readily identified software is the DBMS itself, to make the database system function fully, three types of software are needed:

– Operating system software,

– DBMS software,

– and application programs and utilities.

Page 46: Chapter I Database System

• Operating system software manages all hardware components and makes it possible for all other software to run on the computers. Examples:– Microsoft Windows,

– Linux,

– Mac OS,

– UNIX,

– and MVS.

Page 47: Chapter I Database System

• DBMS software manages the database within the database system. Some examples of DBMS software

– Microsoft’s SQL Server,

– Oracle Corporation’s Oracle,

– Sun’s MySQL,

– and IBM’s DB2.

Page 48: Chapter I Database System

• Application programs and utility software are used to access and manipulate data in the DBMS and to manage the computer environment in which data access and manipulation take place

Page 49: Chapter I Database System

People

• This component includes all users of the database system

• five types of users can be identified in a database system: – system administrators,

– database administrators,

– database designers,

– system analysts and programmers,

– and end users

Page 50: Chapter I Database System

System administrators

• System administrators oversee the database system’s general operations.

Page 51: Chapter I Database System

Database administrators

• Database administrators, also known as DBAs, manage the DBMS and ensure that the database is functioning properly

Page 52: Chapter I Database System

Database designers

• Database designers design the database structure. They are, in effect, the database architects.

• If the database design is poor, even the best application programmers and the most dedicated DBAs cannot produce a useful database environment

Page 53: Chapter I Database System

System analysts and programmers

• System analysts and programmers design and implement the application programs

Page 54: Chapter I Database System

End users

• End users are the people who use the application programs to run the organization’s daily operations

Page 55: Chapter I Database System

Procedures

• Procedures are the instructions and rules that govern the design and use of the database system.

Page 56: Chapter I Database System
Page 57: Chapter I Database System

Data

• The word data covers the collection of facts stored in the database