SlideShare a Scribd company logo
DATABASE SYSTEM


    IKJ SAMUEL
Database System Concepts and Architecture



2.1 Data Models, Schemas, and Instances
2.2 DBMS Architecture and Data Independence
2.3 Database Languages and Interfaces
2.4 The Database System Environment
2.5 Classification of Database Management Systems
2.6 Summary


                        2-1                         2
2.1 Data Models, Schemas, and Instances
                                                       ‧data types
                                                       ‧relationships
Data Model: A set of concepts to describe the structure of a
database, and certain constraints that the database should obey.
      Provide data abstraction



Data Model Operations: Operations for specifying database
retrievals and updates by referring to the concepts of the data
model.
‧generic operation: insert, delete, modify, retrieve
‧user-defined operations



                                     2-2                                3
2.1.1 Categories of Data Models:
- Conceptual (high-level, semantic) data models: Provide concepts that
  are close to the way many users perceive data.
  (Also called entity-based or object-based data models.)
  ‧entity ‧attribute ‧relationship


- Physical (low-level, internal) data models: Provide concepts that
  describe details of how data is stored in the computer.
 ‧record formats ‧record ordering ‧access paths


- Implementation (record-oriented) data models: Provide concepts that
fall between the above two, balancing user views with some computer
storage details.
 ‧relational    ‧network ‧hierarchical
                                    2-2                               4
2.1.2 Schemas, Instances and Database State
        cf database
Database Schema (meta-data): The description of a database. Includes
descriptions of the database structure and the constraints that should hold
on the database.

Schema Diagram: A diagrammatic display of (some aspects of ) a
database schema. (refer to Fig 2.1 2-5)

Database Instance: The actual data stored in a database at a particular
moment in time. Also called database state ( or occurrence, snapshot)
(refer to Fig 1.2 2-6)


          Each schema construct has its own current set of instances.

The database schema changes very infrequently. The database state
changes every time the database is updated. Schema is also called
intension, whereas state is called extension.
                                           2-3                                5
Figure 2.1   Schema diagram for UNIVERSITY database




schema construct




                   Known data:
                       name of record types, data items
                                     2-4a                 6
Figure 1.2
      UNIVERSITY Database




2-4                         7
define

  empty state

          load

  initial state

         update
                         valid state
     state               satisfy database schema


update




                   2-3                         8
2.2 DBMS Architecture and Data Independence

2.2.1 Three-Schema Architecture
Proposed to support DBMS characteristics of:
- Insulation of programs and data/program and operations
  (program-data and program-operation independence)
- Support of multiple views of the data.
- Use of catalog (database description)


Defines DBMS schema at three levels: (see 2-9)
- Internal schema at the internal level to describe data storage structures and access
  paths. Typically uses a physical data model.
- Conceptual schema at the conceptual level to describe the structure and constraints
  for the whole database. Uses a conceptual or an implementation data model.
- External schema at the external level to describe the various user views. Usually
  uses the same data model as the conceptual level or high-level data model.


Mappings among schema levels are also needed. Programs refer to an external schema,
                                           2-5                                  9
and are mapped by the DBMS to the internal schema for execution
Figure 2.2   The Three-schema architecture   2-6




                        2-6                        10
2.2.2 Data Independence                     By adding or removing a record type or data
                                                item to
                                                 · expand the database (2-11)
                                                 · reduce the database
Logical Data Independence: The capacity to change the conceptual schema without
having to change the external schemas and their application programs.

Physical Data Independence: The capacity to change the internal schema without
having to change the conceptual schema.

                Reorganize physical files to improve performance
                e.g. List all sections offered in Fall 1998
When a schema at a lower level is changed, only the mappings between this
schema and higher-lever schemas need to be changed in a DBMS that fully supports
data independence. The higher-level schemas themselves are unchanged. Hence, the
application programs need not be changed since they refer to the external schemas.




     Disadvantages of two levels of mappings:
     Overhead during compilation or execution of a query or program
                                             2-7                                     11
