Dbms Module 1
Dbms Module 1
Database Defined::
A database is a collection of data
which can be used:
alone, or
combined / related to other data
to provide answers to the user’s question
It is A collection of related data organized
in a way that facilitates data searches.
Example of a Student Database
Databases
Before the Use of Computers
Data was stored in:
– books
– ledgers
– card files
– folders
– file cabinets
– or simply in people’s heads!?
Computers make the process of
storing and managing data easier
The Database Approach
Database Management System
– software application which allows you to
create, store, organize, and retrieve data from
a single database or many databases.
– Example: MS Access
DATABASE MANAGEMENT SYSTEMS
3. poor security
– because there is little control or management
of data, access to and distribution of
information is not controlled
4. lack of data sharing and availability
– due to lack of control over data resource, not
easy to share data - pieces of information is in
different files in different parts of organization
Components of DBMS
Environment
Cont…….
Hardware
– Can range from a PC to a network of computers.
Software
– DBMS, operating system, network software (if
necessary) and also the application programs.
Data
– Used by the organization and a description of this
data called the schema.
Procedures
– Instructions and rules that should be applied to the
design and use of the database and DBMS.
People
Advantages of DBMS
Control of data redundancy
Data consistency
More information from the same amount of data
Sharing of data
Improved data integrity
Improved security
Enforcement of standards
Economy of scale
Cont…..
Balanced conflicting requirements
Improved data accessibility and
responsiveness
Increased productivity
Improved maintenance through data
independence
Increased concurrency
Improved backup and recovery services
Data Independence
Ability to modify a schema definition at one level
without affecting a schema definition in the next
higher level
actual data
Data models
Data Modeling:
A model that describes in an
abstract way how data are represented in
a business organization, an information
system, or a database management
system.
Defining The Types Of Models
Business Data Model describes the data
using business terms and semantics. A Business
Entity is the artifact within a Business
Information Model.
Database
System
Query
Processor
DBMS operation
Software
Subsystem
Storage
Manager
Data
Data Definition
(Metadata)
Overview of conventional
data models
The Hierarchical Model
Child
The Network Model
In this case you can have multiple children
and parents
Parents
Children
The Relational Model
Relationship
People who with database
Basically variety of people are associated
with creation and use of database.
Ex-:: There are database implementers
who build dbms s/w and end users who
wish to store and use data in a DBMS.
Database implementers work for vendors
like—IBM and Oracle etc..
End users come from a diverse and
increasing number of fields.
Cont….
Two other classes people are associated with
a DBMS-::
application programmers
database administrator
application programmers develop packages
that facilitate data access for end users, who
are usually not computer professionals.
Application programs should ideally access
data through external schema
Cont….
Database administrator
here a personal database is typically
maintained by the individual who owns it and
use it.
DBA is responsible for many critical task like…..
design of conceptual & physical schema.
security and authorization.
data availability and recovery from failures.
database tuning.