SlideShare une entreprise Scribd logo
1  sur  39
Database SystemsDatabase Systems
Delivered By: Mr. karthibanDelivered By: Mr. karthiban
MSc in PM, BSc (Hons) in Computing , MBCS, BTEC HND in CSD
Data vs. InformationData vs. Information
• Data
• Raw facts; building blocks of information
• Unprocessed information.
• Information:
• Data processed to reveal meaning
Accurate, relevant, and timely information is key to good decision making.
Good decision making is the key to survival in a global environment.
Database (DB)Database (DB)
• A database is a collection of information that is organized so that it can be easily
accessed, managed and updated.
• Data is organized into rows, columns and tables, and it is indexed to make it easier to find
relevant information.
• Data gets updated, expanded and deleted as new information is added.
• Databases process workloads to create and update themselves, querying the data they
contain and running applications against it.
Database Management SystemDatabase Management System
• A Database Management System (DBMS) is a computer software application that
interacts with the user, other applications, and the database itself to capture and analyze
data. A general-purpose DBMS is designed to allow the definition, creation, querying,
update, and administration of databases
Advantage of DBMSAdvantage of DBMS
 Improved data sharing.
 Improved data security.
 Better data integration.
 Minimized data inconsistency.
 Improved data access.
 Improved decision making.
 Increased end-user productivity.
