SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Downloaden Sie, um offline zu lesen
CHAPTER 1: DATABASE ENVIRONMENT

Chapter Objectives
       At the end of the chapter, you should be able to:

        define the basic terminologies;

        know the differences between a file processing approach and a database approach;

        list the components of database environment.


Essential Reading
       Modem Database Management (4th Edition), Fred R. McFadden & Jeffrey A. Hoffer (1994),
       Benjamin/Cummings. [Chapter 1, page 5 - 30]



Useful Websites to learn Database and Programming:

http://erwinglobio.wix.com/ittraining

http://ittrainingsolutions.webs.com/

http://erwinglobio.sulit.com.ph/

http://erwinglobio.multiply.com/




Prof. Erwin M. Globio, MSIT                                                            1-1
DB212                                              CHAPTER 1: DATABASE ENVIRONMENT


1.1     Basic Terminologies




                         DATA                                              INFORMATION
                                                   PROCESS




        Data are facts concerning things such as people, objects or events. For example, an invoice
        which consists of data, order-no, customer particulars etc. can be considered as data.
        Information is data that have been processed and presented in a form suitable for human
        interpretation, often with the purpose of revealing trends or patterns.
        To convert data into information, we need to process the data. The process involves
        acquisition, storage, manipulation, retrieval and distribution.
        A database is a shared collection of logically related data, designed to meet the information
        needs of multiple users in an organization.




                                                                DATABASE

                                        file
                                           FILES




                                                   record 1
                                                   record 2                DATA
                                                   record 3
                                                   ………



        There are two generic database system designs: centralized and distributed.
        With a centralized database, all data are located at a single site.

           Advantage
               Provide greater control over accessing and updating data
           Disadvantage
               Vulnerable to failure
               Examples: Personal Computer Database, Central Computer Database, Client/Server
                Databases




1-2                                                              Prof. Erwin M. Globio, MSIT
DB212                                            CHAPTER 1: DATABASE ENVIRONMENT


        A distributed database is a single logical database that is spread physically across computers
        in multiple locations.
        Homogeneous Database need to comprise of the following conditions:
         The compatible operating systems used at each location are the same or highly
            compatible.
           The data models used at each location are the same.
           The DBMS used at each location are the same or highly compatible.
           The data at the various locations have common definitions and formats.
        Heterogeneous Databases means different computers and operating systems, different data
        models, different DBMS may be possible.

1.2     File Processing Approach
        File processing approach is a traditional approach to information system design focuses on the
        data processing needs of individual departments in the organization.


        1.2.1 Disadvantages of File Processing Approach
           Uncontrolled Redundancy
               In file processing system, each application has its own files, an approach that
                inevitably leads to a high level of data redundancy (that is, duplication of data). There
                are several disadvantages to recording the same data item in multiple files:
               Valuable storage space is wasted
               The same data may have to be input several times to update all occurrences of a data
                item
               Inconsistencies (or various versions) often result
           Inconsistent Data
               When the same data are stored in multiple locations, inconsistencies are inevitable.
                Inconsistencies in stored data are one of the most common sources of errors in
                computer applications. They lead to inconsistent documents and reports and
                undermine the confidence of users in the integrity of the information systems.
           Inflexibility
               A file processing system resembles a mass-production facility. It produces numerous
                documents and reports routinely and efficiently, provided that these outputs were
                anticipated in the original design of the system. Such systems, however , are often
                quite inflexible and cannot easily respond to requests for a new or redesigned
                product. This often leads to considerable frustration on the part of the users, who
                cannot understand why the computer system cannot give them information in a new
                format when they know it exists in the applications files.




