Principles of Database Design, Conclusions AIMS 2710 R. Nakatsu.

Slides:



Advertisements
Similar presentations
1 Senn, Information Technology, 3 rd Edition © 2004 Pearson Prentice Hall James A. Senns Information Technology, 3 rd Edition Chapter 7 Enterprise Databases.
Advertisements

C6 Databases.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
By: Mr Hashem Alaidaros MIS 211 Lecture 4 Title: Data Base Management System.
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
Chapter 9 DATA WAREHOUSING Transparencies © Pearson Education Limited 1995, 2005.
Chapter 3 Database Management
Database Management: Getting Data Together Chapter 14.
7.1 © 2006 by Prentice Hall 7 Chapter Managing Data Resources.
Transaction Management and Concurrency Control
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Transaction Management and Concurrency Control.
Chapter 17 Designing Databases
DATA WAREHOUSING.
Living in a Digital World Discovering Computers 2010.
Accounting Databases Chapter 2 The Crossroads of Accounting & IT
Database Design Concepts INFO1408 Term 2 week 1 Data validation and Referential integrity.
Database – Part 2 Dr. V.T. Raja Oregon State University.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Databases and Database Management Systems
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Transaction Management and Concurrency Control
An Introduction to Database Management Systems R. Nakatsu.
Chapter 9 Database Management
Chapter 4: Organizing and Manipulating the Data in Databases
Discovering Computers 2009 Chapter 10 Database Management.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
Essentials of Management Information Systems, 6e Chapter 7 Managing Data Resources 7.1 © 2005 by Prentice Hall Managing Data Resources Chapter 7.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Discovering Computers Fundamentals, 2012 Edition Your Interactive Guide to the Digital World.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
The McGraw-Hill Companies, Inc Information Technology & Management Thompson Cats-Baril Chapter 3 Content Management.
An Investigation of Oracle and SQL Server with respect to Integrity, and SQL Language standards Presented by: Paul Tarwireyi Supervisor: John Ebden Date:
Chapter 6: Foundations of Business Intelligence - Databases and Information Management Dr. Andrew P. Ciganek, Ph.D.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
1 Adapted from Pearson Prentice Hall Adapted form James A. Senn’s Information Technology, 3 rd Edition Chapter 7 Enterprise Databases and Data Warehouses.
7.1 Managing Data Resources Chapter 7 Essentials of Management Information Systems, 6e Chapter 7 Managing Data Resources © 2005 by Prentice Hall.
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Chapter 9 Database Management. Chapter 9 Objectives Discuss the functions common to most DBMSs Identify the qualities of valuable information Discuss.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Technology In Action Chapter 11 1 Databases and… Databases and their uses Database components Types of databases Database management systems Relational.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Database Application Design and Data Integrity AIMS 3710 R. Nakatsu.
ITGS Databases.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
Data resource management
Chapter 13 Designing Databases Systems Analysis and Design Kendall & Kendall Sixth Edition.
Organizing Data and Information
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved CHAPTER 6 DATABASES AND DATA WAREHOUSES CHAPTER 6 DATABASES AND DATA WAREHOUSES.
Principles of Database Design, Conclusions MBAA 609 R. Nakatsu.
DATA RESOURCE MANAGEMENT
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
Foundations of Business Intelligence: Databases and Information Management.
0 / Database Management. 1 / Identify file maintenance techniques Discuss the terms character, field, record, and table Describe characteristics.
1 Chapter 9 Database Management. Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe.
© 2003 Prentice Hall, Inc.3-1 Chapter 3 Database Management Information Systems Today Leonard Jessup and Joseph Valacich.
1 Advanced Database Concepts Transaction Management and Concurrency Control.
©Bob Godfrey, 2002, 2005 Lecture 17: Transaction Integrity and Concurrency BSA206 Database Management Systems.
10 1 Chapter 10 - A Transaction Management Database Systems: Design, Implementation, and Management, Rob and Coronel.
18 September 2008CIS 340 # 1 Last Covered (almost)(almost) Variety of middleware mechanisms Gain? Enable n-tier architectures while not necessarily using.
Chapter 13 Managing Transactions and Concurrency Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
Managing Data Resources File Organization and databases for business information systems.
James A. Senn’s Information Technology, 3rd Edition
Creating a database table
Transaction Management and Concurrency Control
Chapter Ten Managing a Database.
Database Management Systems
Chapter 17 Designing Databases
Presentation transcript:

Principles of Database Design, Conclusions AIMS 2710 R. Nakatsu

Integrity of a Database It is important that the data in a database is correct and consistent. Data integrity problems can occur due to: n incorrect data entry n data redundancy n poor database design

Ways to Maintain Data Integrity n Entity Integrity (primary key must be unique and must not be null) n Referential Integrity n Field types (e.g., text, numeric, date, yes/no) n Input masks (e.g., ISBN numbers, dates) n Field validation rules (What are some examples?) n Good design of input screens (user interfaces) n Check digits

User Interface Design © 2000 Prentice Hall

Check Digit Example  Add a check digit to validate a clerk’s data entry.  The check digit is determined by some mathematical algorithm. Example: Multiply the first digit by 2; multiply the second digit by 3; multiply the third by 4; add the results; divide by 10 and take the remainder. 127 yields (1*2 + 2*3 + 7*4) / 10 = 36 / 10 for a check digit of 6.

Concurrency Control Concurrency control is the management of concurrent transaction execution. Why is it important? The simultaneous execution of transactions over a shared database may create several data- integrity and consistency problems.

Lost Updates: An Example Note that the first transaction has not been permanently recorded when the second transaction is executed.

Concurrency Control with Locking A lock guarantees exclusive use of a data item to a current transaction. In the previous example, transaction T2 will not have access to the data item that is currently used by transaction T1. The lock is released when the transaction T1 is completed.

Data Warehouse n support OLAP (online analytical processing) n support data mining (data in a data warehouse are analyzed to reveal hidden patterns and trends in historical business activity) stores data that have been extracted from the various operational, external, and other databases of an organization Data warehouses...

Data Warehouse

Recap n Why do we need a database? n What is a database? n What are the main functions of a DBMS? n Entity-Relationship Modeling n Linking two tables: 1:1, 1:many, many:many n Data Integrity n Concurrency Control n Data Warehouses