SlideShare a Scribd company logo
1 of 30
Introduction
• DBMS stands for Database Management System.
• DBMS is a software system for creating,
organizing and managing the database.
• It provides an environment to the user to
perform operations on the database for creation,
insertion, deletion, updating and retrieval of data.
Database
• A repository of logically related and similar data.
• An organized collection of related information so that
it can easily be accessed, managed and updated.
E.g.:
Dictionary Airline Database Student Database Library
Railways Timetable YouTube (All songs of Rahul Vaidya)
Data Models, Schema and Instances
 Data Models:
-Describes structure of the database.
-Aim is to support the development of information
systems by providing the definition and format of data.
-If the same data structures are used to store and access
data then different applications can share data.
-Classification:
1. High-Level Model
2. Representation Model
3. Low-Level Model
1. High-Level Model
• Ensures data requirement of the users.
• Not concerned with representation, but it‟s a
conceptual form.
• Three Imp terms:
a)Entity: - Any object, exists physically or conceptually.
b)Attribute:- Property or characteristic of entity.
c)Relationship:- Association or link b/w two entities.
• These 3 terms make Entity-Relationship Model.
Entity-Relationship (E-R) Model
College Principal
College
Student C
Student A
Student B
College 3
College 2
College 1
Course C
Course B
Course A
Student Course
Admissio
n
Stud_Nam
e
Stud_Roll
No
Course_I
d
Course_Na
me
Relationships
E-R diagram
2. Representation Model
- Representation of data stored inside a database.
- Describes the physical structure of the database.
- It uses the concepts which are close to the end-users.
- Classification:
a. Hierarchical
b. Relational
c. Network
a. Hierarchical Database Model
• Developed by IBM, is the Oldest database model.
• Represented using a tree-diagram.
(Parent-child relationship)
• Each box is called a „Node‟
• The nodes represent a record type.
• A line connecting nodes represent
the link.
Director
Manager
(Market.)
Manage
r
(Sales)
Manager
(HR)
Area
Manager
s 1
Area
Manage
r 2
Area
Manager
3
Sales Exe.
1
Sales Exe.
2
Sales
Representative
Cont…
• Parent-child type is suited for One-to-many
relationship between two entities.
• But difficult to implement
many-to-many relationship.
e.g.:
IMS system from IBM.
Director
Manager
(Market.)
Manage
r
(Sales)
Manager
(HR)
Area
Manager
1
Area
Manage
r 2
Area
Manager
3
Sales Exe.
1
Sales Exe.
2
Sales
Representative
b. Relational Database
Model
• Simplest and the most common model.
• Developed in 1970 by E.F. Codd, it became commercial
in the 80s.
• Data elements are stored in different tables made up of
rows and columns.
Roll No Name Surname Section
1001 Rajkumar Tomar D
1002 Rajkumar Singh D
Cont…
• Terminologies:
-Data Values: alphanumeric raw data (Rajkumar)
-Columns: fields (item or object that holds the data)
-Rows: record (a group of data for related field)
-Table: collection (all records & fields)
-Key: identifier (uniquely identifies a row in the table.
It can be value of a single or multiple column. e.g.:
DB2, ORACLE, SQL Server.
Roll No Name Surnam
e
Section
1001 Rajkuma
r
Tomar D
1002 Rajkuma Singh D
c. Network Database
Model
rs
• Represented using a Data-Structure Diagram.
• Boxes represents the records & lines the links.
• Based on
„owner-member relationship.‟
• Members of an owner may
be many but for many membe owner is one.
• Can represent one-to-one and many-to-many
as well.
Teacher 1 Teacher 2 Teacher 3
Course A Course B Course C
Student 1 Student 2 Student 3
Cont…
• One-to-many relationship is converted into a set of
one-to-one.
• Also, many-to-many is
converted into 2 or more
one-to-many
relationship.
e.g.:
IDMS, IMAGE.
Teacher 1 Teacher 2 Teacher 3
Course A Course B Course C
Student 1 Student 2 Student 3
Cont…
 Schema:
- Logical structure of the database.
- Doesn‟t show the data in database.
- Classification:
1. Physical
2. Conceptual
3. External
Cont…
1. Physical Schema:
-Describes the physical storage of database.
-Not in terms of blocks or devices, but describes organization of files, access
path etc.
2. Conceptual Schema:
-Describes structure of whole database.
-Describes entities their relationships and constraints.
3. External Schema:
-Provides a user‟s view of data.
-Shows relevant info particular to user, hides rest of the info.
-one or more levels.
 Instances: Actual data contained in database at a
particular point of time.
Components of Database System
Component
s of
database
User
s
Softwar
e
Hardwar
e
Dat
a
• Users- People who interact with the
database:
- Application Programmers.
- End Users.
- DataAdministrators.
•Software- Lies between the stored data
and the users:
- DBMS.
- Application Software.
- User Interface.
Cont…
• Hardware- Physical device on
which database resides.
e.g.:
Computers, Disk Drives,
Printers, Cables etc.
• Data- numbers, characters, pictures.
e.g.:
Shri Shri Nilesh, 1008, India.
Component
s of
database
User
s
Softwar
e
Hardwar
e
Dat
a
Database Administrator (DBA)
• Individual or a group, having centralized control of the
database.
• Has a good understanding of database and
coordinates all activities of the database.
• Functions:
-Defines schema.
-Defines storage structure and access method.
-Modification of both.
-Granting user authority to access the database.
-Monitoring performance and responding to changes.
Database Languages
• Once data is filled, manipulation is required
(insertion, deletion, modification of data)
• For these, a set of languages is provided by
DBMS:
1. Data Definition Language.
2. Data Manipulation Language.
3. Data Control Language.
Cont…
1. Data Definition Language (DDL):
-Used by DB designers to define schema.
-DDL compiler converts DDL statements and generate a set of tables
which are stored in. e.g.: SQL
2. Data Manipulation Language (DML):
-For accessing and manipulating the data. e.g.: SQL
3. Data Control Language (DCL):
-Similar to a computer programming language used to control access
to data stored in a database.
-operations like:
CONNECT, SELECT, INSERT, UPDATE, DELETE,
EXECUTE,
and USAGE. e.g.: SQL
Database System Architectures
• The journey from big mainframe to pc has also
evolved the database and its architecture.
• Classification:
1. Centralized DBMS Architecture
2. Client-Server Architecture
3. Distributed Databases
1. Centralized DBMS Architecture
• Traditional form, all data, functionality, apps are
located on one machine.
• Access via communication links.
Enterpris
e
databas
e
2. Client-Server Architecture
• Involves a client and a server.
• Clients are PCs or workstations.
• Servers are powerful computers, can manage files,
printers, e-mails.
• Client interacts server when additional functionality
doesn‟t exits in its own
machine.
Client
User interface
Application program
Database server
Database tables
Application server
3. Distributed Database Architecture
• Decentralized functionality, distributed among many
computers.
• Storage computers are at diff. geographical locations.
Enterpris
e main
database
Fragme
nt
Fragme
nt
Fragme
Fragme
nt
Fragme
nt
Advantages of DBMS
• Controlling Data Redundancy: Data is recorded in only
one place in the database and it is not duplicated.
• Data Consistency: Data item appears only once, and the
updated value is immediately available to all users.
• Control Over Concurrency : In a computer file-based
system in updating, one may overwrite the values recorded
by the other.
• Backup and Recovery Procedures: automatically create
the backup of data and restore data if required.
• Data Independence: Separation of data structure of
database from application program that uses the data is
called data independence.
Disadvantages of DBMS
• Cost of Hardware and Software: Processor with high speed of data
processing and memory of large size is required.
• Cost of Data Conversion: Very difficult and costly method to convert
data of data file into database.
• Cost of Staff Training: A lot of amount for the training of staff to run
the DBMS.
• Appointing Technical Staff: Trained technical persons such as
database administrator, application programmers, data entry operators
etc. are required to handle the DBMS.
• Database Damage: All data is integrated into a single database. If
database is damaged due to electric failure or database is corrupted
on the storage media, then your valuable data may be lost forever.
Examples of DBMS
• Some of the common used DBMSs are:
-Oracle, IBM‟s DB2, Microsoft‟s SQL Server,
MS-Access and Informix.
• Some of the desktop based DBMSs are:
-Microsoft FoxPro, Borland dBase and
Microsoft Access.
Toolbar
• Home: View, clipboard, records, sort, find.
• Create: Tables, forms, reports, query (other).
• External Data: Import, export, collect data.
• Database Tools: Show, hide, analyze, move data.
• Datasheet: Views, fields & columns, format, relationship.
The Create tab
• Tables:
-Stores data.
-We can add tasks, events, contacts, design etc.
• Forms:
-Edit it.
-Blank form, split form, multiple items etc.
Cont…
• Reports:
-Print it.
-Blank report, customized report, report in design.
• Query:
-Search it.
-Create a query, find duplicate query, unmatched
query, select table for creating a query.
Applications of DBMS
• Airlines and Railways: Online databases for reservation, and
displaying the schedule information.
• Banking: Customer inquiry, accounts, loans, and other transactions.
• Education: Course registration, result, and other information.
• Telecommunications: Communication network, telephone numbers,
record of calls, for generating monthly bills, etc.
• E-commerce: Business activity such as online shopping, booking of
holiday package, consulting a doctor, etc.
• Human resources: Organizations use databases for storing
information about their employees, salaries, benefits, taxes, and for
generating salary checks.

More Related Content

Similar to Database management system basics and it applications

Similar to Database management system basics and it applications (20)

Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)
 
