Dbms unit i

Arnav Chowdhury
Arnav ChowdhuryAssistant Professor at Acropolis Faculty of Management and Research
DBMS CONCEPTS
UNIT I
INTRODUCTION
(DATABASE)
“A collection of related pieces of
data, whose purpose is to solve the
data management needs of an
institution is called
a Database.”.
INTRODUCTION
(DBMS)
“Software system that
enables users to define,
create, maintain and control
access to the database”.
DATA
VS
DATABASE
1. Storage
Besides computers,
databases can even be
maintained in physical
ledgers, books or papers.
In a database
management
system (DBMS), all
the records are
maintained only on
a computer.
2.
Data
Retrieval
The retrieval of
information from the
databases can be done
manually, through
queries or by using
programs (C, C++, Java
etc.).
We can retrieve the
data from the
database
management
system through
queries written in
SQL.
3. Speed
As databases can be
handled manually or via
computers, when SQL is
not used to retrieve
information, it can be
very slow.
As a computer
system is involved
in a database
management
system, the
retrieval of
information is very
quick.
DATA
VS
DATABASE
4. Access
The databases are not
designed for a large
number of people who can
access data at the same
time, rather it is designed
for a very small number of
people (preferably few
people) who access data at
different times.
The database
management
system is designed
for a large number
of people who can
access the data at
the same time.
5.
Data
Manipulation
In case of the databases,
very less information can
be modified at a time.
In the database
management
system (DBMS), a
lot of information
can be changed at
one time (as it can
have many users
using it at the same
time).
6.
Backup and
Recovery
The databases do not
ensure that the data will
be available after failure
arises.
The database
management
system (DBMS)
ensures that the
data will always be
Database
Management
System(DBMS)
 Collection of interrelated data
 Set of programs to access the data
 DBMS contains information about a particular
enterprise
 DBMS provides an environment that it both
convenient and efficient to use
Purposeof
Database
Systems
Database management systems were developed to handle
the following difficulties of typical file-processing systems
supported by conventional operating systems.
 Data redundancy and inconsistency
 Difficulty in accessing data
 Data isolation – multiple files and formats
 Integrity problems
 Atomicity of updates
 Concurrent access by multiple users
 Security problems
Characteristics
ofDBMS
 Real-world entity
 Relation-based tables
 Isolation of data and application
 Less redundancy
 Consistency
 Query Language
 ACID Properties (Atomicity, Consistency, Isolation,
and Durability )
 Multiuser and Concurrent Access
 Multiple views
 Security
DifferentViews
ofDatabase
 Physical Data Level
 Conceptual Data Level
 External Data Level
PhysicalData
Level
The physical schema describes details of how data is
stored: files, indices, etc. on the random access disk
system. It also typically describes the record layout of
files and type of files (hash, b-tree, flat).
ConceptualData
Level
 Also referred to as the Logical level
 Hides details of the physical level.
 In the relational model, the conceptual schema
presents data as a set of tables.
 The DBMS maps data access between the
conceptual to physical schemas automatically.
 Physical schema can be changed without
changing application:
 DBMS must change mapping from conceptual to
physical.
 Referred to as physical data independence.
ExternalData
Level
 In the relational model, the external schema also
presents data as a set of relations. An external schema
specifies a view of the data in terms of the conceptual
level. It is tailored to the needs of a particular category
of users. Portions of stored data should not be seen by
some users and begins to implement a level of security
and simplifies the view for these users
Examples:
 Students should not see faculty salaries.
 Faculty should not see billing or payment data.
Attributes,EntityandKeys
DATAMODELS
 A conceptual data model identifies the highest-level
relationships between the different entities. Features
of conceptual data model include:
 Includes the important entities and the relationships
among them.
 No attribute is specified.
 No primary key is specified.
Conceptual Data Model
Conceptual
Model
LogicalData
Model
 A logical data model describes the data in as much detail as