Prof. Erwin M. Globio, MSIT                                                                   1-3
DB212                                             CHAPTER 1: DATABASE ENVIRONMENT


           Limited Data
                Sharing with the traditional applications approach, each application has its own
                 private files, and users have little opportunity to share data outside of their own
                 applications. The consequences of such limited data sharing may be:
                The same data may have to be entered several times to update files with duplicate
                 data.
                In developing new applications, the designer often cannot (or does) exploit data
                 containing in existing files; instead new files are designed that duplicate much of the
                 existing data.
           Poor Enforcement of Standards
            Unfortunately, data standards (i.e. data names, formats and access restrictions) are
            difficult to make known and enforce in a traditional file processing environment, mainly
            because the responsibility for system design and operation has been decentralized. Two
            types of inconsistencies may result from poor enforcement of standards: Synonyms and
            homonyms. A synonym results when two different names are used for the same data item
            - For example, student number and matriculation number. A homonym is a single name
            that is used for two different data items - for example, in a bank the term balance might be
            used to designate a checking account balance in one department and a savings account
            balance in a different department.
           Excessive Program Maintenance
                In file processing systems, descriptions of files, records, and data items are embedded
                 within individual application programs. Therefore, any modification to a data (such
                 as change of data name, data format, or method of access) requires that the program
                 (or programs) also be modified.

1.3     Database Approach
        The database approach emphasizes the integration and sharing of data across the organization.

        1.3.1 Data-driven vs Process-driven Design
        In file processing system, a process-driven approach has traditionally been used to design
        information system.
        With the process-driven approach, organizational processes are first identified and analyzed.
        Processes and data flows between processes are described using tools such as DFD. Designers
        then work backward from the required to convert inputs into outputs. Design of data files are a
        by-product of process design.
        With database approach, information systems professional discovered that a data-driven
        approach is often preferable. In the data-driven approach, entities that the organization must
        manage are focuses on first. Attributes and relationships of those entities are identified. After
        creating suitable models of the data structures and related business rules, designers develop
        the applications required to manage the data.




1-4                                                                Prof. Erwin M. Globio, MSIT
DB212                                             CHAPTER 1: DATABASE ENVIRONMENT


        The best is to strike a balance between data-driven design and process-driven design.
         Requirement Analysis
                        Requirement Analysis                     Requirement Analysis




                          Process Design                            Database Design



                            Data Design                              Process Design




                          Implementation                             Implementation

                      Process-driven Design                        Data-driven Design



        1.3.2 Benefits of the Database Approach
           Minimal Data Redundancy
            With the database approach, data files are integrated into a single, logical structure. We
            are not suggesting all redundancy is controlled. It is designed into the system to improve
            performances (or provide some other benefits), and the system is (or should be) aware of
            redundancy.
           Consistency of Data
            By controlling data redundancy, we greatly reduce the opportunities for inconsistency.
            For example, if each address is stored only once, we cannot have disagreement on the
            stored values. When controlled redundancy is permitted in the database, the database
            system itself should enforce consistency by updating each occurrence of a data item when
            a change occurs.
           Integration of Data
            In a database, data are organized into a single, logical structure, with logical relationships
            defined between associated data entities. This makes it easy for users to relate one item of
            data to another.
           Sharing of Data
            Most database systems today permit multiple users to share a database concurrently,
            although certain restrictions are imposed such that each user would be able to view a
            subset of the conceptual database model.
           Ease of Application Development
            A major advantage of the database is that it greatly reduces the cost and time for
            developing new business applications as programmer is relieved from the burden of
            designing, building, and maintaining master files. In a database system, data are
            independent of the application programs that use them. Within limits, either data or the
            application programs that use the data can be changed without necessitating a change in
            the other factor.




