SlideShare a Scribd company logo
1 of 7
DBMS
DATABASE MANAGEMENT SYSTEM
DATA: known facts that can be recorded & that have implicit meaning.
DATABASE: Collection of related data.
DBMS: organization or arrangement of data through a software .
A dbms is a collection of programs that enables users to create & maintain a database.
It stores data, in such a way which is easier to retrieve, manipulate and helps to produce
information.
It has a largely varying size.
REAL LIFE APPLICATIONS:
ď‚· Computerized library systems
ď‚· Automated teller machines
ď‚· Flight reservation systems
ď‚· Computerized parts inventory systems
What is defining a database?
It involves the data types & DS & constraints of the data to be stored in the database.
A database may contain info. About the following:
1. Entities
2. Relationship between entities
{A student entity may contain name, roll no, branch}
DBMS VS FILE SYSTEM
Advantages of dbms over file system:
1. Self-describing nature of dbms
2. Controlling redundancy
3. Support of multiple views of data
4. Insulation(to secure) of data & programs
ADVANTAGES OF A DBMS
1. Data independence: Application programs should be as independent as possible from
details of data representation and storage. The DBMS can provide an abstract view of
the data to insulate application code from such details
2. Efficient data access: A DBMS utilizes a variety of sophisticated techniques to store
and retrieve data efficiently. This feature is especially important if the data is stored on
external storage devices.
3. Data integrity and security: If data is always accessed through the DBMS, the
DBMS can enforce integrity constraints on the data.
4. Concurrent access and crash recovery: A DBMS schedules concurrent accesses to the
data in such a manner that users can think of the data as being accessed by only one user
at a time. Further, the DBMS protects users from the effects of system failures.
ď‚· Controlling Redundancy
ď‚· Restricting Unauthorized Access
ď‚· Providing Persistent Storage for Program Objects and Data Structures
ď‚· Permitting Inferencing and Actions Using Rules
ď‚· Providing Multiple User Interfaces
ď‚· Representing Complex Relationships Among Data
ď‚· Enforcing Integrity Constraints
ď‚· Providing Backup and Recovery
The goal of a DBMS is to provide an environment that is both convenient and efficient to
use in
ď‚· Retrieving information from the database
ď‚· Storing information into the database
DISADVANTAGE OF DATABASE:
ď‚· High cost
ď‚· Expertized training
ď‚· Huge manpower
ď‚· It occupies large amount of disk space
ď‚· Complex in nature compared to file system
DATABASE SCHEMAS:
Database schema is the skeleton of database
A database schema defines its entities and the relationship among them. Database
schema is a descriptive detail of the database, which can be depicted by means of
schema diagrams. All these activities are done by database designer to help
programmers in order to give some ease of understanding all aspect of database.
Database schemas can be divided into 2 categories:
1. Physical Database Schema: It defines the how data will be stored in secondary
storage etc.
2. Logical Database Schema: It defines tables, views and integrity constraints etc.
E-R MODEL:
ENTITY RELATIONSHIP MODEL
It defines the conceptual view of database.
One to one
One to many
Many to one
Many to many
E-R MODEL
Entity
Entity in a school database
An entity set is a collection of similar types of entities. Entity set may contain entities with
attribute sharing similar values.
Attributes:
Entities are represented by means of their properties, called attributes. All attributes have
values. For example, a student entity may have name, class, age as attributes.
SQL:
SQL (Structured Query Language) is used to perform operations on the records stored in
database such as updating records, deleting records, creating and modifying tables, views
etc.
It is designed for managing data in a relational database management system (RDBMS).
It depends on relational algebra and tuple relational calculus.
Why SQL is required
SQL is required:
To create new databases, tables and views
To insert records in a database
To update records in a database
To delete records from a database
To retrieve data from a database
WHAT SQL DOES:
With SQL, we can query our database in a numbers of ways, using English-like
statements.
With SQL, user can access data from relational database management system.
USES OF SQL:
It allows user to describe the data.
It allows user to define the data in database and manipulate it when needed.
It allows user to create and drop database and table.
It allows user to create view, stored procedure, function in a database.
It allows user to set permission on tables, procedure and view.
SUBSETS OF SQL:
1. Data definition language (DDL)
2. Data manipulation language (DML)
3. Data control language (DCL)
DDL:
allows you to CREATE, ALTER and DELETE database objects such as schema, tables, view,
sequence etc.
DML:
It is used to perform following operations.
• Insert data into database
• Retrieve data from the database
• Update data in the database
• Delete data from the database
DCL:
allows you to control access to the database. It includes two commands GRANT and
REVOKE.
GRANT: to grant specific user to perform specific task.
REVOKE: to cancel previously denied or granted permissions
TRIGGER;
Trigger allows you to execute a batch of SQL code when an insert, update or delete
command is executed against a specific table.
Actually triggers are special type of stored procedures that are defined to execute
automatically in place or after data modifications

