SlideShare ist ein Scribd-Unternehmen logo
1 von 50
INTRODUCTION TO DATABASE SYSTEM
DATA
• Data is a raw, unanalyzed, unorganized, unrelated, and an uninterrupted entity
• It is derived from the Latin word “Datum” which means ‘something given’.
• There are multiple forms of data such as numbers, letters, set of characters,
images and graphics
• Examples: weights, prices, costs, numbers of items sold,
employee names, etc.
EXAMPLE
•29061996
•Is it
• A birthday
• A bank account number
• A telephone number
INFORMATION
Information is a set of data that is processed in a
meaningful way according to the given requirement.
Example: The student’s average grade for each class,
Survey Reports and Results, Census Report, etc.
EXAMPLE 1
EXAMPLE 2
• RED
• What information we attached to the the red color is information
• For example:
• On traffic light it means stop
• In certain places the red color may mean danger zone
EXAMPLE 1
IDENTIFY IF ITS DATA OR INFORMATION
•An email
OPTION A= DATA
OPTION B = INFORMATION
IDENTIFY IF ITS DATA OR INFORMATION
•BANK STATEMENT
OPTION A= DATA
OPTION B = INFORMATION
IDENTIFY IF ITS DATA OR INFORMATION
•YES, NO, YES, NO, NO, YES
OPTION A= DATA
OPTION B = INFORMATION
DATA DICTIONARY
• The data dictionary contains information of the data stored in the database and is
consulted
by the DBMS before any manipulation operation on the database. It is an integral part of
the database management systems and store meta data
METADATA
.
describes the database structure, sizes of data types constraints, applications,
autorization etc., that are used as an integral tool for information resource management
DATABASE
• A database is a collection of information that is organized so that it can be easily accessed,
managed and updated. Data is organized into rows, columns and tables, and it is indexed to
make it easier to find relevant information. Data gets updated, expanded and deleted as new
information is added
• Fields - It is the smallest unit of the data that has meaning to its users and is also called data
item or data element. Name, Address and Telephone number are examples of fields
•
• Records - a collection of logically related fields and each field is possessing a fixed number
of bytes and is of fixed data type.
•
• Files - A file is a collection of related records
•
COMPONENTS OF A DATABASE
1. Data item - It is defined as a distinct
piece of information
2. Relationships - It represents a
correspondence between various data
elements.
3. Constraints - These are the predicates
that define correct database states.
4. Schema - It describes the organization of
data and relationships within the database.
RELATIONSHIP
CONSTRAINT
DATABASE SYSTEM APPLICATION
1. Banking: all transactions
2. Airlines: reservations, schedules
3. Universities: registration, grades
4. Sales: customers, products, purchases
5. Online retailers: order tracking, customized recommendations
6. Manufacturing: production, inventory, orders, supply chain
7. Human resources: employee records, salaries, tax deductions
TRADITIONAL FILE SYSTEM VERSUS DATABASE
MANAGEMENT SYSTEMS
FILE BASE SYSTEM
• each file is independent of other file, and data in different files
can be integrated only by writing individual program for each
application.
DATABASE MANAGEMENT SYSTEM
• It is a software package designed to interact with end- users, other applications, store and
manage databases. A general-purpose DBMS allows the definition, creation, querying,
update, and administration of databases.
Advantages of Database Systems Disadvantages of Database Systems
1. Controlled redundancy
2. Data consistency
3. Program data independence
4. Sharing of data
5. Enforcement of standards
6. Improved data integrity
7. Improved security
8. Data access is efficient
9. Improved backup and recovery
facility
10.Minimal program maintenance
1. Complexity increases
2. Requirement of more disk space
3. Additional cost of hardware
4. Cost of conversion
5. Need of additional and specialized
manpower
6. Need for backup and recovery
7. Organizational conflict
8. More installation and management
cost
COMPONENTS OF DBMS
• Data Definition Language (DDL)
• It allows the users to define the database, specify the
data types, data structures and the constraints on the data to
be stored in the database
• Data Manipulation Language (DML) and Query
Language
DML allows users to insert, update, delete and retrieve data
from the database
• Software for Controlled Access of Database
This software provides the facility of controlled access of the
database by the users,concurrency control to allow shared
access of the database and a recovery control system to
restore the database in case of ardware or software failure.
DATABASE SYSTEM ENVIRONMENT
• Users- People who interact with the database:
Application Programmers.
End Users.
Data - Data Administrators
• Software- Lies between the stored data and the users:
- DBMS.
- Application Software.
- User Interface.
• Hardware- Physical device on which database resides.
e.g.: of database Computers, Disk Drives, Printers, Cables etc.
DBMS USERS
• End Users - use the database system through a menu-oriented application program, where
the type and range of response is always displayed on the screen
• Online Users - These type of users communicate with the database directly through an online
terminal or indirectly through an application program and user interface.
• Application Programmers - These are the professional programmers or software developers
who develop the application programs or user interfaces for the end user/naive and online
users.
• Database Administrator - a person who have complete control over database of any
enterprise. DBA is responsible for overall performance of database.
SCHEMAS, SUBSCHEMA AND INSTANCES
SCHEMA
• A schema is plan of the database that give the names of the entities and attributes and the
relationship among them.
• THREE TYPES OF SCHEMA
1.logical schema is concerned with exploiting the data structures offered by the
DBMS so that the schema becomes understandable to the computer. It is important
as programs use it to construct applications.
2.physical schema is concerned with the manner in which the conceptual database get
represented in the computer as a stored database.
3.View schema: Design of database at view level is called view schema. This generally
describes end user interaction with database systems
SCHEMA
• Subschema
A subschema is a subset of the schema having the
same properties that a schema has. It
identifies a subset of areas, sets, records, and data
names defined in the database schema
available to user sessions. The subschema allows
the user to view only that part of the
database that is of interest to him. The subschema
defines the portion of the database as
seen by the application programs and the application
programs can have different view of data stored in
the database.
• Instances - The data in the database or a database
state.
THREE LEVEL ARCHITECTURE OF DATABASE SYSTEMS (DBMS)
BY ANSI/SPARC
1. external level - The users’ view of the
database. This level describes that part
of the
database that is relevant to each user.
2. conceptual level - The community view
of the database. This level describes what
data
is stored in the database and the
relationships among the data.
3. internal level The physical
representation of the database on the
computer. This level describes how the
data is stored in the database.
DATA MODELS
A DATA MODEL IS A COLLECTION OF CONCEPTS THAT CAN BE USED TO
DESCRIBE THE STRUCTURE OF THE DATABASE INCLUDING DATA TYPES,
RELATIONSHIPS AND THE CONSTRAINTS THAT APPLY ON THE DATA
THREE CATEGORIES OF DATA MODEL
RECORD BASE DATA MODEL
represent data by using the record structures
HIERARCHICAL DATA MODEL
Hierarchical Data Model - organizes records in a tree structure i.e., hierarchy of parent and child records
relationships.
NETWORK MODEL
Network Data Model - The ability of this model to handle many to many (N : N)
relations between its records is the main distinguishing feature from the hierarchical model. Thus, this
model permits a child record to have more than one parent.
RELATIONAL DATA MODEL
Relational Data Model - represented in the form of tables which is used interchangeably with the word
Relation. Each table consists of rows also knowns as tuples
ENTITY RELATIONSHIP MODEL (ER-MODEL)
• allows the representation of the various constraints as well as their relationships.
• The properties of these entities are their attributes in the ER diagram and their connections
are shown in the form of relationships.
OBJECT BASED DATA MODELS
These models are used in describing the data at the logical and user view levels.
These models allow the users to implicitly specify the constraints in the data
OBJECT ORIENTED MODEL
• Object oriented data model is also based on using real life scenarios. In this model, the scenarios
are represented as objects. The objects with similar functionalities are grouped together and linked
to different other objects.
• used for multimedia applications as well as data with complex relationships.
SEMANTIC DATA MODEL
• used to express greater interdependencies among
entities of interest. This class of data models are
influenced by the work done by artificial intelligence
researchers.
FUNCTIONAL DATA MODEL
The functional data model describes those aspects of a system concerned with transformation of
values-functions, mappings, constraints and functional dependencies
PHYSICAL DATA MODELS
These models provide the concepts that describes the details of how the data is stored
in the computer along with their record structures, access paths and ordering. Only
specialized or professional users can use these models
TWO TYPES OF PHYSICAL DATA MODEL
a. Unifying Model.
a. Frame Memory Model
CATEGORIES OF DATABASE SYSTEMS
• According to the Number of Users
• According to the Type of Use
• According to Database Site Locations
ACCORDING TO THE NUMBER OF
USERS
a. Single-user database systems - In a single user database system, the database reside
on a PC–on the hard disk. All the applications run on the same PC and directly access the
database.
b. Multiuser database systems - many PC’s are connected through a Local Area Network (LAN)
and a file server stores a copy of the database files.
ACCORDING TO THE TYPE OF USE
a. Production or Transactional Database Systems – used for management of supply chain
and for tracking production of items in factories, inventories of items in warehouses/stores
and orders for items.
b. Decision Support Database Systems - an interactive, computer-based systems that aid
users in judgement and choice activities
c. Data Warehouses - designed specifically to meet the transaction processing systems. It
can be loosely defined as any centralized data repository which can be queried for business
benefit.
ACCORDING TO DATABASE SITE LOCATIONS
a. Centralized database systems - consists of a single processor together with its associated data storage
devices and other peripherals. Database files resides on a personal computer (small enterprise) or on a
mainframe computer
b. Parallel database systems - used in the applications that have to query
extremely large databases or have to process an extremely large number of transactions per second
c. Distributed database systems - the data is spread across a variety of different databases
•
d. Client/Server database systems - In client/server technology, there is a server which acts as a whole data
base management system and some clients or personal computers which are connected with server through a
network interface.