Prof. Erwin M. Globio, MSIT                                                                    1-5
DB212                                            CHAPTER 1: DATABASE ENVIRONMENT



        1.3.3 Costs of the Database Approach
           New, Specialized Personnel
            Frequently, organizations that adopt the database approach or purchase a database
            management system (DBMS) need to hire train individuals to maintain the new database
            software, develop and enforce new programming standards, design databases to achieve
            the highest possible performance, and manage the staff of new people.
           Need for Explicit Backup
            Minimal data redundancy, with all its associated benefits, may also fail to provide backup
            copies of data. Such backup or independently produced copies are helpful in restoring
            damaged files and in providing validity checks on crucial data. To ensure that data are
            accurate and available whenever needed, either database management software or
            additional procedures have to provide these essential capabilities.
           Interference with Shared Data
            The concurrent access to shared data via several application programs can lead to some
            problems. First, when two concurrent users both want to change the same or related data,
            inaccurate results can occur if access to the data is not properly synchronized. Second,
            when data are used exclusively for updating, different users can obtain control of different
            segments of the database and lock up any use of the data (so called deadlock).
           Organizational Conflict
            A shared database requires a consensus on data definitions and ownership as well as
            responsibilities for accurate data maintenance. Experience has shown that conflicts on
            how to define data, data length and coding, rights to update shared data, and associated
            issues are frequent and difficult managerial issues to resolve.
        Components of the Database Environment

                    Data                          System                            End
                administrators                   developers                         users




                                                                                 Application
                                               User interface                     programs




                 REPOSITORY                        DBMS                             Database


           RepositoryCentralized knowledge base containing all data definitions, screen and report
            formats and definitions of other organizations and system components.




1-6                                                              Prof. Erwin M. Globio, MSIT
DB212                                              CHAPTER 1: DATABASE ENVIRONMENT




            Database management system (DBMS)
             Commercial software system used to create, maintain and provide controlled access to the
             database and repository.
            Database
              A shared collection of logically related data, designed to meet the information needs of
             multiple users in an organization.
            Application programs
              Computer programs that are used to create and maintain the database and provide
             information to users.
            User interface
             Languages, menu and other facilities by which users interact with various system
             components.
            Data administrators
             Persons who are responsible for the overall information resources of an organization.
            System developers
             Persons such as system analysts and programmer who design new application programs.
            End users
             Persons throughout the organization who add, delete and modify data in the database and
             who request or receive information from it.

1.5     Review Question
        1.        Discuss the characteristics of traditional file processing system. Why is the
                  system criticized?
        2.        How did the database approach eliminate problems of file processing system?
        3.        Describe the components of a database system, with the aid of a diagram.
        4.        Explain why data redundancy is so common in traditional application systems.
        5.        Where are data definitions maintained in each of the following environment?
             a.   Traditional file processing system
             b.   Database system




Prof. Erwin M. Globio, MSIT                                                                       1-7

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter04 automated tools for systems development
Chapter04 automated tools for systems developmentChapter04 automated tools for systems development
Chapter04 automated tools for systems developmentDhani Ahmad
 
DBMS Assignments Questions
DBMS Assignments QuestionsDBMS Assignments Questions
DBMS Assignments QuestionsSara Sahu
 
Service Analysis And Design
Service Analysis And DesignService Analysis And Design
Service Analysis And DesignRody Middelkoop
 
0104 abap dictionary
0104 abap dictionary0104 abap dictionary
0104 abap dictionaryvkyecc1
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAPsapdocs. info
 
Normalization
NormalizationNormalization
Normalizationochesing
 
Data base management system (dbms)
Data base management system (dbms)Data base management system (dbms)
Data base management system (dbms)Larry Jones
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram Nidhi Sharma
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemNishant Munjal
 
3 Tier Architecture
3 Tier Architecture3 Tier Architecture
3 Tier Architectureguestd0cc01
 
Distributed Database Management System
Distributed Database Management SystemDistributed Database Management System
Distributed Database Management SystemAAKANKSHA JAIN
 
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]Usman Tariq
 
SAP Overview and Architecture
SAP Overview and ArchitectureSAP Overview and Architecture
SAP Overview and Architecture Ankit Sharma
 

Was ist angesagt? (20)

Chapter04 automated tools for systems development
Chapter04 automated tools for systems developmentChapter04 automated tools for systems development
Chapter04 automated tools for systems development
 
