SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Presentation
On Computer Database
1
Database
Objectives of this session
•What is a Database?
• Where and when we need to use
Databases
• Types of users in a Database
• Database Design
08/15/17 2
Objectives Cont..
• Database Management Systems,
Database Operations and SQL
• Database Security
08/15/17 3
• Database is a collection of data organized to
service many applications at the same time by
storing and managing data so that they appear to
be in one location.
08/15/17 4
What is Database
Application of Databases
•   Banking: For customer information, accounts, and
loans, and banking transactions.
•    Airlines: For reservations and schedule information.
•    Universities: For student information, course
registrations, and grades.
• Credit card transactions: For purchases on credit
cards and generation of monthly statements.
•  Telecommunications: For keeping records of calls
made, generating monthly bills, maintaining balances on
prepaid calling cards, and storing information about the
communication networks.
08/15/17 5
• Finance: For storing information about holdings,
sales, and purchases of financial instrument such as
stocks and bonds.
• Sales: For customers, product, and purchase
information.
•  Manufacturing: For management of supply chain
and for tracking production of items in factories,
inventories of items in warehouses/stores, and orders
for items
• Human resources: For information about employees,
salaries, payroll taxes and benefits, and for generation
of paychecks.
08/15/17 6
Data Hierarchy
The data hierarchy comprises: bits, bytes, fields,
records, files, and database.
Bit: Smallest unit of data represented by 1 or 0.
Byte: A group   of 8 bits
Field: Unit of data consisting of one or more
characters. For example id, name, address.
Record: A collection of related fields
File: A collection of related records
Database: A collection of related files
08/15/17 7
Disadvantages of traditional file system
• Data redundancy: Same information may be
duplicated in several places.
•  Inconsistency: The various copies of same data may
no longer agree 
• Difficulty in accessing data: Conventional file-
processing environments do not allow needed data
to be retrieved in a convenient and efficient manner.
• Data isolation: Data are scattered in various files, and
files may be in different formats.
08/15/17 8
•    Integrity problems
Data values stored in the database must satisfy
certain types of consistency constraints. It is
difficult to satisfy these constraints in traditional
file system.
• Atomicity problems
It must happen in its entirety or not at all. It is
difficult to ensure atomicity in a conventional file-
processing system.
08/15/17 9
•   Concurrent-access anomalies
Concurrent accessed needed for performance
• Uncontrolled concurrent accesses can lead to
inconsistencies
•Example: Two people reading a balance and
updating it at the same time
• Security problems
• Hard to provide user access to some, but not all, data
•
08/15/17 10
File Organization
File organization deals with the physical organization of
the records of a file for the convenience of storage and
retrieval of data records.
Sequential file organization: A method of storing data
records in which the records must be retrieved in the
same physical sequence in which they are stored.
Advantages: 1. Simple 2. Easy to organize 3. Requires
inexpensive storage media
Disadvantage: 1. Inefficient for application 2. Slow
Random file organization: Allows users to access
records in any sequence without regard to actual
physical order on the storage media.
08/15/17 11
Advantages: 1. Can be retrieved quickly
2. Need not be sorted 3. Support interactive online
applications
Disadvantages: 1. Requires expensive hardware 2. Not
suitable for sequential processing
Indexed Sequential file organization: A method to directly
access records organized sequentially using an index of
the key fields.
Advantages: 1. Efficient for sequential processing 2. Also
suitable for random access processing
Disadvantages: 1. Requires expensive hardware 2. Requires
more storages
08/15/17 12
Database-Management System
• A database-management system (DBMS) is a
collection of interrelated data and a set of programs
to access those data.
Three Components
• Data-Definition Language (DDL)
• Data Manipulation Language (DML)
• Data Dictionary
08/15/17 13
DDL
• We specify a database schema by a set of definitions
expressed by a special language called a data-definition
language (DDL). For instance, the following statement
in the SQL language defines the account table:
Create table account
(account-number char(10),
balance integer)
Execution of the above DDL statement creates the
account table.  In addition, it updates a special set of
tables called data dictionary or data directory. A data
dictionary contains metadata-that is, data about data.
08/15/17 14
DMLDML
08/15/17 15
Data manipulation isData manipulation is
•• The retrieval of information stored in the databaseThe retrieval of information stored in the database
•• The insertion of new information into the databaseThe insertion of new information into the database
•The deletion of information from the databaseThe deletion of information from the database
•The modification of information stored in the databaseThe modification of information stored in the database
A data-manipulation language (DML) is a language
that enables users to access or manipulate data as
organized by the appropriate data model.
•Example: SQL (Structured Query Language)
QBE (Query By Example)
08/15/17 16
Example of an SQL
SELECT id, name
FROM student
WHERE id=10
Execution of the above SQL statement display the student
information with id value equal to 10.
Data Dictionary
Data dictionary is an automated or manual tool for storing and
organizing information about the data maintained in a
database.
08/15/17 17
View of Data
• Data Abstraction:
A major purpose of a database system is to
provide users with an abstract view of the data.
That is, the system hides certain details of how
the data are stored and maintained.
08/15/17 18
Levels of Abstraction
• Physical level: describes how a record (e.g.,
customer) is stored.
• Logical level: describes data stored in database,
and the relationships among the data.
type customer = record
customer_id : string;
customer_name : string;
customer_street : string;
customer_city : integer;
end;
08/15/17 19
Fig: Relationship among three levels
• View level: application programs hide details of data
types. Views can also hide information (such as an
employee’s salary) for security purposes.
08/15/17 20
An architecture for a database system
Database Models/ Types of Database
Organization
Principal database models are
• Hierarchical Model / Database
• Network Model / Database
• Relational Model / Database
• Entity-Relationship Model / Database
• Object-Oriented Model / Database
08/15/17 21
Hierarchical Data Model
• Hierarchical data model is one type of logical database model
that organizes data in a treelike structure. A record is
subdivided into segments that are connected to each other in
one-to-many parent-child relationships.
08/15/17 22
Employee
Compensation Benefits
Performance
Job
Assignments
Salary
History Insurance HealthPension
Network Data Model
• Network data model is logical database model that is
useful for depicting many-to-many relationships.
08/15/17 23
Course 2Course 1 Course 3
Student 1 Student 2 Student 4Student 3 Student 5
Relational Data Model
• Relational data model is a type of logical database model
that treats data as if they were stored in two-dimensional
tables. It can relate data stored in one table to data in
another table as long as the two tables share a common
data elements.
• A tuple is a row or record in a relational database.
08/15/17 24
IDID NameName
11 AAAA
22 BBBB
IDID MarksMarks GradeGrade
11 7070 B+B+
22 8080 A+A+
STUDENT
RESULT
Object Oriented Data Model
• An object Oriented database is an approach to data
management that stores both data and the procedures
acting on the data as objects that can be automatically
retrieved and shared.
08/15/17 25
Security
The data stored in the database need protection from
unauthorized access and malicious destruction or
alteration, in addition to the protection against accidental
introduction of inconsistency that integrity constraints
provide.
08/15/17 26

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Eddyzulham Mahluzydde
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data modelsABDUL KHALIQ
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.yhen06
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model IntroductionNishant Munjal
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
8 avoiding plagiarism-khalid
8 avoiding plagiarism-khalid8 avoiding plagiarism-khalid
8 avoiding plagiarism-khalidKhalid Mahmood
 