More Related Content

What's hot

3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level ArchitectureAdeel Rasheed
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management SystemAmiya9439793168
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model IntroductionNishant Munjal
 
Data independence
Data independenceData independence
Data independenceAashima Wadhwa
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Database administrator
Database administratorDatabase administrator
Database administratorTech_MX
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databasesBryan Corpuz
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approachLuina Pani
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databasePradnya Saval
 
Database abstraction
Database abstractionDatabase abstraction
Database abstractionRituBhargava7
 
Database management system
Database management system Database management system
Database management system Shashikumar_chari
 
Database backup and recovery
Database backup and recoveryDatabase backup and recovery
Database backup and recoveryAnne Lee
 

What's hot (20)

3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 
RDBMS
RDBMSRDBMS
RDBMS
 
DBMS and its Models
DBMS and its ModelsDBMS and its Models
DBMS and its Models
 
Data Models
Data ModelsData Models
Data Models
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Data independence
Data independenceData independence
Data independence
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Database administrator
Database administratorDatabase administrator
Database administrator
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
ADO .Net
ADO .Net ADO .Net
ADO .Net
 
ER Model in DBMS
ER Model in DBMSER Model in DBMS
ER Model in DBMS
 
database
databasedatabase
database
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approach
 
Ado.Net Tutorial
Ado.Net TutorialAdo.Net Tutorial
Ado.Net Tutorial
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
 
Database management system
Database management system Database management system
Database management system
 
Database backup and recovery
Database backup and recoveryDatabase backup and recovery
Database backup and recovery
 

Similar to Dbms notes

DATABASE FUNCTIONS
DATABASE FUNCTIONSDATABASE FUNCTIONS
DATABASE FUNCTIONSghazi103
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsZulfiquer Ahmed Amin
 
Database management system
Database management systemDatabase management system
Database management systemRizwanHafeez
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptxchatkall46
 
DataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTBhaskarPatil24
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnRajasekhar364622
 
Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Rupen Parte
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptxAaravSharma743156
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C ArchitectureSabeeh Ahmed
 
Dbms module i
Dbms module iDbms module i
Dbms module iSANTOSH RATH
 
oracle intro
oracle introoracle intro
oracle introRinki Soni
 
Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 

Similar to Dbms notes (20)

DATABASE FUNCTIONS
DATABASE FUNCTIONSDATABASE FUNCTIONS
DATABASE FUNCTIONS
 
Dbms unit i
Dbms unit iDbms unit i
Dbms unit i
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
1.introduction qb
1.introduction qb1.introduction qb
1.introduction qb
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health Informatics
 
Database management system
Database management systemDatabase management system
Database management system
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
DataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPT
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learn
 
Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptx
 
Dbms
DbmsDbms
Dbms
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C Architecture
 
Dbms module i
Dbms module iDbms module i
Dbms module i
 
Unit 1 DBMS
Unit 1 DBMSUnit 1 DBMS
Unit 1 DBMS
 
oracle intro
oracle introoracle intro
oracle intro
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
23246406 dbms-unit-1
23246406 dbms-unit-123246406 dbms-unit-1
23246406 dbms-unit-1
 
Data base management system
Data base management systemData base management system
Data base management system
 

More from Upasana Talukdar

Large group intervention at airbus
Large group intervention at airbusLarge group intervention at airbus
Large group intervention at airbusUpasana Talukdar
 
Shine life insurance
Shine life insuranceShine life insurance
Shine life insuranceUpasana Talukdar
 
