0% found this document useful (0 votes)
7 views

DBMS Lecture 1

The document outlines the syllabus for the DBMS course (SE206) at DTU, detailing contact hours, examination duration, and grading weight. It covers fundamental topics such as database definitions, applications, architectures, data models, and database languages including DDL and DML. Additionally, it describes different types of database users and the role of a database administrator.

Uploaded by

Rishit Goel
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

DBMS Lecture 1

The document outlines the syllabus for the DBMS course (SE206) at DTU, detailing contact hours, examination duration, and grading weight. It covers fundamental topics such as database definitions, applications, architectures, data models, and database languages including DDL and DML. Additionally, it describes different types of database users and the role of a database administrator.

Uploaded by

Rishit Goel
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Subject Code: SE206

Course Title: DBMS


Contact Hours : L: 03 T: 00 P: 02
Examination Duration (Hrs.) : Theory : 3 Practical : 02
Relative Weight : CWS: 15 PRS: 15 MTE: 30 ETE: 40 PRE: 00
Credits : 04

Faculty Details:
Dr. Sonika Dahiya
Assistant Professor
CSE Department, DTU
DBMS
Syllabus
DBMS
Basic topics

• De nition
• File Processing System & Drawbacks of File Processing System
• Database Users
• Database Applications
• Database Architecture
• Database Languages
• View of Data
• Data Models
• Data Independence
fi
DBMS (DataBase Management System)
De nition

• DB + MS = DBMS
• DB (Database) is a collection of interrelated data containing information
relevant to an enterprise.

• MS (Management System) is set of programs to access database information


in convenient and e cient way.
• A database-management system (DBMS) is a collection of interrelated data and a set of
programs to access those data. The collection of data, usually referred to as the
database, contains information relevant to an enterprise. The primary goal of a DBMS is
to provide a way to store and retrieve database information that is both convenient and
e cient.
ffi
fi
ffi
Database Applications
• University
• Banking & Finance
• Telecom Industry
• Airlines
• Sales
• Accounts
• Web Based Services
• Sales
• Manufacturing
• Navigation systems
• Many more…
File Processing System
Introduction & drawbacks
• File-processing system is supported by a conventional operating system. The system stores permanent records in
various les, and it needs di erent application programs to extract records from, and add records to, the
appropriate les.

• Drawbacks:
• Data redundancy & Inconsistency
• Di culty in Accessing Data
• Data Isolation
• Integrity problem
• Atomicity Problem
• Concurrent Access Anomalies
• Security problems
ffi
fi
fi
ff
Data Models


• ER Model
• Relational Model
• Object Oriented Model
• Semi-Structured Model
• Network Model
• Hierarchical Model
Data Models


Data Abstraction

• Three levels of abstraction are:


DBMS (DataBase Management System)
Terminologies

• Instance & Schema :- The collection of information stored in the database at a particular
moment is called an instance of the database. The overall design of the database is called
the database schema.

• Physical Schema
• Logical Schema
• Subschema
• Database systems have several schemas, partitioned according to the levels of ab- straction.
The physical schema describes the database design at the physical level, while the logical
schema describes the database design at the logical level. A database may also have several
schemas at the view level, sometimes called subschemas, that describe di erent views of
the database.

ff
Database Languages
DDL & DML

• data-de nition language (DDL): a database schema is speci ed by a set of


de nitions expressed by a special language called a data-de nition language
(DDL).

• the storage structure and access methods used by the database system are
speci ed by a set of statements in a special type of DDL called a data storage
and de nition language.

• Domain constraints, Referential Integrity, Authorizations,


• The output of the DDL is placed in the data dictionary, which contains
metadata—that is, data about data.
fi
fi
fi
fi
fi
fi
Database Languages
DDL & DML
data-manipulation language (DML): A data-manipulation language (DML) is a language that enables users to
access or ma- nipulate data as organized by the appropriate data model. The types of access are:

• Retrieval of information stored in the database.

• Insertion of new information into the database.

• Deletion of information from the database.

• Modi cation of information stored in the database.

There are basically two types of data-manipulation language:

• Procedural DMLs require a user to specify what data are needed and how to get those data.

• DeclarativeDMLs(alsoreferredtoasnonproceduralDMLs)requireausertospec- ify what data are needed without


specifying how to get those data.

A query is a statement requesting the retrieval of information. The portion of a DML that involves information retrieval
is called a query language. Although technically incorrect, it is common practice to use the terms query language
and data-manipulation language synonymously.
fi
Database Architecture
Database Users
There are four di erent types of database-system users, di erentiated by the way they expect to interact with the
system.

1. Naive users

2. Application Programers

3. Sophisticated Users

4. Database Administrator : A person who has such central control over the system is called a database
administrator (DBA). The functions of a DBA include:

• Schema de nition.
• Storage structure and access-method de nition
• Schema and physical-organization modi cation
• Granting of authorization for data access
• Routine maintenance
fi
ff
fi
fi
ff
Database Languages
DDL & DML
data-manipulation language (DML): A data-manipulation language (DML) is a language that enables users to
access or ma- nipulate data as organized by the appropriate data model. The types of access are:

• Retrieval of information stored in the database.

• Insertion of new information into the database.

• Deletion of information from the database.

• Modi cation of information stored in the database.

There are basically two types of data-manipulation language:

• Procedural DMLs require a user to specify what data are needed and how to get those data.

• DeclarativeDMLs(alsoreferredtoasnonproceduralDMLs)requireausertospec- ify what data are needed without


specifying how to get those data.

A query is a statement requesting the retrieval of information. The portion of a DML that involves information retrieval
is called a query language. Although technically incorrect, it is common practice to use the terms query language
and data-manipulation language synonymously.
fi

You might also like