DBMS introduction and functionality of of dbms
DBMS introduction and functionality of  of dbmsDBMS introduction and functionality of  of dbms
DBMS introduction and functionality of of dbms
 
Unit 01 dbms
Unit 01 dbmsUnit 01 dbms
Unit 01 dbms
 
Unit01 dbms 2
Unit01 dbms 2Unit01 dbms 2
Unit01 dbms 2
 
23246406 dbms-unit-1
23246406 dbms-unit-123246406 dbms-unit-1
23246406 dbms-unit-1
 
Data resource management and DSS
Data resource management and DSSData resource management and DSS
Data resource management and DSS
 
Database system concepts
Database system conceptsDatabase system concepts
Database system concepts
 
Database presentaion
Database presentaionDatabase presentaion
Database presentaion
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1
 
Lecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.pptLecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.ppt
 
Data concepts
Data conceptsData concepts
Data concepts
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
Database management system
Database management systemDatabase management system
Database management system
 
DBMS introduction
DBMS introductionDBMS introduction
DBMS introduction
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
Uc13.chapter.14
Uc13.chapter.14Uc13.chapter.14
Uc13.chapter.14
 
Dbms
DbmsDbms
Dbms
 

More from RAJESH S

Entreprise Resource Planning s unit 2.ppt
Entreprise Resource Planning s unit 2.pptEntreprise Resource Planning s unit 2.ppt
Entreprise Resource Planning s unit 2.pptRAJESH S
 