plagiarism detection tools and techniques
plagiarism detection tools and techniquesplagiarism detection tools and techniques
plagiarism detection tools and techniquesNimisha T
 
Dbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureDbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureAmiya9439793168
 
Publication ethics: Definitions, Introduction and Importance
Publication ethics: Definitions, Introduction and ImportancePublication ethics: Definitions, Introduction and Importance
Publication ethics: Definitions, Introduction and ImportanceVasantha Raju N
 
Chapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureChapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureKunal Anand
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level ArchitectureAdeel Rasheed
 

Was ist angesagt? (20)

Database and types of database
Database and types of databaseDatabase and types of database
Database and types of database
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data models
 
DBMS OF DATA MODEL Deepika 2
DBMS OF DATA MODEL  Deepika 2DBMS OF DATA MODEL  Deepika 2
DBMS OF DATA MODEL Deepika 2
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.
 
Database management system
Database management system Database management system
Database management system
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
 
Publication ethics
Publication ethics Publication ethics
Publication ethics
 
Duplicate publications and simultaneous submissions
Duplicate publications and simultaneous submissionsDuplicate publications and simultaneous submissions
Duplicate publications and simultaneous submissions
 
Research Ethic and Scientific Integrity
Research Ethic and Scientific IntegrityResearch Ethic and Scientific Integrity
Research Ethic and Scientific Integrity
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
8 avoiding plagiarism-khalid
8 avoiding plagiarism-khalid8 avoiding plagiarism-khalid
8 avoiding plagiarism-khalid
 
