SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler offline
DATABASE MANAGEMENT

      SYSTEM
Overview
n   Introduction to DBMS
n   Purpose
n   Problems with conventional systems
n   Advantages of database
n   Different Data Models
    n   Hierarchical
    n   Networks
    n   Relational
    n   Object Oriented
    n   Object Relational
Data
 n   Is any name,place,animal or thing
 n   Two types of data are stored within a
     database:
 n   User data: Data that must be stored by
     an organization.
 n   System data: Data the database needs to
     manage user data to manage itself. This
     is also termed metadata, or the data
     about data.
What Is A Database?
n “A set of information held in a
computer”
n “One or more large structured sets of

persistent data, usually associated with
software to update and query the data”
n “A collection of data arranged for ease

and speed of search and retrieval”
Database Systems
n   A database system consists of
    n   Data (the database)
    n   Software
    n   Hardware
    n   Users
Database Management
Systems
n   A database management system (DBMS)
    manages the data in a database.
n   A DBMS is a collection of programs that
    enables the users to create and maintain a
    database.
n   A DBMS also enables data to be shared;
    information system users and managers can
    get more information value from the same
    amount of data when data sharing occurs.
Database Management
    Systems
n   A database is a collection of information
n   A database management system
    (DBMS) is the software than controls
    that information
n    Examples:
    n   Oracle
    n   DB2 (IBM)
    n   MS SQL Server
    n   MS Access
    n   Ingres
    n   PostgreSQL
    n   MySQL
Purpose of Database Systems

Database management streamlines
application development.
n Reduces data redundancy

n Ensures data integrity
Problems with conventional
systems
n   No sharing
n   Data isolation
n   Diffused responsibilities
n   Poor coordination
n   Data redundancy
n   Weak integrity
DBMS While in Action
 naive    casual
 users    users     programmers    DBA

canned                             schema
                       appl.
program   query                   command
                     program



                   DBMS

          Operating System
Advantages of the Database
Approach
n   Control of data redundancy
n   Data consistency
n   Greater informational gain, more information
    from the same amount of data
n   Sharing data, organizational resource (i.e.,
    shared resource)
n   Improved data integrity, validity and
    consistency
n   Improved access and security
n   Enforcement of standards
Advantages of the Database
Approach
n   Economy of scale, centralization and
    consolidation
n   Balancing of conflicting requirements, DBA
    oversees data and data definitions
n   Improved data accessibility and
    responsiveness
n   Increased productivity
n   Improved maintenance through data
    independence
n   Increased currency
n   Improved backup and recovery services
The Foundation
n   of any database environment is a robust
    database design
n   the design uses data models to specify the
    design
n   data independence requirement stipulates
    typically three models
