Professional Documents
Culture Documents
Database: - Data Hierarchy
Database: - Data Hierarchy
• Data Hierarchy
– Bit – 0/1.
– Byte – 8 bits. Single Character, a letter.
– Field – Group of characters into words (Student’s name)
– Record – Group of related fields. (Student’s name, course
taken, grade).
– File – Group of related records.
– Database – Grouping of related files.
• Database –
• is logical group of related fields, eliminates the problem
associated with traditional file environment.
• Data is integrated and related so one set of S/W
(DBMS) accesses to all data.
Database
• Data Models
• Hierarchical model
• Network Model
• Relational Model
– Hierarchical Model
– Structures data into an inverted tree.
– A hierarchical database consists of a collection of records
which are connected to one another through links.
– Record types are organized in the form of a rooted tree.
» No cycles in the underlying graph.
» Relationships formed in the graph must be such that only
one-to-many or one-to-one relationships exist between a
parent and a child.
Hierarchical Model
– Network Model
– Relationships formed in the graph can be many-to-many
between a parent and a child.
Database
• Data Models
– Relational Model
– Based on simple concept of tables ( rows and columns).
– Tables are called relations and Model is based o mathematical
theory of sets and relation.
– Each row is equivalent to record (tuple) and each column is
equivalent to field (attribute).
• Principles
1. Order of tuple or attribute is irrelevant.
2. Each tuple must be uniquely identifiable.
3. Each table must have unique identifier.
4. A cell contains one value.
Database
• Data Models
– Relational Model
• Basic Operations-
– Select
– Join
– project.
• DATA MINING
• Provides a means of extracting previously unknown, predictive
information from base of accessible data in data warehouse.
• Uses tools to discover hidden patterns, correlations, and relationship
among organizational data.
• Predicting future trends and behaviors, allowing business to make
proactive, knowledge driven decisions.