Data Resource Management Application Layer TPS A RCHITECTURE Data Layer Sales/MarketingHR Finance/Accounting Operations Spreadsheet Data MS Access Accounts.

Slides:



Advertisements
Similar presentations
C6 Databases.
Advertisements

Accounting System Design
Relational Databases Chapter 4.
1 Basic DB Terms Data: Meaningful facts, text, graphics, images, sound, video segments –A collection of individual responses from a marketing research.
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
Accounting Databases Chapter 2 The Crossroads of Accounting & IT
Chapter 11 Data Management Layer Design
Concepts of Database Management Sixth Edition
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Terms - data,information, file record, table, row, column, transaction, concurrency Concepts - data integrity, data redundancy, Type of databases – single-user,
Databases and Database Management Systems
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
Chapter 5 Database Processing.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
ASP.NET Programming with C# and SQL Server First Edition
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Learningcomputer.com SQL Server 2008 – Entity Relationships in a Database.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Concepts of Database Management, Fifth Edition Chapter 4: The Relational Model 3: Advanced Topics.
Database Technical Session By: Prof. Adarsh Patel.
Introduction to SQL Steve Perry
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
 DATABASE DATABASE  DATABASE ENVIRONMENT DATABASE ENVIRONMENT  WHY STUDY DATABASE WHY STUDY DATABASE  DBMS & ITS FUNCTIONS DBMS & ITS FUNCTIONS 
DATABASES Pindaro Demertzoglou – Lally School of Management and Technology.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
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.
CODD’s 12 RULES OF RELATIONAL DATABASE
MIS 301 Information Systems in Organizations Dave Salisbury ( )
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Chapter 6 1 © Prentice Hall, 2002 The Physical Design Stage of SDLC (figures 2.4, 2.5 revisited) Project Identification and Selection Project Initiation.
MS Access: Creating Relational Databases Instructor: Vicki Weidler Assistant: Joaquin Obieta.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Organizing Data Revision: pages 8-10, 31 Chapter 3.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
Dimu' Rumpak © 2009 by Prentice Hall 1 Getting Started Didimus Rumpak, M.Si. Database Concepts Chapter 1 1.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Maintaining a Database Access Project 3. 2 What is Database Maintenance ?  Maintaining a database means modifying the data to keep it up-to-date. This.
IBS 520 Introduction to Internet Technology Database Fundamentals Week 4.
Advanced Accounting Information Systems Day 10 answers Organizing and Manipulating Data September 16, 2009.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Physical Database Design Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Relational Databases.
Session 1 Module 1: Introduction to Data Integrity
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Relational Databases.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
Chapter 3: Relational Databases
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
SQL Basics Review Reviewing what we’ve learned so far…….
1 Agenda TMA02 M876 Block 4. 2 Model of database development data requirements conceptual data model logical schema schema and database establishing requirements.
Introduction to Database Programming with Python Gary Stewart
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
Client/Server Databases and the Oracle 10g Relational Database
and Defining Table Relationships
Chapter 4 Relational Databases
CHAPTER 5: PHYSICAL DATABASE DESIGN AND PERFORMANCE
Accounting System Design
Accounting System Design
Presentation transcript:

Data Resource Management Application Layer TPS A RCHITECTURE Data Layer Sales/MarketingHR Finance/Accounting Operations Spreadsheet Data MS Access Accounts Receivable Accounts Payable Investment Management Oracle Database Quotation Processing Order Processing Claims Processing Spreadsheet Oracle Database Foxpro Recruiting Career Planning Compensation Management Excel Production Planning Product Development Maintenance Planning Oracle Excel Oracle

Data Resource Management W HY DATABASES Multiple people in the organization need to access and work on the same data. Work in database parlance means insert/edit/delete data. Data volume increases over time. Are the pieces of data related? Like customers to orders, to products, to order contents, to invoices, to suppliers, to sales people? Do you need to extract information out of your data? (summaries, totals, averages, etc.) Do you need subsets of data? (customers in NY and CA only for example?) Do you need to cooperate with external entities?