Disadvantage of DBMSDisadvantage of DBMS
• Increased costs
• Management complexity
• Maintaining currency
• Frequent upgrade/replacement cycles
Types of DatabasesTypes of Databases
Single-UserSingle-User
Supports only one user at a time
Single-user database running on a personal computer
WorkgroupWorkgroup
Supports multiple users at the same time
Workgroup: Multi-user database that supports a small group of users or a single department
Enterprise: Multi-user database that supports a large group of users or an entire organization
CentralizedCentralized
Supports data located at a single site
DistributedDistributed
Supports data distributed across several sites
Transactional (or production)Transactional (or production)
Supports a company’s day-to-day operations
Data warehouseData warehouse
• Stores data used to generate information required to make tactical or strategic decisions
• Often used to store historical data
• Structure is quite different
Introduction to MySQLIntroduction to MySQL
MySQLMySQL
• MySQL is a very popular, open source database.
• Officially pronounced “my Ess Que Ell” (not my sequel).
• Handles very large databases; very fast performance.
• Why are we using MySQL?
• Free (much cheaper than Oracle!)
• Each student can install MySQL locally.
• Easy to use Shell for creating tables, querying tables, etc.
MySQL IntroductionMySQL Introduction
• MySQL is a database management system
• SQL stands for the Structured Query Language. It defines how to
insert, retrieve, modify and delete data
• Free from www.mysql.com
• Reference sites
• NASA, Yahoo!, Compaq, Motorola, Facebook
DATABASE MODELDATABASE MODEL
A database model is a type of data model that determines the logical
structure of a database and fundamentally determines in which manner
data can be stored, organized, and manipulated.
The Evolution of DatabaseThe Evolution of Database
From pre-stage flat-file system, to relational and object-relational
systems, database technology has gone through several generations and
its history that is spread over more than 40 years now.
Flat FilesFlat Files
• 1968 File-Based: predecessor of database, Data was maintained in a flat file.
• Earlier, punched cards technology was used to store data – later, files. But the
files have no as such advantage, rather have several limitations.
DATABASE MODELSDATABASE MODELS
DATABASE MODELSDATABASE MODELS
Database management systems are usually categorized according to the data model.
Common models include:
1.Hierarchical model
2.Network model
3.Relational model
4.Entity-Relationship model
5.Object model
6.Object-relational model
Hierarchical ModelHierarchical Model
In mid 1960s, Rockwell partnered with IBM - create Information
Management System (IMS). IMS lead the mainframe database market in
70’s and early 80’s. Hierarchical data model.
Hierarchical data modelHierarchical data model
• In a Hierarchical model, data is organized into a tree-like structure, implying a single
parent for each record. A sort field keeps sibling records in a particular order.
• Hierarchical structures were widely used in the early mainframe database management
systems, such as the Information Management System (IMS) by IBM, and now describe the
structure of XML documents.
• This structure allows one one-to-many relationship between two types of data. This
structure is very efficient to describe many relationships in the real world; recipes, table of
contents, ordering of paragraphs/verses, any nested and sorted information.
Hierarchical Data ModelHierarchical Data Model
AdvantagesAdvantages
•Less redundant data.
•Data independence.
•Database security and integrity
LimitationsLimitations
•Complex implementation
•Difficult to manage and lack of standards, can’t easily handle many-many relationships.
•Lacks structural independence.
Network ModelNetwork Model
Early 1960s, Charles Bachmann developed first DBMS at Honeywell, Integrated Data
Store (IDS).
Network data model identified the following three database components:
•Network schema—database organization[structure]
•Sub-schema—view s of database per user
•Data management language — at low level , procedural
•Later 1971 standardized by the CODASYL (Conference on Data Systems Language)
Network ModelNetwork Model
The Network model expands upon the hierarchical structure, allowing many-to-many relationships in
a tree-like structure that allows multiple parents. It was most popular before being replaced by the
relational model, and is defined by the CODASYL specification.
The network model organizes data using two fundamental concepts, called records and sets. Records
contain fields (which may be organized hierarchically, as in the programming language COBOL).
Sets (not to be confused with mathematical sets) define one-to-many relationships between records:
one owner, many members. A record may be an owner in any number of sets, and a member in any
number of sets.
Network ModelNetwork Model
AdvantagesAdvantages
•Ability to handle more relationship types
•Ease of data access
•Data Integrity
•Data Independence
LimitationsLimitations
•System complexity and difficult to design and maintain
•Lack of structural independence as data access method is navigational.
Relational ModelRelational Model
1970s, E.F. Codd, an IBM researcher
•Disconnected the schema (logical organization) of a database
from the physical storage methods.
•First successful database product for microcomputers was
dBASE
•The term Relational Database Management System
(RDBMS) was introduced during this period
Relational ModelRelational Model
A database based on the relational model developed by E.F. Codd. A relational database allows the
definition of data structures, storage and retrieval operations and integrity constraints. In such a
database the data and relations between them are organized in tables. A table is a collection of
records and each record in a table contains the same fields.
Properties of Relational Tables:
Values Are Atomic
Each Row is Unique
Column Values Are of the Same Kind
The Sequence of Columns is Insignificant
The Sequence of Rows is Insignificant
Each Column Has a Unique Name
Relational ModelRelational Model
Entity-Relationship (ER) modelEntity-Relationship (ER) model
In 1976, Dr. Peter Chen
•The entity-relationship model (or ER model) is a way of
graphically representing the logical relationships of
entities (or objects) in order to create a database.
Entity-Relationship (ER) modelEntity-Relationship (ER) model
Object-Oriented ModelObject-Oriented Model
1985 - Object-Oriented model
Object oriented databases are also called Object Database Management Systems (ODBMS).
Object databases store objects rather than data such as integers, strings or real numbers.
Objects are used in object oriented languages such as Smalltalk, C++, Java, and others.
Objects basically consist of the following:
Attributes - Attributes are data which defines the characteristics of an object. This data may
be simple such as integers, strings, and real numbers or it may be a reference to a complex
object.
Methods - Methods define the behavior of an object and are what was formally called
procedures or functions.
Object-oriented Relational modelObject-oriented Relational model
1990s - Object-oriented Relational model
Object-oriented models are very powerful but also quite complex. With the relatively
new object-relational database model is the wide spread and simple relational database
model extended by some basic object-oriented concepts. These allow us to work with
the widely know relational database model but also have some advantages of the
object-oriented model without its complexity.
The database system can be divided intoThe database system can be divided into
four components.four components.
Users : Users may be of various type such as DB
administrator, System developer and End users.
Database application : Database application may be
Personal, Departmental, Enterprise and Internal.
DBMS : Software that allow users to define, create and
manages database access, Ex: MySQL, Oracle etc.
Database : Collection of logical data.
Database systems introduction
Database systems introduction

