SlideShare a Scribd company logo
503. DATA BASE DESIGN

LBSITW TRIVANDRUM, Department of Computer Science

1
503. DATA BASE DESIGN

[

DATA:





It can be figures,numbers,quantity anything
Recorded Information
They have implicit meaning
Ex: Varna chithra, 100, 13, etc….

INFORMATION

data


It is meaning full and arranged
Ex: Name = Varna chithra
No : of cars = 100
Age = 13

KNOWLEDGE




How we apply our information in a situation
It is paired, shaped, interpreted, selected and transformed.
Why we need information
 Addition Knowledge : How much of information in our hand
that much of knowledge
: More information more chance to apply for
LBSITW TRIVANDRUM, Department of Computer Science

2
503. DATA BASE DESIGN
knowledge
 Decision making: Information are helpful in making good decision at right time
 Can apply in different levels : Used for different purpose like weather forecasting,
result analysis etc
 Increase in productivity: Avoid waiting of time, money, effort etc...
DATA BASE








Organized collection of inter related data stored
together with controlled redundancy.
Collection of data designed to be used by different
people.
Data are stored in such a fashion that they are
independent of the programs of people using the data
The data in the data base is integrated, which means
that the database is a collection of distinct (not
identical) files.
These distinct files may have some duplicate data but
the duplication of data is to the minimum.
Thus data in the database
 Is Integrated
 Can be Shared
 Can con currently accessed

ADVANTAGES OF HAVING DATA IN DATABASE or ADVANTAGES OVER
TRADITIONAL FILE SYSTEM

1.
Centralized control
2.
Redundancy can be reduced
3.
Inconsistency can be avoided
4.
Data can be shared
5.
Standard can be enforced
6.
Security restriction can be applied
7.
Integrity can be maintained
8.
Conflicting requirements can be balanced

LBSITW TRIVANDRUM, Department of Computer Science

3
503. DATA BASE DESIGN

1. Centralized control:


Centralized control of the data

2. Redundancy can be reduced:




Redundancy of data means repetition of the data
So maximum it avoid multiple copies
Note: Sometimes redundancy allowed, because technically & business reasons we need
to store multiple copies.

LBSITW TRIVANDRUM, Department of Computer Science

4
503. DATA BASE DESIGN
3. Inconsistency can be avoided



It is corollary to the above statement.
If same data is duplicated and change made to one of
them lead to inconsistency.

4. Data can be shared
 More than one persons can
access the same data or different data at same time
 Information is shared

5. Standard can be enforced



Admin can enforce standard
Ex: ID generation of staff in college

6. Security restriction can be applied



Only access through proper channel
Different types of access can be provided
(retrieve, modify, delete, create etc...)

7. Integrity can be maintained




It means data are accurate
Permits admin to define constraints to the
data base
Ex: Admin adding a constraint “Minimum
balance need to change an account to cheque
book account is 1000 RS.

8. Conflicting requirement can be balanced


Understanding the requirement correctly.

LBSITW TRIVANDRUM, Department of Computer Science

5
503. DATA BASE DESIGN
CHARACTERISTICS OF DATA IN DATABASE
It should have the following features(we already discussed about
this)
1. Shared
2. Persistence : It means the data exist
permanently ,beyond the scope of the
process
3. Validity/Integrity/Correctness
4. Security
5. Consistency
6. Non- redundancy
7. Independence : ( we will discuss it later)
DATA BASE SYSTEM APPLICATIONS
Some representative applications are
SALES
ONLINE RETAILERS
MANUFACTURING
HUMAN RESOURCES
AIRLINES
UNIVERSITIES
BANKING

For production(in factory),inventory(in ware
house).order, supply chain
For Order tracking, customized
recommendation
For Customer ,product, purchases
Employee records, salaries, tax reduction
For Reservation ,schedule information etc
For Registration(student) ,grade etc
For customer account ,loans, banking
transaction etc

TYPES OF DATABASE
Centralized
Distributed
 The entire data is located at a single site
 The data base is stored on several
computer or mainframe system
 Allow for greater control over
accessing and updating data
 The computer in a distributed system
can communicate with each other via
 Ex: Bank ATM system
various communication media(high
Speed network or telephone lines)
 Ex: A multinational banking system.
The bank database distributed across
different branches.

LBSITW TRIVANDRUM, Department of Computer Science

6
503. DATA BASE DESIGN
Centralized

Distributed

LBSITW TRIVANDRUM, Department of Computer Science

7
503. DATA BASE DESIGN
DATA BASE MANAGEMENT SYSTEM





It is a collection of programs that enables you to store ,modify data and
extract information from a database.
It varies from small to large
It is a piece of software that provides services for accessing a database
Components of DBMS are

A. Transaction Management
 Transaction: Sequence of database operation that represent a logical unit of
work
 Access and transform database from one state to another
 Include update, delete, modify a set of records
 If we want to save a transaction just do ‘commit’
 If don’t want that change just rollback
B. Concurrency Control
 Operate concurrently that access shared data and can potentially interface with
one another
 Goal: Allow concurrency while maintaining
the consistency of shared data.
C. Recovery Management
 Ensures that database is returned to a
consistent state even after the failure or aborts
 More concurrency more is the chance that an
LBSITW TRIVANDRUM, Department of Computer Science

8
503. DATA BASE DESIGN
aborted transaction
D. Security Management
 Protection of data against unauthorized access
 DBA give different access privileges to the users
E. Language Interface
 Provide support languages
 These languages are used for definition and manipulation of data in the
database.
o Data Structure Creation : Used
DDL(Data Definition Language)
o Manipulation of Data : Used
DML(Data Manipulation
Language)
F. Storage Management
 Permanent storage of data
G. Data Catalog Management
 Also known as data dictionary
 It contains the metadata (data
about the data , it actually
contains description of the data)
 These are helpful to know the structure

SCHEMAS AND INSTANCES
INSTANCES




The collection of information stored in the database at a particular moment is
called an instance of the database.
Database change over time as information is inserted and deleted.
The value of variable in the program at appoint in time correspond to an
instance of a database schema.

SCHEMA




The overall design of the database is called the database schema
Schemas are changed infrequently
Data base system have several schemas ,portioned according to the levels of
abstraction
LBSITW TRIVANDRUM, Department of Computer Science

9
503. DATA BASE DESIGN
 Physical schema : It describes data base design at physical level
 Logical schema : It describes data base design at logical level.
 Sub schemas
: Database design at view level
THREE -SCHEMA ARCHITECTURE







Also known as 3-Level
architecture of a DBMS or
ANSI –SPARC Model
ANSI_- American National
Standard Institute
SPARC-Standard Planning
And Requirements
Committee.
Most modern commercial
DBMS are based on this
system

OBJECTIVES
1. It allows independent customized user views:
 Each user should be able to access the same data, but have a different
customized view of data.
2. It hides the physical storage details from user:
 Users should not have to deal with physical database storage details.
 They should be allowed to work with the data itself,without concern
for how it is physically stored.
3. The database administrator should be able to change the database storage structure
without affecting the user’s view:
 From time to time rationalization or other changes to the structure of
an organization’s data will be required.
LBSITW TRIVANDRUM, Department of Computer Science

10
503. DATA BASE DESIGN
4. The internal structure of the database should be unaffected by change to the
physical aspects of the storage
 Change over to a new disk.
5. The database administrator should b able to change the conceptual or global
structure of the database without affecting the users
 This should be possible while still maintaining the desired individual
users view.

Fig: Three -Schema Architecture

LBSITW TRIVANDRUM, Department of Computer Science

11
503. DATA BASE DESIGN

LBSITW TRIVANDRUM, Department of Computer Science

12
503. DATA BASE DESIGN

Detailed figure of Three schema architecture

LBSITW TRIVANDRUM, Department of Computer Science

13
503. DATA BASE DESIGN
DATA BASE USERS
Mainly categorized into three main categories
I.
II.
III.

End user
Application programmer
Data Base Administrator

LBSITW TRIVANDRUM, Department of Computer Science

14
503. DATA BASE DESIGN
I.

End user
 Deals only with the higher level of abstraction
 They may not be concerned with or even aware of the
details of the DBMS
 The end users involved in updates to the database or
queries on the database.
 Categories of end users are.
 Casual end user: Access database occasionally
when needed.
 They need different information each
time.
 Thy uses a sophisticated database query
language to specify their request.
 Naïve or parametric users.
 Users who interact with the system by
involving one of the application programs
that have been written previously.
 They make up a large section of the end
user population.
 These are the users who communicate
with the database on regular period.
 Their job is to constantly querying and
updating the database using the standard
queries. This is called canned transaction.
 Ex: Bank teller, Reservation clerks etc.
 Sophisticated users
 These include business analyst scientist,
engineers, and other thoroughly familiar
with the system capacity.
LBSITW TRIVANDRUM, Department of Computer Science

15
503. DATA BASE DESIGN


LBSITW TRIVANDRUM, Department of Computer Science

16

More Related Content

What's hot

Database management system1
Database management system1Database management system1
Database management system1jamwal85
 
ANSI-SPARC - Star Trek style - v2.0
ANSI-SPARC - Star Trek style - v2.0ANSI-SPARC - Star Trek style - v2.0
ANSI-SPARC - Star Trek style - v2.0Damian T. Gordon
 
Dbms notes
Dbms notesDbms notes
Dbms notes
Upasana Talukdar
 
Database administration
Database administrationDatabase administration
Database administration
Anish Gupta
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
raima sen
 
Database software
Database softwareDatabase software
Database software
JahidHussain13
 
Architecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independenceArchitecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independenceAnuj Modi
 
00.00 fundamentals of database management syllabus
00.00 fundamentals of database management syllabus00.00 fundamentals of database management syllabus
00.00 fundamentals of database management syllabusBishal Ghimire
 
Structure of Database MAnagement System
Structure of Database MAnagement SystemStructure of Database MAnagement System
Structure of Database MAnagement System
nitish sandhawar
 
Database Systems
Database SystemsDatabase Systems
Database Systems
Usman Tariq
 
Database Systems
Database SystemsDatabase Systems
Database Systems
Usman Tariq
 
Distributed dbms architectures
Distributed dbms architecturesDistributed dbms architectures
Distributed dbms architectures
Pooja Dixit
 
Distributed databases
Distributed databasesDistributed databases
Distributed databasessourabhdave
 
DDBMS
DDBMSDDBMS
Structure of dbms
Structure of dbmsStructure of dbms
Structure of dbms
Megha yadav
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2
shahab3
 
Advanced Database Lecture Notes
Advanced Database Lecture NotesAdvanced Database Lecture Notes
Advanced Database Lecture NotesJasour Obeidat
 

What's hot (20)

Database management system1
Database management system1Database management system1
Database management system1
 
ANSI-SPARC - Star Trek style - v2.0
ANSI-SPARC - Star Trek style - v2.0ANSI-SPARC - Star Trek style - v2.0
ANSI-SPARC - Star Trek style - v2.0
 
Dbms notes
Dbms notesDbms notes
Dbms notes
 
Database administration
Database administrationDatabase administration
Database administration
 
2 ddb architecture
2 ddb architecture2 ddb architecture
2 ddb architecture
 
Chapter2
Chapter2Chapter2
Chapter2
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Database software
Database softwareDatabase software
Database software
 
Architecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independenceArchitecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independence
 
00.00 fundamentals of database management syllabus
00.00 fundamentals of database management syllabus00.00 fundamentals of database management syllabus
00.00 fundamentals of database management syllabus
 
Structure of Database MAnagement System
Structure of Database MAnagement SystemStructure of Database MAnagement System
Structure of Database MAnagement System
 
Database Systems
Database SystemsDatabase Systems
Database Systems
 
Database Systems
Database SystemsDatabase Systems
Database Systems
 
Distributed dbms architectures
Distributed dbms architecturesDistributed dbms architectures
Distributed dbms architectures
 
Distributed databases
Distributed databasesDistributed databases
Distributed databases
 
DDBMS
DDBMSDDBMS
DDBMS
 
Structure of dbms
Structure of dbmsStructure of dbms
Structure of dbms
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2
 
Advanced Database Lecture Notes
Advanced Database Lecture NotesAdvanced Database Lecture Notes
Advanced Database Lecture Notes
 
basic concept of ddbms
basic concept of ddbmsbasic concept of ddbms
basic concept of ddbms
 

Similar to Data

Introduction to Databases and Transactions
Introduction to Databases and TransactionsIntroduction to Databases and Transactions
Introduction to Databases and Transactions
نبيله نواز
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
Krishna Bashyal
 
A database is generally used for storing related, structured data, w.pdf
A database is generally used for storing related, structured data, w.pdfA database is generally used for storing related, structured data, w.pdf
A database is generally used for storing related, structured data, w.pdf
angelfashions02
 
DBMS_UNIT_1.pdf
DBMS_UNIT_1.pdfDBMS_UNIT_1.pdf
DBMS_UNIT_1.pdf
Koteswari Kasireddy
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implement
flyinimohamed
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learn
Rajasekhar364622
 
Dbms
DbmsDbms
ppt on database management
ppt on database management ppt on database management
ppt on database management
sonveer singh baghel
 
Database management system
Database management systemDatabase management system
Database management system
Simran Kaur
 
20MCA21_Module1.ppt
20MCA21_Module1.ppt20MCA21_Module1.ppt
20MCA21_Module1.ppt
AshokBP1
 
Unit3rd
Unit3rdUnit3rd
Fundamentals of DBMS
Fundamentals of DBMSFundamentals of DBMS
Fundamentals of DBMS
Ahmed478619
 
Introduction-to-Databases.pptx
Introduction-to-Databases.pptxIntroduction-to-Databases.pptx
Introduction-to-Databases.pptx
IvanDarrylLopez
 
Components and Advantages of DBMS
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMS
Shubham Joon
 
DBMS-1.pptx
DBMS-1.pptxDBMS-1.pptx
DBMS-1.pptx
kingVox
 
Database management system
Database management systemDatabase management system
Database management system
krishna partiwala
 
Chapter one
Chapter oneChapter one
Chapter one
Dawod Yimer
 
Fundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database UsersFundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database Users
Mustafa Kamel Mohammadi
 

Similar to Data (20)

Introduction to Databases and Transactions
Introduction to Databases and TransactionsIntroduction to Databases and Transactions
Introduction to Databases and Transactions
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
 
A database is generally used for storing related, structured data, w.pdf
A database is generally used for storing related, structured data, w.pdfA database is generally used for storing related, structured data, w.pdf
A database is generally used for storing related, structured data, w.pdf
 
DBMS_UNIT_1.pdf
DBMS_UNIT_1.pdfDBMS_UNIT_1.pdf
DBMS_UNIT_1.pdf
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implement
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learn
 
Dbms
DbmsDbms
Dbms
 
ppt on database management
ppt on database management ppt on database management
ppt on database management
 
Database management system
Database management systemDatabase management system
Database management system
 
20MCA21_Module1.ppt
20MCA21_Module1.ppt20MCA21_Module1.ppt
20MCA21_Module1.ppt
 
Unit3rd
Unit3rdUnit3rd
Unit3rd
 
Fundamentals of DBMS
Fundamentals of DBMSFundamentals of DBMS
Fundamentals of DBMS
 
Introduction-to-Databases.pptx
Introduction-to-Databases.pptxIntroduction-to-Databases.pptx
Introduction-to-Databases.pptx
 
Components and Advantages of DBMS
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMS
 
DBMS-1.pptx
DBMS-1.pptxDBMS-1.pptx
DBMS-1.pptx
 
Database management system
Database management systemDatabase management system
Database management system
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
1.introduction qb
1.introduction qb1.introduction qb
1.introduction qb
 
Chapter one
Chapter oneChapter one
Chapter one
 
Fundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database UsersFundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database Users
 

More from Visakh V

Functional dependency and normalization
Functional dependency and normalizationFunctional dependency and normalization
Functional dependency and normalization
Visakh V
 
Data base recovery
Data base recoveryData base recovery
Data base recovery
Visakh V
 
Relational algebra complete
Relational algebra completeRelational algebra complete
Relational algebra complete
Visakh V
 
Slide 4 dbms users
Slide 4 dbms usersSlide 4 dbms users
Slide 4 dbms users
Visakh V
 
Transaction Management
Transaction Management Transaction Management
Transaction Management
Visakh V
 
Memory Management
Memory ManagementMemory Management
Memory Management
Visakh V
 
Slide 5 keys
Slide 5 keysSlide 5 keys
Slide 5 keys
Visakh V
 
Slide 4 dbms users
Slide 4 dbms usersSlide 4 dbms users
Slide 4 dbms users
Visakh V
 
Slide 6 er strong & weak entity
Slide 6 er  strong & weak entitySlide 6 er  strong & weak entity
Slide 6 er strong & weak entity
Visakh V
 
Slide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schemaSlide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schema
Visakh V
 
Slide 2 data models
Slide 2 data modelsSlide 2 data models
Slide 2 data models
Visakh V
 
Slide 1 introduction to dbms
Slide 1 introduction to dbmsSlide 1 introduction to dbms
Slide 1 introduction to dbms
Visakh V
 
Functional dependancy
Functional dependancyFunctional dependancy
Functional dependancy
Visakh V
 
Relational algebr
Relational algebrRelational algebr
Relational algebr
Visakh V
 
data constraints,group by
data constraints,group by data constraints,group by
data constraints,group by
Visakh V
 

More from Visakh V (15)

Functional dependency and normalization
Functional dependency and normalizationFunctional dependency and normalization
Functional dependency and normalization
 
Data base recovery
Data base recoveryData base recovery
Data base recovery
 
Relational algebra complete
Relational algebra completeRelational algebra complete
Relational algebra complete
 
Slide 4 dbms users
Slide 4 dbms usersSlide 4 dbms users
Slide 4 dbms users
 
Transaction Management
Transaction Management Transaction Management
Transaction Management
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Slide 5 keys
Slide 5 keysSlide 5 keys
Slide 5 keys
 
Slide 4 dbms users
Slide 4 dbms usersSlide 4 dbms users
Slide 4 dbms users
 
Slide 6 er strong & weak entity
Slide 6 er  strong & weak entitySlide 6 er  strong & weak entity
Slide 6 er strong & weak entity
 
Slide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schemaSlide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schema
 
Slide 2 data models
Slide 2 data modelsSlide 2 data models
Slide 2 data models
 
Slide 1 introduction to dbms
Slide 1 introduction to dbmsSlide 1 introduction to dbms
Slide 1 introduction to dbms
 
Functional dependancy
Functional dependancyFunctional dependancy
Functional dependancy
 
Relational algebr
Relational algebrRelational algebr
Relational algebr
 
data constraints,group by
data constraints,group by data constraints,group by
data constraints,group by
 

Recently uploaded

Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 

Recently uploaded (20)

Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 

Data

  • 1. 503. DATA BASE DESIGN LBSITW TRIVANDRUM, Department of Computer Science 1
  • 2. 503. DATA BASE DESIGN [ DATA:     It can be figures,numbers,quantity anything Recorded Information They have implicit meaning Ex: Varna chithra, 100, 13, etc…. INFORMATION  data  It is meaning full and arranged Ex: Name = Varna chithra No : of cars = 100 Age = 13 KNOWLEDGE    How we apply our information in a situation It is paired, shaped, interpreted, selected and transformed. Why we need information  Addition Knowledge : How much of information in our hand that much of knowledge : More information more chance to apply for LBSITW TRIVANDRUM, Department of Computer Science 2
  • 3. 503. DATA BASE DESIGN knowledge  Decision making: Information are helpful in making good decision at right time  Can apply in different levels : Used for different purpose like weather forecasting, result analysis etc  Increase in productivity: Avoid waiting of time, money, effort etc... DATA BASE       Organized collection of inter related data stored together with controlled redundancy. Collection of data designed to be used by different people. Data are stored in such a fashion that they are independent of the programs of people using the data The data in the data base is integrated, which means that the database is a collection of distinct (not identical) files. These distinct files may have some duplicate data but the duplication of data is to the minimum. Thus data in the database  Is Integrated  Can be Shared  Can con currently accessed ADVANTAGES OF HAVING DATA IN DATABASE or ADVANTAGES OVER TRADITIONAL FILE SYSTEM 1. Centralized control 2. Redundancy can be reduced 3. Inconsistency can be avoided 4. Data can be shared 5. Standard can be enforced 6. Security restriction can be applied 7. Integrity can be maintained 8. Conflicting requirements can be balanced LBSITW TRIVANDRUM, Department of Computer Science 3
  • 4. 503. DATA BASE DESIGN 1. Centralized control:  Centralized control of the data 2. Redundancy can be reduced:    Redundancy of data means repetition of the data So maximum it avoid multiple copies Note: Sometimes redundancy allowed, because technically & business reasons we need to store multiple copies. LBSITW TRIVANDRUM, Department of Computer Science 4
  • 5. 503. DATA BASE DESIGN 3. Inconsistency can be avoided   It is corollary to the above statement. If same data is duplicated and change made to one of them lead to inconsistency. 4. Data can be shared  More than one persons can access the same data or different data at same time  Information is shared 5. Standard can be enforced   Admin can enforce standard Ex: ID generation of staff in college 6. Security restriction can be applied   Only access through proper channel Different types of access can be provided (retrieve, modify, delete, create etc...) 7. Integrity can be maintained    It means data are accurate Permits admin to define constraints to the data base Ex: Admin adding a constraint “Minimum balance need to change an account to cheque book account is 1000 RS. 8. Conflicting requirement can be balanced  Understanding the requirement correctly. LBSITW TRIVANDRUM, Department of Computer Science 5
  • 6. 503. DATA BASE DESIGN CHARACTERISTICS OF DATA IN DATABASE It should have the following features(we already discussed about this) 1. Shared 2. Persistence : It means the data exist permanently ,beyond the scope of the process 3. Validity/Integrity/Correctness 4. Security 5. Consistency 6. Non- redundancy 7. Independence : ( we will discuss it later) DATA BASE SYSTEM APPLICATIONS Some representative applications are SALES ONLINE RETAILERS MANUFACTURING HUMAN RESOURCES AIRLINES UNIVERSITIES BANKING For production(in factory),inventory(in ware house).order, supply chain For Order tracking, customized recommendation For Customer ,product, purchases Employee records, salaries, tax reduction For Reservation ,schedule information etc For Registration(student) ,grade etc For customer account ,loans, banking transaction etc TYPES OF DATABASE Centralized Distributed  The entire data is located at a single site  The data base is stored on several computer or mainframe system  Allow for greater control over accessing and updating data  The computer in a distributed system can communicate with each other via  Ex: Bank ATM system various communication media(high Speed network or telephone lines)  Ex: A multinational banking system. The bank database distributed across different branches. LBSITW TRIVANDRUM, Department of Computer Science 6
  • 7. 503. DATA BASE DESIGN Centralized Distributed LBSITW TRIVANDRUM, Department of Computer Science 7
  • 8. 503. DATA BASE DESIGN DATA BASE MANAGEMENT SYSTEM     It is a collection of programs that enables you to store ,modify data and extract information from a database. It varies from small to large It is a piece of software that provides services for accessing a database Components of DBMS are A. Transaction Management  Transaction: Sequence of database operation that represent a logical unit of work  Access and transform database from one state to another  Include update, delete, modify a set of records  If we want to save a transaction just do ‘commit’  If don’t want that change just rollback B. Concurrency Control  Operate concurrently that access shared data and can potentially interface with one another  Goal: Allow concurrency while maintaining the consistency of shared data. C. Recovery Management  Ensures that database is returned to a consistent state even after the failure or aborts  More concurrency more is the chance that an LBSITW TRIVANDRUM, Department of Computer Science 8
  • 9. 503. DATA BASE DESIGN aborted transaction D. Security Management  Protection of data against unauthorized access  DBA give different access privileges to the users E. Language Interface  Provide support languages  These languages are used for definition and manipulation of data in the database. o Data Structure Creation : Used DDL(Data Definition Language) o Manipulation of Data : Used DML(Data Manipulation Language) F. Storage Management  Permanent storage of data G. Data Catalog Management  Also known as data dictionary  It contains the metadata (data about the data , it actually contains description of the data)  These are helpful to know the structure SCHEMAS AND INSTANCES INSTANCES    The collection of information stored in the database at a particular moment is called an instance of the database. Database change over time as information is inserted and deleted. The value of variable in the program at appoint in time correspond to an instance of a database schema. SCHEMA    The overall design of the database is called the database schema Schemas are changed infrequently Data base system have several schemas ,portioned according to the levels of abstraction LBSITW TRIVANDRUM, Department of Computer Science 9
  • 10. 503. DATA BASE DESIGN  Physical schema : It describes data base design at physical level  Logical schema : It describes data base design at logical level.  Sub schemas : Database design at view level THREE -SCHEMA ARCHITECTURE     Also known as 3-Level architecture of a DBMS or ANSI –SPARC Model ANSI_- American National Standard Institute SPARC-Standard Planning And Requirements Committee. Most modern commercial DBMS are based on this system OBJECTIVES 1. It allows independent customized user views:  Each user should be able to access the same data, but have a different customized view of data. 2. It hides the physical storage details from user:  Users should not have to deal with physical database storage details.  They should be allowed to work with the data itself,without concern for how it is physically stored. 3. The database administrator should be able to change the database storage structure without affecting the user’s view:  From time to time rationalization or other changes to the structure of an organization’s data will be required. LBSITW TRIVANDRUM, Department of Computer Science 10
  • 11. 503. DATA BASE DESIGN 4. The internal structure of the database should be unaffected by change to the physical aspects of the storage  Change over to a new disk. 5. The database administrator should b able to change the conceptual or global structure of the database without affecting the users  This should be possible while still maintaining the desired individual users view. Fig: Three -Schema Architecture LBSITW TRIVANDRUM, Department of Computer Science 11
  • 12. 503. DATA BASE DESIGN LBSITW TRIVANDRUM, Department of Computer Science 12
  • 13. 503. DATA BASE DESIGN Detailed figure of Three schema architecture LBSITW TRIVANDRUM, Department of Computer Science 13
  • 14. 503. DATA BASE DESIGN DATA BASE USERS Mainly categorized into three main categories I. II. III. End user Application programmer Data Base Administrator LBSITW TRIVANDRUM, Department of Computer Science 14
  • 15. 503. DATA BASE DESIGN I. End user  Deals only with the higher level of abstraction  They may not be concerned with or even aware of the details of the DBMS  The end users involved in updates to the database or queries on the database.  Categories of end users are.  Casual end user: Access database occasionally when needed.  They need different information each time.  Thy uses a sophisticated database query language to specify their request.  Naïve or parametric users.  Users who interact with the system by involving one of the application programs that have been written previously.  They make up a large section of the end user population.  These are the users who communicate with the database on regular period.  Their job is to constantly querying and updating the database using the standard queries. This is called canned transaction.  Ex: Bank teller, Reservation clerks etc.  Sophisticated users  These include business analyst scientist, engineers, and other thoroughly familiar with the system capacity. LBSITW TRIVANDRUM, Department of Computer Science 15
  • 16. 503. DATA BASE DESIGN  LBSITW TRIVANDRUM, Department of Computer Science 16