It Banking Dbms

Embed Size (px)

Citation preview

  • 7/30/2019 It Banking Dbms

    1/20

    Database Management

    System

  • 7/30/2019 It Banking Dbms

    2/20

    A database is a collection of logically related

    information. Database Management is the task of maintaining

    database so that information is readily available.

    The software required to perform the task of

    database management is called a database

    management systems (DBMS).

    DBMSs are designed to maintain large volumes of

    data.

  • 7/30/2019 It Banking Dbms

    3/20

    DBMS contains information about a particular enterprise

    Collection of interrelated data

    Set of programs to access the data

    An environment that is both convenient and efficient touse

    Database Applications:

    Banking: transactions

    Airlines: reservations, schedules

    Universities: registration, grades Sales: customers, products, purchases

    Online retailers: order tracking, customized

    recommendations

    Manufacturing: production, inventory, orders, supply

    chain Human resources: employee records, salaries, tax

    deductions

    Databases can be very large.

  • 7/30/2019 It Banking Dbms

    4/20

    Physical level: describes how a record (e.g., customer) is

    stored.

    Logical level: describes data stored in database, and the

    relationships among the data.

    typeinstructor= record

    ID : string;

    name : string;dept_name : string;

    salary: integer;

    end;

    View level: application programs hide details of data types.Views can also hide information (such as an employees

    salary) for security purposes.

  • 7/30/2019 It Banking Dbms

    5/20

    View of Data

    An architecture for a database system

  • 7/30/2019 It Banking Dbms

    6/20

    SQL

    SQL stands for Structured Query Language

    SQL lets you access and manipulate databases

    SQL Commands are divided into:

    DDL

    DML

    Query

  • 7/30/2019 It Banking Dbms

    7/20

    Create table stu(int Regno,char s_name,char

    sec,char address);

    Insert into stu values(1001,abc,A,bang);

    Select * from stu;

    Select s_name,address from stu;

    Select * from stu where s_name=abc;

    Update stu set address=chennai where

    slno=1001;

  • 7/30/2019 It Banking Dbms

    8/20

    DDL

    Data Definition Language (DDL) statements are used to

    define the database structure or schema. Some examples:

    CREATE - to create objects in the database

    ALTER - alters the structure of the database

    DROP - delete objects from the database

  • 7/30/2019 It Banking Dbms

    9/20

    DML

    Data Manipulation Language (DML) statements are used

    for managing data within schema objects. Some examples:

    SELECT - retrieve data from the database

    INSERT - insert data into a table

    UPDATE - updates existing data within a table

    Query

    Query is used to retrieve data using SELECT.

  • 7/30/2019 It Banking Dbms

    10/20

    P_Id LastName FirstName Address City

    1 Kumar Rajesh Yalahanka Bangalore

    2 T Hari Hebbal Chennai

    3 Pai Mohan J P Nagar Bangalore

    Database Tables

    A

    database most often contains one or more tables. Each table isidentified by a name (e.g. "Customers" or "Orders"). Tables contain

    records (rows) with data.

    Below is an example of a table called "Person":

    The table above contains five columns (P_Id, LastName,

    FirstName, Address, and City).

  • 7/30/2019 It Banking Dbms

    11/20

    Data must be secure and safe in database.

    Unauthorized access harmful for data should

    be avoided.

    Data Protection Act 1984 consists two levelsUsers must follow some rules and regulations and

    abide by them.

    Data locked by password

    SECURITY MEASURES

  • 7/30/2019 It Banking Dbms

    12/20

    Data Warehousing

    Data warehouse integrates data from multiple data sources.

    For example, Source A and Source B might have a different

    way of identifying a product.

    But in data warehouse there will be one way of identifying theproduct.

    This large collection of data supports in management decision

    making process.

    The data in the data warehouse is time variant and non-volatile.

  • 7/30/2019 It Banking Dbms

    13/20

    Data Warehousing

  • 7/30/2019 It Banking Dbms

    14/20

    Data Mining

    Data mining is a process of analyzing the data

    from different perspective and summarizing it

    into useful information.

    This is used for increasing the business profits.

  • 7/30/2019 It Banking Dbms

    15/20

    Data Models

    Data model is a way of storing and retrieving the data. There

    are three different data models.

    A data model is a collection of concepts that can be describe

    the structure of a database.

    The following are the three different data models:

    o Hierarchical

    o Network

    o Relational

  • 7/30/2019 It Banking Dbms

    16/20

    Hierarchical

    In this model, data is stored in the form of a tree. The data is

    represented by parent-child relation ship.

    For example, each batch is root and students of the batch will

    be subordinates.

    This model supports only one-to-many relationship between

    entities.

  • 7/30/2019 It Banking Dbms

    17/20

    Network

    Data is stored along with pointers, which specify the

    relationship between entities.

    This model is complex. It is difficult to understand both the

    way data is stored and the way data is manipulated.

    It is capable of supporting many-to-many relationship

    between entities, which hierarchical model doesnt.

  • 7/30/2019 It Banking Dbms

    18/20

    Relational

    This stores data in the form of a table. Table is a collection ofrows and columns.

    Relational Database Management System (RDBMS)

    A DBMS that is based on relational model is called as RDBMS.

    Relational model represents data in the form a table. A tableis a two dimensional array containing rows and columns.

    One of the reasons behind the success of relational model is

    its simplicity.

    It is easy to understand the data and easy to manipulate.

  • 7/30/2019 It Banking Dbms

    19/20

    In case of large database, not simply possible

    to go through entire file and extract required

    data.

    RDBMS Newest approach

    Files are arranged in some particular order

    according to the requirements

    Eg: - Customers File

    Name A/CNo

    Sex Age DOB Address

    Email Mobile

  • 7/30/2019 It Banking Dbms

    20/20

    THANK YOU