Data Resource Management T YPES OF D ATABASES According to Data Model Relational Hierarchical An example of a hierarchical file is an XML file. According to License Type Commercial Open Source According to Network Architecture Desktop (MS Access) Client-Server (Oracle, IBM DB2, MS SQL)

Data Resource Management M ARKET S HARE Gartner Study Shows Strong Growth in the DBMS Market

Data Resource Management D ATABASE T ABLES Tables (entities) Fields (Attributes) Data types (text, number, Currency, Binary) Data types Records (A group of related fields) Keys Primary Foreign One-field keys Concatenated keys Natural keys Surrogate keys (Artificial)

Data Resource Management R ELATIONSHIPS One to one relationships One to many relationships Many to many relationships

Data Resource Management E NTITY R ELATIONSHIP D IAGRAM

Data Resource Management R EFERENTIAL INTEGRITY Referential integrity in relational databases means that relationships among joined tables remain consistent. That is, if we have a one-to-many relationship between customers and orders: We cannot delete a customer for whom we have orders. We cannot add an order without having a customer. We can have however customers without orders. With referential integrity on, we avoid orphaned records.

Data Resource Management I NDEXES Indexes improve data retrieval. They work great with WHERE and ORDER BY clauses. Indexes slow down data inserts and updates since updates and inserts need to be saved at both the table and the index. Increase storage requirements. Unique indexes can be used as constraints. Avoid their usage in small tables with few records. Better used in large tables. All primary key fields are automatically indexed when created. We can also have multiple-field indexes.

Data Resource Management I NDEXES

Data Resource Management N ORMALIZATION A two-aim process: Redundancy (Elimination of duplicated data) Inconsistent Dependency (Data should be related to entities ie. Orders must be in a separate table rather than in the customer table) First Normal Form ( Do not use multiple fields in a table to store similar data. Ie. five fields in an inventory table to identify vendors. What happens if we add a new vendor?) Second Normal Form ( Do not store the same data in multiple tables. Ie An address is needed in the customer’s table, shipping, billing etc.) create a separate table for addresses. Third Normal Form ( Exclude from the table fields that do not depend on the key ie For example instead of storing the zip code in the address table that you created above you create a separate table for zip codes.) Not always practical. Remember: business rules have priority.

Data Resource Management C ASCADE UPDATES AND DELETES Cascade deletes allow us to delete an entity record and all associated information to that entity record. For example, if cascade deletes are on between the tables customers and orders, then when we delete a customer, all related orders will be deleted by the database engine. Cascade updates let us update all primary keys of an entity and their related foreign keys in all related tables. For example, if cascade updates are on between the tables customers and orders, then when we update the PK value of a customer, all related foreign keys of that customer in the table orders will be updated by the database engine.

Data Resource Management SQL Language Data Definition Language Data Manipulation Language CREATE TABLE Customer1 ( [CustomerID] Counter PRIMARY KEY NOT NULL, [LastName] text(50) NOT NULL, [FirstName] text(50), [Address] text(50));

Data Resource Management SQL L ANGUAGE (D ATA MANIPULATION LANGUAGE ) Select statements Example: Select * from products Insert statements Example: Insert into products (productname, unitprice) values (“myproduct”, 22) Update statements Example: update products set unitprice = unitprice*1.2 Delete statements Example: Delete from products where productID=10269

Data Resource Management Q UERIES SQL statements through which we can select, delete, insert, and update data. With queries we obtain a subset of attributes, or a subset of records, or a subset of attributes and records. They can function as a security mechanism so that end users do not have direct access to tables. Views can present data from multiple different related tables in a simplified datasheet. Queries can aggregate data for information generation. Views do not consume any space, we just store the SQL statement which we can execute at any moment.

Data Resource Management D ATA D ICTIONARIES They are used for development purposes and they consist of a spreadsheet that includes the names of the fields and a description of their purpose in the database.