Introduction to Database Concepts

Slides:



Advertisements
Similar presentations
Data Modeling and Database Design Chapter 1: Database Systems: Architecture and Components.
Advertisements

Introduction to Databases
Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
1 1 File Systems and Databases. 1 1 Introducing the Database 4Major Database Concepts u Data and information l Data - Raw facts l Information - Processed.
Chapter 1: The Database Environment
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Chapter 1 File Systems and Databases
1 Basic DB Terms Data: Meaningful facts, text, graphics, images, sound, video segments –A collection of individual responses from a marketing research.
File Systems and Databases
1 IS380 Class Agenda 01/11/05 Sock H. Chung 1.Syllabus 2.Chapter 1 3.Introduction 4. Request.
1 Introduction The Database Environment. 2 Web Links Google General Database Search Database News Access Forums Google Database Books O’Reilly Books Oracle.
Ch1: File Systems and Databases Hachim Haddouti
Introduction to Databases Transparencies
File Systems and Databases Hachim Haddouti
© 2007 by Prentice Hall 1 Chapter 1: The Database Environment Modern Database Management 8 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Chapter 1: The Database Environment
Database Management COP4540, SCS, FIU An Introduction to database system.
LECTURE 2 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE.
Database Design and Introduction to SQL
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Database Systems: Design, Implementation, and Management Ninth Edition
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
2 1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
Database Design - Lecture 1
Database Systems: Design, Implementation, and Management THIRD EDITION
Web-Enabled Decision Support Systems
1 CSBP430 – Database Systems Chapter 1: Databases and Database Users Mamoun Awad College of Information Technology United Arab Emirates University
2 1 Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Design - Lecture 2
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Architecture for a Database System
© 2007 by Prentice Hall 1 Introduction to databases.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 1: The Database Environment Modern Database Management 9 th Edition Jeffrey A. Hoffer,
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
1 Chapter 1 Introduction to Databases Transparencies Last Updated: Pebruari 2010 By M. Arief Updated by RSO Feb 2011
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 1 Chapter 1: The Database Environment Modern Database Management 8 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden © 2007 by Prentice.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
THE DATABASE ENVIRONMENT Definitions: Data, Information, Database, MetadataData, Information File Processing Systems The Database Approach Components of.
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
1 Chapter 1 Introduction to Databases Transparencies.
1 Database Systems Instructor: Nasir Minhas Assistant Professor UIIT PMAS-AAUR
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
DBS201: Data Modeling. Agenda Data Modeling Types of Models Entity Relationship Model.
Data Resource Management Lecture 8. Traditional File Processing Data are organized, stored, and processed in independent files of data records In traditional.
An Introduction to database system
The Database Environment
Database Management:.
Introduction to Database Management System
Introduction to Database Systems
File Systems and Databases
Chapter 1: The Database Environment
Data Model.
Chapter 1: The Database Environment
The Database Environment
Database Design Hacettepe University
UNIT-I Introduction to Database Management Systems
Terms: Data: Database: Database Management System: INTRODUCTION
The Database Environment
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Presentation transcript:

Introduction to Database Concepts

Levels of System Development Analysis - describes the problem domain: use cases, classes, object, relationships and interactions that model the Real World entities. (Business Objects) Free from technical or implementations details Design - Technical expansion and adaptation of the analysis models. How the analysis is to be implemented and the constraints of the implementation environment are considered. Along with the objects discovered in analysis, new “technical” classes (e.g. relational database mapping classes, user interface classes etc.) are created to support the requirements defined during the analysis. Implementation - Actual writing, testing and running of the code and implementation of the database based on the Design. Mapping the design to one or more Languages (e.g. Java, C++, Ada95) and to databases

Activities in Design Architectural Design - Analysis classes are divided into functional groups (packages) and described across the hardware. New functional groups such as user interface, database management, security etc. are defined General Design - Reworking the analysis, adding new technical classes, addresses issues of output format, database Design and access, communication, class libraries, exceptions etc Detailed Design - Specification of all classes, including the needed implementation attributes and operation, and physical database layout

What is a Database? A database is an integrated and structured collection of stored operational data used (shared) by application systems of an enterprise: Manufacturing Product data University Student data, courses Hospital Patient data, facilities Bank Account data

What is a Database? A database (DB) is a structured collection of data about the entities that exist in the environment that is being modeled. The structure of the database is determined by the data model that is used. A database management system (DBMS) is the generalized tool that facilitates the management of and access to the database.

Definitions Data: Meaningful facts, text, graphics, images, sound, video segments. Database: An organized collection of logically related data. Information: Data processed to be useful in decision making. Metadata: Data that describes data.

History of Database Management Systems

File Processing Data are stored in files with interface between programs and files. Various access methods exist (e.g., sequential, indexed, random) One file corresponds to one or several programs.

Issues with File Systems Computer file system stores data in independent, unrelated files on disk. Data are still high redundant Sharing limited and at the file level Data is unstructured (“flat” files) The sharing, security and integrity of the data can't be enforced efficiently because of data redundancy and data dependence problems. Ensuring data consistency and controlling access to data (Sharing granularity is very coarse, difficulties in developing new applications) High maintenance costs (data dependence; accessing data is difficult)

