Introduction To Database
Introduction To Database
Introduction To Database
System
DRC1123
Week Course Content/Topics
17 Final Exam
Assessments
•Programs that use these files depend on knowledge about that format.
•In earlier days, database applications were built on top of file systems.
This approach is mostly obsolete but –
•Understanding problems inherent in file-based systems may prevent us from
repeating these problems in our database system.
•Understanding how file system works is extremely useful when converting a file-
based system to a database system.
Advantages and disadvantages of
traditional File-Based Systems
ADVANTAGES DISADVANTAGES
•File processing cost less and can be more speed •Data redundancy and inconsistency.
than database.
•File processing design approach was well suited •Difficulty in accessing data.
to mainframe hardware and batch input.
•Data isolation – multiple files and
•Companies mainly use file processing to handle
formats.
large volumes of structured data on a regular
basis.
•Integrity problems
•It can be more efficient and cost less than DBMS
in certain situations. •Unauthorized access is not restricted.
•Design is simple.
•It co-ordinates only physical access.
•Customization is easy and efficient.
1.2 Database Approach & the
components
To overcome disadvantages of File system, DBMS came in use:
Database Management Systems (DBMS) refer to the technology solution used to optimize
and manage the storage and retrieval of data from databases. It is collection of inter-
related data. It has set of programs to access the data. Basically, it contains information
about particular enterprise. DBMS offers a systematic approach to manage databases
via an interface for users as well as workloads accessing the databases via apps.
•The database life cycle incorporates the necessary steps involved in database development, starting
with requirements analysis and ending with monitoring and modification.
•Database life cycle consists of four stages, namely:
(1) requirements analysis
(2) logical design
(3) physical design
(4) database implementation, monitoring, and modification.
Database Life Cycle
A Conceptual Data Model is a diagram identifying the business concepts (entities)
Normalization is the process of organizing data in a database to reduce data redundancy.
1.4 Database Models
Data Model gives us an idea that how the final system will look like after its complete implementation. It defines the data elements and the
relationships between the data elements. Some of the Data Models in DBMS are:
1.Hierarchical Model
2.Network Model
3.Entity-Relationship Model
4.Relational Model
Network Model
This model is an extension of the hierarchical model. It was the most
popular model before the relational model. This model is the same as
the hierarchical model, the only difference is that a record can have
more than one parent. It replaces the hierarchical tree with a graph.
Features of ER Model
Graphical Representation for Better Understanding, ER Diagram: ER
diagram is used as a visual tool for representing the model.
Database Design: This model helps the database designers to build the
database and is widely used in database design.
Object-Relational Model
As the name suggests it is a combination of both the relational
model and the object-oriented model. This model was built to fill
the gap between object-oriented model and the relational model.
It have many advanced features like we can make complex data
types according to requirements using the existing data types.
The problem with this model is it can get complex and difficult to
handle. So, proper understanding of this model is required.