Ohio department of taxation case study
Ohio department of taxation case studyOhio department of taxation case study
Ohio department of taxation case studyUpasana Talukdar
 
Oprah winfrey-charismatic leader
Oprah winfrey-charismatic leaderOprah winfrey-charismatic leader
Oprah winfrey-charismatic leaderUpasana Talukdar
 
Reliance vs big bazaar
Reliance vs big bazaarReliance vs big bazaar
Reliance vs big bazaarUpasana Talukdar
 
Case analysis of wal mart
Case analysis of wal martCase analysis of wal mart
Case analysis of wal martUpasana Talukdar
 
Key Account Management
Key Account ManagementKey Account Management
Key Account ManagementUpasana Talukdar
 
computer organization and architecture notes
computer organization and architecture notescomputer organization and architecture notes
computer organization and architecture notesUpasana Talukdar
 
How to use movie maker
How to use movie maker How to use movie maker
How to use movie maker Upasana Talukdar
 
Crytocurrency and bitcoins
Crytocurrency and bitcoinsCrytocurrency and bitcoins
Crytocurrency and bitcoinsUpasana Talukdar
 
Ben and jerry's CASE STUDY ORGANIZATIONAL DESIGN
Ben and jerry's CASE STUDY ORGANIZATIONAL DESIGNBen and jerry's CASE STUDY ORGANIZATIONAL DESIGN
Ben and jerry's CASE STUDY ORGANIZATIONAL DESIGNUpasana Talukdar
 
Data structures notes
Data structures notesData structures notes
Data structures notesUpasana Talukdar
 

More from Upasana Talukdar (20)

Large group intervention at airbus
Large group intervention at airbusLarge group intervention at airbus
Large group intervention at airbus
 
Shine life insurance
Shine life insuranceShine life insurance
Shine life insurance
 
Ohio department of taxation case study
Ohio department of taxation case studyOhio department of taxation case study
Ohio department of taxation case study
 
Oprah winfrey-charismatic leader
Oprah winfrey-charismatic leaderOprah winfrey-charismatic leader
Oprah winfrey-charismatic leader
 
Reliance vs big bazaar
Reliance vs big bazaarReliance vs big bazaar
Reliance vs big bazaar
 
Case analysis of wal mart
Case analysis of wal martCase analysis of wal mart
Case analysis of wal mart
 
Key Account Management
Key Account ManagementKey Account Management
Key Account Management
 
contract act
contract actcontract act
contract act
 
Emma
Emma Emma
Emma
 
Real estate market
Real estate market Real estate market
Real estate market
 
interviews
interviewsinterviews
interviews
 
computer organization and architecture notes
computer organization and architecture notescomputer organization and architecture notes
computer organization and architecture notes
 
How to use movie maker
How to use movie maker How to use movie maker
How to use movie maker
 
Html tags list
Html tags listHtml tags list
Html tags list
 
Crytocurrency and bitcoins
Crytocurrency and bitcoinsCrytocurrency and bitcoins
Crytocurrency and bitcoins
 
FISCAL POLICY
FISCAL POLICYFISCAL POLICY
FISCAL POLICY
 
Ben and jerry's CASE STUDY ORGANIZATIONAL DESIGN
Ben and jerry's CASE STUDY ORGANIZATIONAL DESIGNBen and jerry's CASE STUDY ORGANIZATIONAL DESIGN
Ben and jerry's CASE STUDY ORGANIZATIONAL DESIGN
 
Data structures notes
Data structures notesData structures notes
Data structures notes
 
Java notes
Java notesJava notes
Java notes
 
Mba in India 101
Mba in India 101Mba in India 101
Mba in India 101
 

Recently uploaded

FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsArindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...vershagrag
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptxrouholahahmadi9876
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfsumitt6_25730773
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 

Recently uploaded (20)

FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 

