WFM-6103: Hydrologic Information System (HIS) Akm Saiful Islam Lecture-5: Database Management System April-October, 2006 Institute of Water and Flood Management.

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Chapter 10: Designing Databases
Introduction to Databases
Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
Lecture-7/ T. Nouf Almujally
WFM 6202: Remote Sensing and GIS in Water Management © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 6202: Remote Sensing and GIS in Water Management Akm.
Relational Databases Chapter 4.
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Slide 1 WFM 5201: Data Management and Statistical Analysis.
Chapter 3 Database Management
3-1 Chapter 3 Data and Knowledge Management
Introduction to Databases Transparencies
Chapter 1 INTRODUCTION TO DATABASE.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 7 Information System Data Management.
Chapter 1 Introduction to Databases
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Introduction to Databases
Introduction to Databases and Database Languages
IST Databases and DBMSs Todd S. Bacastow January 2005.
Introduction to Databases. Case Example: File based Processing Real Estate Agent’s office Property for sale or rent Potential Buyer/renter Staff/employees.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
Sistem Basis Data (DATABASE) Siauw Yohanes Darmawan
The McGraw-Hill Companies, Inc Information Technology & Management Thompson Cats-Baril Chapter 3 Content Management.
Chapter 1 Introduction to Databases Pearson Education ©
1 California State University, Fullerton Chapter 7 Information System Data Management.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Introduction to Database Systems
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Databases and Database Management Systems
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Announcements. Data Management Chapter 12 Traditional File Approach  Structure Field  Record  File  Fixed All records have common fields, and a field.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 1 Introduction to Databases © Pearson Education Limited 1995, 2005.
IS 325 Notes for Wednesday August 28, Data is the Core of the Enterprise.
Data resource management
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Database Management Systems (DBMS)
Flat Files Relational Databases
Databases Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005.
1 Geog 357: Data models and DBMS. Geographic Decision Making.
Introduction to Databases Dr. Osama AL Rababah. Objectives In this capture you will learn: Some common uses of database systems. The characteristics of.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Chapter 4 Relational Databases
Introduction to Databases
MANAGING DATA RESOURCES
Data base management system dbms
Introduction to Databases
Introduction to Databases
Introduction to Databases Transparencies
The ultimate in data organization
Introduction to Databases
Presentation transcript:

WFM-6103: Hydrologic Information System (HIS) Akm Saiful Islam Lecture-5: Database Management System April-October, 2006 Institute of Water and Flood Management (IWFM) BUET Institute of Water and Flood Management (IWFM) Bangladesh University of Engineering and Technology (BUET) WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

Outline Database Management System  Introduction to Databases  File System Vs. Databases  Advantages of using databases  Database Management System WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

Introduction to Databases Information Systems process and manage data. Data Management involves “Capturing”, “Retrieval,” and “Storage” of data. Database Management Systems (DBMSs) are Computer systems that manage data in databases. Today’s DBMSs are based on sophisticated software and powerful computer hardware. Well known DBMS software includes ORACLE, Microsoft SQL Server, Sybase and MySQL(free download) among others. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

Data Storage: Terminology A collection of data entities is typically known as a file. An individual data entity is typically known as a record. Different attributes of a record are typically known as fields. A key is a field or a set of fields that uniquely identifies a record. Fields Records Key Product Category + Product Type + Year File (table) WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

A Word on Keys A Key maybe: A field or set of fields that are used to identify the record. A Primary key is a minimal set of fields that uniquely identifies the record. A Foreign key is a field that is a primary key in another relation Primary Key Foreign Keys WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

File Organisation Sequential Files records are stored in a fixed sequence records can only be read in that sequence, starting from the first record records can only be added at the end of the file (append) sequential files are not efficient Indexed Files Use an index to access records in a random fashion. Records can be sorted according to an attribute or preference. (e.g Alphabetically, Ascending, Descending, etc.) Indexed files are efficient, and faster to access. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

The File Systems Approach Redundant Data Storage. One file is used in each application. No data sharing. Cross-application transfers are difficult to manage and achieve. File Systems are rarely used for data processing anymore. General Ledger File Personnel File Production Planning File Inventory File Despatch File Order Entry File Invoicing File Payroll File WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

The Database Approach Compactness. Data is stored in a single logical “place.” Data can be shared and related between applications Data transfer between applications is easier Used for a wide range of applications. General Ledger Personnel Production Planning Inventory Despatch Order Entry Invoicing Payroll WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

Database Characteristics Amount  Database size depends on the number of records or files it contains. Complexity  Database complexity depends on the number of relations between the files. Volatility  A measure of the changes typically required in a given period of time. Immediacy  A measure of how rapidly changes must be made to data. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

Advantages of using a Database Approach Flexible Data Access. DBMSs have various tools to manipulate, query, or report data, such as Structured Query Language (SQL), and Report Generators. Hence:  Selected data is easily retrieved  A DBMS can accommodate different data views for different users Improved Data Integrity. Modern DBMSs consist of various tools and methods to:  ensure that data is correct, consistent, and current  verify data input and check whether data is ‘reasonable’. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

Advantages of DBs (continued) Improved Data Security. Tools such as password access, and encryption, ensure that data is not:  deliberately or accidentally damaged or changed  accessed without proper authorisation Data Independence.  Problems arising from the interdependence of data and programs are kept to a minimum. Reduced Data Redundancy.  Single version of the truth.  Efficient data storage.  Efficient time management of Hardware (CPU), programmer(s), analyst(s) and user(s).  Relational DBs use Normalisation to reduce data redundancy. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

Advantages of DBs (continued) Ability to Share and Relate Data.  Different user groups can use the same data.  Data in different (physical or logical) parts of the system can be related for a certain application. Standardisation of Data.  In general data items have common names and storage format. Increased Productivity.  The various tools reduce the complexity that is otherwise associated with DB maintenance when changes are required to the system. For example Law changes, Economy Changes, User Changes. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

Costs of Database Approach The implementation and use of DBMSs is normally associated with various costs. Such as:  Initial expenses involve planning costs, and consultancy fees.  Computer hardware costs.  Software costs.  Database Administrator costs, and staff training costs.  Conversion costs of an existing system.  Various operational costs. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

DataBase Management System (DBMS) A DBMS is a set of computer “programs” that control:  Database creation  Database maintenance  Database access A DBMS typically includes:  a Data Definition Language or DDL  a Data Manipulation Language or DML  a Query Language. Quite often this is Structured Query Language (SQL), or a derivative  a Report Generator WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

The DBMS Manages the Interaction Between the End User and the Database Bangladesh University of Engineering and Technology © Dr. Akm Saiful IslamDr. Akm Saiful Islam

References Alex Berson, and Stephen J. Smith, Data Warehousing Data Mining, and OLAP, McGraw Hill, Chapters 1,13( inc.). ISBN C. J. Date, An Introduction to Database Systems, 3rd Ed. (or later), Addison-Wesley, Chapter 1. J. A. Senn, Analysis and Design of Information Systems, 2nd Ed. (or later), McGraw-Hill Chapter 12 (“Design of DB Interactions”). ISBN E. Turban J. Aronson, Decision Support Systems and Intelligent Systems, 5th Ed., Prentice-Hall, Chapter 4. ISBN WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam