Event Processing Course Event Types (relates to chapter 3)

Slides:



Advertisements
Similar presentations
Chapter 6: Entity-Relationship Model (part I)
Advertisements

Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques
COMP 521 F10 Final Exam Review. 1. Which of the following is defined as a property or description of an entity. A. RelationB. Attribute C. DomainD. Selection.
IS698: Database Management Min Song IS NJIT. The Relational Data Model.
Chapter 3 : Relational Model
1 CHAPTER 4 RELATIONAL ALGEBRA AND CALCULUS. 2 Introduction - We discuss here two mathematical formalisms which can be used as the basis for stating and.
Database Systems: Design, Implementation, and Management Tenth Edition
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 15 Basics of Functional Dependencies and Normalization for Relational.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3 The Basic (Flat) Relational Model.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 8 The Enhanced Entity- Relationship (EER) Model.
Copyright ©2009 Opher Etzion Event Processing Course Lecture 10 – Focal points on challenging topics (related to chapter 11)
1 Pertemuan 6 The structure part of object data model (Lanjutan) Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0.
Copyright ©2009 Opher Etzion Event Processing Course Filtering and transformation (Relates to Chapter 8)
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Event Processing Course Producers and consumers (relates to chapters 4 + 5)
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
CS 380 Introduction to Database Systems (Chapter 5: The Relational Data Model and Relational Database Constraints)
Chapter 91 ER & EER to Relational Mapping. Chapter 92 ER to Relational Mapping Step 1: For each regular entity type E in the ER schema, create a relation.
Data Modeling Using the Entity-Relationship Model
1 Relational model concepts Key constraints Referential integrity constraint Steen Jensen, autumn 2013.
the Entity-Relationship Model
Content Resource- Elamsari and Navathe, Fundamentals of Database Management systems.
Relational Data Model. A Brief History of Data Models  1950s file systems, punched cards  1960s hierarchical  IMS  1970s network  CODASYL, IDMS 
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3 The Relational Data Model and Relational Database Constraints.
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
Chapter 5 Entity–Relationship Modeling
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
A Z Approach in Validating ORA-SS Data Models Scott Uk-Jin Lee Jing Sun Gillian Dobbie Yuan Fang Li.
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
THE RELATIONAL DATA MODEL CHAPTER 3 (6/E) CHAPTER 5 (5/E) 1.
Instructor: Churee Techawut Basic Concepts of Relational Database Chapter 5 CS (204)321 Database System I.
DBSQL 3-1 Copyright © Genetic Computer School 2009 Chapter 3 Relational Database Model.
Database Systems Lecture # 7 8 th Feb, Conceptual and Logical Design Person buys Product name pricenamessn Conceptual Model: Relational Model: (plus.
Chapter 2 Adapted from Silberschatz, et al. CHECK SLIDE 16.
Copyright © Curt Hill The Relational Model of Database Basic organization and terms.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Design Issues Mapping.
Information Systems & Databases 2.2) Organisation methods.
Slide Chapter 5 The Relational Data Model and Relational Database Constraints.
ITEC 3220A Using and Designing Database Systems Instructor: Prof Z. Yang Course Website: 3220a.htm
CS 338The Relational Model2-1 The Relational Model Lecture Topics Overview of SQL Underlying relational model Relational database structure SQL DDL and.
CSE314 Database Systems Lecture 3 The Relational Data Model and Relational Database Constraints Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson.
Chapter 4 The Semantic Object Model David M. Kroenke Database Processing © 2000 Prentice Hall.
Fundamentals, Design, and Implementation, 9/e Appendix B The Semantic Object Model.
CHAPTER 2 : RELATIONAL DATA MODEL Prepared by : nbs.
CSCI 6315 Applied Database Systems Review for Midterm Exam I Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539
1 The Relational Data Model David J. Stucki. Relational Model Concepts 2 Fundamental concept: the relation  The Relational Model represents an entire.
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.
Lecture # 11 & 12 (First Exam) Chapter # 5 The Relational Data Model and Relational Database Constraints Database Systems.
1 Representing and Reasoning on XML Documents: A Description Logic Approach D. Calvanese, G. D. Giacomo, M. Lenzerini Presented by Daisy Yutao Guo University.
COP Introduction to Database Structures
Entity-Relationship Model
Semantic Object Modeling (SOM)
Entity-Relationship Model
Entity Relationship Model
Chapter 2: Relational Model
RELATION.
Entity-Relationship Model
Chapter 7: Entity-Relationship Model
Chapter 4 Relational Databases
Chapter 3 The Relational Database Model
Relational Databases The Relational Model.
Relational Databases The Relational Model.
02 - The Relational Database Model
Chapter 2: Intro to Relational Model
ITEC 3220A Using and Designing Database Systems
Chapter 2: Intro to Relational Model
Chapter 4 Entity Relationship (ER) Modeling
Chapter 7: Entity-Relationship Model
Database Management system
Presentation transcript:

