Chapter 2 1
Chapter 2 1
CONCEPTS
JOSE CARLO C. GAMBOA
WHAT IS A DATA MODEL?
A data model pertains to the
organization data elements and standardizes how
the data elements relate to one another. Data
models describe structured data for storage in
data management systems.
STRUCTURED DATA
Structured data is organized in a predefined format and is usually
stored in tables with rows and columns, making it easy to search, sort,
and analyze. Examples of structured data include:
1. Customer information stored in a database, including name, address,
phone number, and email address.
2. Financial transactions recorded in a spreadsheet, including date,
amount, description, and category.
3. Product inventory stored in a table, including product name, SKU,
price, and quantity in stock.
UNSTRUCTURED DATA
Unstructured data, on the other hand, is not organized in a
predefined format and is more difficult to search, analyze, and manage.
It can come in a variety of formats, including text, images, videos, and
audio recordings. Examples of unstructured data include:
1. Social media posts, which can contain text, images, and videos.
2. Emails and other types of free-form text, which can be difficult to
categorize and analyze without advanced tools.
3. Images and videos, which may not have clear metadata or text labels
to identify their contents.
A very important aspect about a data model is that when
it is implementation – ready, it should contain at least the
following components:
o A description of the data structure that will store the
end – user data.
o A set of enforceable rules to guarantee the integrity of
the data.
o A data manipulation methodology that supports the
real – world data transformations.
BUILDING BLOCKS OF DATA
MODEL
1.Hierarchical Model
2.Network Model
3.Relational Model
4.Object-Oriented Model
1. HIERARCHICAL MODEL
Developed in the 1960s, its basic logical structure is
represented by an upside – down “tree”. The hierarchical
structure contains levels, or segments. It basically depicts
a set of one-to-many (1:M) relationships between a parent
and its children segments in which each parent can have
many children and each child has only one parent.
2. NETWORK MODEL
Unlike the hierarchical model, the network model allows a record to
have more than one parent. It was created based from the
hierarchical model due to the following reasons:
To represent complex data relationships more effectively.
To improve database performance.
To impose a database standard.
While the network database model is generally not used today, the definitions of
standard database concepts that emerged with the network model are still used
by modern data models. And these are:
1.External Model
2.Conceptual Model
3.Internal Model
1. EXTERNAL MODEL
4. John and Peter are currently taking all the subjects offered under CHMBAC
Cardinality – 3 Cardinality - 3