UNIVERSITY Conceptual Schema
STUDENT (Name, Student Number, Class, Major)
COURSE (Course Name, Course Number, Credit, Dept)
PREREQUISITE (Course Number, Prerequisite Number)
SECTION (Section Id, Course Number, Semester, Year, Instructor)
GRADE_REPORT(Student Number, Section Id , Grade)


UNIVERSITY External Schema
TRANSCRIPT(Student Name, Course Number, Grade, Semester, Year, Section Id)
   derived from STUDENT, SECTION, GRADE_REPORT
PREREQUISITES(Course Name, Course Number, Prerequisites)
   derived from PREREQUISITE, COURSE


Change GRADE-REPORT Schema Construct
GRADE_REPORT (Student Number, Student Name, Section Id, Course Number, Grade)

Change Mapping (& View Definition)
TRANSCRIPT derived from SECTION, GRADE_REPORT

                                           2-7a                              12
2.3 Database Languages and Interfaces
      provide appropriate languages and interfaces for each category of users.

2.3.1 DBMS Languages
Data Definition Language (DDL): Used by the DBA and database designers to
specify the conceptual schema of a database. In many DBMSs, the DDL is also
used to define internal and external schemas (views). In some DBMSs, separate
storage definition language (SDL) and view definition language (VDL) are
used to define internal and external schemas.
             DDL Compiler

Data Manipulation Language (DML): Used to specify database retrievals and
updates (insertion, deletion, modifications)

- DML commands (data sublanguage) can be embedded in a general-purpose
  programming language (host language).

- Alternatively, stand-alone DML commands can be applied directly (query
  language).                           2-8                                       13
Types of DML

-Procedural DML:
• Also called record-at-a-time (record-oriented) or low-level DML
• Must be embedded in a programming language.
• Searches for and retrieves individual database records and uses looping
  and other constructs of the host programming language to retrieve multiple
  records.

-Declarative or non-procedural DML:
• Also called set-at-a-time (set-oriented) or high-level DML.
• Can be used as a stand-alone query language or can be embedded in a
  programming language.
• Searches for and retrieves information from multiple related database
  records in a single command.

- host language: general-purpose language
- data sublanguage: DML
- C++
                                      2-9                                 14
2.3.2 DBMS Interfaces
- Stand-alone query language interfaces. (casual end user)

- Programmer interfaces for embedding DML in programming
  languages: (programmer)
      -Pre-compiler Approach
      -Procedure (Subroutine) Call Approach

- User-friendly interfaces:
      -Menu-based Interfaces for Browsing.
      -Forms-based Interfaces.
      -Graphical User Interfaces.
      -Natural language Interfaces
      -Combination of the above

-Interfaces for Parametic Users (using function keys)

- Interfaces for the DBA:
       -Creating accounts, granting authorizations
       -Setting system parameters 2-10                       15

       -Changing schemas or access path
2.4 The Database System Environment
2.4.1 DBMS Component Modules




 Figure 2.3
                               2-11            16
2.4.2 Database System Utilities


To perform certain functions such as:

- Loading data stored in files into a database. Conversion tool
- Backing up the database periodically on storage.
- File reorganizing database file structures.
- Report generation utilities.
- Performance monitoring utilities.
- Other functions, such as sorting, user monitoring,
  data compression, etc.

                                2-12                         17
2.4.3 Tools, Application Environments, and
              Communications Facilities

Data dictionary utility:
- Used to store schema descriptions and other information such as design
  decisions, application program descriptions, user information, usage
  standards, etc. (comment)
-Active data dictionary is accessed by DBMS software and users/DBA.
-Passive data dictionary is accessed by users/DBA only.


Communications Facilities
- Allow users at locations remote from the database system site to access
  the database.
  DB (DBMS)/DC (Data Communication System)

                                      2-12                             18
2.5 Classification of Database Management Systems
Based on the data model used:
•Data models
    -Traditional: Relational, Network (see 2-19), Hierarchical
    - Emerging: Object-oriented, Semantic, Entity- Relationship, other.