Weitere ähnliche Inhalte

Ähnlich wie Introduction to Database System-WEEK2.pptx

Dbms module i
Dbms module iDbms module i
Dbms module i
SANTOSH RATH
 
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
Riannel Tecson
 
Database system concepts
Database system conceptsDatabase system concepts
Database system concepts
Kumar
 
Sql server ___________session_1-intro
Sql server  ___________session_1-introSql server  ___________session_1-intro
Sql server ___________session_1-intro
Ehtisham Ali
 

Ähnlich wie Introduction to Database System-WEEK2.pptx (20)

unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 
Data concepts
Data conceptsData concepts
Data concepts
 
DBMS
DBMS DBMS
DBMS
 
DBMS-Unit-1.pptx
DBMS-Unit-1.pptxDBMS-Unit-1.pptx
DBMS-Unit-1.pptx
 
Dbms module i
Dbms module iDbms module i
Dbms module i
 
Spatial Database and Database Management System
Spatial Database and Database Management SystemSpatial Database and Database Management System
Spatial Database and Database Management System
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
DBMS ppts unit1.pptx
DBMS ppts  unit1.pptxDBMS ppts  unit1.pptx
DBMS ppts unit1.pptx
 
dbms unit-1
dbms unit-1dbms unit-1
dbms unit-1
 
