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
Levels of Data
ď‚—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.
Objectives of Data Base
ď‚—Controlled Redundancy
ď‚—Ease of learning and use
ď‚—Data independence
ď‚—Accuracy and Integrity
ď‚—Privacy and security
ď‚—Shared
ď‚—Recovery from failure
ď‚—Performance
Types of Data Bases
ď‚—Operational Data Base
ď‚—Analytical Data Base
ď‚—Data Warehouse Data Base
ď‚—Distributed Data Base
ď‚—End User Data Base
ď‚—External Data Base
Operational Database
ď‚—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
Analytical 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
Data Warehouse Databases
ď‚—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
Distributed Database
ď‚—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
End User 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.
External 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
Database Management System
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
Data Definition Language
ď‚—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 Manipulation 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 Dictionary
ď‚—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
Functions of DBMS
ď‚—Organizes data
ď‚—Integrates data
ď‚—Separates data
ď‚—Controls data
ď‚—Retrieves data
ď‚—Protects data
Benefits of DBMS
ď‚—Reduced programming costs
ď‚—Reduced development and implementation time
ď‚—Reduced program and file maintenance costs
ď‚—Reduced data Redundancy
ď‚—Increase flexibility
Data Storage and Retrieval
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
Sequential Organization
ď‚—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
Indexed 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
Inverted List 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
Direct Access 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
Hierarchical Data Model
Employee

Compensation

Performance

Salary hist

Job assignments

Pension

Benefits

Life insurance

Health
Network Data Model
Course 1

Student 1

Student 2

Course 2

Student 3

Course 3

Student 4

Student 5

Student 6
Relational Data Model
Dept .no

Dep. A
Dep. B
Dep. C

D
D Emp
name loc
no

Emp E
E
E Dep.
. no name title sal no
E1
E2
E3

DA
DA
DB

E4
E5

DB
DC

E6

DA
Data Schemes
ď‚—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
General Model
External Schemas
User View

Conceptual
Schema

User View

Internal
Schema

User View

Stored
Database
External Schema
ď‚—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
Conceptual 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
Internal 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
Mapping
ď‚—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 between Schemas view
External view
External
External schema1

External schema 2

Overall conceptual
view
Conceptual schema

Internal schema
(DDL)
Stored Database

External view
External schema 3

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 DatabaseWanBK Leo
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Lecture 00 introduction to course
Lecture 00 introduction to courseLecture 00 introduction to course
Lecture 00 introduction to courseemailharmeet
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introductionJananath Banuka
 
Database software
Database softwareDatabase software
Database softwareJahidHussain13
 
Dbms
DbmsDbms
Dbmssevtap87
 
Database administration
Database administrationDatabase administration
Database administrationAnish Gupta
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemNishant Munjal
 
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]Usman Tariq
 
Modern database management system chapter 1
Modern database management system chapter 1Modern database management system chapter 1
Modern database management system chapter 1AyeshaShoukat5
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentationa9oolq8
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databasesAashima Wadhwa
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1askme
 

Was ist angesagt? (18)

TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Lecture 00 introduction to course
Lecture 00 introduction to courseLecture 00 introduction to course
Lecture 00 introduction to course
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
 
Database software
Database softwareDatabase software
Database software
 
Database Concepts
Database ConceptsDatabase Concepts
Database Concepts
 
Dbms
DbmsDbms
Dbms
 
Database administration
Database administrationDatabase administration
Database administration
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Database System Concepts
Database System ConceptsDatabase System Concepts
Database System Concepts
 
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]
 
Modern database management system chapter 1
Modern database management system chapter 1Modern database management system chapter 1
Modern database management system chapter 1
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
 
dbms
dbmsdbms
dbms
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
Lec01
Lec01Lec01
Lec01
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1
 

Andere mochten auch

Planning
Planning Planning
Planning Tej Kiran
 
Energy resources & types
Energy resources & typesEnergy resources & types
Energy resources & typesTej Kiran
 
Communicate
CommunicateCommunicate
CommunicateTej Kiran
 
Biofuelpresentation
BiofuelpresentationBiofuelpresentation
BiofuelpresentationTej Kiran
 
Co ordination
Co ordinationCo ordination
Co ordinationTej Kiran
 
