SlideShare ist ein Scribd-Unternehmen logo
1 von 32


 Problems with file processing systems
 Inconsistent data
 Inflexibility
 Limited data sharing
 Poor enforcement of standards
 Excessive program maintenance

Character :The most basic logical element is
character.Which consists of alphabetic, numeric or other
symbol.
Field : It consists of grouping of characters.For example, the
grouping of alphabetic characters.For example grouping of
alphabetic characters in a person’s name form a name field.
Record :Related fields of data are grouped to form a record.
File :A group of related records is a data file, or table.
Database :The highest level in the hierarchy is the
database.A database is an integrated collection of logically
related records or files.
Levels of Data

 Controlled Redundancy
 Ease of learning and use
 Data independence
 Accuracy and Integrity
 Privacy and security
 Shared
 Recovery from failure
 Performance
Objectives of Data Base

 Operational Data Base
 Analytical Data Base
 Data Warehouse Data Base
 Distributed Data Base
 End User Data Base
 External Data Base
Types of Data Bases

 Data Bases store detailed data needed to support
operations of entire organization
 They are also called Subject Area Databases ,transaction
database and production database
 A customer database, inventory database, and other
database containing data generated by business operations
Operational Database

 Databases store data extracted from selected operational
and external databases
 Consists of data mostly needed by an organization’s
managers and other end users
 They are also called management databases or information
databases
 They are the databases accessed by the online analytical
processing (OLAP) systems, decision support systems and
executive information systems
Analytical Database

 Stores data from current and previous years that has been
extracted from various operational and analytical
databases of an organization
 It is a central source of data that has been standardized and
integrated so it can be used by managers and other end
user professionals throughout an organization
Data Warehouse Databases

 Databases of local work groups and departments at
regional offices, branch offices, manufacturing plants and
other work sites
 Can include segments of common operational and
common user databases as well as data generated and used
only at a user’s own site
 Ensuring that all the data in distributed databases are
consistently and concurrently updated
Distributed Database

 These databases consist of a variety of data files
developed by end users at their workstations
 For example, users may have their own electronic copies
of documents they generated with word processing
packages or received by electronic mail.
End User Database

 Access to external online databases or data banks is
available for a fee from commercial information services ,
or for free of price from many sources on the internet
 For example, data are available in the form of statistics on
economic and demographic activity from statistical data
banks
 Abstracts from newspapers, magazines, and other
periodicals from bibliographic data banks
External Database

DBMS is the software that permits an organization to
centralize data, manage them efficiently, and provide
access to the stored data by application programs .
DBMS acts as an interface between the application
program and the physical data files
DBMS has three components
 A data definition language
 A data manipulation language
 A data dictionary
Database Management System

 The data definition language is the formal language used
by the programmers to specify the content and structure of
database
 It defines each data element as it appears in the database
before that data element is translated into the forms
required by application programs
Data Definition Language

 This language contains commands that permits end users
and programmers to extract data from the database to
satisfy information requests and develop applications
 The most prominent data manipulation language today is
structured query language (SQL)
Data Manipulation Language

 This is an automated or manual file that stores definitions
of data elements and data characteristics such as usage,
physical representation, ownership, authorization and
security
 Many data dictionaries can produce lists and reports of
data utilization, groupings, program location and so on
Data Dictionary

 Organizes data
 Integrates data
 Separates data
 Controls data
 Retrieves data
 Protects data
Functions of DBMS

 Reduced programming costs
 Reduced development and implementation time
 Reduced program and file maintenance costs
 Reduced data Redundancy
 Increase flexibility
Benefits of DBMS

Data is not stored in a random fashion. It is organized for
efficient retrieval.
 Sequential organization
 Indexed Sequential Organization
 Inverted List Organization
 Direct Access Organization
Data Storage and Retrieval

 It simply means storing and sorting in physical,
contiguous blocks within files on tape or disk
 Records are also in sequence within each block
 It is best suited in reading one record after another without
a search delay
 The records can be added only at the end of the file
Sequential Organization

 Data is stored in physically contiguous blocks and uses
indexes to locate records
 Indexed Sequential Organization reduces the magnitude of
the sequential search and provides quick access for
sequential and direct processing
 The drawback is the extra storage space required for the
index. It also takes long to search the index for data access
or retrieval
Indexed Sequential Organization

 It differ from the previous in the index level and record