Introduction to DBMS and SQL Overview
Introduction to DBMS and SQL OverviewIntroduction to DBMS and SQL Overview
Introduction to DBMS and SQL Overview
 
Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
database management system - overview of entire dbms
database management system - overview of entire dbmsdatabase management system - overview of entire dbms
database management system - overview of entire dbms
 
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnet
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
 
Dbms quick guide
Dbms quick guideDbms quick guide
Dbms quick guide
 
Database system concepts
Database system conceptsDatabase system concepts
Database system concepts
 
Sql server ___________session_1-intro
Sql server  ___________session_1-introSql server  ___________session_1-intro
Sql server ___________session_1-intro
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 

KĂźrzlich hochgeladen

Abortion Clinic in Midrand [(+27832195400*)]🏥Safe Abortion Pills In Midrand |...
Abortion Clinic in Midrand [(+27832195400*)]🏥Safe Abortion Pills In Midrand |...Abortion Clinic in Midrand [(+27832195400*)]🏥Safe Abortion Pills In Midrand |...
Abortion Clinic in Midrand [(+27832195400*)]🏥Safe Abortion Pills In Midrand |...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Abortion Pill Prices Rustenburg [(+27832195400*)] 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Rustenburg [(+27832195400*)] 🏥 Women's Abortion Clinic i...Abortion Pill Prices Rustenburg [(+27832195400*)] 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Rustenburg [(+27832195400*)] 🏥 Women's Abortion Clinic i...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
drm1699
 

