You are on page 1of 22

Presented By:

Deepali Bhardwaj

Data Management

8/24/2013

IIT 13 - Databases

Data Management
Principle of diminishing data value: value of data

diminishes as the data ages. Principle of 90/90 data use: as high as 90 percent of data is seldom accessed after 90 days. Principle of data in context: end users need to see data in a meaningful format and context.

8/24/2013

IIT 13 - Databases

Traditional File Processing

Flat Files / ISAM Files

Data Redundancy &


Inconsistency Program-Data Dependence Lack of Flexibility Security Lack of Data Sharing

8/24/2013

IIT 13 - Databases

File Organization Concepts


Describes an Entity: Person, Place, thing or event for which information is stored

Attribute: Characteristic or quality describing an Entity


8/24/2013 IIT 13 - Databases 5

Data Management
Data Management:
Structured approach for capturing, storing, processing, integrating, distributing and archiving data effectively throughout their life cycle

Life cycle:
The way data travels through an organization from their capture or creation to their use and final disposal

8/24/2013

IIT 13 - Databases

Database Management Approach


An approach to Storing, processing , integrating, distributing and archiving of data in which independent files are consolidated into a common pool, called a database, of records available to different application programs and end users for processing and data retrieval.

Database is a collection of related data organized in a structured manner

8/24/2013

IIT 13 - Databases

Database Management Systems


Allows to centralize data and manage efficiently Access to stored data through programs Interface between physical data files and application

programs Separates logical and physical views of data

8/24/2013

IIT 13 - Databases

Physical Databases And Logical Views

8/24/2013

IIT 13 - Databases

DBMS Advantage
Reduces redundancy and inconsistency Uncouples data and programs

Access and availability of information increased


Can perform ad-hoc queries Development and maintenance costs reduced

8/24/2013

IIT 13 - Databases

10

Database Models: Relational DBMS (RDBMS)


Data in one table (file) can be related to data in another. Each table contains data on an entity and its attributes Flexible, dynamic relationship building Example: Oracle, IBMs DB2
Table 2 Table 1

8/24/2013

IIT 13 - Databases

11

Relational DBMS

Key Field(Primary Field)

Foreign Key

SELECT PART.Part_Number, PART.Part_Name, SUPPLIER.Supplier_Number, SUPPLIER.Supplier_Names FROM PART, SUPPLIER WHERE PART.Supplier_Number = SUPPLIER.Supplier_Number AND Part_Number = 137 OR Part_Number = 150;
12

8/24/2013

IIT 13 - Databases

RDBMS Example
Order
Ord No Ord Dt
Supp No

Order Line Dtls


Ord No Part No Part Qty

Part Part No Part Name Part Price Supp No

Person Resp Deptt

Supplier
Supp No Supp Name Supp Street Supp City Supp State Supp Zip
8/24/2013 IIT 13 - Databases 13

RDBMS Example

8/24/2013

IIT 13 - Databases

14

Object-oriented Databases
Database of objects (data values + procedures).
Enables handling of multimedia components(graphics, pictures, voice, text, etc.).

8/24/2013

IIT 13 - Databases

15

Databases In The Cloud


Cloud based database management services
Pricing based on usage, volume of data stored, number of input-output requests, amount of data read or written etc Amazon Web Services , Amazon Simple Storage Service(S3)

8/24/2013

IIT 13 - Databases

16

Database Access By Applications

On one machine could run against a database Application Client Database Server

On another machine

8/24/2013

IIT 13 - Databases

17

Capabilities Of DBMS
Data definition language (schema): Specify the structure Create database tables Define field characteristics in each table Data dictionary (stored data definitions)

Data manipulation language: Tools to access, manipulate information e.g. SQL(Structured Query Language) Add, delete, retrieve and update the data from the database

8/24/2013

IIT 13 - Databases

18

Designing Databases
Database Design: How the data elements in a database

will be grouped Designing process


Identifies Relationships between data elements

Groups data elements, refines and streamlines


Entity relationship diagrams Normalization: Rationalize (Normalize) data

Create small, stable, flexible and adaptive data structures

8/24/2013

IIT 13 - Databases

19

Normalization
Creates small, stable, flexible data structures from complex groups of data
Simplifies the way data is defined to ensure data consistency and reduce redundancy

8/24/2013

IIT 13 - Databases

20

Entity Relationship Diagram

One-To-One

Class 1

Class 2

Class One-To-Many
Student 1
8/24/2013

Student 1

Student 2

Student 3

Student 2

Student 3

Many-To-Many

IIT 13 - Databases

21

You might also like