storage
 The indexed sequential method has a multiple index for a
given key, whereas the inverted list method has a single
index for each key type
 In inverted list records are not needed to be stored in a
particular sequence. They are placed in data storage area
but indexes are updated for the record keys and location
 Inverted lists are best for applications that request specific
data on multiple keys
Inverted List Organization

 In direct access file organization, records are placed
randomly throughout the file
 New records are added at the end of the file or inserted in
specific locations based on software commands
 Records are accessed by addresses that specify their disk
locations. An address is required for locating a record, for
linking records , or for establishing relationships
Direct Access Organization

Hierarchical Data Model
Employee
Job assignments BenefitsCompensation
Performance Salary hist Pension Life insurance Health

Network Data Model
Course 2Course 1 Course 3
Student 1 Student 2 Student 3 Student 4 Student 5 Student 6

Relational Data Model
Dept
.no
D
nam
e
D
loc
Em
p
no
Dep. A
Dep. B
Dep. C
Emp
. no
E
name
E
title
E
sal
Dep.
no
E1 D A
E2 D A
E3 D B
E4 D B
E5 D C
E6 D A

 The schemes (schema) define categories of data and their
properties .
 External Schema or user schema is the user’s view of a
part of the database
 Conceptual Schema is the overall logical view of the
database
 Internal Schema or data storage definition is the way the
data is physically organized in storage
Data Schemes

External Schemas
General Model
User View
User View
User View
Conceptual
Schema
Internal
Schema
Stored
Database

 Each user of the database (an application program or a
person formulating a query ) is concerned with only a
small portion of the database
 Each user is interested in only a part of the entities in the
database, only part of the attributes of those entities, and
certain relationships among the entities
 External schema consists basically of definitions of each
of the various external record types in the external view
 The external schema is written using the DDL portion of
the user’s data sub language
External Schema

 The conceptual schema is the logical view of the entire
database . It represents as closely as possible the real
entities and their relationships .
 It contains integrity rules and authorization rules, but it
does not contain information about how the data items are
stored
Conceptual Schema

 The internal schema or physical data model describes how
the database is organized for physical storage and access
 The internal schema includes information on ordering of
records, block sizes, storage indexes, use of pointers and
access strategies being used
Internal Schema

 A mapping is a transaction of one schema to another
 In order for a user to access data, the user view of the data
as reflected in the external schema must be translated into
the overall conceptual schema
 In the same way, the conceptual/internal mapping
translates logical descriptions of data in the conceptual
schema to physical locations and access paths in the
internal scheme
Mapping

Mapping between Schemas
External view External view External view
External schema1 External schema 2 External schema 3
Overall conceptual
view
Conceptual schema
Internal schema
(DDL)
Stored Database

Weitere ähnliche Inhalte

Was ist angesagt?

TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
WanBK Leo
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1
askme
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1
askme
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 

Was ist angesagt? (19)

Lecture 00 introduction to course
Lecture 00 introduction to courseLecture 00 introduction to course
Lecture 00 introduction to course
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
 
Database software
Database softwareDatabase software
Database software
 
Database administration
Database administrationDatabase administration
Database administration
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1
 
Database System Concepts
Database System ConceptsDatabase System Concepts
Database System Concepts
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
Modern database management system chapter 1
Modern database management system chapter 1Modern database management system chapter 1
Modern database management system chapter 1
 
Database Concepts
Database ConceptsDatabase Concepts
Database Concepts
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1
 
Traditional vs modern dbms
Traditional vs modern dbmsTraditional vs modern dbms
Traditional vs modern dbms
 
database
databasedatabase
database
 
Lec01
Lec01Lec01
Lec01
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
 
Unit 1 basic concepts of DBMS
Unit 1 basic concepts of DBMSUnit 1 basic concepts of DBMS
Unit 1 basic concepts of DBMS
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
Data base management system
Data base management systemData base management system
Data base management system
 
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
 
DBMS Basics
DBMS BasicsDBMS Basics
DBMS Basics
 

Andere mochten auch

Andere mochten auch (8)

communtication
 communtication communtication
communtication
 
Supply
SupplySupply
Supply
 
Marketing environment
Marketing environmentMarketing environment
Marketing environment
 