Other classifications:
•Number of users : Single-user (typically used with personal computers) vs.
 multi-user (most DBMSs)

•Number of sites:
 Centralized (uses a single computer) vs. distributed (uses multiple computers).
 Homogeneous vs. Heterogeneous
• Cost of DBMS software. $10,000~100,000
                                $100~3,000
•Types of access paths used. (inverted file structures, …)
•Purpose general purpose
             special purpose
             e.g. airline reservations, telephone directory, on-line transaction
                  processing system         2-13                                 19
Figure 2.4   A Network Schema




                                2-14   20

More Related Content

PPT
Database system
ikjsamuel
 
PDF
oracle intro
Rinki Soni
 
PPTX
1 introduction
Ngeam Soly
 
PPT
Creating database
Hitesh Kumar Markam
 
PPTX
DATABASE INTRODUCTION
ghazi103
 
PPT
Function
rey501
 
PDF
PHP Roadshow - MySQL Database Essentials
Cherrie Ann Domingo
 
PPT
Distributed D B
guest8fdbdd
 
Database system
ikjsamuel
 
oracle intro
Rinki Soni
 
1 introduction
Ngeam Soly
 
Creating database
Hitesh Kumar Markam
 
DATABASE INTRODUCTION
ghazi103
 
Function
rey501
 
PHP Roadshow - MySQL Database Essentials
Cherrie Ann Domingo
 
Distributed D B
guest8fdbdd
 

What's hot (19)

DOC
DBMS Practical File
Dushmanta Nath
 
PDF
Database Development Strategies
Prof. Erwin Globio
 
PDF
Rdbms Practical file diploma
mustkeem khan
 
PPTX
DATABASE FUNCTIONS
ghazi103
 
DOCX
Database Management System
NANDINI SHARMA
 
PPT
Ddbms1
pranjal_das
 
DOCX
Ans mi0034-database management system-sda-2012-ii
zafarishtiaq
 
DOCX
Database Management Lab -SQL Queries
shamim hossain
 
PDF
Dbms
Sachin Yadav
 
PDF
basic concept of ddbms
Arnab Mukherjee
 
PPT
Distributed Database Management System
Hardik Patil
 
PPTX
Sql database development part 1
Sqlperfomance
 
PPT
Mysql database
Arshikhan08
 
PPTX
Distributed Database Management System
AAKANKSHA JAIN
 
PDF
5 data storage_and_indexing
Utkarsh De
 
PDF
Database Management System
Abishek V S
 
PDF
Introducing ms sql_server
leetinhf
 
PDF
Air Line Management System | DBMS project
AniketHandore
 
PPTX
Database development life cycle unit 2 part 1
Ram Paliwal
 
DBMS Practical File
Dushmanta Nath
 
Database Development Strategies
Prof. Erwin Globio
 
Rdbms Practical file diploma
mustkeem khan
 
DATABASE FUNCTIONS
ghazi103
 
Database Management System
NANDINI SHARMA
 
Ddbms1
pranjal_das
 
Ans mi0034-database management system-sda-2012-ii
zafarishtiaq
 
Database Management Lab -SQL Queries
shamim hossain
 
basic concept of ddbms
Arnab Mukherjee
 
Distributed Database Management System
Hardik Patil
 
Sql database development part 1
Sqlperfomance
 
Mysql database
Arshikhan08
 
Distributed Database Management System
AAKANKSHA JAIN
 
5 data storage_and_indexing
Utkarsh De
 
Database Management System
Abishek V S
 
Introducing ms sql_server
leetinhf
 
Air Line Management System | DBMS project
AniketHandore
 
Database development life cycle unit 2 part 1
Ram Paliwal
 
Ad

Viewers also liked (6)

PPT
1 1 data
Ken Kretsch
 
PPSX
Reconciliation statement
ikjsamuel
 
PPS
Staisticsii
ikjsamuel
 
PPT
Database system
ikjsamuel
 