plagiarism detection tools and techniques
plagiarism detection tools and techniquesplagiarism detection tools and techniques
plagiarism detection tools and techniques
 
Dbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureDbms 3: 3 Schema Architecture
Dbms 3: 3 Schema Architecture
 
Publication ethics: Definitions, Introduction and Importance
Publication ethics: Definitions, Introduction and ImportancePublication ethics: Definitions, Introduction and Importance
Publication ethics: Definitions, Introduction and Importance
 
Chapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureChapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and Architecture
 
Database security
Database securityDatabase security
Database security
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 

Ähnlich wie computer fund-database presentation

dbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungadbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungaVaradKadtan1
 
Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsjayussuryawan
 
System Analysis And Design
System Analysis And DesignSystem Analysis And Design
System Analysis And DesignLijo Stalin
 
Chapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdfChapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdfGirmaNeshir
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfTamiratDejene1
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfTamiratDejene1
 
DBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptxDBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptxshreyassoni7
 
UNIT machine learning unit 1,algorithm pdf
UNIT machine learning  unit 1,algorithm pdfUNIT machine learning  unit 1,algorithm pdf
UNIT machine learning unit 1,algorithm pdfOmarFarooque9
 
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management SystemAmiya9439793168
 
Unit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptUnit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptDeepakShakya39
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbmsRituBhargava7
 
Arinda oktaviana 11353204810 vii lokal g
Arinda oktaviana 11353204810   vii lokal gArinda oktaviana 11353204810   vii lokal g
Arinda oktaviana 11353204810 vii lokal gArinda oktaviana
 
1-introduction to DB.pdf
1-introduction to DB.pdf1-introduction to DB.pdf
1-introduction to DB.pdfMuniraALmogren
 

Ähnlich wie computer fund-database presentation (20)

dbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungadbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodunga
 
Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systems
 
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
 
System Analysis And Design
System Analysis And DesignSystem Analysis And Design
System Analysis And Design
 
Chapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdfChapter 1 Short Slide.pdf
Chapter 1 Short Slide.pdf
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
 
DBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptxDBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptx
 
UNIT machine learning unit 1,algorithm pdf
UNIT machine learning  unit 1,algorithm pdfUNIT machine learning  unit 1,algorithm pdf
UNIT machine learning unit 1,algorithm pdf
 
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnet
 
Intro.pptx
Intro.pptxIntro.pptx
Intro.pptx
 
dbms introduction.pptx
dbms introduction.pptxdbms introduction.pptx
dbms introduction.pptx
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
Unit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptUnit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .ppt
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
 
Arinda oktaviana 11353204810 vii lokal g
Arinda oktaviana 11353204810   vii lokal gArinda oktaviana 11353204810   vii lokal g
Arinda oktaviana 11353204810 vii lokal g
 
1-introduction to DB.pdf
1-introduction to DB.pdf1-introduction to DB.pdf
1-introduction to DB.pdf
 