Market structure final perfect competition
Market structure final  perfect competitionMarket structure final  perfect competition
Market structure final perfect competition
 
Ecosystems and biodiversity
Ecosystems and biodiversityEcosystems and biodiversity
Ecosystems and biodiversity
 
Leadership
LeadershipLeadership
Leadership
 
Eia act 2006
Eia act 2006Eia act 2006
Eia act 2006
 
Transactional Analysis and Communction
Transactional Analysis and CommunctionTransactional Analysis and Communction
Transactional Analysis and Communction
 

Ähnlich wie Dbms

DS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.ppt
DS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.pptDS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.ppt
DS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.ppt
fydfyd1
 
Introduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptIntroduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).ppt
RuelDogma1
 

Ähnlich wie Dbms (20)

data and information
data and informationdata and information
data and information
 
DS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.ppt
DS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.pptDS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.ppt
DS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.ppt
 
DS-DATABASE.ppt
DS-DATABASE.pptDS-DATABASE.ppt
DS-DATABASE.ppt
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
 
Lecture 1 to 3intro to normalization in database
Lecture 1 to 3intro to  normalization in databaseLecture 1 to 3intro to  normalization in database
Lecture 1 to 3intro to normalization in database
 
Data base
Data baseData base
Data base
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1
 
Introduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptIntroduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).ppt
 
DATABASE MANAGEMENT
DATABASE MANAGEMENTDATABASE MANAGEMENT
DATABASE MANAGEMENT
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
Chapter 05 pertemuan 7- donpas - manajemen data
Chapter 05 pertemuan 7- donpas - manajemen dataChapter 05 pertemuan 7- donpas - manajemen data
Chapter 05 pertemuan 7- donpas - manajemen data
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide   database management system 4M.sc. engg (ict) admission guide   database management system 4
M.sc. engg (ict) admission guide database management system 4
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singh
 
DataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPT
 
TAMUC LO 8
TAMUC LO 8TAMUC LO 8
TAMUC LO 8
 
Dbms
DbmsDbms
Dbms
 
Mis chapter 7 database systems
Mis chapter 7 database systemsMis chapter 7 database systems
Mis chapter 7 database systems
 

Mehr von Tej Kiran

Organizational communication
Organizational communicationOrganizational communication
Organizational communication
Tej Kiran
 
Leadership and group
Leadership and groupLeadership and group
Leadership and group
Tej Kiran
 
Internal and external
Internal   and   externalInternal   and   external
Internal and external
Tej Kiran
 
Barriers in communication
Barriers in communicationBarriers in communication
Barriers in communication
Tej Kiran
 
Partnership accounts
Partnership accountsPartnership accounts
Partnership accounts
Tej Kiran
 
Basics of company accounts and issue of shares
Basics of company accounts and issue of sharesBasics of company accounts and issue of shares
Basics of company accounts and issue of shares
Tej Kiran
 
Amalgamation and absorption
Amalgamation and absorptionAmalgamation and absorption
Amalgamation and absorption
Tej Kiran
 
Cash flow statement
Cash flow statementCash flow statement
Cash flow statement
Tej Kiran
 
Water resources in india
Water resources in indiaWater resources in india
Water resources in india
Tej Kiran
 
Role of govt in environment
Role of govt in environmentRole of govt in environment
Role of govt in environment
Tej Kiran
 
Population growth & its effect on environment
Population growth & its effect on environmentPopulation growth & its effect on environment
Population growth & its effect on environment
Tej Kiran
 
Noise pollution
Noise pollutionNoise pollution
Noise pollution
Tej Kiran
 
Natural resources
Natural resourcesNatural resources
Natural resources
Tej Kiran
 
Environmental activism
Environmental activismEnvironmental activism
Environmental activism
Tej Kiran
 
Energy resources & types
Energy resources & typesEnergy resources & types
Energy resources & types
Tej Kiran
 
Ecosystems and biodiversity
Ecosystems and biodiversityEcosystems and biodiversity
Ecosystems and biodiversity
Tej Kiran
 
Biofuelpresentation
BiofuelpresentationBiofuelpresentation
Biofuelpresentation
Tej Kiran
 

Mehr von Tej Kiran (20)

Organizational communication
Organizational communicationOrganizational communication
Organizational communication
 
Leadership and group
Leadership and groupLeadership and group
Leadership and group
 