KĂźrzlich hochgeladen (20)

Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
 
Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?
 
From Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST APIFrom Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST API
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
 
Test Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdfTest Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdf
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdf
 
Your Ultimate Web Studio for Streaming Anywhere | Evmux
Your Ultimate Web Studio for Streaming Anywhere | EvmuxYour Ultimate Web Studio for Streaming Anywhere | Evmux
Your Ultimate Web Studio for Streaming Anywhere | Evmux
 
Abortion Pill Prices Aliwal North ](+27832195400*)[ 🏥 Women's Abortion Clinic...
Abortion Pill Prices Aliwal North ](+27832195400*)[ 🏥 Women's Abortion Clinic...Abortion Pill Prices Aliwal North ](+27832195400*)[ 🏥 Women's Abortion Clinic...
Abortion Pill Prices Aliwal North ](+27832195400*)[ 🏥 Women's Abortion Clinic...
 
The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)
 
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
 
Weeding your micro service landscape.pdf
Weeding your micro service landscape.pdfWeeding your micro service landscape.pdf
Weeding your micro service landscape.pdf
 
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
 
GraphSummit Milan - Visione e roadmap del prodotto Neo4j
GraphSummit Milan - Visione e roadmap del prodotto Neo4jGraphSummit Milan - Visione e roadmap del prodotto Neo4j
GraphSummit Milan - Visione e roadmap del prodotto Neo4j
 
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
 
Abortion Clinic in Midrand [(+27832195400*)]🏥Safe Abortion Pills In Midrand |...
Abortion Clinic in Midrand [(+27832195400*)]🏥Safe Abortion Pills In Midrand |...Abortion Clinic in Midrand [(+27832195400*)]🏥Safe Abortion Pills In Midrand |...
Abortion Clinic in Midrand [(+27832195400*)]🏥Safe Abortion Pills In Midrand |...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
Abortion Pill Prices Rustenburg [(+27832195400*)] 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Rustenburg [(+27832195400*)] 🏥 Women's Abortion Clinic i...Abortion Pill Prices Rustenburg [(+27832195400*)] 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Rustenburg [(+27832195400*)] 🏥 Women's Abortion Clinic i...
 
微信号购买
微信号购买微信号购买
微信号购买
 
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
 
Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024
 