Contenu connexe

Tendances

2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
Kumar
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
Naresh Kumar
 

Tendances (20)

Relational model
Relational modelRelational model
Relational model
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Complete dbms notes
Complete dbms notesComplete dbms notes
Complete dbms notes
 
MySQL and its basic commands
MySQL and its basic commandsMySQL and its basic commands
MySQL and its basic commands
 
Data models
Data modelsData models
Data models
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Data Models
Data ModelsData Models
Data Models
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
 
Database concepts
Database conceptsDatabase concepts
Database concepts
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
 
Database systems
Database systemsDatabase systems
Database systems
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
DATA WAREHOUSING AND DATA MINING
DATA WAREHOUSING AND DATA MININGDATA WAREHOUSING AND DATA MINING
DATA WAREHOUSING AND DATA MINING
 
Data dictionary
Data dictionaryData dictionary
Data dictionary
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
Database and types of database
Database and types of databaseDatabase and types of database
Database and types of database
 

Similaire à Database systems introduction

data base system to new data science lerne
data base system to new data science lernedata base system to new data science lerne
data base system to new data science lerne
tarunprajapati0t
 
Relational
RelationalRelational
Relational
dieover
 

Similaire à Database systems introduction (20)

data base system to new data science lerne
data base system to new data science lernedata base system to new data science lerne
data base system to new data science lerne
 
DBMS introduction
DBMS introductionDBMS introduction
DBMS introduction
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health Informatics
 
SQL (Scratch to Advance).pptx
SQL (Scratch to Advance).pptxSQL (Scratch to Advance).pptx
SQL (Scratch to Advance).pptx
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptx
 
RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.
 
DBMS Notes.pdf
DBMS Notes.pdfDBMS Notes.pdf
DBMS Notes.pdf
 
Types of data bases
Types of data basesTypes of data bases
Types of data bases
 
Database Systems Lec 1.pptx
Database Systems Lec 1.pptxDatabase Systems Lec 1.pptx
Database Systems Lec 1.pptx
 
UNIT 5- Other Databases.pdf
UNIT 5- Other Databases.pdfUNIT 5- Other Databases.pdf
UNIT 5- Other Databases.pdf
 
Computer applications.pptx
Computer applications.pptxComputer applications.pptx
Computer applications.pptx
 
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQLA STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
 
A Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQLA Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQL
 
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQLA STUDY ON GRAPH STORAGE DATABASE OF NOSQL
A STUDY ON GRAPH STORAGE DATABASE OF NOSQL
 
A Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQLA Study on Graph Storage Database of NOSQL
A Study on Graph Storage Database of NOSQL
 
Mis assignment (database)
Mis assignment (database)Mis assignment (database)
Mis assignment (database)
 
ICT L5+.pptx
ICT L5+.pptxICT L5+.pptx
ICT L5+.pptx
 
Relational
RelationalRelational
Relational
 
MySQL.pptx
MySQL.pptxMySQL.pptx
MySQL.pptx
 

Plus de Balasingham Karthiban (14)

Word Processing
Word ProcessingWord Processing
Word Processing
 
Data Representation Methods in the Computer system
Data Representation Methods in the Computer system Data Representation Methods in the Computer system
Data Representation Methods in the Computer system
 
Logic Gates with Boolean Functions
Logic Gates with Boolean FunctionsLogic Gates with Boolean Functions
Logic Gates with Boolean Functions
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Fundamentals of a computer system
Fundamentals of a computer systemFundamentals of a computer system
Fundamentals of a computer system
 
Information and communication technology
Information and communication technologyInformation and communication technology
Information and communication technology
 
A Brief Computer History
A Brief Computer HistoryA Brief Computer History
A Brief Computer History
 
Problem solving
Problem solvingProblem solving
Problem solving
 
Entrepreneurship
EntrepreneurshipEntrepreneurship
Entrepreneurship
 