PPS
Database system-DBMS
ikjsamuel
 
DOCX
Primary & secondary data
hezel3210
 
1 1 data
Ken Kretsch
 
Reconciliation statement
ikjsamuel
 
Staisticsii
ikjsamuel
 
Database system
ikjsamuel
 
Database system-DBMS
ikjsamuel
 
Primary & secondary data
hezel3210
 
Ad

Similar to Database system (20)

PDF
Chapter 2.pdfChapter 2.pdfChapter 2.pdfChapter 2.pdf
temesgenabebe1
 
PPT
Introduction to SQL
Dr. Thippeswamy S.
 
PDF
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
prabhdeeprai46
 
PPT
Chap gshsiiajsbbJAIOAJB68292uhsbiw8622.ppt
SagniTolasa
 
PPT
Database system concepts
Kumar
 
PDF
Chapter (Two) The best lecture PowerPoint
afendimohammed288
 
PPT
Chapter02
sasa_eldoby
 
PPT
data base
Surya Swaroop
 
PPT
Database Management Systems.ppt
tahakhan699813
 
PDF
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
PPTX
dbms unit-1
Vivek Kumar
 
PPT
9a797dbms chapter1 b.sc2
Mukund Trivedi
 
PDF
Chapter 02.pdf databse schema architecture
AyeshaaShafaqat
 
PPTX
Database Security: Introduction to DBS.pptx
asfarsaber
 
PPTX
Fundamentals of database system - Database System Concepts and Architecture
Mustafa Kamel Mohammadi
 
PPTX
Unit-1 DBMS24.pptxruzruxtidtixift8ffticiycyoc
dagadsai0330
 
PPTX
Db architecture
Mr Patrick NIYISHAKA
 
PPT
ARCHITECTURE OF DBMS (1).ppt
ShivareddyGangam
 
PDF
RDBMS UNIT-1.pdf PPT covered all basic cocepts of RDBMS and schema and compon...
ChaithraCSHirematt
 
PDF
dbms Unit 1.pdf arey bhai teri maa chodunga
VaradKadtan1
 
Chapter 2.pdfChapter 2.pdfChapter 2.pdfChapter 2.pdf
temesgenabebe1
 
Introduction to SQL
Dr. Thippeswamy S.
 
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
prabhdeeprai46
 
Chap gshsiiajsbbJAIOAJB68292uhsbiw8622.ppt
SagniTolasa
 
Database system concepts
Kumar
 
Chapter (Two) The best lecture PowerPoint
afendimohammed288
 
Chapter02
sasa_eldoby
 
data base
Surya Swaroop
 
Database Management Systems.ppt
tahakhan699813
 
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
dbms unit-1
Vivek Kumar
 
9a797dbms chapter1 b.sc2
Mukund Trivedi
 
Chapter 02.pdf databse schema architecture
AyeshaaShafaqat
 
Database Security: Introduction to DBS.pptx
asfarsaber
 
Fundamentals of database system - Database System Concepts and Architecture
Mustafa Kamel Mohammadi
 
Unit-1 DBMS24.pptxruzruxtidtixift8ffticiycyoc
dagadsai0330
 
Db architecture
Mr Patrick NIYISHAKA
 
ARCHITECTURE OF DBMS (1).ppt
ShivareddyGangam
 
RDBMS UNIT-1.pdf PPT covered all basic cocepts of RDBMS and schema and compon...
ChaithraCSHirematt
 
dbms Unit 1.pdf arey bhai teri maa chodunga
VaradKadtan1
 

Recently uploaded (20)

PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PPTX
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PDF
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PPTX
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
Trends in pediatric nursing .pptx
AneetaSharma15
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PDF
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
PPT
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
PDF
Sunset Boulevard Student Revision Booklet
jpinnuck
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PPTX
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
Trends in pediatric nursing .pptx
AneetaSharma15
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
Sunset Boulevard Student Revision Booklet
jpinnuck
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 