Spool process
Spool processSpool process
Spool process
 
DBMS Assignments Questions
DBMS Assignments QuestionsDBMS Assignments Questions
DBMS Assignments Questions
 
Dbms Final Examination Answer Key
Dbms Final Examination Answer KeyDbms Final Examination Answer Key
Dbms Final Examination Answer Key
 
Database schema
Database schemaDatabase schema
Database schema
 
Service Analysis And Design
Service Analysis And DesignService Analysis And Design
Service Analysis And Design
 
0104 abap dictionary
0104 abap dictionary0104 abap dictionary
0104 abap dictionary
 
SAP Basis Overview
SAP Basis OverviewSAP Basis Overview
SAP Basis Overview
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAP
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
Distributed DBMS - Unit 3 - Distributed DBMS ArchitectureDistributed DBMS - Unit 3 - Distributed DBMS Architecture
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
 
Database structure
Database structureDatabase structure
Database structure
 
Normalization
NormalizationNormalization
Normalization
 
Data base management system (dbms)
Data base management system (dbms)Data base management system (dbms)
Data base management system (dbms)
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
3 Tier Architecture
3 Tier Architecture3 Tier Architecture
3 Tier Architecture
 
Distributed Database Management System
Distributed Database Management SystemDistributed Database Management System
Distributed Database Management System
 
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
 
SAP Overview and Architecture
SAP Overview and ArchitectureSAP Overview and Architecture
SAP Overview and Architecture
 

Andere mochten auch

Continuation prelims database system environment
Continuation prelims   database system environmentContinuation prelims   database system environment
Continuation prelims database system environmentJeph Pedrigal
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.yhen06
 
iOS Apps Development (SQLite Tutorial Part 1)
iOS Apps Development (SQLite Tutorial Part 1)iOS Apps Development (SQLite Tutorial Part 1)
iOS Apps Development (SQLite Tutorial Part 1)Prof. Erwin Globio
 
Introduction to Android Development Latest
Introduction to Android Development LatestIntroduction to Android Development Latest
Introduction to Android Development LatestProf. Erwin Globio
 
Solutions to Common Android Problems
Solutions to Common Android ProblemsSolutions to Common Android Problems
Solutions to Common Android ProblemsProf. Erwin Globio
 
Distributeddatabasesforchallengednet
DistributeddatabasesforchallengednetDistributeddatabasesforchallengednet
DistributeddatabasesforchallengednetVinoth Chandar
 
iOS Apps Development (SQLite Tutorial Part 2)
iOS Apps Development (SQLite Tutorial Part 2)iOS Apps Development (SQLite Tutorial Part 2)
iOS Apps Development (SQLite Tutorial Part 2)Prof. Erwin Globio
 
Users of Database Systems and Components of Database Environment
Users of Database Systems and Components of Database Environment Users of Database Systems and Components of Database Environment
Users of Database Systems and Components of Database Environment Farkhanda Kiran
 
Database Development Strategies
Database Development StrategiesDatabase Development Strategies
Database Development StrategiesProf. Erwin Globio
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment>. <
 
Database management system
Database management systemDatabase management system
Database management systemFaizan Shabbir
 
Data Types And Field Properties
Data  Types And  Field  PropertiesData  Types And  Field  Properties
Data Types And Field Propertieswmassie
 
Database , 1 Introduction
 Database , 1 Introduction Database , 1 Introduction
Database , 1 IntroductionAli Usman
 

Andere mochten auch (20)

DBMS
DBMSDBMS
DBMS
 
Continuation prelims database system environment
Continuation prelims   database system environmentContinuation prelims   database system environment
Continuation prelims database system environment
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.
 
iOS Apps Development (SQLite Tutorial Part 1)
iOS Apps Development (SQLite Tutorial Part 1)iOS Apps Development (SQLite Tutorial Part 1)
iOS Apps Development (SQLite Tutorial Part 1)
 
