IST 318 – DB Administration

Slides:



Advertisements
Similar presentations
Chapter 6 Data Design.
Advertisements

 Definition  Components  Advantages  Limitations Contents  Definition Definition  Normal Forms Normal Forms  First Normal Form First Normal Form.
Chapter 8 Normalization. © 2001 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Outline Modification anomalies Functional dependencies.
Systems Development Life Cycle
© 2005 by Prentice Hall 1 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 7 th Edition Jeffrey A. Hoffer, Mary B.
© 2005 by Prentice Hall Chapter 3a Database Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
Entity-Relationship Model and Diagrams (continued)
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 3: Data Modeling
Midterm Open book and notes, but tight on time Problems on – Conceptual modeling: ERD and EERD Create/extend a diagram Answer questions based on the existing.
Database – Part 2a Dr. V.T. Raja Oregon State University.
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Design & ER Diagrams
Michael F. Price College of Business Chapter 6: Logical database design and the relational model.
Normalization Rules for Database Tables Northern Arizona University College of Business Administration.
Daniel AdinugrohoDatabase Programming 1 DATABASE PROGRAMMING Lecture on 29 – 04 – 2005.
File and Database Design SYS364. Today’s Agenda WHTSA DBMS, RDBMS, SQL A place for everything and everything in its place. Entity Relationship Diagrams.
Database Design Concepts
Normalization. Introduction Badly structured tables, that contains redundant data, may suffer from Update anomalies : Insertions Deletions Modification.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 9.1.
Chapter 4: Logical Database Design and the Relational Model (Part II)
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
Lecture 12 Inst: Haya Sammaneh
A Guide to SQL, Eighth Edition Chapter Two Database Design Fundamentals.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Introduction to Accounting Information Systems
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Q1: What is DBMS and explain its architecture. Q2: Explain Data Independence in detail. Q3: What is database user and explain the types of database user.
Concepts and Terminology Introduction to Database.
IE 423 – Design of Decision Support Systems Data modeling and database development.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
CMPE 226 Database Systems September 16 Class Meeting Department of Computer Engineering San Jose State University Fall 2015 Instructor: Ron Mak
Normalization A technique that organizes data attributes (or fields) such that they are grouped to form stable, flexible and adaptive entities.
RDBMS Concepts/ Session 3 / 1 of 22 Objectives  In this lesson, you will learn to:  Describe data redundancy  Describe the first, second, and third.
Concepts of Database Management, Fifth Edition
1 A Guide to MySQL 2 Database Design Fundamentals.
Chapter 7 Normalization. Outline Modification anomalies Functional dependencies Major normal forms Relationship independence Practical concerns.
Chapter 7 Normalization. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Modification anomalies Functional dependencies.
Logical Database Design Relational Model. Logical Database Design Logical database design: process of transforming conceptual data model into a logical.
SALINI SUDESH. Primarily a tool to validate and improve a logical design so that it satisfies certain constraints that avoid unnecessary duplication of.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
11/07/2003Akbar Mokhtarani (LBNL)1 Normalization of Relational Tables Akbar Mokhtarani LBNL (HENPC group) November 7, 2003.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
NORMALIZATION: ‘1NF’ The general rule: ‘’Any field which can have many, must have its own table’’ By Sam Beaumont.
IST 220 – Intro to DB Lecture 4 Database Design thru ER Modeling.
Lecture 4: Logical Database Design and the Relational Model 1.
5 1 Normalization of Database Tables. 5 2 Database Tables and Normalization Normalization –Process for evaluating and correcting table structures to minimize.
Chapter 4 © 2013 Pearson Education, Inc. Publishing as Prentice Hall Chapter 4: Logical Database Design and the Relational Model Modern Database Management.
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
What Is Normalization  In relational database design, the process of organizing data to minimize redundancy  Usually involves dividing a database into.
Huffman Trucking Fleet Vehicle Maintenance Database DBM380 June 13, 2012 Learning Team B.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
SEEM3430: Information Systems Analysis and Design
A brief summary of database normalization
Functional Dependencies
Chapter 4 Relational Databases
Example Question–Is this relation Well Structured? Student
Entity-Relationship Model and Diagrams (continued)
Relational Model and ER Model: in a Nutshell
Entity relationship diagrams
IST 318 Database Administration
CHAPTER 4: LOGICAL DATABASE DESIGN AND THE RELATIONAL MODEL
Database Design Chapter 7.
Presentation transcript:

IST 318 – DB Administration Intro to Relational Model, Normalization, and SQL

RDB Terminologies

RDBMS

RDBMS Functions

System Dev. Life Cycle (SDLC)

SDLC Illustration

E and R DB design should focus on organization (Management of Data), not limited to the Data (or numbers) What kinds of data are needed?  entities Real world people, objects, processes, concepts Turn into tables How are these kinds of data are related?  relationships Turn into constraints (and sometimes tables)

Cardinality One important type of relationship Binary relationship The most commonly considered constraint on a binary relationships is cardinality, or number of instances that may appear through this relationship One to one One to many Many to many

ER Diagram Notice the notations for Entities Relationships Cardinality constraints

Normalization – Why it’s needed? Notice the redundancy in the dataset (modeled with a single entity/table)? Problems (or anomalies) that can be induced Insertion, deletion, and update anomalies Normalization (or splitting into multiple tables) is the solution

Normalization – How to Do It? Split a “wide” table into a number of “narrow” ones that are in the third normal form (3NF) 1NF: data in every field is atomic, and the record has a (primary) key 2NF: all fields depend on the whole key 3NF: every field depends on the key directly, not through another (set of) field(s)

Sample Tables in 2/3NFs

ERD for The Sample Bookstore DB