1_dbms_introduction.ppt

Upload: sasirekha-perumalvijayan

Post on 14-Apr-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 1_DBMS_Introduction.ppt

    1/34

  • 7/27/2019 1_DBMS_Introduction.ppt

    2/34

    DATABASE

    MANAGEMENT SYSTEM

  • 7/27/2019 1_DBMS_Introduction.ppt

    3/34

    DATABASE

    MANAGEMENT SYSTEM

    A database

    system is

    basically a

    computer

    based record

    keeping

    system

    A DBMS is a

    collection of

    interrelated

    data and a set

    of programs to

    access those

    data

    The primary

    goal of a DBMS

    is to provide a

    way to store

    and retrieve

    database

    information

  • 7/27/2019 1_DBMS_Introduction.ppt

    4/34

    Basic Terms

    Data

    Information

    Database

    Database System

  • 7/27/2019 1_DBMS_Introduction.ppt

    5/34

    Basic Terms

    Data

    Information

    Database

    Database System

    Anything can be a data.

    (raw facts & figures)

  • 7/27/2019 1_DBMS_Introduction.ppt

    6/34

    Basic Terms

    Data

    Information

    Database

    Database System

    Processed data.

    (meaningful data)

  • 7/27/2019 1_DBMS_Introduction.ppt

    7/34

  • 7/27/2019 1_DBMS_Introduction.ppt

    8/34

    Basic Terms

    Data

    Information

    Database

    Database System

    A computer based recordkeeping system, whose overall

    purpose is to record and

    maintain information. It

    manages the database of an

    enterprise.

  • 7/27/2019 1_DBMS_Introduction.ppt

    9/34

    What is the need of a Database

    Management System ?

  • 7/27/2019 1_DBMS_Introduction.ppt

    10/34

    File based systems are an early attempt to computerise the

    manual filing system.This works well when the number of

    items to be stored is small or the process is only needed to

    store and retrieve information.

    The File Based System

  • 7/27/2019 1_DBMS_Introduction.ppt

    11/34

    Students

    Courses

    Students

    Fee

    Collection

    Faculty

    Subject DepartmentApplication by C program

    Application by COBOL program

    University

  • 7/27/2019 1_DBMS_Introduction.ppt

    12/34

    Database System vs. File Based System

  • 7/27/2019 1_DBMS_Introduction.ppt

    13/34

    Limitations of File Based System

    Separation and Isolation of Data

    Duplication of Data Inconsistent Data

    Data Dependence

    Incompatible File Formats Fixed Queries

  • 7/27/2019 1_DBMS_Introduction.ppt

    14/34

    Limitations of File Based System

    Separation and Isolation of Data

    Duplication of Data Inconsistent Data

    Data Dependence

    Incompatible File Formats Fixed Queries

    When the data is stored in

    separate files it becomes

    difficult to access.

  • 7/27/2019 1_DBMS_Introduction.ppt

    15/34

    Limitations of File Based System

    Separation and Isolation of Data

    Duplication of Data Inconsistent Data

    Data Dependence

    Incompatible File Formats Fixed Queries

    Decentralised approach leads

    to uncontrolled duplication ofdata, which leads wastage of

    storage space, time and

    money.

  • 7/27/2019 1_DBMS_Introduction.ppt

    16/34

    Limitations of File Based System

    Separation and Isolation of Data

    Duplication of Data Inconsistent Data

    Data Dependence

    Incompatible File Formats Fixed Queries

    Changes made by different

    people for the same informationdifferently or Entering a wrong

    data.

  • 7/27/2019 1_DBMS_Introduction.ppt

    17/34

    Limitations of File Based System

    Separation and Isolation of Data

    Duplication of Data Inconsistent Data

    Data Dependence

    Incompatible File Formats Fixed Queries

    The physical structure and

    storage of data files andrecords are defined in the

    application code.

    Program Data Dependence

  • 7/27/2019 1_DBMS_Introduction.ppt

    18/34

    Limitations of File Based System

    Separation and Isolation of Data

    Duplication of Data Inconsistent Data

    Data Dependence

    Incompatible File Formats Fixed Queries

    The structure of the fileembedded in application

    program totally dependent on

    the programming language.

    This incompatibility makes

    them difficult to process jointly.

  • 7/27/2019 1_DBMS_Introduction.ppt

    19/34

  • 7/27/2019 1_DBMS_Introduction.ppt

    20/34

    Database System

    Data

    Hardware

    Software

    Users

    A database system involves four major components

    Provides the enterprise with centralized

    control of its data.

  • 7/27/2019 1_DBMS_Introduction.ppt

    21/34

    Database System

    Data

    Hardware

    Software

    Users

    A database system involves four major components

    Provides the enterprise with centralized

    control of its data.

    A database contains not only the data

    but also the complete definition of the

    database structure and constraints.

  • 7/27/2019 1_DBMS_Introduction.ppt

    22/34

    Advantages of Database Approach

    Redundancy can be reduced

    Inconsistency can be avoided

    The data can be shared

    Standard can be enforced

  • 7/27/2019 1_DBMS_Introduction.ppt

    23/34

    Advantages of Database Approach

    Redundancy can be reduced

    Inconsistency can be avoided

    The data can be shared

    Standard can be enforced

    In a file processing system, each user group maintains

    its own files, resulting in a considerable amount of

    redundancy of the stored data. In database approach

    data can be stored at a single place or with controlledredundancy under DBMS.

  • 7/27/2019 1_DBMS_Introduction.ppt

    24/34

    Advantages of Database Approach

    Redundancy can be reduced

    Inconsistency can be avoided

    The data can be shared

    Standard can be enforced

    A database is said to be inconsistent, when there will

    be occasions on which the redundant entries will not

    agree. A database that is in an inconsistent state is

    capable of supplying incorrect or conflict information.

  • 7/27/2019 1_DBMS_Introduction.ppt

    25/34

    Advantages of Database Approach

    Redundancy can be reduced

    Inconsistency can be avoided

    The data can be shared

    Standard can be enforced

    A DBMS allows the sharing of database under its

    control by any number of applications programs or

    users. The data requirements of new applications may

    be satisfied without having to create any new storedfiles.

  • 7/27/2019 1_DBMS_Introduction.ppt

    26/34

    Advantages of Database Approach

    Redundancy can be reduced

    Inconsistency can be avoided

    The data can be shared

    Standard can be enforced

    With central control of the database, the DBA can

    ensure that all applicable standards are followed in the

    representation of the data.

    Standards => company, installation, departmental,

    industry, national and international standards.

  • 7/27/2019 1_DBMS_Introduction.ppt

    27/34

    Advantages of Database Approach

    Data Independence

    Security restrictions can be applied

    Integrity can be maintained

    Multiple user interfaces

    Continue

  • 7/27/2019 1_DBMS_Introduction.ppt

    28/34

    Advantages of Database Approach

    Data Independence

    Security restrictions can be applied

    Integrity can be maintained

    Multiple user interfaces

    Continue

    Data Dependence => the knowledge of the data

    organization and access technique is built into the

    application logic. It is impossible to change the storage

    structure or access strategy without affecting theapplication.

  • 7/27/2019 1_DBMS_Introduction.ppt

    29/34

    Advantages of Database Approach Data Independence

    Security restrictions can be

    applied

    Integrity can be maintained

    Multiple user interfaces

    Continue

    DBA can define authorization checks to be carriedout whenever access to sensitive data is attempted

    Different checks can be established for each type of

    access to each piece of information in the database.

  • 7/27/2019 1_DBMS_Introduction.ppt

    30/34

    Advantages of Database Approach Data Independence

    Security restrictions can be

    applied

    Integrity can be maintained

    Multiple user interfaces

    ContinueData integrity refers to the correctness and completeness of data in a

    database=> by providing

    Checks

    Constraints(to data items within a record or relationships between records)

  • 7/27/2019 1_DBMS_Introduction.ppt

    31/34

    Advantages of Database Approach Data Independence

    Security restrictions can be

    applied

    Integrity can be maintained

    Multiple user interfaces

    Continue

    A DBMS provides a variety of interfaces Query language

    Programming language interfaces

    Forms and codes

    Menu driven interfaces

  • 7/27/2019 1_DBMS_Introduction.ppt

    32/34

    Advantages of Database Approach Improved Backup and Recovery

    Support for Concurrent Transactions

    Conflicting requirements can be

    balanced

    Continue

    A backup and recovery subsystem is responsible for

    recovering data from hardware and software failures.

  • 7/27/2019 1_DBMS_Introduction.ppt

    33/34

    Advantages of Database Approach Improved Backup and Recovery

    Support for Concurrent Transactions

    Conflicting requirements can be

    balanced

    Continue

    A DBMS allows multiple transactions to occur

    simultaneously.

  • 7/27/2019 1_DBMS_Introduction.ppt

    34/34

    Advantages of Database Approach

    Improved Backup and Recovery

    Support for Concurrent Transactions

    Conflicting requirements can be balanced

    Continue

    By knowing the overall requirements of the enterprise

    the DBA can structure the database system to provide

    an overall service that is best for the enterprise.