n   three `classical’ models have been very
    popular
n   two more are emerging as strong contenders
1. Hierarchical Model
Tree Structure Diagram     course   record type

                                           link

           module                           student



faculty    book     test   assign   perf      attend   fee



 session
Hierarchical Model
n   The hierarchical data model organizes data in
    a tree structure
n   Data in a series of records, which have a set
    of field values attached to it. It collects all the
    instances of a specific record together as a
    record type
n   To create links between these record types,
    the hierarchical model uses Parent Child
    Relationships
Hierarchical Database
                  pgdst95
                   pgdst95 record instances
                    pgdst95
                     pgdst95
          trees       pgdst95

         db
          db                        XX
           db
            db                        XXX
             db

ps
 ps korth test1 asgn1
       korth test1 asgn1 65 65    1-Y 3600
                                   1-Y 3600
  ps
   ps   korth test1 asgn1
         korth test1 asgn1   65
                              65    1-Y 3600
                                     1-YY 3600
    ps    korth test1 asgn1    65     1-
                                      1-Y  3600

s1
 s1
  s1
   s1
                                 Database
    s1
2. Network (CODASYL) Model
                                                record type
Data Structure Diagram
                                     course        set type
                                   c_m          c_s
                       module                         student
                                    m_f       s_f
      faculty
                m_b    m_t m_a            fee
     f_s                    test     assign
             book                              s_p           s_a
                      m_s    t_p      a_p
                                          perf
           session
                            ss_a
                                                    attend
Network Model
n   In 1971, the Conference on Data Systems
    Languages (CODASYL) formally defined the
    network model.
n   A set consists of an owner record type, a set
    name, and a member record type.
n   the network model permitted the modeling of
    many-to-many relationships in data
Network Database                         record instances
                                course
                               course
                               course
                              course
                              course            set instances
                             c_m              c_s
                                                     student
                                                   student
                  module
                  module
                  module                          student
                                                   student
                                                  student
                                                  student
faculty            module
faculty
 faculty
faculty
 faculty                      m_f           s_f
  faculty
                  m_t m_a                  fee
                                          fee
            m_b                     fee
                                   fee   fee
 f_s              test        assign
       book
       book      test
                test          assign s_p
                               assign                  s_a
       book m_s test
                   t_p
                                assign
                                   a_p
                                      perf
                                     perf
                                     perf
  session
  session
 session                            perf
                                    perf              Database
 session
 session
                      ss_a
                                              attend
                                               attend
3. Relational Model
table
  course         module           student

 attributes

faculty       book        test              assign




perf           attend       fee         session
Relational Model
n   A relational database allows the definition of
    data structures, storage and retrieval
    operations and integrity constraints.
n   In such a database the data and relations
    between them are organised in tables.
n   A table is a collection of records and each
    record in a table contains the same fields.
Relational Database
course
                          module          student
          tuples


faculty
                   book            test      assign




  perf             attend           fee    session
4. Object-Oriented Model



      object
    databases
                           attributes
                           methods
                messages
Object-Oriented Model
n   Object DBMSs extend the semantics of the
    C++, Smalltalk and Java object programming
    languages to provide full-featured database
    programming capability, while retaining
    native language compatibility.
n   A major benefit of this approach is the
    unification of the application and database
    development into a seamless data model and
    language environment.
5. Object Relational Model




         object-relational
            databases
Object Relational Model
n   Object/relational database management
    systems (ORDBMSs) add new object storage
    capabilities to the relational systems at the
    core of modern information systems.
n   These new facilities integrate management of
    traditional fielded data, complex objects such
    as time-series and geospatial data and
    diverse binary media such as audio, video,
    images, and applets.
Object Relational Model
       Faster data integrity enforcement
CREATE TABLE Employee
                                      New data types
    (Code             code_type,
    Name        CHAR(30),
    Emp_dept          dept_type,
                                      Faster join
    birth_ date       date,
    join_ date        date,
    skills      set_of      skill_type,
    method      promote(): function prom);

       Intuitive and natural model
Summary
n   Databases
n   Advantages of databases
n   Different Data Models
    n   Hierarchical
    n   Networks
    n   Relational
    n   Object Oriented
    n   Object Relational

Mais conteúdo relacionado

Mais procurados

Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraintsKumar
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level ArchitectureAdeel Rasheed
 
File system.
File system.File system.
File system.elyza12
 
Database System Concepts and Architecture
Database System Concepts and ArchitectureDatabase System Concepts and Architecture
Database System Concepts and Architecturesontumax
 
Normalization of Data Base
Normalization of Data BaseNormalization of Data Base
Normalization of Data BaseRavinder Kamboj
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and ComponentsRIAH ENCARNACION
 
Fragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed DatabaseFragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed DatabaseAbhilasha Lahigude
 
Database management system
Database management system   Database management system
Database management system 9535814851
 
Distributed database management systems
Distributed database management systemsDistributed database management systems
Distributed database management systemsUsman Tariq
 
Database management functions
Database management functionsDatabase management functions
Database management functionsyhen06
 
Relational algebra ppt
Relational algebra pptRelational algebra ppt
Relational algebra pptGirdharRatne
 

Mais procurados (20)

Database normalization
Database normalizationDatabase normalization
Database normalization
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Normalization in databases
Normalization in databasesNormalization in databases
Normalization in databases
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
 
ASP.NET- database connectivity
ASP.NET- database connectivityASP.NET- database connectivity
ASP.NET- database connectivity
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 
Document Database
Document DatabaseDocument Database
Document Database
 
File system.
File system.File system.
File system.
 
Database System Concepts and Architecture
Database System Concepts and ArchitectureDatabase System Concepts and Architecture
Database System Concepts and Architecture
 
Types of databases
Types of databases   Types of databases
Types of databases
 
Normalization of Data Base
Normalization of Data BaseNormalization of Data Base
Normalization of Data Base
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Chapter1
Chapter1Chapter1
Chapter1
 
Fragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed DatabaseFragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed Database
 
Database management system
Database management system   Database management system
Database management system
 
Distributed database management systems
Distributed database management systemsDistributed database management systems
Distributed database management systems
 
Database management functions
Database management functionsDatabase management functions
Database management functions
 
Relational algebra ppt
Relational algebra pptRelational algebra ppt
Relational algebra ppt
 
DbMs
DbMsDbMs
DbMs
 

Destaque

Database systems
Database systemsDatabase systems
Database systemsDhani Ahmad
 
Bsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systemsBsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systemsRai University
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseWanBK Leo
 
Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)julyprum
 
Chapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analystChapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analystDhani Ahmad
 
Chapter06 initiating and planning systems development projects
Chapter06 initiating and planning systems development projectsChapter06 initiating and planning systems development projects
Chapter06 initiating and planning systems development projectsDhani Ahmad
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1ahfiki
 
Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )Neeraj Bhandari
 
Chapter01 the systems development environment
Chapter01 the systems development environmentChapter01 the systems development environment
Chapter01 the systems development environmentDhani Ahmad
 
introduction to database
 introduction to database introduction to database
introduction to databaseAkif shexi
 
Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04Beni Krisbiantoro
 
Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02Beni Krisbiantoro
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and ImplementationChristian Reina
 
Database Design Process
Database Design ProcessDatabase Design Process
Database Design Processmussawir20
 
Database design process
Database design processDatabase design process
Database design processTayyab Hameed
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMSkoolkampus
 

Destaque (20)

Chapter01 1
Chapter01 1Chapter01 1
Chapter01 1
 
Database systems
Database systemsDatabase systems
Database systems
 
Bsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systemsBsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systems
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
 
Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)
 
Chapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analystChapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analyst
 
Chapter06 initiating and planning systems development projects
Chapter06 initiating and planning systems development projectsChapter06 initiating and planning systems development projects
Chapter06 initiating and planning systems development projects
 
Database an introduction
Database an introductionDatabase an introduction
Database an introduction
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )
 
Chapter01 the systems development environment
Chapter01 the systems development environmentChapter01 the systems development environment
Chapter01 the systems development environment
 
introduction to database
 introduction to database introduction to database
introduction to database
 
Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04
 
Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02
 
Database design
Database designDatabase design
Database design
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and Implementation
 
Database Design Process
Database Design ProcessDatabase Design Process
Database Design Process
 
Database design process
Database design processDatabase design process
Database design process
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
 
Database - Design & Implementation - 1
Database - Design & Implementation - 1Database - Design & Implementation - 1
Database - Design & Implementation - 1
 

Semelhante a Introduction to database

Data mining approaches and methods
Data mining approaches and methodsData mining approaches and methods
Data mining approaches and methodssonangrai
 
Few shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learningFew shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learningﺁﺻﻒ ﻋﻠﯽ ﻣﯿﺮ
 
activelearning.ppt
activelearning.pptactivelearning.ppt
activelearning.pptbutest
 
big data analytics.pptx
big data analytics.pptxbig data analytics.pptx
big data analytics.pptxSabthamiS1
 
Action Sequence Mining and Behavior Pattern Analysis for User Modeling
Action Sequence Mining and Behavior Pattern Analysis for User ModelingAction Sequence Mining and Behavior Pattern Analysis for User Modeling
Action Sequence Mining and Behavior Pattern Analysis for User ModelingPeter Brusilovsky
 
PPT SLIDES
PPT SLIDESPPT SLIDES
PPT SLIDESbutest
 
PPT SLIDES
PPT SLIDESPPT SLIDES
PPT SLIDESbutest
 
The science behind predictive analytics a text mining perspective
The science behind predictive analytics  a text mining perspectiveThe science behind predictive analytics  a text mining perspective
The science behind predictive analytics a text mining perspectiveankurpandeyinfo
 
Different Similarity Measures for Text Classification Using Knn
Different Similarity Measures for Text Classification Using KnnDifferent Similarity Measures for Text Classification Using Knn
Different Similarity Measures for Text Classification Using KnnIOSR Journals
 
Topic Models Based Personalized Spam Filter
Topic Models Based Personalized Spam FilterTopic Models Based Personalized Spam Filter
Topic Models Based Personalized Spam FilterSudarsun Santhiappan
 
모듈형 패키지를 활용한 나만의 기계학습 모형 만들기 - 회귀나무모형을 중심으로
모듈형 패키지를 활용한 나만의 기계학습 모형 만들기 - 회귀나무모형을 중심으로 모듈형 패키지를 활용한 나만의 기계학습 모형 만들기 - 회귀나무모형을 중심으로
모듈형 패키지를 활용한 나만의 기계학습 모형 만들기 - 회귀나무모형을 중심으로 r-kor
 
Latent Structured Ranking
Latent Structured RankingLatent Structured Ranking
Latent Structured RankingSunny Kr
 
Learning from similarity and information extraction from structured documents...
Learning from similarity and information extraction from structured documents...Learning from similarity and information extraction from structured documents...
Learning from similarity and information extraction from structured documents...Infrrd
 
IRE Semantic Annotation of Documents
IRE Semantic Annotation of Documents IRE Semantic Annotation of Documents
IRE Semantic Annotation of Documents Sharvil Katariya
 
Data Science Using Scikit-Learn
Data Science Using Scikit-LearnData Science Using Scikit-Learn
Data Science Using Scikit-LearnDucat India
 

Semelhante a Introduction to database (20)

Data mining approaches and methods
Data mining approaches and methodsData mining approaches and methods
Data mining approaches and methods
 
Cs501 intro
Cs501 introCs501 intro
Cs501 intro
 
Few shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learningFew shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learning
 
activelearning.ppt
activelearning.pptactivelearning.ppt
activelearning.ppt
 
big data analytics.pptx
big data analytics.pptxbig data analytics.pptx
big data analytics.pptx
 
Action Sequence Mining and Behavior Pattern Analysis for User Modeling
Action Sequence Mining and Behavior Pattern Analysis for User ModelingAction Sequence Mining and Behavior Pattern Analysis for User Modeling
Action Sequence Mining and Behavior Pattern Analysis for User Modeling
 
PPT SLIDES
PPT SLIDESPPT SLIDES
PPT SLIDES
 
PPT SLIDES
PPT SLIDESPPT SLIDES
PPT SLIDES
 
The science behind predictive analytics a text mining perspective
The science behind predictive analytics  a text mining perspectiveThe science behind predictive analytics  a text mining perspective
The science behind predictive analytics a text mining perspective
 
Different Similarity Measures for Text Classification Using Knn
Different Similarity Measures for Text Classification Using KnnDifferent Similarity Measures for Text Classification Using Knn
Different Similarity Measures for Text Classification Using Knn
 
mlss
mlssmlss
mlss
 
Topic Models Based Personalized Spam Filter
Topic Models Based Personalized Spam FilterTopic Models Based Personalized Spam Filter
Topic Models Based Personalized Spam Filter
 
presentation.ppt
presentation.pptpresentation.ppt
presentation.ppt
 
모듈형 패키지를 활용한 나만의 기계학습 모형 만들기 - 회귀나무모형을 중심으로
모듈형 패키지를 활용한 나만의 기계학습 모형 만들기 - 회귀나무모형을 중심으로 모듈형 패키지를 활용한 나만의 기계학습 모형 만들기 - 회귀나무모형을 중심으로
모듈형 패키지를 활용한 나만의 기계학습 모형 만들기 - 회귀나무모형을 중심으로
 
Sachin noire 2024
Sachin noire 2024Sachin noire 2024
Sachin noire 2024
 
Latent Structured Ranking
Latent Structured RankingLatent Structured Ranking
Latent Structured Ranking
 
Learning from similarity and information extraction from structured documents...
Learning from similarity and information extraction from structured documents...Learning from similarity and information extraction from structured documents...
Learning from similarity and information extraction from structured documents...
 
Dbms question (3)
Dbms question (3)Dbms question (3)
Dbms question (3)
 
IRE Semantic Annotation of Documents
IRE Semantic Annotation of Documents IRE Semantic Annotation of Documents
IRE Semantic Annotation of Documents
 
Data Science Using Scikit-Learn
Data Science Using Scikit-LearnData Science Using Scikit-Learn
Data Science Using Scikit-Learn
 

Mais de lubna19

Concurrency Conrol
Concurrency ConrolConcurrency Conrol
Concurrency Conrollubna19
 
Programming in Oracle with PL/SQL
Programming in Oracle with PL/SQLProgramming in Oracle with PL/SQL
Programming in Oracle with PL/SQLlubna19
 
Normalization and Codd's Rule
Normalization and Codd's Rule Normalization and Codd's Rule
Normalization and Codd's Rule lubna19
 
ER Modelling
ER ModellingER Modelling
ER Modellinglubna19
 
Security and Integrity
Security and IntegritySecurity and Integrity
Security and Integritylubna19
 

Mais de lubna19 (6)

Concurrency Conrol
Concurrency ConrolConcurrency Conrol
Concurrency Conrol
 
9
99
9
 
Programming in Oracle with PL/SQL
Programming in Oracle with PL/SQLProgramming in Oracle with PL/SQL
Programming in Oracle with PL/SQL
 
Normalization and Codd's Rule
Normalization and Codd's Rule Normalization and Codd's Rule
Normalization and Codd's Rule
 
ER Modelling
ER ModellingER Modelling
ER Modelling
 
Security and Integrity
Security and IntegritySecurity and Integrity
Security and Integrity
 

Último

BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 

Último (20)

BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 

Introduction to database

  • 2. Overview n Introduction to DBMS n Purpose n Problems with conventional systems n Advantages of database n Different Data Models n Hierarchical n Networks n Relational n Object Oriented n Object Relational
  • 3. Data n Is any name,place,animal or thing n Two types of data are stored within a database: n User data: Data that must be stored by an organization. n System data: Data the database needs to manage user data to manage itself. This is also termed metadata, or the data about data.
  • 4. What Is A Database? n “A set of information held in a computer” n “One or more large structured sets of persistent data, usually associated with software to update and query the data” n “A collection of data arranged for ease and speed of search and retrieval”
  • 5. Database Systems n A database system consists of n Data (the database) n Software n Hardware n Users
  • 6. Database Management Systems n A database management system (DBMS) manages the data in a database. n A DBMS is a collection of programs that enables the users to create and maintain a database. n A DBMS also enables data to be shared; information system users and managers can get more information value from the same amount of data when data sharing occurs.
  • 7. Database Management Systems n A database is a collection of information n A database management system (DBMS) is the software than controls that information n Examples: n Oracle n DB2 (IBM) n MS SQL Server n MS Access n Ingres n PostgreSQL n MySQL
  • 8. Purpose of Database Systems Database management streamlines application development. n Reduces data redundancy n Ensures data integrity
  • 9. Problems with conventional systems n No sharing n Data isolation n Diffused responsibilities n Poor coordination n Data redundancy n Weak integrity
  • 10. DBMS While in Action naive casual users users programmers DBA canned schema appl. program query command program DBMS Operating System
  • 11. Advantages of the Database Approach n Control of data redundancy n Data consistency n Greater informational gain, more information from the same amount of data n Sharing data, organizational resource (i.e., shared resource) n Improved data integrity, validity and consistency n Improved access and security n Enforcement of standards
  • 12. Advantages of the Database Approach n Economy of scale, centralization and consolidation n Balancing of conflicting requirements, DBA oversees data and data definitions n Improved data accessibility and responsiveness n Increased productivity n Improved maintenance through data independence n Increased currency n Improved backup and recovery services
  • 13. The Foundation n of any database environment is a robust database design n the design uses data models to specify the design n data independence requirement stipulates typically three models n three `classical’ models have been very popular n two more are emerging as strong contenders
  • 14. 1. Hierarchical Model Tree Structure Diagram course record type link module student faculty book test assign perf attend fee session
  • 15. Hierarchical Model n The hierarchical data model organizes data in a tree structure n Data in a series of records, which have a set of field values attached to it. It collects all the instances of a specific record together as a record type n To create links between these record types, the hierarchical model uses Parent Child Relationships
  • 16. Hierarchical Database pgdst95 pgdst95 record instances pgdst95 pgdst95 trees pgdst95 db db XX db db XXX db ps ps korth test1 asgn1 korth test1 asgn1 65 65 1-Y 3600 1-Y 3600 ps ps korth test1 asgn1 korth test1 asgn1 65 65 1-Y 3600 1-YY 3600 ps korth test1 asgn1 65 1- 1-Y 3600 s1 s1 s1 s1 Database s1
  • 17. 2. Network (CODASYL) Model record type Data Structure Diagram course set type c_m c_s module student m_f s_f faculty m_b m_t m_a fee f_s test assign book s_p s_a m_s t_p a_p perf session ss_a attend
  • 18. Network Model n In 1971, the Conference on Data Systems Languages (CODASYL) formally defined the network model. n A set consists of an owner record type, a set name, and a member record type. n the network model permitted the modeling of many-to-many relationships in data
  • 19. Network Database record instances course course course course course set instances c_m c_s student student module module module student student student student faculty module faculty faculty faculty faculty m_f s_f faculty m_t m_a fee fee m_b fee fee fee f_s test assign book book test test assign s_p assign s_a book m_s test t_p assign a_p perf perf perf session session session perf perf Database session session ss_a attend attend
  • 20. 3. Relational Model table course module student attributes faculty book test assign perf attend fee session
  • 21. Relational Model n A relational database allows the definition of data structures, storage and retrieval operations and integrity constraints. n In such a database the data and relations between them are organised in tables. n A table is a collection of records and each record in a table contains the same fields.
  • 22. Relational Database course module student tuples faculty book test assign perf attend fee session
  • 23. 4. Object-Oriented Model object databases attributes methods messages
  • 24. Object-Oriented Model n Object DBMSs extend the semantics of the C++, Smalltalk and Java object programming languages to provide full-featured database programming capability, while retaining native language compatibility. n A major benefit of this approach is the unification of the application and database development into a seamless data model and language environment.
  • 25. 5. Object Relational Model object-relational databases
  • 26. Object Relational Model n Object/relational database management systems (ORDBMSs) add new object storage capabilities to the relational systems at the core of modern information systems. n These new facilities integrate management of traditional fielded data, complex objects such as time-series and geospatial data and diverse binary media such as audio, video, images, and applets.
  • 27. Object Relational Model Faster data integrity enforcement CREATE TABLE Employee New data types (Code code_type, Name CHAR(30), Emp_dept dept_type, Faster join birth_ date date, join_ date date, skills set_of skill_type, method promote(): function prom); Intuitive and natural model
  • 28. Summary n Databases n Advantages of databases n Different Data Models n Hierarchical n Networks n Relational n Object Oriented n Object Relational