MODULE 1 - Introduction To Databases and Database Management System
MODULE 1 - Introduction To Databases and Database Management System
Data is collection of raw facts that can be recorded and have some implicit
meaning for the user.
System is a set of operating elements working for a common objective.
Database is an integrated collection of well defined data and information, centrally
controlled in all aspects, created and stored in a typical structure for an
organization.
Database Management System or DBMS is a collection of programs that
enables the users to create, maintain and manage a database of an organization.
The DBMS is hence a general purpose software system that facilitates processes of
defining, constructing, manipulating and sharing databases among various users
and applications.
Cylindrical representation is the format of database.
DBMS is the medium through which the users interact with database.
File system
Limitations –
Concurrent access anomalies
Non-security
Data redundancy and data inconsistency
Integrity problems
Difficulty in accessing of data
Elements of a database –
Entities – Basic unit which is a thing in real world. (Noun is an entity in terms
of database.)
Entity Set – Group of similar objects is called entity set. (E.g. - Set of Student
Names)
Attribute – Properties that characterize and describe an entity set
Relationship – Association between entities is called relationship
Table – Table is the structure in which we store data. Primary unit of storage
of data in database
Advantages of DBMS –
One of the main advantages of using Database system is that the organization can
exert, via Database Administrator, centralized management and control over data.
The Internal Schema – It describes the physical storage structure of the database.
It indicates how data will be stored and describes the data structures and access
methods to be used by the database.
The external schema – It describes the part of the database that a particular user
group is interested in and hides the rest of the database from that that user group.
Any number of user groups may exist for a given conceptual schema.
Mapping – The process of transforming request and result between levels is called
as mapping.
Support of Multiple views of the data – Each user may see a different
view of the database, which describes only the data of interest to that user.