G.S.Gupta Dbms PCMS, Chitwan Unit - I: Data and Information
G.S.Gupta Dbms PCMS, Chitwan Unit - I: Data and Information
Gupta
PCMS, Chitwan
DBMS
Unit I
Database system
A Database is a repository for collection of related data or facts. A database contains
a collection of related items or facts arranged in a specific structure. The most
obvious example of a non computerized database is a telephone directory. Telephone
companies now use an electronic database program to produce their printed phone
book. Sometimes, we see a specialize phone book that is sorted not only by last
name, but by other items such as phone number or street address. These books are
easy to produce because the telephone companys electronic database can sort and
organize the data in many different ways. Database program can also sort lists of
data, arranging them in alphabetical, numeric, or chronological order.
Database systems are designed to manage large bodies of information. The
management of data involves both the definition of structures for the stirage of
information and provision of mechanism for the manipulation of information. In
Page :1
G.S.Gupta
PCMS, Chitwan
DBMS
Unit I
addition, the database system must provide for the safety of information stored
despite the system crashes or attempts at unauthorized access. If the data ate to be
shared among several usres, the system must avoid possible anomalous results. The
importance of information inmost of the organization which determine the value of
the database has led to the development of large bodies of concepts and techniques
for efficient management of data.
1.
Self-describing
nature
of
a
database
system:
A fundamental characteristics of the database approach is that the database
system contains not only the database itself but also a complete definition or
description of the database structure and constraints. The definition is stored in the
DBMS catalog, which contain information such as the structure of each file, the type
and storage format of each data item, and various constraints on the data. The
information stored in the catalog is called mata-data, and it describes the structure
of the primary database.
2. It provides an efficient way to store and access the data from/to the computer
H/w. It also provide a way to organize the data in structure format.
3.
Once the data is stored in h/w , it can represented that data in to the
different logical and physical view according to the requirement.
4.
It provides the data on network user , so that they can share the information
according to the requirement. Today most of the organization uses this type of
database
Database Management System (DBMS)
DBMS is a suite of programs which typically manage large structured sets of
persistent data, offering ad hoc query facilities to many users. They are widely used
in
business
applications.
A database management system (DBMS) can be an extremely complex set of
software programs that controls the organisation, storage and retrieval of data
(fields, records and files) in a database. It also controls the security and integrity of
the database. The DBMS accepts requests for data from the application program and
instructs
the
operating
system
to
transfer
the
appropriate
data.
When a DBMS is used, information systems can be changed much more easily as the
organisation's information requirements change. New categories of data can be
added
to
the
database
without
disruption
to
the
existing
system.
Page :2
G.S.Gupta
PCMS, Chitwan
DBMS
Unit I
Data security prevents unauthorised users from viewing or updating the database.
Using passwords, users are allowed access to the entire database or subsets of the
database, called subschemas (pronounced "sub-skeema"). For example, an
employee database can contain all the data about an individual employee, but one
group of users may be authorised to view only payroll data, while others are allowed
access
to
only
work
history
and
medical
data.
The DBMS can maintain the integrity of the database by not allowing more than one
user to update the same record at the same time. The DBMS can keep duplicate
records out of the database; for example, no two customers with the same customer
numbers (key fields) can be entered into the database.
7.2
Objective of DBMS
1)
2)
3)
4)
5)
6)
7)
8)
Page :3
G.S.Gupta
PCMS, Chitwan
DBMS
Unit I
Consider part of a saving-bank enterprise that keeps onformation about all customer
and saving accounts. One way to keep the information on a computer is to store it in
permanent system files. To allow users to manipulate the information, the system
has a number of application programs that manipulate the files, including
1)
2)
3)
4)
A
A
A
A
program
program
program
program
to
to
to
to
New application programs are added to the system as the need arises.
Page :4