6846222.pdf
6846222.pdf6846222.pdf
6846222.pdf
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 

Mehr von Rakibul islam

Project management-final
Project management-finalProject management-final
Project management-finalRakibul islam
 
Walton company case study
Walton company case studyWalton company case study
Walton company case studyRakibul islam
 
case study of failure the Farmers Bank Bangladesh
case study of failure the Farmers Bank Bangladesh case study of failure the Farmers Bank Bangladesh
case study of failure the Farmers Bank Bangladesh Rakibul islam
 
Mixed research-methods (1)
Mixed research-methods (1)Mixed research-methods (1)
Mixed research-methods (1)Rakibul islam
 
Bsa 530 presesentation
Bsa 530 presesentationBsa 530 presesentation
Bsa 530 presesentationRakibul islam
 
presentation of bangladesh labour act 2006
presentation of bangladesh labour act 2006presentation of bangladesh labour act 2006
presentation of bangladesh labour act 2006Rakibul islam
 
Vat presentation part 2 and calculation of value added tax.
Vat presentation part 2 and calculation of value added tax.Vat presentation part 2 and calculation of value added tax.
Vat presentation part 2 and calculation of value added tax.Rakibul islam
 
Measurement of national income, GDP ,GNP, CPI calculation and discussion
Measurement of national income, GDP ,GNP, CPI calculation and discussionMeasurement of national income, GDP ,GNP, CPI calculation and discussion
Measurement of national income, GDP ,GNP, CPI calculation and discussionRakibul islam
 
Introduction to business, BUSINESS definition
Introduction to business, BUSINESS definitionIntroduction to business, BUSINESS definition
Introduction to business, BUSINESS definitionRakibul islam
 
Gift tax presentation
Gift tax presentationGift tax presentation
Gift tax presentationRakibul islam
 
Bangladesh labour act 209-246
Bangladesh labour act 209-246Bangladesh labour act 209-246
Bangladesh labour act 209-246Rakibul islam
 
Deloitte presentation
Deloitte presentationDeloitte presentation
Deloitte presentationRakibul islam
 

Mehr von Rakibul islam (20)

Project management-final
Project management-finalProject management-final
Project management-final
 
Walton company case study
Walton company case studyWalton company case study
Walton company case study
 
case study of failure the Farmers Bank Bangladesh
case study of failure the Farmers Bank Bangladesh case study of failure the Farmers Bank Bangladesh
case study of failure the Farmers Bank Bangladesh
 
Mixed research-methods (1)
Mixed research-methods (1)Mixed research-methods (1)
Mixed research-methods (1)
 
Measure & scaling
Measure & scaling Measure & scaling
Measure & scaling
 
Bsa 530 presesentation
Bsa 530 presesentationBsa 530 presesentation
Bsa 530 presesentation
 
presentation of bangladesh labour act 2006
presentation of bangladesh labour act 2006presentation of bangladesh labour act 2006
presentation of bangladesh labour act 2006
 
Vat presentation part 2 and calculation of value added tax.
Vat presentation part 2 and calculation of value added tax.Vat presentation part 2 and calculation of value added tax.
Vat presentation part 2 and calculation of value added tax.
 
Measurement of national income, GDP ,GNP, CPI calculation and discussion
Measurement of national income, GDP ,GNP, CPI calculation and discussionMeasurement of national income, GDP ,GNP, CPI calculation and discussion
Measurement of national income, GDP ,GNP, CPI calculation and discussion
 
Introduction to business, BUSINESS definition
Introduction to business, BUSINESS definitionIntroduction to business, BUSINESS definition
Introduction to business, BUSINESS definition
 
Gift tax presentation
Gift tax presentationGift tax presentation
Gift tax presentation
 
Labour law
Labour lawLabour law
Labour law
 
Excise duty
Excise dutyExcise duty
Excise duty
 
Value added tax
Value added taxValue added tax
Value added tax
 
Customs duty
Customs dutyCustoms duty
Customs duty
 
