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

Lecture 1.1 Overview of Databases and Lecture 1.2 DBMS

The document provides an overview of databases and database management systems (DBMS). It discusses how DBMS emerged as a solution to problems with using file systems to store data, such as data redundancy, inconsistent data access, and lack of data integration. The key benefits of DBMS include reduced data redundancy, efficient data access, data integrity and security, and concurrent access. Examples of common database applications are provided. Database users like administrators, designers, analysts and end users are also introduced along with their roles. Finally, the responsibilities of a database administrator are outlined.

Uploaded by

Annanya Joshi
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Lecture 1.1 Overview of Databases and Lecture 1.2 DBMS

The document provides an overview of databases and database management systems (DBMS). It discusses how DBMS emerged as a solution to problems with using file systems to store data, such as data redundancy, inconsistent data access, and lack of data integration. The key benefits of DBMS include reduced data redundancy, efficient data access, data integrity and security, and concurrent access. Examples of common database applications are provided. Database users like administrators, designers, analysts and end users are also introduced along with their roles. Finally, the responsibilities of a database administrator are outlined.

Uploaded by

Annanya Joshi
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

APEX INSTITUTE OF TECHNOLOGY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Database Management System (22CSH-243)


Faculty: Ms. Shaveta Jain (13464)

Lecture - 1 DISCOVER . LEARN . EMPOWER


1
Overview of Databases
DBMS: Course Objectives
COURSE OBJECTIVES
The Course aims to:
• Understand database system concepts and design databases for different applications
and to acquire the knowledge on DBMS and RDBMS.
• Implement and understand different types of DDL, DML and DCL statements.
• Understand transaction concepts related to databases and recovery/backup
techniques required for the proper storage of data.

2
COURSE OUTCOMES

On completion of this course, the students shall be able to:-


Understand the database concept, system architecture and role of database
CO1
administrator

3
Unit-1 Syllabus
Unit-1 Introduction to Databases and Relational Algebra
Overview of Database concepts, DBMS, Data Base System Architecture (Three
Databases: Level ANSI-SPARC Architecture), Advantages and Disadvantages of
DBMS, Data Independence, DBA and Responsibilities of DBA,
Relational Data Structure, Keys, Relations, Attributes, Schema and
Instances, Referential integrity, Entity integrity.

Data Models: Relational Model, Network Model, Hierarchical Model, ER Model:


Design, issues, Mapping constraints, ER diagram, Comparison of
Models
Relational Introduction, Syntax, Semantics, Additional operators, Grouping and
Algebra & Ungrouping, Relational comparisons, Tuple Calculus, Domain
Relational Calculus, Calculus Vs Algebra, Computational capabilities
Calculus:
4
Outline

• Overview of Databases
• Database concepts, DBMS,
• Importance of DBMS
• Advantages and Disadvantages of DBMS
• DBA and Responsibilities of DBA

5
Common Terminologies
• Data: Facts, figures, statistics etc. having no particular meaning (e.g.
1, ABC, 19 etc).

• Record: Collection of related data items, e.g. in the above example the
three data items had no meaning. But if we organize them in the
following way, then they collectively represent meaningful
information.

https://beginnersbook.com/2015/04/e-r-model-in-dbms/

6
Cont…
• Table or Relation: Collection of related records

https://beginnersbook.com/2015/04/e-r-model-in-dbms/

The columns of this relation are called Fields, Attributes or Domains. The rows are called Tuples or Records.

7
Cont…
• Database: Collection of related relations. Consider the following
collection of tables:

https://beginnersbook.com/2015/04/e-r-model-in-dbms/

8
Files and Databases
• File: A collection of records or documents dealing with one organization, person,
area or subject (Rowley)
• Manual (paper) files
• Computer files
• Database: A collection of similar records with relationships between the records
(Rowley)
• Bibliographic, statistical, business data, images, etc.

9
Purpose of DBMS
• In the early days, database applications were built directly on top of file systems
• Drawbacks of using file systems to store data:
• Data redundancy and inconsistency
• Multiple file formats, duplication of information in different files
• Difficulty in accessing data
• Need to write a new program to carry out each new task
• Data isolation — multiple files and formats
• Integrity problems
• Integrity constraints (e.g. account balance > 0) become “buried” in
program code rather than being stated explicitly
• Hard to add new constraints or change existing ones
10
Cont…
• Drawbacks of using file systems (cont.)
• Atomicity of updates
• Failures may leave database in an inconsistent state with partial updates carried out
• Example: Transfer of funds from one account to another should either complete or
not happen at all
• Concurrent access by multiple users
• Concurrent accessed needed for performance
• Uncontrolled concurrent accesses can lead to inconsistencies
• Example: Two people reading a balance and updating it at the same time
• Security problems
• Hard to provide user access to some, but not all, data
• Database systems offer solutions to all the above problems

11
Importance of DBMS
• It helps make data management more efficient and effective.
• Its query language allows quick answers to ad hoc queries.
• It provides end users better access to more and better-managed data.
• It promotes an integrated view of organization’s operations -- “big picture.”
• It reduces the probability of inconsistent data.
• Data Independence
• Efficient data access
• Data integrity and security
• Data administration
• Concurrent access and crash recovery
12
Examples of Database application
• Banking: all transactions
• Airlines: reservations, schedules
• Universities: registration, grades
• Sales: customers, products, purchases
• Online retailers: order tracking, customized recommendations
• Manufacturing: production, inventory, orders, supply chain
• Human resources: employee records, salaries, tax deductions

13
Database users
• Data Base Administrator (DBA):-
• Authorizing access to the database
• Coordinating and monitoring its use
• Acquiring software and hardware resources
• Database designers are responsible for:
• Identifying the data to be stored
• Choosing appropriate structures to represent and store this data
• System analysts
• Determine requirements of end users
• Application programmers
• Implement these specifications as programs
14
Cont…
• End users : People whose jobs require access to the database
• Types
• Casual end users: access database occasionally by sophisticated query language when
needed.
(Manager)
• Naive or parametric end users: they make up a large section of the end-user population.
Learn only a few facilities that they may use repeatedly
(bank clerk)
• Sophisticated end users: These include business analysts, scientists, engineers, others
thoroughly familiar with the system capabilities.
• Standalone users: Normal users

15
Database Administrator
• Coordinates all the activities of the database system
• has a good understanding of the enterprise’s information resources and needs.
• Database administrator's duties include:
• Schema definition
• Storage structure and access method definition
• Schema and physical organization modification
• Granting users authority to access the database
• Backing up data
• Monitoring performance and responding to changes
• Database tuning

16
Database Management System(DBMS)

https://beginnersbook.com/2015/04/e-r-model-in-dbms/

17
Summary

In the early days, database applications were built directly on top of file
systems but due to many drawbacks of the file systems there is a need
for the paradigm shift from file systems to the Database Management
Systems.

18
FAQs

• Why the paradigm shift from file system to database system is important?
• What is the importance of Database Management System?
• List some of the applications of DBMS.
• What is DBA?
• What are the role and responsibilities of DBA.
References
• RamezElmasri and Shamkant B. Navathe, “Fundamentals of Database System”, The
Benjamin / Cummings Publishing Co.
• Korth and Silberschatz Abraham, “Database System Concepts”, McGraw Hall.
• C.J.Date, “An Introduction to Database Systems”, Addison Wesley.
• Thomas M. Connolly, Carolyn & E. Begg, “Database Systems: A Practical Approach to
Design, Implementation and Management”, 5/E, University of Paisley, Addison-
Wesley.

20
THANK YOU

For queries
Email: [email protected]

21

You might also like