possible, without regard to how they will be physical implemented
in the database. Features of a logical data model include:
 Includes all entities and relationships among them.
 All attributes for each entity are specified.
 The primary key for each entity is specified.
 Foreign keys (keys identifying the relationship between different
entities) are specified.
 Normalization occurs at this level.
 The steps for designing the logical data model are as follows:
 Specify primary keys for all entities.
 Find the relationships between different entities.
 Find all attributes for each entity.
 Resolve many-to-many relationships.
 Normalization.
LogicalData
Model
PhysicalData
Model
Physical data model represents how the model will be built in the database. A
physical database model shows all table structures, including column name,
column data type, column constraints, primary key, foreign key, and
relationships between tables. Features of a physical data model include:
 Specification all tables and columns.
 Foreign keys are used to identify relationships between tables.
 Denormalization may occur based on user requirements.
 Physical considerations may cause the physical data model to be quite
different from the logical data model.
 Physical data model will be different for different RDBMS. For example,
data type for a column may be different between MySQL and SQL Server.
 The steps for physical data model design are as follows:
 Convert entities into tables.
 Convert relationships into foreign keys.
 Convert attributes into columns.
 Modify the physical data model based on physical constraints / requirements
PhysicalData
Model
Database
Schema
 A database schema is the skeleton structure that
represents the logical view of the entire database. It
defines how the data is organized and how the
relations among them are associated. It formulates all
the constraints that are to be applied on the data.
 A database schema defines its entities and the
relationship among them. It contains a descriptive
detail of the database, which can be depicted by means
of schema diagrams. It’s the database designers who
design the schema to help programmers understand
the database and make it useful.
DatabaseSchema
DatabaseSchema
Physical Database Schema − This schema pertains to the actual
storage of data and its form of storage like files, indices, etc. It
defines how the data will be stored in a secondary storage.
Logical Database Schema − This schema defines all the logical
constraints that need to be applied on the data stored. It defines
tables, views, and integrity constraints.
1 de 22

Recomendados

INTRODUCTION TO DATABASE por
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEMuhammad Bilal Tariq
1.3K vistas36 diapositivas
database por
databasedatabase
databaseShwetanshu Gupta
2.3K vistas34 diapositivas
Database Chapter 1 por
Database Chapter 1Database Chapter 1
Database Chapter 1shahadat hossain
2.6K vistas24 diapositivas
Database management system por
Database management systemDatabase management system
Database management systemAmit Sarkar
1.5K vistas50 diapositivas
Data base management system por
Data base management systemData base management system
Data base management systemNavneet Jingar
32K vistas37 diapositivas
Dbms por
DbmsDbms
Dbmssevtap87
30.8K vistas43 diapositivas

Más contenido relacionado

La actualidad más candente

Fundamentals of Database ppt ch01 por
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
75.1K vistas52 diapositivas
Basic DBMS ppt por
Basic DBMS pptBasic DBMS ppt
Basic DBMS pptdangwalrajendra888
80.7K vistas12 diapositivas
Database management system by Neeraj Bhandari ( Surkhet.Nepal ) por
Database management system by Neeraj Bhandari ( Surkhet.Nepal )Database management system by Neeraj Bhandari ( Surkhet.Nepal )
Database management system by Neeraj Bhandari ( Surkhet.Nepal )Neeraj Bhandari
1.9K vistas14 diapositivas
Ch01 database-conceptsppt4207 por
Ch01 database-conceptsppt4207Ch01 database-conceptsppt4207
Ch01 database-conceptsppt4207Burhan Chaudhry
796 vistas34 diapositivas
Database Management System por
Database Management SystemDatabase Management System
Database Management SystemNishant Munjal
12.1K vistas35 diapositivas
Data Models.ppt por
Data Models.pptData Models.ppt
Data Models.pptAnshikaGoel42
175 vistas51 diapositivas

La actualidad más candente(20)

