L3 - Data Models
L3 - Data Models
Jader, MIT
Data Modeling
Data Modeling Data Model
The first step in designing a is a relatively simple
database, refers to the process of representation, usually graphical,
creating a specific data model for of more complex real-world data
a determined problem domain structures (Coronel & Morris
(Coronel & Morris (2019). (2019).
According to the IBM cloud is the graphical system used to
education (2020), the process of capture the nature of and
creating a visual representation relationships among data and are
of either a whole information used at different levels of
system or parts of it to abstraction as a database is
communicate connections conceptualized and designed
between data points and (Hoffer, J. A, (2019)).
structures. 2
Data Model Basic Building
Blocks
◎ Entity. Some examples of each of
these kinds of entities follow:
○ Person: EMPLOYEE, STUDENT, PATIENT
○ Place: STORE, WAREHOUSE, PROVINCE
○ Object: MACHINE, BUILDING, AUTOMOBILE
○ Event: SALE, REGISTRATION, RENEWAL
○ Concept: ACCOUNT, COURSE, WORK CENTER
3
Data Model Basic Building
Blocks
◎ An attribute. An examples of attributes:
StudID, LName, FName, MI so on
◎ Relationship. is an association representing
an interaction among the instances of one
or more entity types that is of interest to the
organization.
◎ Constraints. For example; a student’s GPA
must be between 1.00 and 5.00,
4
Business Rules
◎ A business rule is "a statement that
defines or constrains some aspect of
the business. It is intended to assert
business structure or to control or
influence the behavior of the business
rules prevent, cause, or suggest things
to happen" (GUIDE Business Rules
Project, 1997).
5
Examples
✓ A customer may generate many invoices.
✓ An invoice is generated by only one customer.
✓ A training session cannot be scheduled for
fewer than 10 employees or for more than 30
employees.
6
Data Name and Data
Definitions
◎ Data Names. It will provide specific
guidelines for naming entities, relationships,
and attributes as we develop the entity-
relationship data model.
◎ Data Definitions. is considered a type of
business rule . It is an explanation of a term
or a fact. Term. is a word or phrase that has
a specific meaning for the business.
7
Database Design
◎ As stated by Guru99 (2020), Database
Design is a collection of processes that
facilitate the designing, development,
implementation, and maintenance of
enterprise data management systems.
8
Design Method
1. Identify the entities (objects) involved, and name the entities.
3. Identify the attributes for all the entities. These attributes become the
columns in the tables. It is possible for two or more entities to contain the
same attributes.
10
SUMMARY
◎ Data model. A representation, usually graphic, of a complex "real-world" data
structure.
◎ Good Business Rules. are ones that are declarative, precise, atomic, consistent,
expressible, distinct, and business oriented. Examples of basic business rules are data
names and definitions.
11
REFERENCES
Coronel, C., Morris, S., (2019). Database principles: Fundamentals of design, implementation and
management (13th ed.). Cengage Learning Asia Pte Ltd.
Elmasri, R., & Navathe, S. B., (2011). Fundamentals of database systems (6th ed.). Pearson
Education, Inc., publishing as Addison-Wesley.
ONLINE REFERENCES
Guru99 (2020). What is data modeling? conceptual, logical, & physical data
models. https://opentextbc.ca/dbdesign01/chapter/chapter-1-before-the-
advent-of-database-systems/
123test.com (2021). Profession database designer.
https://www.123test.com/professions/profession-database-designer/
12
13