Introduction to Android Development Latest
Introduction to Android Development LatestIntroduction to Android Development Latest
Introduction to Android Development Latest
 
Android Fragments
Android FragmentsAndroid Fragments
Android Fragments
 
A tutorial on C++ Programming
A tutorial on C++ ProgrammingA tutorial on C++ Programming
A tutorial on C++ Programming
 
FND COMP Project Guidelines
FND COMP Project GuidelinesFND COMP Project Guidelines
FND COMP Project Guidelines
 
Structured Query Language
Structured Query LanguageStructured Query Language
Structured Query Language
 
PSITE Letter for Prof Globio
PSITE Letter for Prof GlobioPSITE Letter for Prof Globio
PSITE Letter for Prof Globio
 
Solutions to Common Android Problems
Solutions to Common Android ProblemsSolutions to Common Android Problems
Solutions to Common Android Problems
 
Distributeddatabasesforchallengednet
DistributeddatabasesforchallengednetDistributeddatabasesforchallengednet
Distributeddatabasesforchallengednet
 
iOS Apps Development (SQLite Tutorial Part 2)
iOS Apps Development (SQLite Tutorial Part 2)iOS Apps Development (SQLite Tutorial Part 2)
iOS Apps Development (SQLite Tutorial Part 2)
 
Users of Database Systems and Components of Database Environment
Users of Database Systems and Components of Database Environment Users of Database Systems and Components of Database Environment
Users of Database Systems and Components of Database Environment
 
Dbms9
Dbms9Dbms9
Dbms9
 
Database Development Strategies
Database Development StrategiesDatabase Development Strategies
Database Development Strategies
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment
 
Database management system
Database management systemDatabase management system
Database management system
 
Data Types And Field Properties
Data  Types And  Field  PropertiesData  Types And  Field  Properties
Data Types And Field Properties
 
Database , 1 Introduction
 Database , 1 Introduction Database , 1 Introduction
Database , 1 Introduction
 

Ähnlich wie Database Management System 1

Ähnlich wie Database Management System 1 (20)

oracle intro
oracle introoracle intro
oracle intro
 
Database management system
Database management systemDatabase management system
Database management system
 
database ppt(2)
database ppt(2)database ppt(2)
database ppt(2)
 
Database & dbms
Database & dbmsDatabase & dbms
Database & dbms
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and Implementation
 
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1
 
Database System Concepts
Database System ConceptsDatabase System Concepts
Database System Concepts
 
1. Chapter One.pdf
1. Chapter One.pdf1. Chapter One.pdf
1. Chapter One.pdf
 
Mis chapter 7 database systems
Mis chapter 7 database systemsMis chapter 7 database systems
Mis chapter 7 database systems
 
Db lecture 1
Db lecture 1Db lecture 1
Db lecture 1
 
Lecture2 is331 data&infomanag(databaseenv)
Lecture2 is331 data&infomanag(databaseenv)Lecture2 is331 data&infomanag(databaseenv)
Lecture2 is331 data&infomanag(databaseenv)
 
Chapter 1 Database Systems.pptx
Chapter 1 Database Systems.pptxChapter 1 Database Systems.pptx
Chapter 1 Database Systems.pptx
 
database chap 1 and 2.pptx
database chap 1 and 2.pptxdatabase chap 1 and 2.pptx
database chap 1 and 2.pptx
 
Fundamentals of DBMS
Fundamentals of DBMSFundamentals of DBMS
Fundamentals of DBMS
 
Database Systems
Database SystemsDatabase Systems
Database Systems
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
 
Data base management system
Data base management systemData base management system
Data base management system
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1
 
Database Systems
Database SystemsDatabase Systems
Database Systems
 

Mehr von Prof. Erwin Globio (20)

Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
 
BSCS | BSIT Thesis Guidelines
BSCS | BSIT Thesis GuidelinesBSCS | BSIT Thesis Guidelines
BSCS | BSIT Thesis Guidelines
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Networking Trends
Networking TrendsNetworking Trends
Networking Trends
 