Decision support systems in information management
Decision support systems in information managementDecision support systems in information management
Decision support systems in information managementRAJESH S
 
IM Unit 4 Security and its a control.ppt
IM Unit 4 Security and its a control.pptIM Unit 4 Security and its a control.ppt
IM Unit 4 Security and its a control.pptRAJESH S
 
unit5 Enterprise Resource Planning new trends.ppt
unit5 Enterprise Resource Planning new trends.pptunit5 Enterprise Resource Planning new trends.ppt
unit5 Enterprise Resource Planning new trends.pptRAJESH S
 
science engineering and technology .pptx
science engineering and technology .pptxscience engineering and technology .pptx
science engineering and technology .pptxRAJESH S
 
policies in economics trends for engineers
policies in economics trends for engineerspolicies in economics trends for engineers
policies in economics trends for engineersRAJESH S
 
Product Decisions and its aplication in global world
Product Decisions and its aplication in global worldProduct Decisions and its aplication in global world
Product Decisions and its aplication in global worldRAJESH S
 
Computer Animation.pptx
Computer Animation.pptxComputer Animation.pptx
Computer Animation.pptxRAJESH S
 
IOT in agriculture.pptx
IOT in agriculture.pptxIOT in agriculture.pptx
IOT in agriculture.pptxRAJESH S
 
18copy.pptx
18copy.pptx18copy.pptx
18copy.pptxRAJESH S
 
ERP unit 1.ppt
ERP unit 1.pptERP unit 1.ppt
ERP unit 1.pptRAJESH S
 
fiscalpolicy.ppt
fiscalpolicy.pptfiscalpolicy.ppt
fiscalpolicy.pptRAJESH S
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.pptRAJESH S
 
DAA ppt.pptx
DAA ppt.pptxDAA ppt.pptx
DAA ppt.pptxRAJESH S
 