Introduction to Database System-WEEK2.pptx

  • 2. DATA • Data is a raw, unanalyzed, unorganized, unrelated, and an uninterrupted entity • It is derived from the Latin word “Datum” which means ‘something given’. • There are multiple forms of data such as numbers, letters, set of characters, images and graphics • Examples: weights, prices, costs, numbers of items sold, employee names, etc.
  • 3. EXAMPLE •29061996 •Is it • A birthday • A bank account number • A telephone number
  • 4. INFORMATION Information is a set of data that is processed in a meaningful way according to the given requirement. Example: The student’s average grade for each class, Survey Reports and Results, Census Report, etc.
  • 6. EXAMPLE 2 • RED • What information we attached to the the red color is information • For example: • On traffic light it means stop • In certain places the red color may mean danger zone
  • 8. IDENTIFY IF ITS DATA OR INFORMATION •An email OPTION A= DATA OPTION B = INFORMATION
  • 9. IDENTIFY IF ITS DATA OR INFORMATION •BANK STATEMENT OPTION A= DATA OPTION B = INFORMATION
  • 10. IDENTIFY IF ITS DATA OR INFORMATION •YES, NO, YES, NO, NO, YES OPTION A= DATA OPTION B = INFORMATION
  • 11. DATA DICTIONARY • The data dictionary contains information of the data stored in the database and is consulted by the DBMS before any manipulation operation on the database. It is an integral part of the database management systems and store meta data
  • 12. METADATA . describes the database structure, sizes of data types constraints, applications, autorization etc., that are used as an integral tool for information resource management
  • 13. DATABASE • A database is a collection of information that is organized so that it can be easily accessed, managed and updated. Data is organized into rows, columns and tables, and it is indexed to make it easier to find relevant information. Data gets updated, expanded and deleted as new information is added • Fields - It is the smallest unit of the data that has meaning to its users and is also called data item or data element. Name, Address and Telephone number are examples of fields • • Records - a collection of logically related fields and each field is possessing a fixed number of bytes and is of fixed data type. • • Files - A file is a collection of related records •
  • 14.
  • 15. COMPONENTS OF A DATABASE 1. Data item - It is defined as a distinct piece of information 2. Relationships - It represents a correspondence between various data elements. 3. Constraints - These are the predicates that define correct database states. 4. Schema - It describes the organization of data and relationships within the database.
  • 18. DATABASE SYSTEM APPLICATION 1. Banking: all transactions 2. Airlines: reservations, schedules 3. Universities: registration, grades 4. Sales: customers, products, purchases 5. Online retailers: order tracking, customized recommendations 6. Manufacturing: production, inventory, orders, supply chain 7. Human resources: employee records, salaries, tax deductions
  • 19. TRADITIONAL FILE SYSTEM VERSUS DATABASE MANAGEMENT SYSTEMS
  • 20.
  • 21. FILE BASE SYSTEM • each file is independent of other file, and data in different files can be integrated only by writing individual program for each application.
  • 22. DATABASE MANAGEMENT SYSTEM • It is a software package designed to interact with end- users, other applications, store and manage databases. A general-purpose DBMS allows the definition, creation, querying, update, and administration of databases.
  • 23. Advantages of Database Systems Disadvantages of Database Systems 1. Controlled redundancy 2. Data consistency 3. Program data independence 4. Sharing of data 5. Enforcement of standards 6. Improved data integrity 7. Improved security 8. Data access is efficient 9. Improved backup and recovery facility 10.Minimal program maintenance 1. Complexity increases 2. Requirement of more disk space 3. Additional cost of hardware 4. Cost of conversion 5. Need of additional and specialized manpower 6. Need for backup and recovery 7. Organizational conflict 8. More installation and management cost
  • 24. COMPONENTS OF DBMS • Data Definition Language (DDL) • It allows the users to define the database, specify the data types, data structures and the constraints on the data to be stored in the database • Data Manipulation Language (DML) and Query Language DML allows users to insert, update, delete and retrieve data from the database • Software for Controlled Access of Database This software provides the facility of controlled access of the database by the users,concurrency control to allow shared access of the database and a recovery control system to restore the database in case of ardware or software failure.
  • 25. DATABASE SYSTEM ENVIRONMENT • Users- People who interact with the database: Application Programmers. End Users. Data - Data Administrators • Software- Lies between the stored data and the users: - DBMS. - Application Software. - User Interface. • Hardware- Physical device on which database resides. e.g.: of database Computers, Disk Drives, Printers, Cables etc.
  • 26. DBMS USERS • End Users - use the database system through a menu-oriented application program, where the type and range of response is always displayed on the screen • Online Users - These type of users communicate with the database directly through an online terminal or indirectly through an application program and user interface. • Application Programmers - These are the professional programmers or software developers who develop the application programs or user interfaces for the end user/naive and online users. • Database Administrator - a person who have complete control over database of any enterprise. DBA is responsible for overall performance of database.
  • 28. SCHEMA • A schema is plan of the database that give the names of the entities and attributes and the relationship among them. • THREE TYPES OF SCHEMA 1.logical schema is concerned with exploiting the data structures offered by the DBMS so that the schema becomes understandable to the computer. It is important as programs use it to construct applications. 2.physical schema is concerned with the manner in which the conceptual database get represented in the computer as a stored database. 3.View schema: Design of database at view level is called view schema. This generally describes end user interaction with database systems
  • 29.
  • 30. SCHEMA • Subschema A subschema is a subset of the schema having the same properties that a schema has. It identifies a subset of areas, sets, records, and data names defined in the database schema available to user sessions. The subschema allows the user to view only that part of the database that is of interest to him. The subschema defines the portion of the database as seen by the application programs and the application programs can have different view of data stored in the database. • Instances - The data in the database or a database state.
  • 31. THREE LEVEL ARCHITECTURE OF DATABASE SYSTEMS (DBMS) BY ANSI/SPARC 1. external level - The users’ view of the database. This level describes that part of the database that is relevant to each user. 2. conceptual level - The community view of the database. This level describes what data is stored in the database and the relationships among the data. 3. internal level The physical representation of the database on the computer. This level describes how the data is stored in the database.
  • 32.
  • 33. DATA MODELS A DATA MODEL IS A COLLECTION OF CONCEPTS THAT CAN BE USED TO DESCRIBE THE STRUCTURE OF THE DATABASE INCLUDING DATA TYPES, RELATIONSHIPS AND THE CONSTRAINTS THAT APPLY ON THE DATA
  • 34. THREE CATEGORIES OF DATA MODEL
  • 35. RECORD BASE DATA MODEL represent data by using the record structures
  • 36. HIERARCHICAL DATA MODEL Hierarchical Data Model - organizes records in a tree structure i.e., hierarchy of parent and child records relationships.
  • 37.
  • 38. NETWORK MODEL Network Data Model - The ability of this model to handle many to many (N : N) relations between its records is the main distinguishing feature from the hierarchical model. Thus, this model permits a child record to have more than one parent.
  • 39. RELATIONAL DATA MODEL Relational Data Model - represented in the form of tables which is used interchangeably with the word Relation. Each table consists of rows also knowns as tuples
  • 40. ENTITY RELATIONSHIP MODEL (ER-MODEL) • allows the representation of the various constraints as well as their relationships. • The properties of these entities are their attributes in the ER diagram and their connections are shown in the form of relationships.
  • 41. OBJECT BASED DATA MODELS These models are used in describing the data at the logical and user view levels. These models allow the users to implicitly specify the constraints in the data
  • 42. OBJECT ORIENTED MODEL • Object oriented data model is also based on using real life scenarios. In this model, the scenarios are represented as objects. The objects with similar functionalities are grouped together and linked to different other objects. • used for multimedia applications as well as data with complex relationships.
  • 43. SEMANTIC DATA MODEL • used to express greater interdependencies among entities of interest. This class of data models are influenced by the work done by artificial intelligence researchers.
  • 44. FUNCTIONAL DATA MODEL The functional data model describes those aspects of a system concerned with transformation of values-functions, mappings, constraints and functional dependencies
  • 45. PHYSICAL DATA MODELS These models provide the concepts that describes the details of how the data is stored in the computer along with their record structures, access paths and ordering. Only specialized or professional users can use these models
  • 46. TWO TYPES OF PHYSICAL DATA MODEL a. Unifying Model. a. Frame Memory Model
  • 47. CATEGORIES OF DATABASE SYSTEMS • According to the Number of Users • According to the Type of Use • According to Database Site Locations
  • 48. ACCORDING TO THE NUMBER OF USERS a. Single-user database systems - In a single user database system, the database reside on a PC–on the hard disk. All the applications run on the same PC and directly access the database. b. Multiuser database systems - many PC’s are connected through a Local Area Network (LAN) and a file server stores a copy of the database files.
  • 49. ACCORDING TO THE TYPE OF USE a. Production or Transactional Database Systems – used for management of supply chain and for tracking production of items in factories, inventories of items in warehouses/stores and orders for items. b. Decision Support Database Systems - an interactive, computer-based systems that aid users in judgement and choice activities c. Data Warehouses - designed specifically to meet the transaction processing systems. It can be loosely defined as any centralized data repository which can be queried for business benefit.
  • 50. ACCORDING TO DATABASE SITE LOCATIONS a. Centralized database systems - consists of a single processor together with its associated data storage devices and other peripherals. Database files resides on a personal computer (small enterprise) or on a mainframe computer b. Parallel database systems - used in the applications that have to query extremely large databases or have to process an extremely large number of transactions per second c. Distributed database systems - the data is spread across a variety of different databases • d. Client/Server database systems - In client/server technology, there is a server which acts as a whole data base management system and some clients or personal computers which are connected with server through a network interface.

