Anda di halaman 1dari 7

 File systems

Introduction to Database Systems  are used by a manager of any small organization to track
necessary data
 File Systems
 Database Systems

 Database

 Database Models

 Basic Data Modeling Concepts

 Database Management System

 Data Dictionary
*Property of STI J0070

1 _________________________ 2 __________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________

 Disadvantages of a File System  Database System


o Lengthy development time  is a computerized system whose overall purpose is to
o Difficulty of getting quick answers maintain information and make that information
o Complex system administration
available on demand
 Examples:
o Lack of security and limited data sharing
o Computerized record-keeping system
o Extensive programming o Electronic filing cabinet
o Repository for a collection of computerized data files

*Property of STI J0070 *Property of STI J0070

3 _________________________ 4 __________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
 Database System  Five major parts of a Database System
 Hardware
 Software
o Operating Systems Software
o DBMS Software
o Application programs and utility software
 People
o Systems Administrators
o Database Administrators
o Database Designers
o Systems Analysts and Programmers
o End Users
 Procedures
 Data
*Property of STI J0070 *Property of STI J0070

5 _________________________ 6 __________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________

 Database
 is a shared, integrated computer structure that stores  Advantages  Disadvantages
a collection of:  Reduced data redundancy  Complexity
 Data integrity  Expense
o End-user data
 Data independence  Vulnerability
– raw facts of interest to the end user  Data security  Size
o Metadata  Data consistency  Training costs
– data about data through which the end-user data are  Easier use of data  Compatibility
integrated and managed  Less storage  Locking in of technology
 Lack of lower level control

*Property of STI J0070 *Property of STI J0070

7 _________________________ 8 __________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
 Database Model
 Database Model o Implementation Model
 defines the logical design of data that can be stored, – places emphasis on how the data are represented in the
database or how the data structures are implemented to
organized, and manipulated in a database system
represent what is modeled
 defines the infrastructure offered by a particular – Examples:
database system » Hierarchical database model
 Categories: » Network database model
o Conceptual Model » Relational database model
– focuses on the logical nature of the data representation » Object-oriented database model
– Example: Entity relationship (E-R) model

*Property of STI J0070 *Property of STI J0070

9 _________________________ 10 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________

 Basic building blocks of a Database Model o Relationship


o Entity –describes the association among entities
– is anything about which data are to be collected and
–Types:
stored
» One-to-many (1:*) relationship
o Attribute
» Many-to-many (*:*) relationship
– is the characteristic of an entity » One-to-one (1:1) relationship
o Constraints

–is a restriction placed on the data

*Property of STI J0070 *Property of STI J0070

11 ________________________ 12 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
 Hierarchical Model  Network Model
 was developed in the 1960’s  was created to represent complex data relationships, improve database
 is used to manage large amounts of data for complex manufacturing performance, and impose a database standard
projects  was defined by the Conference on Data Systems Language (CODASYL)
 has a basic logical structure represented by an upside-down tree

 Conference on Data Systems Language (CODASYL)


 established database standards
 created the Database Task Group (DBTG) in the late 1960s

 Database Task Group (DBTG)


 was charged to create standard specifications for an environment that
would facilitate database creation and data manipulation

*Property of STI J0070 *Property of STI J0070

13 ________________________ 14 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________

 Relational Model
 was introduced in 1970 by E.F. Codd of IBM
 Entity relationship model
 is collection of relations or two-dimensional tables having
distinct names  was introduced by Peter Chen in 1976
student-number name course  yields a graphical representation of entities and
89-11043 Marian BSIT their relationships in database structure
89-10043 Jackie BSCS
 is usually represented by an entity relationship
61-12345 Jennelyn BSCOE
23-10202 Solenn BSBA
diagram

*Property of STI J0070 *Property of STI J0070

15 ________________________ 16 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
 Entity relationships

 introduced the three types of relationships:


o One-to-many (1:*) relationship one-to-one
o Many-to-many (*:*) relationship

o One-to-one (1:1) relationship

 is based on the following components:


o Entity
o Attributes one-to-many
o Relationship

*Property of STI J0070 *Property of STI J0070

17 ________________________ 18 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________

 Entity relationships  Object-oriented model


 stores both data and their relationships in a single structure known as an
object
 is based on the components such as:
o Object
– is an abstraction of a real-world entity
o Attribute
many-to-many
– describes the properties of an object
o Class
– is a collection of similar objects with shared attributes and methods
o Class hierarchy
– refers to the arrangement of classes
o Inheritance
– refers to the ability of an object within the class hierarchy to inherit the
attributes and methods of the classes above it
*Property of STI J0070 *Property of STI J0070

19 ________________________ 20 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
 Data model
 is the relatively simple representation of a more complex real-
world object

 ANSI/SPARC
 stands for American National Standard Institute/Standards
Planning and Requirements Committee
 defined three different data models based on their degree of
abstraction:
o Conceptual model
o Internal model
o External model

*Property of STI J0070 *Property of STI J0070

21 ________________________ 22 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________

 Database Management Systems  Functions of a DBMS


 Data dictionary management  Database access languages
 Data storage management and application programming
 is a collection of programs that manages the database structure
 Data transformation and interfaces
and controls access to the data stored in the database
presentation o Query language
 Examples:
 Security management – Data Definition Language
o MS SQL
(DDL)
o Oracle  Multiuser access control – Data Manipulation
o DB2  Backup and recovery Language (DML)
management  Database communication
 Data integrity management interfaces

*Property of STI J0070 *Property of STI J0070

23 ________________________ 24 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
 Data Dictionary
 is a centralized repository of information about data
such as meaning, relationships to other data, origin,
usage, and format
 has two main types:
o Integrated
o standalone
 can be classified as:
o Active Data Dictionary
o Passive Data Dictionary

*Property of STI J0070

25 ________________________
___________________________
___________________________
___________________________
___________________________
___________________________
___________________________
___________________________
___________________________

Anda mungkin juga menyukai