Fundamentals of Database ppt ch01 por Jotham Gadot
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
Jotham Gadot75.1K vistas
Database management system by Neeraj Bhandari ( Surkhet.Nepal ) por Neeraj Bhandari
Database management system by Neeraj Bhandari ( Surkhet.Nepal )Database management system by Neeraj Bhandari ( Surkhet.Nepal )
Database management system by Neeraj Bhandari ( Surkhet.Nepal )
Neeraj Bhandari1.9K vistas
Database Management System por Nishant Munjal
Database Management SystemDatabase Management System
Database Management System
Nishant Munjal12.1K vistas
Database system concepts and architecture por Jafar Nesargi
Database system concepts and architectureDatabase system concepts and architecture
Database system concepts and architecture
Jafar Nesargi6.3K vistas
Database management system presentation por sameerraaj
Database management system presentationDatabase management system presentation
Database management system presentation
sameerraaj87.9K vistas
ANSI-SPARC - Star Trek style - v2.0 por Damian T. Gordon
ANSI-SPARC - Star Trek style - v2.0ANSI-SPARC - Star Trek style - v2.0
ANSI-SPARC - Star Trek style - v2.0
Damian T. Gordon2.5K vistas
Database Design Slide 1 por ahfiki
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
ahfiki27.7K vistas
Introduction to databases por Aashima Wadhwa
Introduction to databasesIntroduction to databases
Introduction to databases
Aashima Wadhwa2.1K vistas
Assignment on dbms por Mohd Arif
Assignment on dbmsAssignment on dbms
Assignment on dbms
Mohd Arif9.6K vistas
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management] por Usman Tariq
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Usman Tariq2.3K vistas
Advance Database Management Systems -Object Oriented Principles In Database por Sonali Parab
Advance Database Management Systems -Object Oriented Principles In DatabaseAdvance Database Management Systems -Object Oriented Principles In Database
Advance Database Management Systems -Object Oriented Principles In Database
Sonali Parab5.3K vistas

Similar a Dbms unit i

11 Database Concepts por
11 Database Concepts11 Database Concepts
11 Database Conceptspraveenjigajinni
15K vistas47 diapositivas
Introduction to Database por
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
38.1K vistas32 diapositivas
Dbms por
DbmsDbms
DbmsSurkhab Shelly
53 vistas37 diapositivas
Dbms notes por
Dbms notesDbms notes
Dbms notesUpasana Talukdar
310 vistas7 diapositivas
Dbms module i por
Dbms module iDbms module i
Dbms module iSANTOSH RATH
811 vistas29 diapositivas
Unit 1 DBMS por
Unit 1 DBMSUnit 1 DBMS
Unit 1 DBMSDhivyaSubramaniyam
213 vistas178 diapositivas

Similar a Dbms unit i(20)

Introduction to Database por Siti Ismail
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail38.1K vistas
Database Systems - introduction por Jananath Banuka
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
Jananath Banuka186 vistas
View of data DBMS por Rahul Narang
View of data DBMSView of data DBMS
View of data DBMS
Rahul Narang20.1K vistas
Ch-1-Introduction-to-Database.pdf por MrjJoker1
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
MrjJoker111 vistas
Dbms models por devgocool
Dbms modelsDbms models
Dbms models
devgocool66.1K vistas

Más de Arnav Chowdhury

Startup Funding and Strategies for Future por
Startup Funding and Strategies for FutureStartup Funding and Strategies for Future
Startup Funding and Strategies for FutureArnav Chowdhury
186 vistas11 diapositivas
Marketing Management Introduction.pptx por
Marketing Management Introduction.pptxMarketing Management Introduction.pptx
Marketing Management Introduction.pptxArnav Chowdhury
466 vistas67 diapositivas
Marketing Management Product.pptx por
Marketing Management Product.pptxMarketing Management Product.pptx
Marketing Management Product.pptxArnav Chowdhury
241 vistas91 diapositivas
Institutional Support to Entrepreneurship por
Institutional Support to EntrepreneurshipInstitutional Support to Entrepreneurship
Institutional Support to EntrepreneurshipArnav Chowdhury
191 vistas45 diapositivas
New Venture Expansion and Exit Strategies por
New Venture Expansion and Exit StrategiesNew Venture Expansion and Exit Strategies
New Venture Expansion and Exit StrategiesArnav Chowdhury
249 vistas30 diapositivas
Creating a Business Plan por
Creating a Business PlanCreating a Business Plan
Creating a Business PlanArnav Chowdhury
158 vistas27 diapositivas