Codds rules & keys
Codds rules & keysCodds rules & keys
Codds rules & keys
 
Time management
Time managementTime management
Time management
 
Skills
SkillsSkills
Skills
 
7.agila model
7.agila model7.agila model
7.agila model
 
Effective presentation
Effective presentationEffective presentation
Effective presentation
 

Dernier

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 

Database systems introduction

  • 1. Database SystemsDatabase Systems Delivered By: Mr. karthibanDelivered By: Mr. karthiban MSc in PM, BSc (Hons) in Computing , MBCS, BTEC HND in CSD
  • 2. Data vs. InformationData vs. Information • Data • Raw facts; building blocks of information • Unprocessed information. • Information: • Data processed to reveal meaning Accurate, relevant, and timely information is key to good decision making. Good decision making is the key to survival in a global environment.
  • 3. Database (DB)Database (DB) • A database is a collection of information that is organized so that it can be easily accessed, managed and updated. • Data is organized into rows, columns and tables, and it is indexed to make it easier to find relevant information. • Data gets updated, expanded and deleted as new information is added. • Databases process workloads to create and update themselves, querying the data they contain and running applications against it.
  • 4. Database Management SystemDatabase Management System • A Database Management System (DBMS) is a computer software application that interacts with the user, other applications, and the database itself to capture and analyze data. A general-purpose DBMS is designed to allow the definition, creation, querying, update, and administration of databases
  • 5. Advantage of DBMSAdvantage of DBMS  Improved data sharing.  Improved data security.  Better data integration.  Minimized data inconsistency.  Improved data access.  Improved decision making.  Increased end-user productivity.
  • 6. Disadvantage of DBMSDisadvantage of DBMS • Increased costs • Management complexity • Maintaining currency • Frequent upgrade/replacement cycles
  • 7. Types of DatabasesTypes of Databases
  • 8. Single-UserSingle-User Supports only one user at a time Single-user database running on a personal computer
  • 9. WorkgroupWorkgroup Supports multiple users at the same time Workgroup: Multi-user database that supports a small group of users or a single department Enterprise: Multi-user database that supports a large group of users or an entire organization
  • 12. Transactional (or production)Transactional (or production) Supports a company’s day-to-day operations
  • 13. Data warehouseData warehouse • Stores data used to generate information required to make tactical or strategic decisions • Often used to store historical data • Structure is quite different
  • 15. MySQLMySQL • MySQL is a very popular, open source database. • Officially pronounced “my Ess Que Ell” (not my sequel). • Handles very large databases; very fast performance. • Why are we using MySQL? • Free (much cheaper than Oracle!) • Each student can install MySQL locally. • Easy to use Shell for creating tables, querying tables, etc.
  • 16. MySQL IntroductionMySQL Introduction • MySQL is a database management system • SQL stands for the Structured Query Language. It defines how to insert, retrieve, modify and delete data • Free from www.mysql.com • Reference sites • NASA, Yahoo!, Compaq, Motorola, Facebook
  • 17. DATABASE MODELDATABASE MODEL A database model is a type of data model that determines the logical structure of a database and fundamentally determines in which manner data can be stored, organized, and manipulated.
  • 18. The Evolution of DatabaseThe Evolution of Database From pre-stage flat-file system, to relational and object-relational systems, database technology has gone through several generations and its history that is spread over more than 40 years now.
  • 19. Flat FilesFlat Files • 1968 File-Based: predecessor of database, Data was maintained in a flat file. • Earlier, punched cards technology was used to store data – later, files. But the files have no as such advantage, rather have several limitations.
  • 21. DATABASE MODELSDATABASE MODELS Database management systems are usually categorized according to the data model. Common models include: 1.Hierarchical model 2.Network model 3.Relational model 4.Entity-Relationship model 5.Object model 6.Object-relational model
  • 22. Hierarchical ModelHierarchical Model In mid 1960s, Rockwell partnered with IBM - create Information Management System (IMS). IMS lead the mainframe database market in 70’s and early 80’s. Hierarchical data model.
  • 23. Hierarchical data modelHierarchical data model • In a Hierarchical model, data is organized into a tree-like structure, implying a single parent for each record. A sort field keeps sibling records in a particular order. • Hierarchical structures were widely used in the early mainframe database management systems, such as the Information Management System (IMS) by IBM, and now describe the structure of XML documents. • This structure allows one one-to-many relationship between two types of data. This structure is very efficient to describe many relationships in the real world; recipes, table of contents, ordering of paragraphs/verses, any nested and sorted information.
  • 25. AdvantagesAdvantages •Less redundant data. •Data independence. •Database security and integrity LimitationsLimitations •Complex implementation •Difficult to manage and lack of standards, can’t easily handle many-many relationships. •Lacks structural independence.
  • 26. Network ModelNetwork Model Early 1960s, Charles Bachmann developed first DBMS at Honeywell, Integrated Data Store (IDS). Network data model identified the following three database components: •Network schema—database organization[structure] •Sub-schema—view s of database per user •Data management language — at low level , procedural •Later 1971 standardized by the CODASYL (Conference on Data Systems Language)
  • 27. Network ModelNetwork Model The Network model expands upon the hierarchical structure, allowing many-to-many relationships in a tree-like structure that allows multiple parents. It was most popular before being replaced by the relational model, and is defined by the CODASYL specification. The network model organizes data using two fundamental concepts, called records and sets. Records contain fields (which may be organized hierarchically, as in the programming language COBOL). Sets (not to be confused with mathematical sets) define one-to-many relationships between records: one owner, many members. A record may be an owner in any number of sets, and a member in any number of sets.
  • 29. AdvantagesAdvantages •Ability to handle more relationship types •Ease of data access •Data Integrity •Data Independence LimitationsLimitations •System complexity and difficult to design and maintain •Lack of structural independence as data access method is navigational.
  • 30. Relational ModelRelational Model 1970s, E.F. Codd, an IBM researcher •Disconnected the schema (logical organization) of a database from the physical storage methods. •First successful database product for microcomputers was dBASE •The term Relational Database Management System (RDBMS) was introduced during this period
  • 31. Relational ModelRelational Model A database based on the relational model developed by E.F. Codd. A relational database allows the definition of data structures, storage and retrieval operations and integrity constraints. In such a database the data and relations between them are organized in tables. A table is a collection of records and each record in a table contains the same fields. Properties of Relational Tables: Values Are Atomic Each Row is Unique Column Values Are of the Same Kind The Sequence of Columns is Insignificant The Sequence of Rows is Insignificant Each Column Has a Unique Name
  • 33. Entity-Relationship (ER) modelEntity-Relationship (ER) model In 1976, Dr. Peter Chen •The entity-relationship model (or ER model) is a way of graphically representing the logical relationships of entities (or objects) in order to create a database.
  • 35. Object-Oriented ModelObject-Oriented Model 1985 - Object-Oriented model Object oriented databases are also called Object Database Management Systems (ODBMS). Object databases store objects rather than data such as integers, strings or real numbers. Objects are used in object oriented languages such as Smalltalk, C++, Java, and others. Objects basically consist of the following: Attributes - Attributes are data which defines the characteristics of an object. This data may be simple such as integers, strings, and real numbers or it may be a reference to a complex object. Methods - Methods define the behavior of an object and are what was formally called procedures or functions.
  • 36. Object-oriented Relational modelObject-oriented Relational model 1990s - Object-oriented Relational model Object-oriented models are very powerful but also quite complex. With the relatively new object-relational database model is the wide spread and simple relational database model extended by some basic object-oriented concepts. These allow us to work with the widely know relational database model but also have some advantages of the object-oriented model without its complexity.
  • 37. The database system can be divided intoThe database system can be divided into four components.four components. Users : Users may be of various type such as DB administrator, System developer and End users. Database application : Database application may be Personal, Departmental, Enterprise and Internal. DBMS : Software that allow users to define, create and manages database access, Ex: MySQL, Oracle etc. Database : Collection of logical data.