OSM—Normalize Then Map. ER Model Instance Type  RackRate Room Date  Guest Rate Discount Date  Discount Rate = (1 – Discount/100)  RackRate includes.

Slides:



Advertisements
Similar presentations
ER Model For a college DB
Advertisements

1 Copyright © 2009, Oracle. All rights reserved. B Table Descriptions.
The ANSI/SPARC Architecture of a Database Environment
Conceptual Design using the Entity-Relationship Model
NestedRelations: 1 Nested Relations Flat schemas often have replicated data values in their relations. Nested schemas allow us to collapse some of these.
Chapter Design Objectives Obtain the theoretically “best” design (normalize) –Remove redundancy and update anomalies –Remove nulls –Minimize the.
--What is a Database--1 What is a database What is a Database.
XNF: 1 XML and NNF A Standard Form for XML Documents (XNF) Properties –As few hierarchical trees as possible –No redundant data values in any tree Method.
Chapter Abstraction Concrete: directly executable/storable Abstract: not directly executable/storable –automatic translation (as good as executable/storable)
FDImplication: 1 Functional Dependencies (FDs) Let r(R) be a relation and let t  r, then the restriction of t to X  R, written t[X], is the projection.
FileOrg: 1 Secondary Storage Rough Speed Differentials –nanoseconds: retrieve data in main memory –microseconds: retrieve from under a read head –milliseconds:
Mappings & Normal Form Guarantees. Can Mappings of Diagrams Yield Normalized Schemas? “Yes”—but only if canonical. Most (?) diagrams are canonical. Mappings.
Chapter Nested Schemes Flat schemes often have replicated data values. Nested schemes allow us to collapse some of these replicated data values.
Organizing Data Chapter 5. Data Hierachy Table = Entities X Attributes Entities = Records Attributes = Fields.
Mary Lou Maher University DECO2005, Semester 2, 2005 Project Management.
Chapter Database Design Purpose: organize to achieve efficiency, … Considerations –time/space tradeoff for application –balance application characteristics,
Chapter Specification Detailed and precise proposal for a system Provides the technical basis for a contract Typically increases understanding and.
XNF-1 XML and NNF A Standard Form for XML Documents (XNF) Properties –As few hierarchical trees as possible –No redundant data values in any tree Method.
OSM & Allegro. OSM Object-oriented Systems Modeling Components: –Object Relationship Model Object sets—lexical and non-lexical Relationship sets Generalization/specialization.
Chapter Object-Module Design Classic object-orientation –Group data and applicable operations together. –Encapsulate identity, data, and behavior.
Create, Insert, Delete, Update. Create Create database Create table Create index – Primary – Secondary.
CostAnalysis: 1 Cost Analysis Rule-of-Thumb Guidelines As a guide, consider denormalizing if: –redundancy is minimal and update anomalies are not expected.
QueryRewriting: 1 Query Rewriting (for Query “Optimization”) Main Strategy: Make intermediate results small by applying selection and projection early.
Chapter Implementation Faithful translation of a design into a target environment Design should be free of target-environment dependencies Should.
Design Algorithm Essentials 1.Combine functional edges with the same tail object set(s) into a scheme. (The tail object set(s) and any others in a 1-1.
Competencies for Revenue Management
USER MANUAL USER MANUAL 19 July TABLE OF CONTENTS System Description5 How It Works?6 Maxxbooking Plugin7-8 Hotel Info & Description10 Hotel Details11.
Introduction to Accounting Information Systems
Online Autonomous Citation Management for CiteSeer CSE598B Course Project By Huajing Li.
IMS 4212: Introduction to Data Modeling 1 Dr. Lawrence West, Management Dept., University of Central Florida Introduction to Data Modeling—Topics.
© NERC All rights reserved Work Package 8 – Web Services and Technology Jonathan Lowndes
Data Flow Diagrams CP1 Computing.
Exercise 1 Back to the Book-Publisher Database 1.
RelAlg: 1 Relational Algebra An Algebra is a pair: (set of values, set of operations) Note that an algebra is the same idea as an ADT Relational Algebra:
Required Field Name of the Hotel Department City of Training Name of Student IRT Report Slide 1 of 5.
Extended ER Mappings & Models. General Principle #1 Graphical representations dictate cardinality relationships among attributes. When graphical representations.
SQL: 1 SQL Correspondence with Relational Algebra select A from r where B = 1 Assume r(AB) and s(BC). select B from r except select B from s select A as.
XML Device Description PP a-MMA_XMLDeviceDescriptionWorkShop.pptx M. Marchhart 1 Workshop.
IP Address Checker SNMP Checker Duplication Checker IP address range Available IP addresses SNMP Agents and Routers Network ICMP Agent MIB Managed Device.
Introduction. System Design Hardware/Software Platform Selection Software Architectures Database Design Human-Computer Interaction (HCI) Interface Object.
Date of download: 5/30/2016 Copyright © 2016 SPIE. All rights reserved. Raw sensor performance. The performance of all sensors is measured in an empty.
 Profiles are the basic building blocks of the Opera database for your hotel.  They can be simple, with a first and last name only, or complex with preferences,
Host Your Retirement Party at the Oaks Health Club.
Get Gym Membership Deals & Discounts Online at Gymdeals.com.au
Date of download: 10/12/2017 Copyright © ASME. All rights reserved.
Date of download: 10/29/2017 Copyright © ASME. All rights reserved.
Date of download: 10/30/2017 Copyright © ASME. All rights reserved.
Guest Registration Week 6
Lecture 4 Database design IV Normal Forms: Summary.
“Road” To Revolution Project
Date of download: 12/25/2017 Copyright © ASME. All rights reserved.
Hire Toyota Innova in Delhi for Outstation Tour
Canon Printer Support. Canon Printer Support 24/7.
CS 3630 Database Design and Implementation
RECEIPT No.: 1 Paid by: Paid to: DESCRIPTION AMOUNT SUBTOTAL
RECEIPT No.: 1 Paid by: Paid to: DESCRIPTION AMOUNT SUBTOTAL
Around the room Orders of operations.
HOTEL ADDRESS, CITY, STATE & ZIP
Room Reservation Room Reservation Room Reservation Room Reservation
DELIVERY RECEIPT DELIVERY RECEIPT No : Date : Customer
SUBTOTAL TAX TOTAL SUBTOTAL TAX TOTAL SUBTOTAL Description Amount
BBC CURRENT RECORDINGS
Host Your Child’s Next Birthday Party At the Oaks Health Club
Thing / Person:____________________ Dates:_________________
REVENUE MANAGEMENT Unit VII.
SUBTOTAL TAX TOTAL SUBTOTAL TAX TOTAL SUBTOTAL Description Amount
Canon Printer Support always provides best services. It helps you to resolve entire queries related to the Printer. We provided to be the best customer service provider having some of the best technical minds in the field of printing devices. So if you wa
Project Overview Project Title: Release Date:
Presentation transcript:

OSM—Normalize Then Map

ER Model Instance Type  RackRate Room Date  Guest Rate Discount Date  Discount Rate = (1 – Discount/100)  RackRate includes has Room RoomNr Rate has reservation for Guest is signed up for Activity Name Description Duration Date NrInParty Type Rack Rate Discount PackageDeal GuestNr Package

Conversion to Hypergraph has reservation for is signed up for for includes Package NrInParty Duration Rate = (1 – Discount/100)  RackRate Room RoomNr Rate Guest Activity Name Description Date Type RackRate Discount PackageDeal GuestNr

Redundant Edge Removal has reservation for is signed up for for includes Package NrInParty Duration Rate = (1 – Discount/100)  RackRate Room RoomNr Rate Guest Activity Name Description Date Type RackRate Discount PackageDeal GuestNr X X X

Redundant Edge Removal has reservation for includes Package NrInParty Duration Rate = (1 – Discount/100)  RackRate Room RoomNr Rate Guest Activity Name Description Date Type RackRate Discount PackageDeal GuestNr

Lexicalization has reservation for includes Package NrInParty Duration Rate = (1 – Discount/100)  RackRate Room RoomNr Rate Guest Activity Name Description Date Type RackRate Discount PackageDeal GuestNr

Canonical Hypergraph has reservation for includes NrInParty Duration Rate = (1 – Discount/100)  RackRate RoomNr Rate GuestNr Description Name Date Type RackRate Discount Package

Generated DB Schema has reservation for includes NrInParty Duration Rate = (1 – Discount/100)  RackRate RoomNr Rate GuestNr Description Name Date Type RackRate Discount Package Guest(GuestNr, Name, NrInParty, Package) HasReservationFor(RoomNr, Date, Rate, GuestNr) DateDiscount(Date, Discount) Room(RoomNr, Type) TypeRackRate(Type, RackRate) Activity(Description, Duration) Includes(Package, Description)