Más de Arnav Chowdhury(20)

Startup Funding and Strategies for Future por Arnav Chowdhury
Startup Funding and Strategies for FutureStartup Funding and Strategies for Future
Startup Funding and Strategies for Future
Arnav Chowdhury186 vistas
Marketing Management Introduction.pptx por Arnav Chowdhury
Marketing Management Introduction.pptxMarketing Management Introduction.pptx
Marketing Management Introduction.pptx
Arnav Chowdhury466 vistas
Marketing Management Product.pptx por Arnav Chowdhury
Marketing Management Product.pptxMarketing Management Product.pptx
Marketing Management Product.pptx
Arnav Chowdhury241 vistas
Institutional Support to Entrepreneurship por Arnav Chowdhury
Institutional Support to EntrepreneurshipInstitutional Support to Entrepreneurship
Institutional Support to Entrepreneurship
Arnav Chowdhury191 vistas
New Venture Expansion and Exit Strategies por Arnav Chowdhury
New Venture Expansion and Exit StrategiesNew Venture Expansion and Exit Strategies
New Venture Expansion and Exit Strategies
Arnav Chowdhury249 vistas
Business Research Methodology ( Data Collection) por Arnav Chowdhury
Business Research Methodology ( Data Collection)Business Research Methodology ( Data Collection)
Business Research Methodology ( Data Collection)
Arnav Chowdhury93 vistas
Business Research Methods (Introduction) por Arnav Chowdhury
Business Research Methods (Introduction)Business Research Methods (Introduction)
Business Research Methods (Introduction)
Arnav Chowdhury76 vistas
Planning and organizing Entrepreneurial Venture por Arnav Chowdhury
Planning and organizing Entrepreneurial VenturePlanning and organizing Entrepreneurial Venture
Planning and organizing Entrepreneurial Venture
Arnav Chowdhury1.1K vistas
Fundamentals of Entrepreneurship por Arnav Chowdhury
Fundamentals of EntrepreneurshipFundamentals of Entrepreneurship
Fundamentals of Entrepreneurship
Arnav Chowdhury277 vistas
Unit v: Cyber Safety Mechanism por Arnav Chowdhury
Unit v: Cyber Safety MechanismUnit v: Cyber Safety Mechanism
Unit v: Cyber Safety Mechanism
Arnav Chowdhury2.8K vistas
UNIT IV:Security Measurement Strategies por Arnav Chowdhury
UNIT IV:Security Measurement StrategiesUNIT IV:Security Measurement Strategies
UNIT IV:Security Measurement Strategies
Arnav Chowdhury270 vistas
Unit iii: Common Hacking Techniques por Arnav Chowdhury
Unit iii: Common Hacking TechniquesUnit iii: Common Hacking Techniques
Unit iii: Common Hacking Techniques
Arnav Chowdhury183 vistas
Information Technology and Modern Gadgets por Arnav Chowdhury
Information Technology and Modern GadgetsInformation Technology and Modern Gadgets
Information Technology and Modern Gadgets
Arnav Chowdhury1.7K vistas

Último