Leadership
Leadership Leadership
Leadership
 
Internal and external
Internal   and   externalInternal   and   external
Internal and external
 
Barriers in communication
Barriers in communicationBarriers in communication
Barriers in communication
 
Partnership accounts
Partnership accountsPartnership accounts
Partnership accounts
 
Basics of company accounts and issue of shares
Basics of company accounts and issue of sharesBasics of company accounts and issue of shares
Basics of company accounts and issue of shares
 
Amalgamation and absorption
Amalgamation and absorptionAmalgamation and absorption
Amalgamation and absorption
 
Cash flow statement
Cash flow statementCash flow statement
Cash flow statement
 
Water resources in india
Water resources in indiaWater resources in india
Water resources in india
 
Solid waste
Solid wasteSolid waste
Solid waste
 
Role of govt in environment
Role of govt in environmentRole of govt in environment
Role of govt in environment
 
Population growth & its effect on environment
Population growth & its effect on environmentPopulation growth & its effect on environment
Population growth & its effect on environment
 
Noise pollution
Noise pollutionNoise pollution
Noise pollution
 
Natural resources
Natural resourcesNatural resources
Natural resources
 
Iso
IsoIso
Iso
 
Environmental activism
Environmental activismEnvironmental activism
Environmental activism
 
Energy resources & types
Energy resources & typesEnergy resources & types
Energy resources & types
 
Ecosystems and biodiversity
Ecosystems and biodiversityEcosystems and biodiversity
Ecosystems and biodiversity
 
Biofuelpresentation
BiofuelpresentationBiofuelpresentation
Biofuelpresentation
 

Kürzlich hochgeladen

Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Dipal Arora
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
Renandantas16
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
Matteo Carbone
 

Kürzlich hochgeladen (20)

Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 