DAA 1 ppt.pptx
DAA 1 ppt.pptxDAA 1 ppt.pptx
DAA 1 ppt.pptxRAJESH S
 
ARITHMETIC LOGIC UNIT.ppt
ARITHMETIC LOGIC UNIT.pptARITHMETIC LOGIC UNIT.ppt
ARITHMETIC LOGIC UNIT.pptRAJESH S
 
Virtual memory translation.pptx
Virtual memory translation.pptxVirtual memory translation.pptx
Virtual memory translation.pptxRAJESH S
 
Common memory technologies.pptx
Common memory technologies.pptxCommon memory technologies.pptx
Common memory technologies.pptxRAJESH S
 
Components of Computer system.ppt
Components of Computer system.pptComponents of Computer system.ppt
Components of Computer system.pptRAJESH S
 
CA UNIT I PPT.ppt
CA UNIT I PPT.pptCA UNIT I PPT.ppt
CA UNIT I PPT.pptRAJESH S
 

More from RAJESH S (20)

Entreprise Resource Planning s unit 2.ppt
Entreprise Resource Planning s unit 2.pptEntreprise Resource Planning s unit 2.ppt
Entreprise Resource Planning s unit 2.ppt
 
Decision support systems in information management
Decision support systems in information managementDecision support systems in information management
Decision support systems in information management
 
IM Unit 4 Security and its a control.ppt
IM Unit 4 Security and its a control.pptIM Unit 4 Security and its a control.ppt
IM Unit 4 Security and its a control.ppt
 
unit5 Enterprise Resource Planning new trends.ppt
unit5 Enterprise Resource Planning new trends.pptunit5 Enterprise Resource Planning new trends.ppt
unit5 Enterprise Resource Planning new trends.ppt
 
science engineering and technology .pptx
science engineering and technology .pptxscience engineering and technology .pptx
science engineering and technology .pptx
 
policies in economics trends for engineers
policies in economics trends for engineerspolicies in economics trends for engineers
policies in economics trends for engineers
 
Product Decisions and its aplication in global world
Product Decisions and its aplication in global worldProduct Decisions and its aplication in global world
Product Decisions and its aplication in global world
 
Computer Animation.pptx
Computer Animation.pptxComputer Animation.pptx
Computer Animation.pptx
 
IOT in agriculture.pptx
IOT in agriculture.pptxIOT in agriculture.pptx
IOT in agriculture.pptx
 
18copy.pptx
18copy.pptx18copy.pptx
18copy.pptx
 
ERP unit 1.ppt
ERP unit 1.pptERP unit 1.ppt
ERP unit 1.ppt
 
fiscalpolicy.ppt
fiscalpolicy.pptfiscalpolicy.ppt
fiscalpolicy.ppt
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
DAA ppt.pptx
DAA ppt.pptxDAA ppt.pptx
DAA ppt.pptx
 
DAA 1 ppt.pptx
DAA 1 ppt.pptxDAA 1 ppt.pptx
DAA 1 ppt.pptx
 
ARITHMETIC LOGIC UNIT.ppt
ARITHMETIC LOGIC UNIT.pptARITHMETIC LOGIC UNIT.ppt
ARITHMETIC LOGIC UNIT.ppt
 
Virtual memory translation.pptx
Virtual memory translation.pptxVirtual memory translation.pptx
Virtual memory translation.pptx
 
Common memory technologies.pptx
Common memory technologies.pptxCommon memory technologies.pptx
Common memory technologies.pptx
 
Components of Computer system.ppt
Components of Computer system.pptComponents of Computer system.ppt
Components of Computer system.ppt
 
CA UNIT I PPT.ppt
CA UNIT I PPT.pptCA UNIT I PPT.ppt
CA UNIT I PPT.ppt
 

Recently uploaded

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 