Dbms notes

  • 1. DBMS DATABASE MANAGEMENT SYSTEM DATA: known facts that can be recorded & that have implicit meaning. DATABASE: Collection of related data. DBMS: organization or arrangement of data through a software . A dbms is a collection of programs that enables users to create & maintain a database. It stores data, in such a way which is easier to retrieve, manipulate and helps to produce information. It has a largely varying size. REAL LIFE APPLICATIONS: ď‚· Computerized library systems ď‚· Automated teller machines ď‚· Flight reservation systems ď‚· Computerized parts inventory systems What is defining a database? It involves the data types & DS & constraints of the data to be stored in the database. A database may contain info. About the following: 1. Entities 2. Relationship between entities {A student entity may contain name, roll no, branch} DBMS VS FILE SYSTEM Advantages of dbms over file system: 1. Self-describing nature of dbms 2. Controlling redundancy 3. Support of multiple views of data 4. Insulation(to secure) of data & programs
  • 2. ADVANTAGES OF A DBMS 1. Data independence: Application programs should be as independent as possible from details of data representation and storage. The DBMS can provide an abstract view of the data to insulate application code from such details 2. Efficient data access: A DBMS utilizes a variety of sophisticated techniques to store and retrieve data efficiently. This feature is especially important if the data is stored on external storage devices. 3. Data integrity and security: If data is always accessed through the DBMS, the DBMS can enforce integrity constraints on the data. 4. Concurrent access and crash recovery: A DBMS schedules concurrent accesses to the data in such a manner that users can think of the data as being accessed by only one user at a time. Further, the DBMS protects users from the effects of system failures. ď‚· Controlling Redundancy ď‚· Restricting Unauthorized Access ď‚· Providing Persistent Storage for Program Objects and Data Structures ď‚· Permitting Inferencing and Actions Using Rules ď‚· Providing Multiple User Interfaces ď‚· Representing Complex Relationships Among Data ď‚· Enforcing Integrity Constraints ď‚· Providing Backup and Recovery The goal of a DBMS is to provide an environment that is both convenient and efficient to use in ď‚· Retrieving information from the database ď‚· Storing information into the database DISADVANTAGE OF DATABASE: ď‚· High cost ď‚· Expertized training ď‚· Huge manpower ď‚· It occupies large amount of disk space ď‚· Complex in nature compared to file system
  • 3. DATABASE SCHEMAS: Database schema is the skeleton of database A database schema defines its entities and the relationship among them. Database schema is a descriptive detail of the database, which can be depicted by means of schema diagrams. All these activities are done by database designer to help programmers in order to give some ease of understanding all aspect of database. Database schemas can be divided into 2 categories: 1. Physical Database Schema: It defines the how data will be stored in secondary storage etc. 2. Logical Database Schema: It defines tables, views and integrity constraints etc. E-R MODEL: ENTITY RELATIONSHIP MODEL It defines the conceptual view of database.
  • 4. One to one One to many Many to one Many to many
  • 5. E-R MODEL Entity Entity in a school database An entity set is a collection of similar types of entities. Entity set may contain entities with attribute sharing similar values. Attributes: Entities are represented by means of their properties, called attributes. All attributes have values. For example, a student entity may have name, class, age as attributes. SQL: SQL (Structured Query Language) is used to perform operations on the records stored in database such as updating records, deleting records, creating and modifying tables, views etc. It is designed for managing data in a relational database management system (RDBMS). It depends on relational algebra and tuple relational calculus. Why SQL is required SQL is required: To create new databases, tables and views To insert records in a database To update records in a database To delete records from a database To retrieve data from a database
  • 6. WHAT SQL DOES: With SQL, we can query our database in a numbers of ways, using English-like statements. With SQL, user can access data from relational database management system. USES OF SQL: It allows user to describe the data. It allows user to define the data in database and manipulate it when needed. It allows user to create and drop database and table. It allows user to create view, stored procedure, function in a database. It allows user to set permission on tables, procedure and view. SUBSETS OF SQL: 1. Data definition language (DDL) 2. Data manipulation language (DML) 3. Data control language (DCL) DDL: allows you to CREATE, ALTER and DELETE database objects such as schema, tables, view, sequence etc. DML: It is used to perform following operations. • Insert data into database • Retrieve data from the database • Update data in the database • Delete data from the database DCL: allows you to control access to the database. It includes two commands GRANT and REVOKE. GRANT: to grant specific user to perform specific task. REVOKE: to cancel previously denied or granted permissions TRIGGER; Trigger allows you to execute a batch of SQL code when an insert, update or delete command is executed against a specific table.
  • 7. Actually triggers are special type of stored procedures that are defined to execute automatically in place or after data modifications