DATABASE EVOLUTION & ENVIRONMENT Chandra S. Amaravadi.

Slides:



Advertisements
Similar presentations
Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
Advertisements

Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Managing Data Resources
Chapter 3 Database Management
Organizing Data & Information
DATABASE APPLICATION DEVELOPMENT SAK 3408 Introduction (week 1)
Data Management I DBMS Relational Systems. Overview u Introduction u DBMS –components –types u Relational Model –characteristics –implementation u Physical.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Introduction to Databases Transparencies
Database Management Systems ISYS 464 David Chao. Introduction to Databases The most important component in an information system Created to support all.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Database Management Systems Purpose of Database Systems View of Data.
Managing Data Resources. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits that represents a single.
Dr. Kalpakis CMSC 461, Database Management Systems Introduction.
Academic Year 2014 Spring.
Chapter 2 Database System Concepts and Architecture
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
Introduction to DBMS Purpose of Database Systems View of Data
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
ADVANCED DATABASES WITH ORACLE 11g FOR ADDB7311 LEARNING UNIT 1 of 7.
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
Module Title? DBMS Introduction to Database Management System.
 Definition  Components  Advantages  Limitations Contents  DBMS DBMS  Functions Functions  Architecture Architecture.
CSC271 Database Systems Lecture # 4.
CST203-2 Database Management Systems Lecture 2. One Tier Architecture Eg: In this scenario, a workgroup database is stored in a shared location on a single.
Database System Concepts and Architecture
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Architecture for a Database System
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
1 INTRO TO DATABASES PART II IS 340 BY CHANDRA S. AMARAVADI.
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
File Systems and Databases Lecture 1. Files and Databases File: A collection of records or documents dealing with one organization, person, area or subject.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
Data resource management
Database Environment Chapter 2. Data Independence Sometimes the way data are physically organized depends on the requirements of the application. Result:
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
1 Chapter 1 Introduction to Databases Transparencies.
Switch off your Mobiles Phones or Change Profile to Silent Mode.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Managing Data Resources. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits that represents a single.
Foundations of Business Intelligence: Databases and Information Management.
DBMS_Week 3-4 DBMS. Three-Schema Architecture – Internal schema (one view) describes physical storage structures access paths, indexes used Typically.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 340 Introduction to Database Systems.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
2) Database System Concepts and Architecture. Slide 2- 2 Outline Data Models and Their Categories Schemas, Instances, and States Three-Schema Architecture.
Databases Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Managing Data Resources File Organization and databases for business information systems.
Introduction to DBMS Purpose of Database Systems View of Data
Databases and DBMSs Todd S. Bacastow January 2005.
An Introduction to database system
Unit 1: INTRODUCTION Database system, Characteristics Database Users
Chapter 1: Introduction
MANAGING DATA RESOURCES
Introduction to DBMS Purpose of Database Systems View of Data
Lecture 1 File Systems and Databases.
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Presentation transcript:

DATABASE EVOLUTION & ENVIRONMENT Chandra S. Amaravadi

PREVIOUSLY, IN INTRODUCTION Database importance Basic data organization concepts Database concept Development cycle Example application In our introduction we discussed the following:

IN THIS DISCUSSION Evolution The database approach Database architecture DBMS architecture DBMS environment

DBMS EVOLUTION

Introduction of business computers in 1950’s, ‘60’s Used in TP applications (file processing) Led to problems of file processing (see next) Academic formulations of DBMS concepts Standardization of DBMS concepts (by CODASYL 1971) Hierarchical and network databases EVOLUTION OF DBMS DBMS evolved out of file processing environment:

FILE PROCESSING APPROACH File processing evolved from transaction environment of the 1950’s. It involves application managing its own files. Application1 File1 Application2 File2

EVOLUTION OF DBMS.. Following are the problems caused by file processing: Uncontrolled redundancy Program data dependence Program maintenance Poor data quality Inability to get reports Application backlog

EVOLUTION OF DBMS.. PROBLEMS CAUSED BY FILE PROCESSING Uncontrolled redundancy – Same data is duplicated in multiple files Program data dependence – Application programs dependent on structure of the data Program maintenance – Too much effort spent in changing programs to accommodate changes in file structures. Poor data quality – Redundancy can often lead to inconsistent updates of the data, leading in turn to problems of data quality. Inability to get reports – Since each file was tied to a particular program, it was hard to get reports involving multiple files Application backlog – Managers’ requests for report led application programmers to write new applications to fulfill the request. They were typically behind in fulfilling the requests, hence the backlog.

Applications File handling routines Files Applications DBMS Files Application + Data management Files FROM FILE PROCESSING TO DBMS..

EVOLUTION OF DBMS.. (FYI) Developments in DBMS include: Codd’s Paper In 1970 Ingres in 1971 Oracle in 1977 Britton Lee Founded in 1979 Sybase in 1986 Teradata corp. SAP System R

EVOLUTION OF DBMS.. (FYI)

THE DBMS/DB APPROACH

cust. emp. Enterprise Entity classes Data model Cust. Emp. Data base

THE DBMS/DB APPROACH Integrated conceptualization of the data (??) Organized design of database Centralized management of data Checks on data quality System controlled access Retrieve data easily (reports, queries) Application DBMS Files Application Application1 File1 Application2 File2

GETTING INFORMATION FROM A DATABASE

GETTING INFORMATION IN FILE PROCESSING CUSTOMER ACCTS.LOANS CROSS REFERENCE REPORT ACCT. DATALOAN DATA

GETTING INFORMATION IN DATABASE APPROACH Reports Queries [SQL, QBE] Forms Data from the database can be obtained through: “Views”

GETTING INFORMATION IN DATABASE APPROACH ACCT LOAN How can we get Acct & Loan info. in one report? ACCT #NAMEDT. OPENEDBALANCE 8895Moody4/16/11$35, Leak4/22/13$ Boring1/10/15$2000 LIDAMOUTINT. RATEBALANCE 9978$6,0006.0%$2, $5,0007.1%$5, $1,0008.5%$400

GETTING INFORMATION FROM MULTIPLE TABLES Rules for multi-table Select 1.In the Select part, precede each attribute name by name of table e.g. Select Acct.name, Loan.LID 2.In the From part, list tables separated by commas. 3.In the Where part, equate values of common key from both tables e.g...where Acct.Acct# = Loan.Acct# Write a query to list Name, balance, loan amt and balance for all customers. When data is retrieved from multiple tables, the following are the rules for writing queries:

DATABASE & DBMS ARCHITECTURE

THREE-SCHEMA ARCHITECTURE A prescription for how data should be stored (in a macro sense) Provides benefits of logical and physical independence Lacking in file processing approach *Standards Planning and Requirements Committee An architecture for databases introduced by ANSI/SPARC*

Conceptual/ Base table (schema) THE THREE FORMS OF DATA External (view) Internal/ Hardware level (file organization)

THE THREE FORMS OF DATA.. l External/ --- The view of data as seen by a user/ application program (views). l Conceptual/ --- The view as seen by a database designer (base table) l Internal --- The view of data as it is stored internally These three levels provide logical and physical data independence, the ability to change the structure of the data and the ability to change the internal storage structure, independently of the application program.

THREE-SCHEMA ARCHITECTURE.. BaseTableBaseTable BaseTable View1 View2 External Conceptual/ Logical Physical/ Internal Data is organized at three levels to provide logical/physical ______ ________________.

THREE-SCHEMA ARCHITECTURE.. Basic concept is that of a view A view is the way data is presented It is a subset of the data The data resides in base tables A base table contains information about an Eclass Applns. access data via views Views are created in SQL or by forms/reports

Create table Alter table Create index drop index DBMS Facilities ConceptualConceptual InternalInternal ExternalExternal Models Schemas File Organizations Views THE THREE TYPES OF MODELS Create view Drop view ___________, ___________ and ____ __________ are examples of models corresponding to the three levels of the three schema architecture.

D B M S Kernel MAJOR COMPONENTS OF DBMS Export/Import Data Defn. Data Defn. SQL Prog. Language Interface Prog. Language Interface Data Diction- ary Data Diction- ary Screen/ Report Gen. Screen/ Report Gen. Appln. Gen. Appln. Gen.

DBMS COMPONENTS.. Data definition – the facility through which schema is defined. (how new tables are created). SQL interface – the facility through which SQL commands are typed in. Programming language interface – the facility which processes SQL commands embedded in application program. Also known as the host language interface. Data dictionary – the facility that records details about the schema, reports, data entry forms etc. Screen & reports- the facility through which data entry screens and reports are created. Appln. Generation- the facility through which applications are created. Export/Import -- the facility through which files can be imported/exported in different DBMS formats. DBMS Kernel -- the actual programs which interact with the O/S and carry out data I/O. ODBC -- Open Database Connectivity – middleware to take SQL commands & return data.

THE DIFFERENT CLASSES OF USERS IN A DBMS UsersDevelopers Administrators DBMS

Data Administration DBMSClientDBMSClient LegacyApplicationsLegacyApplicationsEnterpriseApplicationsEnterpriseApplications DBMS/SQL Server AN INTEGRATED DATABASE ENVIRONMENT Developers End Users Dir.Server Database

Directory server- a component that stores user names & PW (aka active directory or LDAP). DBMS client- a front end to provide access to DBMS functionality. Enterprise applications- various information systems of the organization. Legacy applications – older, mainframe-based applications. DBMS Server - a DBMS that can run queries (does not have user interface, only program interface). Database- collection of information COMPONENTS OF AN INTEGRATED DATABASE ENVIRONMENT

DIFFERENT TYPES OF ENTERPRISE DATABASE ENVIRONMENTS Single tier, single user, direct DBMS access SERVER CLIENT Two tier, multi-user, client server SERVER CLIENT Middleware three tier, multi-user, client server with middleware SINGLE USER

Data Warehouse OLAP Decisions Data Mining Internal Database Internal Database External Database DATA WAREHOUSES, OLAP & DATA MINING Data warehousing refers to the use of high speed/high capacity servers to store historical data and to make this available to decision makers. OLAP is the process of analyzing historical data on a PC using mult-dimensional databases (i.e. non-relational databases) using aggregate data operations. Data mining refers to identification of patterns from data. Business Intelligence

What organization standardized DBMS concepts? Who was the chief architect of relational systems? What data-related functions were performed in the file processing approach? What are some of the basic features of a DBMS? What is the smallest unit of data in a database? Define the terms: schema, view, database, three-schema architecture. How is redundancy minimized in the database approach? What are advantages of the 3-schema architecture? What is the difference between 2-tier & 3-tier environments? DISCUSSION