PRODUCT PRESENTATION.pptx por
PRODUCT PRESENTATION.pptxPRODUCT PRESENTATION.pptx
PRODUCT PRESENTATION.pptxangelicacueva6
14 vistas1 diapositiva
Igniting Next Level Productivity with AI-Infused Data Integration Workflows por
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Safe Software
263 vistas86 diapositivas
Zero to Automated in Under a Year por
Zero to Automated in Under a YearZero to Automated in Under a Year
Zero to Automated in Under a YearNetwork Automation Forum
15 vistas23 diapositivas
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors por
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensorssugiuralab
19 vistas15 diapositivas
Ransomware is Knocking your Door_Final.pdf por
Ransomware is Knocking your Door_Final.pdfRansomware is Knocking your Door_Final.pdf
Ransomware is Knocking your Door_Final.pdfSecurity Bootcamp
55 vistas46 diapositivas
Democratising digital commerce in India-Report por
Democratising digital commerce in India-ReportDemocratising digital commerce in India-Report
Democratising digital commerce in India-ReportKapil Khandelwal (KK)
15 vistas161 diapositivas

Último(20)

Igniting Next Level Productivity with AI-Infused Data Integration Workflows por Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software263 vistas
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors por sugiuralab
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors
sugiuralab19 vistas
Ransomware is Knocking your Door_Final.pdf por Security Bootcamp
Ransomware is Knocking your Door_Final.pdfRansomware is Knocking your Door_Final.pdf
Ransomware is Knocking your Door_Final.pdf
Security Bootcamp55 vistas
Voice Logger - Telephony Integration Solution at Aegis por Nirmal Sharma
Voice Logger - Telephony Integration Solution at AegisVoice Logger - Telephony Integration Solution at Aegis
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma39 vistas
SAP Automation Using Bar Code and FIORI.pdf por Virendra Rai, PMP
SAP Automation Using Bar Code and FIORI.pdfSAP Automation Using Bar Code and FIORI.pdf
SAP Automation Using Bar Code and FIORI.pdf
Virendra Rai, PMP23 vistas
Empathic Computing: Delivering the Potential of the Metaverse por Mark Billinghurst
Empathic Computing: Delivering  the Potential of the MetaverseEmpathic Computing: Delivering  the Potential of the Metaverse
Empathic Computing: Delivering the Potential of the Metaverse
Mark Billinghurst478 vistas
Five Things You SHOULD Know About Postman por Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman33 vistas
Attacking IoT Devices from a Web Perspective - Linux Day por Simone Onofri
Attacking IoT Devices from a Web Perspective - Linux Day Attacking IoT Devices from a Web Perspective - Linux Day
Attacking IoT Devices from a Web Perspective - Linux Day
Simone Onofri16 vistas
PharoJS - Zürich Smalltalk Group Meetup November 2023 por Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi127 vistas