Database system

  • 1. DATABASE SYSTEM IKJ SAMUEL
  • 2. Database System Concepts and Architecture 2.1 Data Models, Schemas, and Instances 2.2 DBMS Architecture and Data Independence 2.3 Database Languages and Interfaces 2.4 The Database System Environment 2.5 Classification of Database Management Systems 2.6 Summary 2-1 2
  • 3. 2.1 Data Models, Schemas, and Instances ‧data types ‧relationships Data Model: A set of concepts to describe the structure of a database, and certain constraints that the database should obey. Provide data abstraction Data Model Operations: Operations for specifying database retrievals and updates by referring to the concepts of the data model. ‧generic operation: insert, delete, modify, retrieve ‧user-defined operations 2-2 3
  • 4. 2.1.1 Categories of Data Models: - Conceptual (high-level, semantic) data models: Provide concepts that are close to the way many users perceive data. (Also called entity-based or object-based data models.) ‧entity ‧attribute ‧relationship - Physical (low-level, internal) data models: Provide concepts that describe details of how data is stored in the computer. ‧record formats ‧record ordering ‧access paths - Implementation (record-oriented) data models: Provide concepts that fall between the above two, balancing user views with some computer storage details. ‧relational ‧network ‧hierarchical 2-2 4
  • 5. 2.1.2 Schemas, Instances and Database State cf database Database Schema (meta-data): The description of a database. Includes descriptions of the database structure and the constraints that should hold on the database. Schema Diagram: A diagrammatic display of (some aspects of ) a database schema. (refer to Fig 2.1 2-5) Database Instance: The actual data stored in a database at a particular moment in time. Also called database state ( or occurrence, snapshot) (refer to Fig 1.2 2-6) Each schema construct has its own current set of instances. The database schema changes very infrequently. The database state changes every time the database is updated. Schema is also called intension, whereas state is called extension. 2-3 5
  • 6. Figure 2.1 Schema diagram for UNIVERSITY database schema construct Known data: name of record types, data items 2-4a 6
  • 7. Figure 1.2 UNIVERSITY Database 2-4 7
  • 8. define empty state load initial state update valid state state satisfy database schema update 2-3 8
  • 9. 2.2 DBMS Architecture and Data Independence 2.2.1 Three-Schema Architecture Proposed to support DBMS characteristics of: - Insulation of programs and data/program and operations (program-data and program-operation independence) - Support of multiple views of the data. - Use of catalog (database description) Defines DBMS schema at three levels: (see 2-9) - Internal schema at the internal level to describe data storage structures and access paths. Typically uses a physical data model. - Conceptual schema at the conceptual level to describe the structure and constraints for the whole database. Uses a conceptual or an implementation data model. - External schema at the external level to describe the various user views. Usually uses the same data model as the conceptual level or high-level data model. Mappings among schema levels are also needed. Programs refer to an external schema, 2-5 9 and are mapped by the DBMS to the internal schema for execution
  • 10. Figure 2.2 The Three-schema architecture 2-6 2-6 10
  • 11. 2.2.2 Data Independence By adding or removing a record type or data item to · expand the database (2-11) · reduce the database Logical Data Independence: The capacity to change the conceptual schema without having to change the external schemas and their application programs. Physical Data Independence: The capacity to change the internal schema without having to change the conceptual schema. Reorganize physical files to improve performance e.g. List all sections offered in Fall 1998 When a schema at a lower level is changed, only the mappings between this schema and higher-lever schemas need to be changed in a DBMS that fully supports data independence. The higher-level schemas themselves are unchanged. Hence, the application programs need not be changed since they refer to the external schemas. Disadvantages of two levels of mappings: Overhead during compilation or execution of a query or program 2-7 11
  • 12. UNIVERSITY Conceptual Schema STUDENT (Name, Student Number, Class, Major) COURSE (Course Name, Course Number, Credit, Dept) PREREQUISITE (Course Number, Prerequisite Number) SECTION (Section Id, Course Number, Semester, Year, Instructor) GRADE_REPORT(Student Number, Section Id , Grade) UNIVERSITY External Schema TRANSCRIPT(Student Name, Course Number, Grade, Semester, Year, Section Id) derived from STUDENT, SECTION, GRADE_REPORT PREREQUISITES(Course Name, Course Number, Prerequisites) derived from PREREQUISITE, COURSE Change GRADE-REPORT Schema Construct GRADE_REPORT (Student Number, Student Name, Section Id, Course Number, Grade) Change Mapping (& View Definition) TRANSCRIPT derived from SECTION, GRADE_REPORT 2-7a 12
  • 13. 2.3 Database Languages and Interfaces provide appropriate languages and interfaces for each category of users. 2.3.1 DBMS Languages Data Definition Language (DDL): Used by the DBA and database designers to specify the conceptual schema of a database. In many DBMSs, the DDL is also used to define internal and external schemas (views). In some DBMSs, separate storage definition language (SDL) and view definition language (VDL) are used to define internal and external schemas. DDL Compiler Data Manipulation Language (DML): Used to specify database retrievals and updates (insertion, deletion, modifications) - DML commands (data sublanguage) can be embedded in a general-purpose programming language (host language). - Alternatively, stand-alone DML commands can be applied directly (query language). 2-8 13
  • 14. Types of DML -Procedural DML: • Also called record-at-a-time (record-oriented) or low-level DML • Must be embedded in a programming language. • Searches for and retrieves individual database records and uses looping and other constructs of the host programming language to retrieve multiple records. -Declarative or non-procedural DML: • Also called set-at-a-time (set-oriented) or high-level DML. • Can be used as a stand-alone query language or can be embedded in a programming language. • Searches for and retrieves information from multiple related database records in a single command. - host language: general-purpose language - data sublanguage: DML - C++ 2-9 14
  • 15. 2.3.2 DBMS Interfaces - Stand-alone query language interfaces. (casual end user) - Programmer interfaces for embedding DML in programming languages: (programmer) -Pre-compiler Approach -Procedure (Subroutine) Call Approach - User-friendly interfaces: -Menu-based Interfaces for Browsing. -Forms-based Interfaces. -Graphical User Interfaces. -Natural language Interfaces -Combination of the above -Interfaces for Parametic Users (using function keys) - Interfaces for the DBA: -Creating accounts, granting authorizations -Setting system parameters 2-10 15 -Changing schemas or access path
  • 16. 2.4 The Database System Environment 2.4.1 DBMS Component Modules Figure 2.3 2-11 16
  • 17. 2.4.2 Database System Utilities To perform certain functions such as: - Loading data stored in files into a database. Conversion tool - Backing up the database periodically on storage. - File reorganizing database file structures. - Report generation utilities. - Performance monitoring utilities. - Other functions, such as sorting, user monitoring, data compression, etc. 2-12 17
  • 18. 2.4.3 Tools, Application Environments, and Communications Facilities Data dictionary utility: - Used to store schema descriptions and other information such as design decisions, application program descriptions, user information, usage standards, etc. (comment) -Active data dictionary is accessed by DBMS software and users/DBA. -Passive data dictionary is accessed by users/DBA only. Communications Facilities - Allow users at locations remote from the database system site to access the database. DB (DBMS)/DC (Data Communication System) 2-12 18
  • 19. 2.5 Classification of Database Management Systems Based on the data model used: •Data models -Traditional: Relational, Network (see 2-19), Hierarchical - Emerging: Object-oriented, Semantic, Entity- Relationship, other. Other classifications: •Number of users : Single-user (typically used with personal computers) vs. multi-user (most DBMSs) •Number of sites: Centralized (uses a single computer) vs. distributed (uses multiple computers). Homogeneous vs. Heterogeneous • Cost of DBMS software. $10,000~100,000 $100~3,000 •Types of access paths used. (inverted file structures, …) •Purpose general purpose special purpose e.g. airline reservations, telephone directory, on-line transaction processing system 2-13 19
  • 20. Figure 2.4 A Network Schema 2-14 20