Sq lite presentation
Sq lite presentationSq lite presentation
Sq lite presentation
 
Ethics for IT Professionals
Ethics for IT ProfessionalsEthics for IT Professionals
Ethics for IT Professionals
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
 
Introduction to iOS Apps Development
Introduction to iOS Apps DevelopmentIntroduction to iOS Apps Development
Introduction to iOS Apps Development
 
Cloud Computing Latest
Cloud Computing LatestCloud Computing Latest
Cloud Computing Latest
 
Overview of C Language
Overview of C LanguageOverview of C Language
Overview of C Language
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 
Android Development Tools and Installation
Android Development Tools and InstallationAndroid Development Tools and Installation
Android Development Tools and Installation
 
Java Collections Tutorials
Java Collections TutorialsJava Collections Tutorials
Java Collections Tutorials
 
Action Bar in Android
Action Bar in AndroidAction Bar in Android
Action Bar in Android
 
Resource Speaker
Resource SpeakerResource Speaker
Resource Speaker
 
Guidelines to Qualitative Researches
Guidelines to Qualitative ResearchesGuidelines to Qualitative Researches
Guidelines to Qualitative Researches
 
Lecture on E-Presentation
Lecture on E-PresentationLecture on E-Presentation
Lecture on E-Presentation
 
Thesis Writing
Thesis WritingThesis Writing
Thesis Writing
 
Project Proposal Guidelines
Project Proposal GuidelinesProject Proposal Guidelines
Project Proposal Guidelines
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 

Kürzlich hochgeladen

Comparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxComparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxAvaniJani1
 
DBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdfDBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdfChristalin Nelson
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...Nguyen Thanh Tu Collection
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptxmary850239
 
Shark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsShark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsArubSultan
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxryandux83rd
 
4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.pptx4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.pptxmary850239
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
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
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...Nguyen Thanh Tu Collection
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfChristalin Nelson
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...Osopher
 

Kürzlich hochgeladen (20)

Comparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxComparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptx
 
DBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdfDBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdf
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
 
Shark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsShark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristics
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptx
 
4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.pptx4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.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
 
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
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
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
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
 
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdf
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Chi-Square Test Non Parametric Test Categorical Variable
Chi-Square Test Non Parametric Test Categorical VariableChi-Square Test Non Parametric Test Categorical Variable
Chi-Square Test Non Parametric Test Categorical Variable
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...
Healthy Minds, Flourishing Lives: A Philosophical Approach to Mental Health a...
 