Environmental activism
Environmental activismEnvironmental activism
Environmental activismTej Kiran
 
Cash flow statement
Cash flow statementCash flow statement
Cash flow statementTej Kiran
 
Lecture d-inheritance
Lecture d-inheritanceLecture d-inheritance
Lecture d-inheritanceTej Kiran
 
Intro to man eco and demand function
Intro to man eco and demand functionIntro to man eco and demand function
Intro to man eco and demand functionTej Kiran
 
Elasticityof demand
Elasticityof demandElasticityof demand
Elasticityof demandTej Kiran
 
Ecosystems and biodiversity
Ecosystems and biodiversityEcosystems and biodiversity
Ecosystems and biodiversityTej Kiran
 
Enterprise Resource Planning(ERP)
Enterprise Resource Planning(ERP)Enterprise Resource Planning(ERP)
Enterprise Resource Planning(ERP)Tej Kiran
 
Dbms logical dependance
Dbms logical dependanceDbms logical dependance
Dbms logical dependanceTej Kiran
 
Multiplier analysis
Multiplier analysisMultiplier analysis
Multiplier analysisTej Kiran
 
Internal and external
Internal   and   externalInternal   and   external
Internal and externalTej Kiran
 
Production possibility frontier final
Production possibility frontier finalProduction possibility frontier final
Production possibility frontier finalTej Kiran
 
Theory of consumer behavior cardinal approach
Theory of consumer behavior  cardinal approachTheory of consumer behavior  cardinal approach
Theory of consumer behavior cardinal approachTej Kiran
 
Population growth & its effect on environment
Population growth & its effect on environmentPopulation growth & its effect on environment
Population growth & its effect on environmentTej Kiran
 

Andere mochten auch (18)

Planning
Planning Planning
Planning
 
Energy resources & types
Energy resources & typesEnergy resources & types
Energy resources & types
 
Communicate
CommunicateCommunicate
Communicate
 
Biofuelpresentation
BiofuelpresentationBiofuelpresentation
Biofuelpresentation
 
Co ordination
Co ordinationCo ordination
Co ordination
 
Environmental activism
Environmental activismEnvironmental activism
Environmental activism
 
Cash flow statement
Cash flow statementCash flow statement
Cash flow statement
 
Lecture d-inheritance
Lecture d-inheritanceLecture d-inheritance
Lecture d-inheritance
 
Intro to man eco and demand function
Intro to man eco and demand functionIntro to man eco and demand function
Intro to man eco and demand function
 
Elasticityof demand
Elasticityof demandElasticityof demand
Elasticityof demand
 
Ecosystems and biodiversity
Ecosystems and biodiversityEcosystems and biodiversity
Ecosystems and biodiversity
 
Enterprise Resource Planning(ERP)
Enterprise Resource Planning(ERP)Enterprise Resource Planning(ERP)
Enterprise Resource Planning(ERP)
 
Dbms logical dependance
Dbms logical dependanceDbms logical dependance
Dbms logical dependance
 
Multiplier analysis
Multiplier analysisMultiplier analysis
Multiplier analysis
 
Internal and external
Internal   and   externalInternal   and   external
Internal and external
 
Production possibility frontier final
Production possibility frontier finalProduction possibility frontier final
Production possibility frontier final
 
Theory of consumer behavior cardinal approach
Theory of consumer behavior  cardinal approachTheory of consumer behavior  cardinal approach
Theory of consumer behavior cardinal approach
 
Population growth & its effect on environment
Population growth & its effect on environmentPopulation growth & its effect on environment
Population growth & its effect on environment
 

Ă„hnlich wie Dbms

Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
data and information
data and informationdata and information
data and informationuzmajamal
 
DS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.ppt
DS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.pptDS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.ppt
DS-DATABASE dsfgsdfgsdfgsfgsdfg sdgfgd.pptfydfyd1
 
DS-DATABASE.ppt
DS-DATABASE.pptDS-DATABASE.ppt
DS-DATABASE.pptOasisMiris
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfMrjJoker1
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System IntroductionSmriti Jain
 
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 databasemaqsoodahmedbscsfkhp
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemTamur Iqbal
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1Sonia Mim
 
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 4Syed Ariful Islam Emon
 
Introduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptIntroduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptRuelDogma1
 
Lecture 3 note.pptx
Lecture 3 note.pptxLecture 3 note.pptx
Lecture 3 note.pptxTesfanehGorfu
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1askme
 
DATABASE MANAGEMENT
DATABASE MANAGEMENTDATABASE MANAGEMENT
DATABASE MANAGEMENTMiXvideos
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbmsarnold 7490
 

Ă„hnlich wie Dbms (20)

Data base management system
Data base management systemData base management system
Data base management system
 
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
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
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
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Data base
Data baseData base
Data base
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1
 
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
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
Introduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptIntroduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).ppt
 
Lecture 3 note.pptx
Lecture 3 note.pptxLecture 3 note.pptx
Lecture 3 note.pptx
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1
 
Mis chapter 7 database systems
Mis chapter 7 database systemsMis chapter 7 database systems
Mis chapter 7 database systems
 
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
DATABASE MANAGEMENTDATABASE MANAGEMENT
DATABASE MANAGEMENT
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
 

Mehr von Tej Kiran

Transactional Analysis and Communction
Transactional Analysis and CommunctionTransactional Analysis and Communction
Transactional Analysis and CommunctionTej Kiran
 
Organizational communication
Organizational communicationOrganizational communication
Organizational communicationTej Kiran
 
Leadership
LeadershipLeadership
LeadershipTej Kiran
 
Leadership and group
Leadership and groupLeadership and group
Leadership and groupTej Kiran
 
Leadership
Leadership Leadership
Leadership Tej Kiran
 
Barriers in communication
Barriers in communicationBarriers in communication
Barriers in communicationTej Kiran
 
communtication
 communtication communtication
communticationTej Kiran
 
Partnership accounts
Partnership accountsPartnership accounts
Partnership accountsTej 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 sharesTej Kiran
 
Amalgamation and absorption
Amalgamation and absorptionAmalgamation and absorption
Amalgamation and absorptionTej Kiran
 
Water resources in india
Water resources in indiaWater resources in india
Water resources in indiaTej Kiran
 
Solid waste
Solid wasteSolid waste
Solid wasteTej Kiran
 
Role of govt in environment
Role of govt in environmentRole of govt in environment
Role of govt in environmentTej Kiran
 
Noise pollution
Noise pollutionNoise pollution
Noise pollutionTej Kiran
 
Natural resources
Natural resourcesNatural resources
Natural resourcesTej Kiran
 
Environmental activism
Environmental activismEnvironmental activism
Environmental activismTej Kiran
 
Energy resources & types
Energy resources & typesEnergy resources & types
Energy resources & typesTej Kiran
 
Eia act 2006
Eia act 2006Eia act 2006
Eia act 2006Tej Kiran
 
Air pollution
Air pollutionAir pollution
Air pollutionTej Kiran
 

Mehr von Tej Kiran (20)

Transactional Analysis and Communction
Transactional Analysis and CommunctionTransactional Analysis and Communction
Transactional Analysis and Communction
 
Organizational communication
Organizational communicationOrganizational communication
Organizational communication
 
Leadership
LeadershipLeadership
Leadership
 
Leadership and group
Leadership and groupLeadership and group
Leadership and group
 
Leadership
Leadership Leadership
Leadership
 
Barriers in communication
Barriers in communicationBarriers in communication
Barriers in communication
 
communtication
 communtication communtication
communtication
 
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
 
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
 
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
 
Eia act 2006
Eia act 2006Eia act 2006
Eia act 2006
 
Air pollution
Air pollutionAir pollution
Air pollution
 

KĂĽrzlich hochgeladen

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...Paul Menig
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
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...Dave Litwiller
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessAggregage
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 
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 usageMatteo Carbone
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdfOrient Homes
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurSuhani Kapoor
 
Socio-economic-Impact-of-business-consumers-suppliers-and.pptx
Socio-economic-Impact-of-business-consumers-suppliers-and.pptxSocio-economic-Impact-of-business-consumers-suppliers-and.pptx
Socio-economic-Impact-of-business-consumers-suppliers-and.pptxtrishalcan8
 