Bangladesh labour act 209-246
Bangladesh labour act 209-246Bangladesh labour act 209-246
Bangladesh labour act 209-246
 
PwC audit firm
PwC audit firmPwC audit firm
PwC audit firm
 
Tax presentation
Tax presentationTax presentation
Tax presentation
 
Deloitte presentation
Deloitte presentationDeloitte presentation
Deloitte presentation
 
Auditing history
Auditing historyAuditing history
Auditing history
 

Kürzlich hochgeladen

Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...kumargunjan9515
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdfMatthew Sinclair
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdfMatthew Sinclair
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.krishnachandrapal52
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理F
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfJOHNBEBONYAP1
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理F
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查ydyuyu
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirtrahman018755
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Roommeghakumariji156
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...gajnagarg
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsMonica Sydney
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样ayvbos
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdfMatthew Sinclair
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsMonica Sydney
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiMonica Sydney
 

Kürzlich hochgeladen (20)

Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
call girls in Anand Vihar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
 

computer fund-database presentation

  • 2. Database Objectives of this session •What is a Database? • Where and when we need to use Databases • Types of users in a Database • Database Design 08/15/17 2
  • 3. Objectives Cont.. • Database Management Systems, Database Operations and SQL • Database Security 08/15/17 3
  • 4. • Database is a collection of data organized to service many applications at the same time by storing and managing data so that they appear to be in one location. 08/15/17 4 What is Database
  • 5. Application of Databases •   Banking: For customer information, accounts, and loans, and banking transactions. •    Airlines: For reservations and schedule information. •    Universities: For student information, course registrations, and grades. • Credit card transactions: For purchases on credit cards and generation of monthly statements. •  Telecommunications: For keeping records of calls made, generating monthly bills, maintaining balances on prepaid calling cards, and storing information about the communication networks. 08/15/17 5
  • 6. • Finance: For storing information about holdings, sales, and purchases of financial instrument such as stocks and bonds. • Sales: For customers, product, and purchase information. •  Manufacturing: For management of supply chain and for tracking production of items in factories, inventories of items in warehouses/stores, and orders for items • Human resources: For information about employees, salaries, payroll taxes and benefits, and for generation of paychecks. 08/15/17 6
  • 7. Data Hierarchy The data hierarchy comprises: bits, bytes, fields, records, files, and database. Bit: Smallest unit of data represented by 1 or 0. Byte: A group   of 8 bits Field: Unit of data consisting of one or more characters. For example id, name, address. Record: A collection of related fields File: A collection of related records Database: A collection of related files 08/15/17 7
  • 8. Disadvantages of traditional file system • Data redundancy: Same information may be duplicated in several places. •  Inconsistency: The various copies of same data may no longer agree  • Difficulty in accessing data: Conventional file- processing environments do not allow needed data to be retrieved in a convenient and efficient manner. • Data isolation: Data are scattered in various files, and files may be in different formats. 08/15/17 8
  • 9. •    Integrity problems Data values stored in the database must satisfy certain types of consistency constraints. It is difficult to satisfy these constraints in traditional file system. • Atomicity problems It must happen in its entirety or not at all. It is difficult to ensure atomicity in a conventional file- processing system. 08/15/17 9
  • 10. •   Concurrent-access anomalies Concurrent accessed needed for performance • Uncontrolled concurrent accesses can lead to inconsistencies •Example: Two people reading a balance and updating it at the same time • Security problems • Hard to provide user access to some, but not all, data • 08/15/17 10
  • 11. File Organization File organization deals with the physical organization of the records of a file for the convenience of storage and retrieval of data records. Sequential file organization: A method of storing data records in which the records must be retrieved in the same physical sequence in which they are stored. Advantages: 1. Simple 2. Easy to organize 3. Requires inexpensive storage media Disadvantage: 1. Inefficient for application 2. Slow Random file organization: Allows users to access records in any sequence without regard to actual physical order on the storage media. 08/15/17 11
  • 12. Advantages: 1. Can be retrieved quickly 2. Need not be sorted 3. Support interactive online applications Disadvantages: 1. Requires expensive hardware 2. Not suitable for sequential processing Indexed Sequential file organization: A method to directly access records organized sequentially using an index of the key fields. Advantages: 1. Efficient for sequential processing 2. Also suitable for random access processing Disadvantages: 1. Requires expensive hardware 2. Requires more storages 08/15/17 12
  • 13. Database-Management System • A database-management system (DBMS) is a collection of interrelated data and a set of programs to access those data. Three Components • Data-Definition Language (DDL) • Data Manipulation Language (DML) • Data Dictionary 08/15/17 13
  • 14. DDL • We specify a database schema by a set of definitions expressed by a special language called a data-definition language (DDL). For instance, the following statement in the SQL language defines the account table: Create table account (account-number char(10), balance integer) Execution of the above DDL statement creates the account table.  In addition, it updates a special set of tables called data dictionary or data directory. A data dictionary contains metadata-that is, data about data. 08/15/17 14
  • 15. DMLDML 08/15/17 15 Data manipulation isData manipulation is •• The retrieval of information stored in the databaseThe retrieval of information stored in the database •• The insertion of new information into the databaseThe insertion of new information into the database •The deletion of information from the databaseThe deletion of information from the database •The modification of information stored in the databaseThe modification of information stored in the database A data-manipulation language (DML) is a language that enables users to access or manipulate data as organized by the appropriate data model. •Example: SQL (Structured Query Language) QBE (Query By Example)
  • 16. 08/15/17 16 Example of an SQL SELECT id, name FROM student WHERE id=10 Execution of the above SQL statement display the student information with id value equal to 10.
  • 17. Data Dictionary Data dictionary is an automated or manual tool for storing and organizing information about the data maintained in a database. 08/15/17 17
  • 18. View of Data • Data Abstraction: A major purpose of a database system is to provide users with an abstract view of the data. That is, the system hides certain details of how the data are stored and maintained. 08/15/17 18
  • 19. Levels of Abstraction • Physical level: describes how a record (e.g., customer) is stored. • Logical level: describes data stored in database, and the relationships among the data. type customer = record customer_id : string; customer_name : string; customer_street : string; customer_city : integer; end; 08/15/17 19
  • 20. Fig: Relationship among three levels • View level: application programs hide details of data types. Views can also hide information (such as an employee’s salary) for security purposes. 08/15/17 20 An architecture for a database system
  • 21. Database Models/ Types of Database Organization Principal database models are • Hierarchical Model / Database • Network Model / Database • Relational Model / Database • Entity-Relationship Model / Database • Object-Oriented Model / Database 08/15/17 21
  • 22. Hierarchical Data Model • Hierarchical data model is one type of logical database model that organizes data in a treelike structure. A record is subdivided into segments that are connected to each other in one-to-many parent-child relationships. 08/15/17 22 Employee Compensation Benefits Performance Job Assignments Salary History Insurance HealthPension
  • 23. Network Data Model • Network data model is logical database model that is useful for depicting many-to-many relationships. 08/15/17 23 Course 2Course 1 Course 3 Student 1 Student 2 Student 4Student 3 Student 5
  • 24. Relational Data Model • Relational data model is a type of logical database model that treats data as if they were stored in two-dimensional tables. It can relate data stored in one table to data in another table as long as the two tables share a common data elements. • A tuple is a row or record in a relational database. 08/15/17 24 IDID NameName 11 AAAA 22 BBBB IDID MarksMarks GradeGrade 11 7070 B+B+ 22 8080 A+A+ STUDENT RESULT
  • 25. Object Oriented Data Model • An object Oriented database is an approach to data management that stores both data and the procedures acting on the data as objects that can be automatically retrieved and shared. 08/15/17 25
  • 26. Security The data stored in the database need protection from unauthorized access and malicious destruction or alteration, in addition to the protection against accidental introduction of inconsistency that integrity constraints provide. 08/15/17 26