Database Management System 1

  • 1. CHAPTER 1: DATABASE ENVIRONMENT Chapter Objectives At the end of the chapter, you should be able to:  define the basic terminologies;  know the differences between a file processing approach and a database approach;  list the components of database environment. Essential Reading Modem Database Management (4th Edition), Fred R. McFadden & Jeffrey A. Hoffer (1994), Benjamin/Cummings. [Chapter 1, page 5 - 30] Useful Websites to learn Database and Programming: http://erwinglobio.wix.com/ittraining http://ittrainingsolutions.webs.com/ http://erwinglobio.sulit.com.ph/ http://erwinglobio.multiply.com/ Prof. Erwin M. Globio, MSIT 1-1
  • 2. DB212 CHAPTER 1: DATABASE ENVIRONMENT 1.1 Basic Terminologies DATA INFORMATION PROCESS Data are facts concerning things such as people, objects or events. For example, an invoice which consists of data, order-no, customer particulars etc. can be considered as data. Information is data that have been processed and presented in a form suitable for human interpretation, often with the purpose of revealing trends or patterns. To convert data into information, we need to process the data. The process involves acquisition, storage, manipulation, retrieval and distribution. A database is a shared collection of logically related data, designed to meet the information needs of multiple users in an organization. DATABASE file FILES record 1 record 2 DATA record 3 ……… There are two generic database system designs: centralized and distributed. With a centralized database, all data are located at a single site.  Advantage  Provide greater control over accessing and updating data  Disadvantage  Vulnerable to failure  Examples: Personal Computer Database, Central Computer Database, Client/Server Databases 1-2 Prof. Erwin M. Globio, MSIT
  • 3. DB212 CHAPTER 1: DATABASE ENVIRONMENT A distributed database is a single logical database that is spread physically across computers in multiple locations. Homogeneous Database need to comprise of the following conditions:  The compatible operating systems used at each location are the same or highly compatible.  The data models used at each location are the same.  The DBMS used at each location are the same or highly compatible.  The data at the various locations have common definitions and formats. Heterogeneous Databases means different computers and operating systems, different data models, different DBMS may be possible. 1.2 File Processing Approach File processing approach is a traditional approach to information system design focuses on the data processing needs of individual departments in the organization. 1.2.1 Disadvantages of File Processing Approach  Uncontrolled Redundancy  In file processing system, each application has its own files, an approach that inevitably leads to a high level of data redundancy (that is, duplication of data). There are several disadvantages to recording the same data item in multiple files:  Valuable storage space is wasted  The same data may have to be input several times to update all occurrences of a data item  Inconsistencies (or various versions) often result  Inconsistent Data  When the same data are stored in multiple locations, inconsistencies are inevitable. Inconsistencies in stored data are one of the most common sources of errors in computer applications. They lead to inconsistent documents and reports and undermine the confidence of users in the integrity of the information systems.  Inflexibility  A file processing system resembles a mass-production facility. It produces numerous documents and reports routinely and efficiently, provided that these outputs were anticipated in the original design of the system. Such systems, however , are often quite inflexible and cannot easily respond to requests for a new or redesigned product. This often leads to considerable frustration on the part of the users, who cannot understand why the computer system cannot give them information in a new format when they know it exists in the applications files. Prof. Erwin M. Globio, MSIT 1-3
  • 4. DB212 CHAPTER 1: DATABASE ENVIRONMENT  Limited Data  Sharing with the traditional applications approach, each application has its own private files, and users have little opportunity to share data outside of their own applications. The consequences of such limited data sharing may be:  The same data may have to be entered several times to update files with duplicate data.  In developing new applications, the designer often cannot (or does) exploit data containing in existing files; instead new files are designed that duplicate much of the existing data.  Poor Enforcement of Standards Unfortunately, data standards (i.e. data names, formats and access restrictions) are difficult to make known and enforce in a traditional file processing environment, mainly because the responsibility for system design and operation has been decentralized. Two types of inconsistencies may result from poor enforcement of standards: Synonyms and homonyms. A synonym results when two different names are used for the same data item - For example, student number and matriculation number. A homonym is a single name that is used for two different data items - for example, in a bank the term balance might be used to designate a checking account balance in one department and a savings account balance in a different department.  Excessive Program Maintenance  In file processing systems, descriptions of files, records, and data items are embedded within individual application programs. Therefore, any modification to a data (such as change of data name, data format, or method of access) requires that the program (or programs) also be modified. 1.3 Database Approach The database approach emphasizes the integration and sharing of data across the organization. 1.3.1 Data-driven vs Process-driven Design In file processing system, a process-driven approach has traditionally been used to design information system. With the process-driven approach, organizational processes are first identified and analyzed. Processes and data flows between processes are described using tools such as DFD. Designers then work backward from the required to convert inputs into outputs. Design of data files are a by-product of process design. With database approach, information systems professional discovered that a data-driven approach is often preferable. In the data-driven approach, entities that the organization must manage are focuses on first. Attributes and relationships of those entities are identified. After creating suitable models of the data structures and related business rules, designers develop the applications required to manage the data. 1-4 Prof. Erwin M. Globio, MSIT
  • 5. DB212 CHAPTER 1: DATABASE ENVIRONMENT The best is to strike a balance between data-driven design and process-driven design. Requirement Analysis Requirement Analysis Requirement Analysis Process Design Database Design Data Design Process Design Implementation Implementation Process-driven Design Data-driven Design 1.3.2 Benefits of the Database Approach  Minimal Data Redundancy With the database approach, data files are integrated into a single, logical structure. We are not suggesting all redundancy is controlled. It is designed into the system to improve performances (or provide some other benefits), and the system is (or should be) aware of redundancy.  Consistency of Data By controlling data redundancy, we greatly reduce the opportunities for inconsistency. For example, if each address is stored only once, we cannot have disagreement on the stored values. When controlled redundancy is permitted in the database, the database system itself should enforce consistency by updating each occurrence of a data item when a change occurs.  Integration of Data In a database, data are organized into a single, logical structure, with logical relationships defined between associated data entities. This makes it easy for users to relate one item of data to another.  Sharing of Data Most database systems today permit multiple users to share a database concurrently, although certain restrictions are imposed such that each user would be able to view a subset of the conceptual database model.  Ease of Application Development A major advantage of the database is that it greatly reduces the cost and time for developing new business applications as programmer is relieved from the burden of designing, building, and maintaining master files. In a database system, data are independent of the application programs that use them. Within limits, either data or the application programs that use the data can be changed without necessitating a change in the other factor. Prof. Erwin M. Globio, MSIT 1-5
  • 6. DB212 CHAPTER 1: DATABASE ENVIRONMENT 1.3.3 Costs of the Database Approach  New, Specialized Personnel Frequently, organizations that adopt the database approach or purchase a database management system (DBMS) need to hire train individuals to maintain the new database software, develop and enforce new programming standards, design databases to achieve the highest possible performance, and manage the staff of new people.  Need for Explicit Backup Minimal data redundancy, with all its associated benefits, may also fail to provide backup copies of data. Such backup or independently produced copies are helpful in restoring damaged files and in providing validity checks on crucial data. To ensure that data are accurate and available whenever needed, either database management software or additional procedures have to provide these essential capabilities.  Interference with Shared Data The concurrent access to shared data via several application programs can lead to some problems. First, when two concurrent users both want to change the same or related data, inaccurate results can occur if access to the data is not properly synchronized. Second, when data are used exclusively for updating, different users can obtain control of different segments of the database and lock up any use of the data (so called deadlock).  Organizational Conflict A shared database requires a consensus on data definitions and ownership as well as responsibilities for accurate data maintenance. Experience has shown that conflicts on how to define data, data length and coding, rights to update shared data, and associated issues are frequent and difficult managerial issues to resolve. Components of the Database Environment Data System End administrators developers users Application User interface programs REPOSITORY DBMS Database  RepositoryCentralized knowledge base containing all data definitions, screen and report formats and definitions of other organizations and system components. 1-6 Prof. Erwin M. Globio, MSIT
  • 7. DB212 CHAPTER 1: DATABASE ENVIRONMENT  Database management system (DBMS) Commercial software system used to create, maintain and provide controlled access to the database and repository.  Database A shared collection of logically related data, designed to meet the information needs of multiple users in an organization.  Application programs Computer programs that are used to create and maintain the database and provide information to users.  User interface Languages, menu and other facilities by which users interact with various system components.  Data administrators Persons who are responsible for the overall information resources of an organization.  System developers Persons such as system analysts and programmer who design new application programs.  End users Persons throughout the organization who add, delete and modify data in the database and who request or receive information from it. 1.5 Review Question 1. Discuss the characteristics of traditional file processing system. Why is the system criticized? 2. How did the database approach eliminate problems of file processing system? 3. Describe the components of a database system, with the aid of a diagram. 4. Explain why data redundancy is so common in traditional application systems. 5. Where are data definitions maintained in each of the following environment? a. Traditional file processing system b. Database system Prof. Erwin M. Globio, MSIT 1-7