Database management system basics and it applications

  • 1. Introduction • DBMS stands for Database Management System. • DBMS is a software system for creating, organizing and managing the database. • It provides an environment to the user to perform operations on the database for creation, insertion, deletion, updating and retrieval of data.
  • 2. Database • A repository of logically related and similar data. • An organized collection of related information so that it can easily be accessed, managed and updated. E.g.: Dictionary Airline Database Student Database Library Railways Timetable YouTube (All songs of Rahul Vaidya)
  • 3. Data Models, Schema and Instances  Data Models: -Describes structure of the database. -Aim is to support the development of information systems by providing the definition and format of data. -If the same data structures are used to store and access data then different applications can share data. -Classification: 1. High-Level Model 2. Representation Model 3. Low-Level Model
  • 4. 1. High-Level Model • Ensures data requirement of the users. • Not concerned with representation, but it‟s a conceptual form. • Three Imp terms: a)Entity: - Any object, exists physically or conceptually. b)Attribute:- Property or characteristic of entity. c)Relationship:- Association or link b/w two entities. • These 3 terms make Entity-Relationship Model.
  • 5. Entity-Relationship (E-R) Model College Principal College Student C Student A Student B College 3 College 2 College 1 Course C Course B Course A Student Course Admissio n Stud_Nam e Stud_Roll No Course_I d Course_Na me Relationships E-R diagram
  • 6. 2. Representation Model - Representation of data stored inside a database. - Describes the physical structure of the database. - It uses the concepts which are close to the end-users. - Classification: a. Hierarchical b. Relational c. Network
  • 7. a. Hierarchical Database Model • Developed by IBM, is the Oldest database model. • Represented using a tree-diagram. (Parent-child relationship) • Each box is called a „Node‟ • The nodes represent a record type. • A line connecting nodes represent the link. Director Manager (Market.) Manage r (Sales) Manager (HR) Area Manager s 1 Area Manage r 2 Area Manager 3 Sales Exe. 1 Sales Exe. 2 Sales Representative
  • 8. Cont… • Parent-child type is suited for One-to-many relationship between two entities. • But difficult to implement many-to-many relationship. e.g.: IMS system from IBM. Director Manager (Market.) Manage r (Sales) Manager (HR) Area Manager 1 Area Manage r 2 Area Manager 3 Sales Exe. 1 Sales Exe. 2 Sales Representative
  • 9. b. Relational Database Model • Simplest and the most common model. • Developed in 1970 by E.F. Codd, it became commercial in the 80s. • Data elements are stored in different tables made up of rows and columns. Roll No Name Surname Section 1001 Rajkumar Tomar D 1002 Rajkumar Singh D
  • 10. Cont… • Terminologies: -Data Values: alphanumeric raw data (Rajkumar) -Columns: fields (item or object that holds the data) -Rows: record (a group of data for related field) -Table: collection (all records & fields) -Key: identifier (uniquely identifies a row in the table. It can be value of a single or multiple column. e.g.: DB2, ORACLE, SQL Server. Roll No Name Surnam e Section 1001 Rajkuma r Tomar D 1002 Rajkuma Singh D
  • 11. c. Network Database Model rs • Represented using a Data-Structure Diagram. • Boxes represents the records & lines the links. • Based on „owner-member relationship.‟ • Members of an owner may be many but for many membe owner is one. • Can represent one-to-one and many-to-many as well. Teacher 1 Teacher 2 Teacher 3 Course A Course B Course C Student 1 Student 2 Student 3
  • 12. Cont… • One-to-many relationship is converted into a set of one-to-one. • Also, many-to-many is converted into 2 or more one-to-many relationship. e.g.: IDMS, IMAGE. Teacher 1 Teacher 2 Teacher 3 Course A Course B Course C Student 1 Student 2 Student 3
  • 13. Cont…  Schema: - Logical structure of the database. - Doesn‟t show the data in database. - Classification: 1. Physical 2. Conceptual 3. External
  • 14. Cont… 1. Physical Schema: -Describes the physical storage of database. -Not in terms of blocks or devices, but describes organization of files, access path etc. 2. Conceptual Schema: -Describes structure of whole database. -Describes entities their relationships and constraints. 3. External Schema: -Provides a user‟s view of data. -Shows relevant info particular to user, hides rest of the info. -one or more levels.  Instances: Actual data contained in database at a particular point of time.
  • 15. Components of Database System Component s of database User s Softwar e Hardwar e Dat a • Users- People who interact with the database: - Application Programmers. - End Users. - DataAdministrators. •Software- Lies between the stored data and the users: - DBMS. - Application Software. - User Interface.
  • 16. Cont… • Hardware- Physical device on which database resides. e.g.: Computers, Disk Drives, Printers, Cables etc. • Data- numbers, characters, pictures. e.g.: Shri Shri Nilesh, 1008, India. Component s of database User s Softwar e Hardwar e Dat a
  • 17. Database Administrator (DBA) • Individual or a group, having centralized control of the database. • Has a good understanding of database and coordinates all activities of the database. • Functions: -Defines schema. -Defines storage structure and access method. -Modification of both. -Granting user authority to access the database. -Monitoring performance and responding to changes.
  • 18. Database Languages • Once data is filled, manipulation is required (insertion, deletion, modification of data) • For these, a set of languages is provided by DBMS: 1. Data Definition Language. 2. Data Manipulation Language. 3. Data Control Language.
  • 19. Cont… 1. Data Definition Language (DDL): -Used by DB designers to define schema. -DDL compiler converts DDL statements and generate a set of tables which are stored in. e.g.: SQL 2. Data Manipulation Language (DML): -For accessing and manipulating the data. e.g.: SQL 3. Data Control Language (DCL): -Similar to a computer programming language used to control access to data stored in a database. -operations like: CONNECT, SELECT, INSERT, UPDATE, DELETE, EXECUTE, and USAGE. e.g.: SQL
  • 20. Database System Architectures • The journey from big mainframe to pc has also evolved the database and its architecture. • Classification: 1. Centralized DBMS Architecture 2. Client-Server Architecture 3. Distributed Databases
  • 21. 1. Centralized DBMS Architecture • Traditional form, all data, functionality, apps are located on one machine. • Access via communication links. Enterpris e databas e
  • 22. 2. Client-Server Architecture • Involves a client and a server. • Clients are PCs or workstations. • Servers are powerful computers, can manage files, printers, e-mails. • Client interacts server when additional functionality doesn‟t exits in its own machine. Client User interface Application program Database server Database tables Application server
  • 23. 3. Distributed Database Architecture • Decentralized functionality, distributed among many computers. • Storage computers are at diff. geographical locations. Enterpris e main database Fragme nt Fragme nt Fragme Fragme nt Fragme nt
  • 24. Advantages of DBMS • Controlling Data Redundancy: Data is recorded in only one place in the database and it is not duplicated. • Data Consistency: Data item appears only once, and the updated value is immediately available to all users. • Control Over Concurrency : In a computer file-based system in updating, one may overwrite the values recorded by the other. • Backup and Recovery Procedures: automatically create the backup of data and restore data if required. • Data Independence: Separation of data structure of database from application program that uses the data is called data independence.
  • 25. Disadvantages of DBMS • Cost of Hardware and Software: Processor with high speed of data processing and memory of large size is required. • Cost of Data Conversion: Very difficult and costly method to convert data of data file into database. • Cost of Staff Training: A lot of amount for the training of staff to run the DBMS. • Appointing Technical Staff: Trained technical persons such as database administrator, application programmers, data entry operators etc. are required to handle the DBMS. • Database Damage: All data is integrated into a single database. If database is damaged due to electric failure or database is corrupted on the storage media, then your valuable data may be lost forever.
  • 26. Examples of DBMS • Some of the common used DBMSs are: -Oracle, IBM‟s DB2, Microsoft‟s SQL Server, MS-Access and Informix. • Some of the desktop based DBMSs are: -Microsoft FoxPro, Borland dBase and Microsoft Access.
  • 27. Toolbar • Home: View, clipboard, records, sort, find. • Create: Tables, forms, reports, query (other). • External Data: Import, export, collect data. • Database Tools: Show, hide, analyze, move data. • Datasheet: Views, fields & columns, format, relationship.
  • 28. The Create tab • Tables: -Stores data. -We can add tasks, events, contacts, design etc. • Forms: -Edit it. -Blank form, split form, multiple items etc.
  • 29. Cont… • Reports: -Print it. -Blank report, customized report, report in design. • Query: -Search it. -Create a query, find duplicate query, unmatched query, select table for creating a query.
  • 30. Applications of DBMS • Airlines and Railways: Online databases for reservation, and displaying the schedule information. • Banking: Customer inquiry, accounts, loans, and other transactions. • Education: Course registration, result, and other information. • Telecommunications: Communication network, telephone numbers, record of calls, for generating monthly bills, etc. • E-commerce: Business activity such as online shopping, booking of holiday package, consulting a doctor, etc. • Human resources: Organizations use databases for storing information about their employees, salaries, benefits, taxes, and for generating salary checks.