Documente Academic
Documente Profesional
Documente Cultură
Chapter 1
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
Database Management
Database is shared, integrated computer structure housing:
End user data Metadata
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
Importance of DBMS
Makes data management more efficient and effective Query language allows quick answers to ad hoc queries Provides better access to more and bettermanaged data Promotes integrated view of organizations operations Reduces the probability of inconsistent data
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
Figure 1.2
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
Database Design
Importance of Good Design
Poor design results in unwanted data redundancy Poor design generates errors leading to bad decisions
Practical Approach
Focus on principles and concepts of database design Importance of logical design
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
File Terminology
Data
Raw Facts
Field
Group of characters with specific meaning
Record
Logically connected fields that describe a person, place, or thing
File
Collection of related records
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
Figure 1.5
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
10
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
11
Data Dependence
Change in files data characteristics requires modification of data access programs Must tell program what to do and how Makes file systems cumbersome from programming and data management views
Structural Dependence
Change in file structure requires modification of related programs
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
12
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
13
Data Redundancy
Different and conflicting versions of same data Results of uncontrolled data redundancy
Data anomalies
Modification Insertion Deletion
Data inconsistency
Lack of data integrity
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
14
Database Systems
Database consists of logically related data stored in a single repository Provides advantages over file system management approach
Eliminates inconsistency, data anomalies, data dependency, and structural dependency problems Stores data structures, relationships, and access paths
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
15
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
16
Figure 1.7
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
17
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
18
DBMS Functions
Data dictionary management Data storage management Data transformation and presentation Security management Multiuser access control Backup and recovery management Data integrity management Database language and application programming interfaces Database communication interfaces
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
19
Database Models
Collection of logical constructs used to represent data structure and relationships within the database
Conceptual models: logical nature of data representation Implementation models: emphasis on how the data are represented in the database
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
20
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
21
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
22
Disadvantages
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
Figure 1.10
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
24
Disadvantages
System complexity Lack of structural independence
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
25
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
26
Figure 1.11
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
27
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
28
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
29
Figure 1.13
30
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
Disadvantages
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
32
Figure 1.15
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
33
OO Data Model
Advantages
Adds semantic content Visual presentation includes semantic content Database integrity Both structural and data independence Lack of OODM Complex navigational data access Steep learning curve High system overhead slows transactions
34
Disadvantages
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
Figure 1.16
Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel
35
36