DEPED Work From Home WORKWEEK-PLAN.docx
DEPED Work From Home  WORKWEEK-PLAN.docxDEPED Work From Home  WORKWEEK-PLAN.docx
DEPED Work From Home WORKWEEK-PLAN.docxRodelinaLaud
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
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 ServicesDipal Arora
 
Lucknow đź’‹ Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow đź’‹ Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow đź’‹ Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow đź’‹ Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 

KĂĽrzlich hochgeladen (20)

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...
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
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...
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for Success
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 
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
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow â‚ą,9517
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow â‚ą,9517Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow â‚ą,9517
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow â‚ą,9517
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdf
 
Best Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting PartnershipBest Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting Partnership
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service JamshedpurVIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
VIP Call Girl Jamshedpur Aashi 8250192130 Independent Escort Service Jamshedpur
 
Socio-economic-Impact-of-business-consumers-suppliers-and.pptx
Socio-economic-Impact-of-business-consumers-suppliers-and.pptxSocio-economic-Impact-of-business-consumers-suppliers-and.pptx
Socio-economic-Impact-of-business-consumers-suppliers-and.pptx
 
DEPED Work From Home WORKWEEK-PLAN.docx
DEPED Work From Home  WORKWEEK-PLAN.docxDEPED Work From Home  WORKWEEK-PLAN.docx
DEPED Work From Home WORKWEEK-PLAN.docx
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
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
 
Lucknow đź’‹ Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow đź’‹ Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow đź’‹ Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow đź’‹ Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 

Dbms

  • 1.
  • 2. ď‚—Problems with file processing systems ď‚—Inconsistent data ď‚—Inflexibility ď‚—Limited data sharing ď‚—Poor enforcement of standards ď‚—Excessive program maintenance
  • 3. Levels of Data ď‚—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.
  • 4. Objectives of Data Base ď‚—Controlled Redundancy ď‚—Ease of learning and use ď‚—Data independence ď‚—Accuracy and Integrity ď‚—Privacy and security ď‚—Shared ď‚—Recovery from failure ď‚—Performance
  • 5. Types of Data Bases ď‚—Operational Data Base ď‚—Analytical Data Base ď‚—Data Warehouse Data Base ď‚—Distributed Data Base ď‚—End User Data Base ď‚—External Data Base
  • 6. Operational Database ď‚—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
  • 7. Analytical 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
  • 8. Data Warehouse Databases ď‚—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
  • 9. Distributed Database ď‚—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
  • 10. End User 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.
  • 11. External 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
  • 12. Database Management System 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
  • 13. Data Definition Language ď‚—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
  • 14. Data Manipulation 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)
  • 15. Data Dictionary ď‚—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
  • 16. Functions of DBMS ď‚—Organizes data ď‚—Integrates data ď‚—Separates data ď‚—Controls data ď‚—Retrieves data ď‚—Protects data
  • 17. Benefits of DBMS ď‚—Reduced programming costs ď‚—Reduced development and implementation time ď‚—Reduced program and file maintenance costs ď‚—Reduced data Redundancy ď‚—Increase flexibility
  • 18. Data Storage and Retrieval 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
  • 19. Sequential Organization ď‚—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
  • 20. Indexed 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
  • 21. Inverted List 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
  • 22. Direct Access 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
  • 23. Hierarchical Data Model Employee Compensation Performance Salary hist Job assignments Pension Benefits Life insurance Health
  • 24. Network Data Model Course 1 Student 1 Student 2 Course 2 Student 3 Course 3 Student 4 Student 5 Student 6
  • 25. Relational Data Model Dept .no Dep. A Dep. B Dep. C D D Emp name loc no Emp E E E Dep. . no name title sal no E1 E2 E3 DA DA DB E4 E5 DB DC E6 DA
  • 26. Data Schemes ď‚—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
  • 27. General Model External Schemas User View Conceptual Schema User View Internal Schema User View Stored Database
  • 28. External Schema ď‚—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
  • 29. Conceptual 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
  • 30. Internal 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
  • 31. Mapping ď‚—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
  • 32. Mapping between Schemas view External view External External schema1 External schema 2 Overall conceptual view Conceptual schema Internal schema (DDL) Stored Database External view External schema 3