0% found this document useful (0 votes)
41 views14 pages

Ch-2 DBMS Final

DBMS is software that interacts with users, applications, and the database to capture and analyze data. It provides centralized control over data to ensure integrity and sharing. Some examples are Oracle, Sybase, and MySQL. A DBMS uses data models like relational, hierarchical, and network. It provides logical and physical independence through a 3-tier architecture. Key roles include DBAs who perform backups, tuning, access control, and upgrades to realize the advantages of a DBMS like efficiency and reduced development time.

Uploaded by

Gourav Saha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views14 pages

Ch-2 DBMS Final

DBMS is software that interacts with users, applications, and the database to capture and analyze data. It provides centralized control over data to ensure integrity and sharing. Some examples are Oracle, Sybase, and MySQL. A DBMS uses data models like relational, hierarchical, and network. It provides logical and physical independence through a 3-tier architecture. Key roles include DBAs who perform backups, tuning, access control, and upgrades to realize the advantages of a DBMS like efficiency and reduced development time.

Uploaded by

Gourav Saha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

AIMK/MBA/Sem2/Mb205 /Mod-II/Lec 1&2

In the 21st century, the database is the


marketplace
Data Base Management System

DBMS is an application s/w


that interacts with the
user, other applications,
and the database itself to
capture and analyze data.

Ex: Oracle , Sybase ,DB2 ,


MySQL

Database
File Based System Database System

• No Centralized Control • Centralized Control


over data over data
• No data Sharing • Provide data Sharing
• No Data integrity • Provide Data integrity
• Less Flexible • Less Flexible
• Less Secure • More Secure
• No data • Provide data
Independence Independence(Logica
l & Physical)
Data Models

1. Hierarchical 3. Relational
2. Network 4. Object
An Example of a Table/Relation

Fields/
Attributes

Record Code No Name Phone College


s/
Tuples/ 1001 Ram 392- Pharmacy
3900
Entities
1002 Harris 392- Medicine
5555
1008 Ali 846- PHHP
5656

KEY
Key Hierarchy of DBMS
Key Hierarchy of DBMS
Key Hierarchy of DBMS
Data Integrity

• For a table to have Domain Integrity


– the value of each column of data is meaningful and
acceptable in the business environment, and
passes all the edits we impose on it.
• For a table to have Association Integrity
– the relationship between two or more columns in that
table satisfies a pre-defined business association.
• For a table to have Entity Integrity
– that primary keys can't be null or duplicate.
There must be a proper value in the primary key
field.
• For a table to have Referential Integrity
Referential Integrity
Primary Key

Parent Table

Child Table

FK

For Referential Integrity - The foreign key must match a value in


the
primary key of the parent table, at all times.
3-Tier Architecture of DBMS
(ANSI/SPARC Architecture)

Logical Data
Independence

Physical Data

Independence
DBMS USERS
• Native Users
• Application Programmers
• System Programmers
• Data Base Administrators (DBA)

Function/Role of DBA
⮚ Periodically Backup & Recovery
⮚ Performance Tuning
⮚ Design & Implements
⮚ Granting Access Rights
⮚ Installing, migration and upgrading the DBMS Servers
⮚ Documentation
Advantages of a DBMS

• Data independence
• Efficient data access
• Data integrity & security
• Data administration
• Concurrent access, crash recovery
• Reduced application development time
• So why not use them always?
– Expensive/complicated to set up & maintain
– This cost & complexity must be offset by need
– General-purpose, not suited for special-purpose tasks (e.g.
text search!)

You might also like