Dbms

  • 1.
  • 2.   Problems with file processing systems  Inconsistent data  Inflexibility  Limited data sharing  Poor enforcement of standards  Excessive program maintenance
  • 3.  Character :The most basic logical element is character.Which consists of alphabetic, numeric or other symbol. Field : It consists of grouping of characters.For example, the grouping of alphabetic characters.For example grouping of alphabetic characters in a person’s name form a name field. Record :Related fields of data are grouped to form a record. File :A group of related records is a data file, or table. Database :The highest level in the hierarchy is the database.A database is an integrated collection of logically related records or files. Levels of Data
  • 4.   Controlled Redundancy  Ease of learning and use  Data independence  Accuracy and Integrity  Privacy and security  Shared  Recovery from failure  Performance Objectives of Data Base
  • 5.   Operational Data Base  Analytical Data Base  Data Warehouse Data Base  Distributed Data Base  End User Data Base  External Data Base Types of Data Bases
  • 6.   Data Bases store detailed data needed to support operations of entire organization  They are also called Subject Area Databases ,transaction database and production database  A customer database, inventory database, and other database containing data generated by business operations Operational Database
  • 7.   Databases store data extracted from selected operational and external databases  Consists of data mostly needed by an organization’s managers and other end users  They are also called management databases or information databases  They are the databases accessed by the online analytical processing (OLAP) systems, decision support systems and executive information systems Analytical Database
  • 8.   Stores data from current and previous years that has been extracted from various operational and analytical databases of an organization  It is a central source of data that has been standardized and integrated so it can be used by managers and other end user professionals throughout an organization Data Warehouse Databases
  • 9.   Databases of local work groups and departments at regional offices, branch offices, manufacturing plants and other work sites  Can include segments of common operational and common user databases as well as data generated and used only at a user’s own site  Ensuring that all the data in distributed databases are consistently and concurrently updated Distributed Database
  • 10.   These databases consist of a variety of data files developed by end users at their workstations  For example, users may have their own electronic copies of documents they generated with word processing packages or received by electronic mail. End User Database
  • 11.   Access to external online databases or data banks is available for a fee from commercial information services , or for free of price from many sources on the internet  For example, data are available in the form of statistics on economic and demographic activity from statistical data banks  Abstracts from newspapers, magazines, and other periodicals from bibliographic data banks External Database
  • 12.  DBMS is the software that permits an organization to centralize data, manage them efficiently, and provide access to the stored data by application programs . DBMS acts as an interface between the application program and the physical data files DBMS has three components  A data definition language  A data manipulation language  A data dictionary Database Management System
  • 13.   The data definition language is the formal language used by the programmers to specify the content and structure of database  It defines each data element as it appears in the database before that data element is translated into the forms required by application programs Data Definition Language
  • 14.   This language contains commands that permits end users and programmers to extract data from the database to satisfy information requests and develop applications  The most prominent data manipulation language today is structured query language (SQL) Data Manipulation Language
  • 15.   This is an automated or manual file that stores definitions of data elements and data characteristics such as usage, physical representation, ownership, authorization and security  Many data dictionaries can produce lists and reports of data utilization, groupings, program location and so on Data Dictionary
  • 16.   Organizes data  Integrates data  Separates data  Controls data  Retrieves data  Protects data Functions of DBMS
  • 17.   Reduced programming costs  Reduced development and implementation time  Reduced program and file maintenance costs  Reduced data Redundancy  Increase flexibility Benefits of DBMS
  • 18.  Data is not stored in a random fashion. It is organized for efficient retrieval.  Sequential organization  Indexed Sequential Organization  Inverted List Organization  Direct Access Organization Data Storage and Retrieval
  • 19.   It simply means storing and sorting in physical, contiguous blocks within files on tape or disk  Records are also in sequence within each block  It is best suited in reading one record after another without a search delay  The records can be added only at the end of the file Sequential Organization
  • 20.   Data is stored in physically contiguous blocks and uses indexes to locate records  Indexed Sequential Organization reduces the magnitude of the sequential search and provides quick access for sequential and direct processing  The drawback is the extra storage space required for the index. It also takes long to search the index for data access or retrieval Indexed Sequential Organization
  • 21.   It differ from the previous in the index level and record storage  The indexed sequential method has a multiple index for a given key, whereas the inverted list method has a single index for each key type  In inverted list records are not needed to be stored in a particular sequence. They are placed in data storage area but indexes are updated for the record keys and location  Inverted lists are best for applications that request specific data on multiple keys Inverted List Organization
  • 22.   In direct access file organization, records are placed randomly throughout the file  New records are added at the end of the file or inserted in specific locations based on software commands  Records are accessed by addresses that specify their disk locations. An address is required for locating a record, for linking records , or for establishing relationships Direct Access Organization
  • 23.  Hierarchical Data Model Employee Job assignments BenefitsCompensation Performance Salary hist Pension Life insurance Health
  • 24.  Network Data Model Course 2Course 1 Course 3 Student 1 Student 2 Student 3 Student 4 Student 5 Student 6
  • 25.  Relational Data Model Dept .no D nam e D loc Em p no Dep. A Dep. B Dep. C Emp . no E name E title E sal Dep. no E1 D A E2 D A E3 D B E4 D B E5 D C E6 D A
  • 26.   The schemes (schema) define categories of data and their properties .  External Schema or user schema is the user’s view of a part of the database  Conceptual Schema is the overall logical view of the database  Internal Schema or data storage definition is the way the data is physically organized in storage Data Schemes
  • 27.  External Schemas General Model User View User View User View Conceptual Schema Internal Schema Stored Database
  • 28.   Each user of the database (an application program or a person formulating a query ) is concerned with only a small portion of the database  Each user is interested in only a part of the entities in the database, only part of the attributes of those entities, and certain relationships among the entities  External schema consists basically of definitions of each of the various external record types in the external view  The external schema is written using the DDL portion of the user’s data sub language External Schema
  • 29.   The conceptual schema is the logical view of the entire database . It represents as closely as possible the real entities and their relationships .  It contains integrity rules and authorization rules, but it does not contain information about how the data items are stored Conceptual Schema
  • 30.   The internal schema or physical data model describes how the database is organized for physical storage and access  The internal schema includes information on ordering of records, block sizes, storage indexes, use of pointers and access strategies being used Internal Schema
  • 31.   A mapping is a transaction of one schema to another  In order for a user to access data, the user view of the data as reflected in the external schema must be translated into the overall conceptual schema  In the same way, the conceptual/internal mapping translates logical descriptions of data in the conceptual schema to physical locations and access paths in the internal scheme Mapping
  • 32.  Mapping between Schemas External view External view External view External schema1 External schema 2 External schema 3 Overall conceptual view Conceptual schema Internal schema (DDL) Stored Database