Event Processing Course Event Types (relates to chapter 3)

2 Copyright ©2009 Opher Etzion Lecture outline  Event types  Event header  Event payload  Event to event relationships  Events in the “Fast Flower Delivery”  Events in practice

3 Copyright ©2009 Opher Etzion Event Type An event type is a specification for a set of event objects that have the same semantic intent and same structure; every event is considered as an instance of an event type.

4 Copyright ©2009 Opher Etzion Event type definition

5 Copyright ©2009 Opher Etzion Event Type Building Block

6 Copyright ©2009 Opher Etzion Event type description attributes  The event type identifier attribute identifies the event type definition that describes the event instance  The event composition attribute is a Boolean attribute that denotes whether the specific event instance consists of composition of several events or not.  The temporal granularity (or Chronon) attribute denotes the "atom of time" from a particular application's point of view. It stands for the unit in which time-stamps in the application are being measured. oexamples: second, minute, hour, or day

7 Copyright ©2009 Opher Etzion Header attribute indicators  The occurrence time attribute is a time stamp with a precision given by the event type's temporal granularity (Chronon). It records the time at which the event occurred in the external system.  The event certainty attribute denotes an estimate of the certainty of this particular event.  The event annotation attribute provides a free-text explanation of what happened in this particular event.

8 Copyright ©2009 Opher Etzion Header event instance attributes – cont.  The event identity attribute is a system generated unique id for each individual event instance.  The detection time attribute is a time stamp (in the event type’s temporal granularity) that records the time in which the event became known to the event processing system.  The event source attribute is the name of the entity that originated this event. This can be either an event producer or an event processing agent.

9 Copyright ©2009 Opher Etzion Payload attributes: data types  Basic simple data types: oString oInteger oFloating point number oFixed precision decimal number oBinary data oBoolean  More advanced simple data types: oTime stamp oLocation oReference to another event

10 Copyright ©2009 Opher Etzion Location data type

11 Copyright ©2009 Opher Etzion Attribute with semantic roles  An event entity reference is an event attribute whose value is a reference to a particular entity external to the event.  A common attribute is an event attribute whose semantics are defined by the attribute name, so within the application domain all attributes with the same name are considered to be semantically equivalent.

12 Copyright ©2009 Opher Etzion Event to event relations  A retraction event relationship is a property of an event type referencing a second event type that is the logical retraction of the referencing event type.  The event generalization and specialization relationships indicate that an event type is a generalization or specialization of another event type, possibly conditioned by a predicate.  An event type is said to be a member of a composite event type if its instances can be included in instances of the composite event type. The membership relationship applies only to composite event types. It indicates that the related event type is a member of the composite event type.

13 Copyright ©2009 Opher Etzion  Flat representation: similar to a normalized tuple in a database.  Structure representation: similar to a record that may include arrays and tuples within the structure.  XML representation: using XML schema to define the structure.  Object: The event is represented as an object; methods have to be applied in order to retrieve its content. Events Representation in Practice

14 Copyright ©2009 Opher Etzion Example 1: Websphere Business Events

15 Copyright ©2009 Opher Etzion Example 2: ruleCore

16 Copyright ©2009 Opher Etzion Example 3 – XML