What is Data Redundancy? Exists when unnecessarily duplicated data are found in the database. For example, a customer's telephone number may be found in the customer file, in the sales agent file, and in the invoice file. Data redundancy is symptomatic of a (computer) file system, given its inability to represent and manage data relationships. Data redundancy may also be the result of poorly-designed databases that allow the same data to be kept in different locations.

Types of Data Redundancy Data inconsistency. Data inconsistency is the lack of data integrity. Data anomalies. Ideally, a field value change should be made only in a single place. Data redundancy, however, fosters an abnormal condition by forcing field value changes in many different locations.

What is Data independence? Exists when changes in the data characteristics don't require changes in the programs that access those data. File systems exhibit data dependence because file access is dependent on a file's data characteristics. Therefore, any time the file data characteristics are changed, the programs that access the data within those files must be modified.

Database Management System A DBMS is a data storage and retrieval system which permits data to be stored non-redundantly while making it appear to the user as if the data is well-integrated.

Database Management Systems Goals of a DBMS Provides an environment that is both convenient and efficient to store and retrieve information to and from a computer system Help an organization to perform its mission and to achieve its goals. Proper database system eliminates data dependence and improves data integrity by minimizing data redundancy.

Advantages of the Database Approach Data Independence/Reduced Maintenance Improved Data Sharing Increased Application Development Productivity Enforcement of Standards Improved Data Quality (Constraints) Better Data Accessibility/ Responsiveness Security, Backup/Recovery, Concurrency

The Range of Database Applications Personal Database Workgroup/Department Database Enterprise Database

Workgroup database with local area network

An enterprise data warehouse

Components of the Database Environment CASE Tools Repository Database Management System (DBMS) Database Application Programs User Interface

Components of the database environment

Database stakeholders Database administrator (DBA) A person who is responsible for the management of the entire database environment System Developers Database users Casual users Naive users Application programmers

What is a Database Model? Collection of logical constructs used to represent the database's Data structure as well as the data relationship(s) found within that structure.

Steps in the Database Development Process Enterprise Modeling Conceptual Data Modeling Cuts across Project Initiation and Planning & Analysis phases of SDLC Logical Database Design Physical Database Design and Creation Database Implementation Database Maintenance

Functional and Database Development life-cycles

Conceptual and logical database models E-R, object oriented, and semantic database models. Describes the data and what the relationships Types of relationships represented include: One-to-many relationship Many-to-many relationship One-to-one relationship

Implementation (Physical) database models Describes how data are actually stored in the database Types of Implementation (physical) database models include: Hierarchical, Network, Relational, and Object oriented

Hierarchical database Model Data redundancy is avoided by using an upside-down tree structure composed of parents and their children. Since a parent can have many children, but each (hierarchical) child can have only one parent, the parent data is identical for all of its children and need not be repeated.

Network Database Model The network model allows a record to have more than one parent. Handles more relationship types then a Hierarchical database. Many to Many relationships are easier to implement in the than in the hierarchical model. Improved data access flexibility

Network Model

Issues with the Hierarchical and Network Models The hierarchical and network models yield some data independence, but they still exhibit database structure dependency. For example, changes in segments or their location require data managers and programmers to perform complex system management tasks and extensive maintenance coding.

The Relational Model A Relational Database Management System (RDBMS) is a single data repository that provides both structural and data independence while maintaining conceptual simplicity. The manages all of the complex physical details The relational database model is perceived by the user to be a collection of tables in which data are stored. Each table resembles a matrix composed of row and columns. Tables are related to each other by sharing a common value in one of their columns

Some advantages of Relational Model Structural independence. Does not use a navigational data access system, Provides excellent ad hoc query capability. End users find it easier to visualize their data as a collection of data organized as a matrix. Designers find it easier to deal with conceptual data representation, freeing them from the complexities associated with physical data representation.

Structured query language (SQL) Is a fourth-generation language (4GL). allows the user to specify what must be done without specifying how it must be done. Based on work done by IBM. Comprise of three parts: a user interface, a set of tables within the database, and the SQL “engine.”

Object-Oriented Database model Excellent for capturing Complex data such as graphics, video, and sound Objects contain all operations that can be performed on it, such as changing its data values, finding a specific data value, and printing data values. Because objects include data, various types of relationships, and operational procedures, the object becomes self-contained Ad hoc query and navigation can be a challenge compared to a relational database Hybrid databases called Object/relational database model (O/RDM) or universal servers are starting to appear

Why is database design so important? Yields a detailed database blueprint. This blueprint Usually in the form of an E-R or object model, is used as the basis for database implementation. A database created without the benefit of a detailed blueprint is unlikely to be satisfactory.

Points to Remember Good applications can't overcome bad database designs The existence of a DBMS does not guarantee good data management, nor does it ensure that the database will be able to generate correct and timely information Ultimately, the end user decides what data will be stored in the database