Database Design Overview. 2 Database DBMS File Record Field Cardinality Keys Index Pointer Referential Integrity Normalization Data Definition Language.

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

Lecture-7/ T. Nouf Almujally
By RUPESH KUMAR.  Database? Types? Abstraction?  Database Models?  Database Integrity?  ACID?  RDBMS?  Normalization?  Data Warehouse?  Database.
Relational Databases Chapter 4.
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Chapter Physical Database Design Methodology Software & Hardware Mapping Logical Design to DBMS Physical Implementation Security Implementation Monitoring.
1 Basic DB Terms Data: Meaningful facts, text, graphics, images, sound, video segments –A collection of individual responses from a marketing research.
Introduction to Database Processing
Data Management Design
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Databases Chapter 11.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
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.
IST Databases and DBMSs Todd S. Bacastow January 2005.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Chapter 4: Organizing and Manipulating the Data in Databases
Using MIS 4e Chapter 5 Database Processing
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 Lecture # 1 By Ubaid Ullah.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Web-Enabled Decision Support Systems
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Database Technical Session By: Prof. Adarsh Patel.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 Introduction to SQL.
MS Access: Creating Relational Databases Instructor: Vicki Weidler Assistant: Joaquin Obieta.
1 What is database 2? What is normalization? What is SQL? What is transaction?
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
Oleh Munawar Asikin. Principles of Information Systems, Seventh Edition 2  Database management system (DBMS): group of programs that manipulate database.
Copyright © 2005 Ed Lance Fundamentals of Relational Database Design By Ed Lance.
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.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
Chapter 12: Designing Databases
(Spring 2015) Instructor: Craig Duckett Lecture 10: Tuesday, May 12, 2015 Mere Mortals Chap. 7 Summary, Team Work Time 1.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Oracle & SQL Introduction. Database Concepts Revision DB? DBMS? DB Application? Application Programs? DBS? Examples of DBS? Examples of DBMS? 2Oracle.
Database revision.
+ Information Systems and Databases 2.2 Organisation.
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Concepts 2440: 180 Database Concepts Instructor:
Advanced Accounting Information Systems Day 10 answers Organizing and Manipulating Data September 16, 2009.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Foundations of Business Intelligence: Databases and Information Management.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
0 / Database Management. 1 / Identify file maintenance techniques Discuss the terms character, field, record, and table Describe characteristics.
Databases Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
Relational Database Systems Bartosz Zagorowicz. Flat Databases  Originally databases were flat.  All information was stored in a long text file, called.
Welcome: To the fifth learning sequence “ Data Models “ Recap : In the previous learning sequence, we discussed The Database concepts. Present learning:
SQL Basics Review Reviewing what we’ve learned so far…….
Understanding Core Database Concepts Lesson 1. Objectives.
Chapter 4 Relational Databases
Database Management  .
Database.
Understanding Core Database Concepts
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

Database Design Overview

2 Database DBMS File Record Field Cardinality Keys Index Pointer Referential Integrity Normalization Data Definition Language (DDL) Data Manipulation Language (DML) Data Control Language (DCL) Logging Junction Record Basic Terms

3 The Relational Model  Developed in early 1980’s (DR. Codd)  Effective with 1:1(one to one), 1:N (one to many) and N:M (many to many)  All Tables are a point of entry  Can discriminate to the Field level  Users must be aware of DB design to some degree  “Relationships” are dynamic  Allows “unlimited” tables per Physical Database (must take memory and disk into consideration)  Most Common Database 2 (DB/2 - Mainframe from IBM) Oracle, Sysbase SQL Server are popular PC databases  Programming language: Structured Query Language (SQL)

4 Relational Design  The goal of relational database design is to generate a set of schemas that allow us to  Store information without unnecessary redundancy.  Retrieve information easily (and accurately).

5 The RDBMS Design Process

6 Normalization  There are three main normal forms, each with increasing levels of normalization:  First normal form (1NF): each field in a table contains different information. No multi-valued fields are permitted  Second normal form (2NF): no field values can be derived from another field outside of the primary key. All fields must support the full key value.  Third normal form (3FN): “transitive dependency” - prohibits multiple many-to-many relationships to occur in the same table.

7 Steps in Relational Design Process

8 Determining the Fields You Need To determine the fields in a table, decide what you need to know about the people, or things,or events recorded in the table. You can think of fields as characteristics of the table. Each record (or row) in the table contains the same set of fields or characteristics. For example, an address field in a customer table contains customers' addresses. Each record in the table contains data about one customer, and the address field contains the address for that customer.  Tips for Determining Fields  Relate each field directly to the subject of the table. A field that describes the subject of a different table belongs in the other table. Later, when you define relationships between your tables, you'll see how you can combine the data from fields in multiple tables. For now, make sure that each field in a table directly describes the subject of the table. If you find yourself repeating the same information in several tables, it's a clue that you have unnecessary fields in some of the tables.  Don't include derived or calculated data. In most cases, you don't want to store the result of calculations in tables. Instead, you can have the database manager perform the calculations when you want to see the result. Include all the information you need. It's easy to overlook important information. Return to the information you gathered in the first step of the design process. Look at your paper forms and reports to make sure all the information you have required in the past is included in your tables or can be derived from them. Think of the questions you will ask, do you have all of the fields to answer them.  Store information in its smallest logical parts. You may be tempted to have a single field for full names, or for product names along with product descriptions. If you combine more than one kind of information in a field, it's difficult to retrieve individual facts later. Try to break down information into logical parts; for example, create separate fields for first and last name, or for product name, category, and description.

9 Key Fields

10 Relational Design

11 Relational Design Refining Your Design

12 Questions? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?