ETEC 100 Information Technology

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

IS605/606: Information Systems Instructor: Dr. Boris Jukic
Chapter 3 The Relational Model Transparencies © Pearson Education Limited 1995, 2005.
Introduction to Databases
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
Chapter 3. 2 Chapter 3 - Objectives Terminology of relational model. Terminology of relational model. How tables are used to represent data. How tables.
Introduction to Databases Transparencies
1 Minggu 2, Pertemuan 3 The Relational Model Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
BUSINESS DRIVEN TECHNOLOGY
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Chapter 1 Introduction to Databases
Chapter 1: The Database Environment
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
An Introduction to Database Management Systems R. Nakatsu.
Database Architecture The Relational Database Model.
© Virtual University of Pakistan. In the name of Allah.
Lecture 2 The Relational Model. Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations.
Chapter 4 The Relational Model Pearson Education © 2014.
© Pearson Education Limited, Chapter 2 The Relational Model Transparencies.
Relational Model Session 6 Course Name: Database System Year : 2012.
Chapter 4 The Relational Model.
Chapter 3 The Relational Model Transparencies Last Updated: Pebruari 2011 By M. Arief
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Module Title? DBMS Introduction to Database Management System.
Web-Enabled Decision Support Systems
Database Technical Session By: Prof. Adarsh Patel.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Concepts and Terminology Introduction to Database.
Architecture for a Database System
MIS 301 Information Systems in Organizations Dave Salisbury ( )
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Chapter 3 The Relational Model. 2 Chapter 3 - Objectives u Terminology of relational model. u How tables are used to represent data. u Connection between.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Accounting Information Systems 9 th Edition Marshall.
File Systems and Databases Lecture 1. Files and Databases File: A collection of records or documents dealing with one organization, person, area or subject.
Storing Organizational Information - Databases
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 1 1 Lecture # 1 & 2 Chapter # 1 Databases and Database Users Muhammad Emran Database Systems.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Concepts 2440: 180 Database Concepts Instructor:
1-1 Chapter 1 Databases and Database Users 1.1 Introduction 1.2 An Example 1.3 Characteristics of the Database Approach 1.4 Actors on the Scene 1.5 Workers.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Relational Databases.
The Relational Model. 2 Relational Model Terminology u A relation is a table with columns and rows. –Only applies to logical structure of the database,
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Relational Databases.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
The Relational Model © Pearson Education Limited 1995, 2005 Bayu Adhi Tama, M.T.I.
Chapter 3 The Relational Model. Objectives u Terminology of relational model. u How tables are used to represent data. u Connection between mathematical.
Chapter 4 The Relational Model Pearson Education © 2009.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
1 Lecture1 Introduction to Databases Systems Database 1.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Chapter 4 Relational Databases
Translation of ER-diagram into Relational Schema
Data Base System Lecture 2: Introduction to Database
Chapter 4 The Relational Model Pearson Education © 2009.
Chapter 4 The Relational Model Pearson Education © 2009.
Chapter 4 The Relational Model Pearson Education © 2009.
The Relational Model Transparencies
Lecture 1 File Systems and Databases.
Chapter 4 The Relational Model Pearson Education © 2009.
Chapter 4 The Relational Model Pearson Education © 2009.
Chapter 1 Database Concepts.
Accounting Information Systems 9th Edition
Chapter 4 The Relational Model Pearson Education © 2009.
Presentation transcript:

ETEC 100 Information Technology Lecture Introduction to database

Learning Objectives Define and understand the following terms: data, information, database, database management system (DBMS), database system, metadata Compare and contrast conventional file systems and database systems. Identify advantages of database approach over traditional file systems

What is database? Database: An organized collection of logically related data Data: Known facts that could be recorded and stored on computer media Facts could be in any format: text, graphics, images… Information: Processed data that could be used to increase the knowledge of the user Closely related to data, but different View data as “raw material” and information as “intermediate product” The final product is “knowledge”

Data, Information and Knowledge A. Berger M. Jones T. Martin J. Smith Shoes Scarves Jewelry Groceries A. Berger is most likely to buy new product John Smith Taurus Database Queries ? wireless 50,000 234 Ted Martin Amex Gold Anna Berger 50,000 46,800 29,200 75,500 MoU Qty Income Education B.A. T. Martin is profitable customer and is likely to switch carriers shoes Data Information Knowledge & Customer Insight Some of the images above come from a presentation given by: ®

Databases Interact with DBs many times in a day Database processing integral part of many businesses Keep track of things (what sort of things?)

History of data collection methods Manual System File System Database System

Manual Filling Systems Before computer: Manual Filing Systems Still used in many everyday activities Usually organize data in a logical way Ex;bills…….. Problems with Manual Filling Systems Small –scale Hard to analyze: ‘ How many students enrolled in MIS ?

Traditional File-Based processing Application programs were written specifically for the data file structure that was to be used, so: A change in the data file structure required change in an application program(s) that needed that data

File Processing Systems: An example Data Entry End Users File Management Programs File Report Programs Data Files Separated systems, separated files, separated data Both file management programs and file report programs have describe WHAT data to write / read and HOW to do that

File Processing Systems: Problems Isolation of Data/ Limited Data Sharing Isolation between departments file systems Isolation in a department file system: Duplication of Data Duplicated data waste storage space Duplicated data result in loss of data integrity Lack of Data Independence If we change the data type of address from 40 characters to 41 characters, all related programs have to change accordingly

Database Systems: Basic Terms Database: An organized collection of logically related data Database Management Systems (DBMS): A software package to facilitate the creation and maintenance of a database. Database system: a computerized record-keeping system, containing database and DBMS as well as some other components. Four components: Users, Software, Hardware, Data

Database Systems: Basic Terms End users Software interact Application Programmers Application Programs develop “What” to get Database Administrators DBMS maintain “How” to get Data Database Designers design Database Users

Database Systems: Advantages Data are stored in a central repository, managed by DBMS Data sharing is easy Reduce duplication to minimum: one table for each entity Inconsistency can be avoided to some extent by enforcement of integrity constraints Metadata offers data abstraction Data independence: If format needs to be changed, simply update the metadata. Application programs are not affected Structural independence: similar to the above

Data Elements in a Database User data (files) relations in a table format (e.g. Relational Database) Metadata (systems tables) data about data, data dictionary meaning of terms, description of structure etc. Indexes (overhead data) improves performance and accessibility Application Metadata structure & format of forms, reports, & queries etc.

Database Development Process Requirement Analysis Conceptual Design Logical Design Physical Design Implementation Maintenance

Database Development Process Requirements Analysis Collect and Analyze the requirements of the users. Conceptual Design Design a conceptual model, e.g., ER model. Logical Design Translate the conceptual model into the logical model Normalization. Physical Design Define the database and write application programs. Implementation Write, test, and install programs that process the database MaintenanceUse maintain, and “tune” the database

Relational Database A relational database is one in which the data consists of a collection of tables related to each other through common values. The two most prominent characteristics of a relational database are data stored in tables relationships between tables

Table

Relation Two-dimensional table Rows are tuples Columns are attributes Equivalent Terms:

Characteristics of a relation a relation has a unique name within same DB each cell contains one single value each attribute within a given relation has a distinct name values of an attribute are from the same domain order of attributes has no significance order of rows has no significance no duplicate rows

Key “a group of one or more attributes (columns) that uniquely identifies a tuple (row)”

Relational Database Keys Candidate key Primary key: candidate key selected to uniquely identify all table rows Foreign key: attributes(s) in one table whose values must match primary key in another table

Relationships

Referential Integrity Rule If a foreign key exists in a relation, either the foreign key value must match a candidate key value of some tuple in its home relation or the foreign key value must be wholly null Therefore:- if B references A then A must exist

Schema A schema is an abstract representation of database entities and objects. A schema helps us design a database diagrammatically before we start creating it.

Schema (cont.)

Query Requests for information from a database are made in the form of a query. The set of rules for constructing queries is known as a query language. query language called SQL (structured query language) For example, the query -requests all recordsfrom customer table in which the NAME field is SMITH and the AGE field is greater than 35.

SQL (structured query language) For example, the query -requests all recordsfrom customer table in which the Name field is SMITH and the Age field is greater than 35. SELECT ALL FROM Customer WHERE Name = "SMITH" and age > 35