CC105
CC105
AND DATA
MODELS
By: Group 1
Members
Aguas, Lealyn Calma, Jhamica Islajiya D.
Almeda, Archer Miles M. Cenabre, Mark Angelo
Alonzo, Loraine S. Contreras, Jenica Joan P.
Balisi, Kurl Matthew G. De Guzman, Darlene Joy
Bayaborda, Francis Rain P. T.
Cabalu, Carlos Daniel D. De Guzman, Leeroy
Ebio, Jio Riel M.
Data
Modeling
Data modeling is the process of creating a visual
map of how data is structured and related in a
system. It helps organize information so that
databases can store, retrieve, and manage it
efficiently.
Data Models
Data models are like blueprints for
organizing and structuring data in a
system. They define how data is stored,
connected, and used.
Difference
Between Data
Modeling And
Data Models
Data Modeling is the process of creating a
structured design for data, while Data Models
are the actual frameworks or representations
that result from this process.
The Purpose of Data
Modeling
The key benefits of data modelling
include:
•Better Understanding of Data
•Improved Database Design
•Data Accuracy and
Consistency
•Enhanced System Performance
•Easier Maintenance and
Scalability
Types of Data Models
Data models are categorized into
three types based on their level
detail and abstraction:
a. Conceptual Data Model
A conceptual data model is a high-level plan
that shows the main data elements and their
relationships in a system.
b. Logical Data Model
A logical data model is a detailed blueprint of
how data is organized, including specific
attributes, relationships, and rules, but without
focusing on technical storage details.
c. Physical Data Model
A physical data model is a detailed plan that
shows how data will be stored in a database. It
includes tables, columns, data types, and
technical details like indexes and storage.
Building Blocks of Data
Model
The building blocks of a data model are the essential components used
to design and structure data in a system.
They include:
1. Entities (What?)
• Represent real-world objects or concepts (e.g., Student, Teacher,
Product).
• Stored as tables in databases.
2. Attributes (Details?)
• Describe properties of an entity (e.g., Student Name, Age, Email).
• Stored as columns in tables.
Building Blocks of Data
Model
3. Relationships (Connections?)
• Define how entities are related (e.g., Students enroll in Courses).
• Represented as links or foreign keys in databases.
4. Constraints (Rules?)
• Ensure data integrity and accuracy (e.g., Primary Key, Unique, Not
Null).
5. Schemas (Structure?)
• The overall organization of data in a database (e.g., grouping tables
into categories).
Database Naming
Conventions and Best
Practices
Using a consistent naming convention improves readability,
maintainability, and scalability of a database. Here are key guidelines:
3. Column Naming
• Use singular form
• Use descriptive names
Database Naming
Conventions and Best
Practices
4. Primary & Foreign Keys
• Primary Key Naming
• Foreign Key Naming