Information Management - Module - Unit II
Information Management - Module - Unit II
CC 105
At the end of module, you should be able to:
1. Explain and discuss the concepts of Database Management
System.
2. Design a logical database model by applying rules of
normalization on existing relations.
3. Design a logical database model by applying rules of
normalization on existing relations.
4. Develop a relational database system and write documentation
by discussing the research issues and approach used in
developing the project.
5. Analyze more advanced issues in relational database design and
management.
6. Investigate emerging technologies and recent trends in database
design.
Prepared by:
ROMEO N. LABAYNA
Subject Teacher
Lesson Outline
1. Data Models
2. Database Planning and Administration
3. Entity Relationship Modelling
4. Relationship Modelling
5. Transforming ERD to Relations
6. Normalization and Functional dependency
IM CC 105 | Page 2 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
IM CC 105 | Page 3 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
Data Abstraction
details from users. This process of hiding irrelevant details from user is called
data abstraction.
Level of Abstraction
1. Physical Level /
Internal Schema – This is the
lowest level of data
abstraction. It describes how
data is actually stored in
IM CC 105 | Page 4 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
database. This level describes how many bytes of physical space are
needed and restrictions. The internal schema defines the physical
storage structure of the database. The internal schema is a very low-
level representation of the entire database.
Information Management
3. View Level / External Schema –It is how users see the data. It can also
hide information for security purposes. This is the highest level of
abstraction. Only a part of the actual database is viewed by the users.
MODULE
IM CC 105 | Page 5 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
IM CC 105 | Page 6 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
table has only one matching record in other table. This type of relationship is
not common because most of information related in this way would be all in
one table.
Information Management
One to Many
Relationship (1:M) –
can establish when
one record from a
table is related to
many matching
records in other tables. A one-to-many relationship exists when one row in
table A may be linked with many rows in table B, but one row in table B is
linked to only one row in table A. It is important to note that a one-to-many
relationship is not a property of the data, but rather of the relationship itself.
MODULE
Many to Many
Relationship (M:M) –
association between
tables in which one
record in either table
can relate to many
records in the other
table. A pair of tables
bears a many-to-many
relationship when a
single record in the first
table can be related to
one or more records in
the second table and a single record in the second table can be related to
IM CC 105 | Page 7 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
one or more records in the first table. Many to many relationships are difficult
to represent. We need to decompose a many to many (M:M) relationship into
two one-to-many (1:M) relationships.
Information Management
Conceptual Model is an organized view of database concepts and their relationships. The purpose of creating a
conceptual data model is to establish entities, their attributes, and relationships.
IM CC 105 | Page 8 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
A Logical model is a fully attributed conceptual model. The attributes are fully spelled out with no abbreviations. High-level data types
(string, number, date, etc.) are provided at this point but no details of the physical implementation are provided in the logical model.
The physical data model also helps in visualizing database structure by replicating database column keys, constraints,
indexes, triggers, and other RDBMS features.
Database Models
A database model shows the logical structure of a database, including
the relationships and constraints that determine how data can be stored and
accessed. Individual database models are designed based on the rules and
IM CC 105 | Page 9 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
concepts of whichever broader data model the designers adopt. Most data
models can be represented by an accompanying database diagram.
There are five (5) common types of database model that are useful for
Information Management
IM CC 105 | Page 10 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
3. Entity-relationship Model - In
this database model,
relationships are created by
dividing object of interest into
entity and its characteristics into
attributes. Different entities are
related using relationships. E-R Models are defined to represent the
relationships into pictorial form to make it easier for different
stakeholders to understand. This model is good to design a database,
MODULE
Components of ER Model
IM CC 105 | Page 11 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
4. Relational Model is
developed by E. F. Codd in 1970.
The various software systems
used to maintain relational
Information Management
IM CC 105 | Page 12 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
IM CC 105 | Page 13 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
Instance
IM CC 105 | Page 14 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
1. Database Planning
Planning how the stages of the lifecycle can be realized most
efficient and effectively.
Identification of enterprise plans and goals with subsequent
determination of information system needs.
Evaluation of the current IS to determine existing strengths and
weaknesses.
Database planning also include the development of standards
that govern how data will be collected.
First step in database planning is to clearly define the mission
statement.
IM CC 105 | Page 15 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
2. System Definition
Describe the scope and the boundaries of the database
application and major user views.
Identifying user views is an important aspect of developing a
database application because it helps to ensure that no major
users are forgotten when developing the requirements.
IM CC 105 | Page 16 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
4. Database Design
Information Management
IM CC 105 | Page 17 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
5. DBMS Selection
Selection of an appropriate DBMS to support the database
application.
If no DBMS exists, part of the lifecycle is the selection of the
DBMS.
6. Application Design
Design of user interface and application programs that use and
process the database.
Database and application design are parallel activities.
Includes two important activities: transaction design (e.g.,
MODULE
7. Prototyping
Building a working model of the database applications, which
allows the designers or user to visualize and evaluate how the
final system will look and function.
Requirements prototyping – the prototype is being discarded.
Evolutionary prototyping – prototype is not discarded and
develop with further revisions.
8. Implementation
Physical realization of the database and applications designs.
Once a database has been developed, tested, and tweaked to
optimize performance, it is then made available for the client to
IM CC 105 | Page 18 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
10. Testing
Process of executing the application programs with the intent of
finding errors.
IM CC 105 | Page 19 Unit II | Database Analysis Design and Techniques, and Logical Modelling
FIRST SEMESTER | AY 2021-2022
Information Management
MODULE
IM CC 105 | Page 20 Unit II | Database Analysis Design and Techniques, and Logical Modelling