Database System Concepts Before The Advent of Database Systems
Database System Concepts Before The Advent of Database Systems
• Report a Bug
• Home
• Content
• About Us
• Help
Content Actions
•
• Edit this content (author only)
• Save to del.icio.us
Related material
Similar content
Figure 1
File-based approach for banking system
Keeping organizational information in this approach has a number of disadvantages,
including :
• Integrity problems
o Data values must satisfy certain consistency contraints which are specified
in the application programs.
o It is difficult to add change the programs to enforce new constraint
• Security problems
o There are constraint regarding accessing privileges
o Application is added to the system in the ad-hoc manner so it is difficult to
enforce those constraints
• Concurrent – access anomalies
o Data may be accessed by many applications that have not been
coordinated previously so it is not easy to provide a stategy to support
multiple users to update data simutaneously
These difficulties have prompted the development of a new approach in managing large
amount of organizational information – database approach. In the following section, we
shall see the concepts that have been introduced to get over the problems mentioned.
Database Approach
Database and database technology play an important role in most of social areas where
computer are used, including business, education, medicine etc. To understand the
fundamental of database system, we start from introducing the basic concepts in this area.
Fundamental Concepts
Database is a shared collection of related data which
will be used to support the activities of particular
organization. Database can be viewed as a repository of
data that is defined once and then is accessed by various
users. A database has the following properties:
• It is a representation of some aspect of the real world; or perhaps, a collection of
data elements (facts) representing realworld information.
• Database is logical coherent and internally consistent.
• Database is designed, built, and populated with data for a specific purpose.
Figure 3
Database approach for banking system
Characteristics of Database approach
There are a number of characteristics that distinguish the database approach with the file-
based approach. In this section, we describe in detail some of those important
characteristics.
• View level: The highest level of abstraction describes only part of the entire
database. Many users will not be concerned with the large database. Instead, they
need to access only a part of it so that view level abstraction is defined. There are
many views for the same database.
• Logical level: This level describes what data are stored in the whole database.
• Physical level: The lowest level of abstraction describes how the data are actually
stored.
• The Network model represents data as record types and also represents a limited
type of one to many relationship, called set type.
The figure below shows a schema in network model notation
Figure 4
Figure 5
• Physical Data models: Provide concepts that describe how data is actually stored
in the computer.
Figure 6
Three- level Architecture
As we can see from above picture, there are three levels of schemas in the database
architecture
External level:
• In this highest level, there exists a number of views which of is defined a part of
the actual database.
• Each view is provided for a user or a group of users so that it helps in simplified
the interaction between the user and system.
Conceptual level: Conceptual Schema in this level describes the logical structure of the
whole database.
• The entire database is described using simple logical concepts such as objects,
their properties or relationships. Thus the complexity of the implementation detail
of the data with be hided from the users.
• Internal level: Internal Schema in this level describes how the data are actually
stored, how to access the data.
Data Independence
Data Independence is the ability to modify the schema in one level without affecting the
schema in the higher level.
There are two levels of data independence:
• Logical data independence is the ability to make change in the conceptual schema
without causing a modify in the user views or application program.
• Physical data independence is the ability to make change in the internal schema
without causing a modify in the conceptual schema or application program.
Physical data independence seem to be easier to achieve since the way the data is
organized in the memory affect only the performance of the system. Meanwhile, the
application program depends much on the logical structure of the data that they are
access.
Database Language
Data Definition Language (DDL): This is used to define the conceptual and internal
schemas for a database system.
• It is not procedural language, rather a language for describing the types of entities
and relationships among them in terms of a particular data model.
Database Users
End users
People whose jobs require access to database for querying, updating and generating
report.
An end users might by one of the following
• Naïve users who use the existing appication programs to perform their daily tasks
• Sophiticated users are who use their own way to access to the database. This mean
they donot use the application program provided in the system. In stead, they
might define their own application or describe their need directly in a query
languaes.
• Specialized users maintain the personal database by using ready –make program
packages that provide easy-to-use menu.
Application Programmer
People implement specific application program to access to the stored data. This kind of
user need to familiar with the DBMSs to accomplish their task.
Database Administrators
A person or a group of people in the organization who is responsible for authorizing the
access to the database, monitoring its use and managing all the resource to support the
use of the whole database system
• Based on data model: The most popular data model in today commercial DBMSs
is relational data model. Almost wellknown DBMSs like Oracle, MS SQL Server,
DB2, MySQL are support this model. Other traditional models can be named
hierarchical data model , network data model. In the recent year, we are getting
familiar with object-oriented data model but this model has not had widespread
use. Some examples of Object-oriented DBMSs are O2, ObjectStore or Jasmine.
• Based on number users we can have single user database system which support
one user at a time or multiuser syste,s which support multiple users concurrently
• Based on the ways database is distributed we have centralized or distributed
database system
o Centralized database system : Data in this kind of system is stored at a
single site.
Figure 7
Centralized Database System
• Distributed database sytem: Actual database and DBMS software are distributed
in various sites connected by a computer network.
Send feedback
More about this content: Metadata | Version History | Cite This Content
This work is licensed by Nguyen Kim Anh. See the Creative Commons License about
permission to reuse this material.
Last edited by Nguyen Kim Anh on Nov 21, 2007 4:54 pm US/Central.