Hinweis der Redaktion

  1. A data dictionary is a centralized repository of metadata. Metadata is data about data. 
  2. Constraints in DBMS (Database Management Systems) are rules or conditions that are applied to the data within a database to ensure data integrity, consistency, and adherence to business rules. They define limitations and requirements that the data must meet, thereby preventing the entry of invalid or inconsistent data.
  3. A data dictionary is a centralized repository of metadata. Metadata is data about data. 
  4. Schema – overall design of a database/ or a complete description of a dbase Logical – what data is stored and what relationship exist in other data Physical – how data is stored View schema -
  5. he model that organizes elements of the data and tell how they relate to one-another and with the properties of real-world entities. The basic purpose of the data model is to make sure that the data stored in the data model is understood fully.
  6. Defines the mapping between the entities. Describes the state of each entity and the tasks in the database.
  7. In this, relationships among the data are represented by links. In this model, tree data structure is used.
  8. In network type, the model data are represented by collection of records. In this, relationships among the data are represented by links. Graph data structures are used in this model. It permits a record to have more than one parent.For Example- Social Media sites like Facebook, Instagram etc.
  9. An ER model is generally considered as a top down approach in data designing. This model moves around three things-entity, attribute and relationship. 
  10.  Design the entities, attributes, and their relationship in the real world. -          Also known as conceptual models.  Represents real-world objects. ·         Based on the collection of objects, attributes, and their relationship. ·         Consider each object in the world as an object and isolate it from the other. ·         Use inherits, encapsulation, abstraction properties. n an Employee database we have different types of employees – Engineer, Accountant, Manager, Clark. But all these employees belong to the Person group. The person can have different attributes like name, address, age, and phone. All employees inherit the attributes and functionalities from Person, we can re-use those features in Employee.  This feature of this model is called encapsulation.
  11.  An extension of the ER model with notions of functions, encapsulation, and object identity, as well. 
  12. Semantic data is data that has been structured to add meaning to the data. This is done by creating data relationships between the data entities to give truth to the data and the needed importance for data consumption. Semantic data helps with the maintenance of the data consistency relationship between the dat
  13. Functional database models are used to support analytical applications such as financial planning and performance management.
  14. This model is used to describe data at the lowest level i.e., to describe the behaviour of data at the disk level i.e., the way the data and data relationships are maintained while storing them on the disk
  15. A unified data model bridges together various disparate data sources—like CRMs, BI tools, product analytics platforms, ERPs, and others—by consolidating them into a single data set or warehouse. This provides you with unified data, enabling you to run analyses and make decisions while being cognizant of every data point.
  16. Parallel DBMS is a Database Management System that runs through multiple processors and disks. They combine two or more processors also disk storage that helps make operations and executions easier and faster