Dbms unit i

  • 2. INTRODUCTION (DATABASE) “A collection of related pieces of data, whose purpose is to solve the data management needs of an institution is called a Database.”.
  • 3. INTRODUCTION (DBMS) “Software system that enables users to define, create, maintain and control access to the database”.
  • 4. DATA VS DATABASE 1. Storage Besides computers, databases can even be maintained in physical ledgers, books or papers. In a database management system (DBMS), all the records are maintained only on a computer. 2. Data Retrieval The retrieval of information from the databases can be done manually, through queries or by using programs (C, C++, Java etc.). We can retrieve the data from the database management system through queries written in SQL. 3. Speed As databases can be handled manually or via computers, when SQL is not used to retrieve information, it can be very slow. As a computer system is involved in a database management system, the retrieval of information is very quick.
  • 5. DATA VS DATABASE 4. Access The databases are not designed for a large number of people who can access data at the same time, rather it is designed for a very small number of people (preferably few people) who access data at different times. The database management system is designed for a large number of people who can access the data at the same time. 5. Data Manipulation In case of the databases, very less information can be modified at a time. In the database management system (DBMS), a lot of information can be changed at one time (as it can have many users using it at the same time). 6. Backup and Recovery The databases do not ensure that the data will be available after failure arises. The database management system (DBMS) ensures that the data will always be
  • 6. Database Management System(DBMS)  Collection of interrelated data  Set of programs to access the data  DBMS contains information about a particular enterprise  DBMS provides an environment that it both convenient and efficient to use
  • 7. Purposeof Database Systems Database management systems were developed to handle the following difficulties of typical file-processing systems supported by conventional operating systems.  Data redundancy and inconsistency  Difficulty in accessing data  Data isolation – multiple files and formats  Integrity problems  Atomicity of updates  Concurrent access by multiple users  Security problems
  • 8. Characteristics ofDBMS  Real-world entity  Relation-based tables  Isolation of data and application  Less redundancy  Consistency  Query Language  ACID Properties (Atomicity, Consistency, Isolation, and Durability )  Multiuser and Concurrent Access  Multiple views  Security
  • 9. DifferentViews ofDatabase  Physical Data Level  Conceptual Data Level  External Data Level
  • 10. PhysicalData Level The physical schema describes details of how data is stored: files, indices, etc. on the random access disk system. It also typically describes the record layout of files and type of files (hash, b-tree, flat).
  • 11. ConceptualData Level  Also referred to as the Logical level  Hides details of the physical level.  In the relational model, the conceptual schema presents data as a set of tables.  The DBMS maps data access between the conceptual to physical schemas automatically.  Physical schema can be changed without changing application:  DBMS must change mapping from conceptual to physical.  Referred to as physical data independence.
  • 12. ExternalData Level  In the relational model, the external schema also presents data as a set of relations. An external schema specifies a view of the data in terms of the conceptual level. It is tailored to the needs of a particular category of users. Portions of stored data should not be seen by some users and begins to implement a level of security and simplifies the view for these users Examples:  Students should not see faculty salaries.  Faculty should not see billing or payment data.
  • 14. DATAMODELS  A conceptual data model identifies the highest-level relationships between the different entities. Features of conceptual data model include:  Includes the important entities and the relationships among them.  No attribute is specified.  No primary key is specified. Conceptual Data Model
  • 16. LogicalData Model  A logical data model describes the data in as much detail as possible, without regard to how they will be physical implemented in the database. Features of a logical data model include:  Includes all entities and relationships among them.  All attributes for each entity are specified.  The primary key for each entity is specified.  Foreign keys (keys identifying the relationship between different entities) are specified.  Normalization occurs at this level.  The steps for designing the logical data model are as follows:  Specify primary keys for all entities.  Find the relationships between different entities.  Find all attributes for each entity.  Resolve many-to-many relationships.  Normalization.
  • 18. PhysicalData Model Physical data model represents how the model will be built in the database. A physical database model shows all table structures, including column name, column data type, column constraints, primary key, foreign key, and relationships between tables. Features of a physical data model include:  Specification all tables and columns.  Foreign keys are used to identify relationships between tables.  Denormalization may occur based on user requirements.  Physical considerations may cause the physical data model to be quite different from the logical data model.  Physical data model will be different for different RDBMS. For example, data type for a column may be different between MySQL and SQL Server.  The steps for physical data model design are as follows:  Convert entities into tables.  Convert relationships into foreign keys.  Convert attributes into columns.  Modify the physical data model based on physical constraints / requirements
  • 20. Database Schema  A database schema is the skeleton structure that represents the logical view of the entire database. It defines how the data is organized and how the relations among them are associated. It formulates all the constraints that are to be applied on the data.  A database schema defines its entities and the relationship among them. It contains a descriptive detail of the database, which can be depicted by means of schema diagrams. It’s the database designers who design the schema to help programmers understand the database and make it useful.
  • 22. DatabaseSchema Physical Database Schema − This schema pertains to the actual storage of data and its form of storage like files, indices, etc. It defines how the data will be stored in a secondary storage. Logical Database Schema − This schema defines all the logical constraints that need to be applied on the data stored. It defines tables, views, and integrity constraints.