SlideShare a Scribd company logo
Temporal Data
Warehouse
Er. Kulwinder Singh Padda
Department Of Information Technology
Temporal Databases & Data Warehousing
• Temporal databases and data warehousing are two separate areas
which are strongly related:
• data warehouses are the commercial products that require
temporal database technology.
• Naturally, most other database products are amenable to temporal
database technology, too.
• Regarding the market perspectives, however, one has to assume
that it will be mainly data warehouses that adopt the techniques
that have been and that will be developed by temporal database
researchers.
Temporal Data Warehouse
• A temporal data warehouse is a repository of historical
information, originating from multiple, autonomous, (sometimes)
heterogeneous and non-temporal sources.
• It is available for queries and analysis (such as data mining) not
only to users interested in current information but also to those
interested in researching past information to identify relevant
trends.
• A collection of integrated, subject-oriented databases designed to
support the DSS function, where each unit of data is relevant to
some moment in time. The data warehouse contains atomic data
and lightly summarized data.
Applications of Temporal Data Warehouse
• Temporal data has important applications in many domains
(Jensen 1999; Jestes 2012).
• Most of those domains applications can benefit from a temporal
data warehouse (Thomas and Datta 2001; and Yang and Widom
1998) such as banking, retail sales, financial services, medical
records, inventory management, telecommunications, and
reservation systems.
• In the case of a bank account, an account holder’s balance will
change after each transaction.
• The amount or descriptions of a financial document will change
for business purposes.
• Such data is often valuable to different stakeholders and should
be stored in both current state and all previously current states.
Temporal Databases
• A temporal database is a database with built-in support for
handling data involving time, being related to Slowly changing
dimension concept, for example a temporal data model and a
temporal version of Structured Query Language (SQL).
• More specifically the temporal aspects usually include valid time
and transaction time. These attributes can be combined to form
bitemporal data.
Definitions and Meanings
Valid Time is the time period during which a fact is true with respect to
the real world.
Transaction time is the time period during which a fact stored in the
database is considered to be true.
Bitemporal Data combines both Valid and Transaction Time.
• It is possible to have timelines other than Valid Time and Transaction
Time, such as Decision Time, in the database. In that case the database
is called a multitemporal database as opposed to a bitemporal database.
• However, this approach introduces additional complexities such as
dealing with the validity of (foreign) keys.
• Temporal databases are in contrast to current databases, which store
only facts which are believed to be true at the current time.
Synchronization and relationships
• Temporal relations define temporal dependencies between the objects.
• For e.g, the temporal relations are the relation between a video and audio
object that are recorded during a concert. if these objects are presented,
the temporal relation during the presentations of the two media objects
must correspond to the temporal relation at the recording moment. These
time relations one must understand as synchronization in systems.
• Synchronization relationships specify how two temporal extents relate to
each other.
• They are essential in temporal applications, since they allow one to
determine, whether two events occur simultaneously or whether one
precedes the other.
Synchronization and Relationships
• The synchronization relationships for the temporal data correspond to the
topological relationships for the spatial data. They are defined in a similar
way, on the basis of the concepts of:
1. Boundary: The boundary is defined for the different temporal data types as
follows. An instant has many empty boundaries. The boundary of an interval
consists of its start and end instants. For e.g, The boundary of
CompileTime Value is defined by union of boundaries of its components that
do not intersect with other components.
2. Interior: The interior of temporal Value is composed of all its instants that
do not belong to the boundary.
3. Exterior: The exterior of a temporal value is composed of all the instants of
the underlying time frame that do not belong to the temporal value.
Icons for Synchronization Relationships
• The commonly used synchronization relationships are shown in the table:
1. Meets: Two temporal values meet if they intersect in an instant but their
interior do not. Note that two temporal values may intersect in an instant but
do not meet.
2. Overlaps: Two temporal values if their interiors intersect and their intersection
is not equal to either of them.
3. Contains/Inside: These are the symmetric predicates- a contains b if and only if
b inside a. A temporal value contains another one if the interior of the former
contains all instants of the second.
4. Covers/Converted By: These are the symmetric predicates –a covers b if and
only if b covered By a. A temporal value covers another one if the former
includes all instants of the latter.
Icons for Synchronization Relationships
• Disjoint/Intersects: These are inverse temporal predicates –when one applies, the
other does not. Two temporal values are disjoint if they do not share any instant.
• Equals: Two temporal values are equal if every instant of the first value belongs
also to the second and conversely.
• Starts/Finishes: A temporal value starts another if the first instants of the two
values are equal. Similarly, a temporal value finishes another if the last instants of
the two values are equal.
• Precedes/Succeeds: A temporal value precedes another if the last instant of the
former is before the first instant of the second. Similarly, a temporal value
succeeds another if the first instant of the former is later than the instant of the
second.
Icons for synchronization relation
Temporality Data Types
• Use temporal data types to store date, time, and time-interval
information. Although you can store this data in character strings,
it is better to use temporal types for consistency and validation.
• Temporality Data Types.docx
Temporal Data Types
Temporality Types
Two different temporality types are usually considered:
Valid Time (VT),Transaction time (TT) that allow representing, respectively, when the data is true in the modeled
reality and when it is current in the database. If both temporality types are used, they define bitemporal time
(BT). In addition, the LifeSpan (LS) is used to record changes in time for an object as a whole.
These temporality types are used for representing either events, i.e., something that happens at a particular time
point, or states, i.e., something that has extent over time. For the former an instant is used, i.e., a timepoint on
an underlying time axis; the specific value of an instant is called timestamp. An instant may have assigned a
particular value now indicating current time. An instant is defined according to a non-decomposable time unit
called granule, and its size is called granularity. States are represented by an interval or period.
Temporal Support for Levels
• Changes in a level can occur either for a member as a whole(for example,
inserting or deleting a product in the catalog of company) or for attribute values(
for example, changing the size of a product).
• Representing these changes in a temporal data warehouse is important for analysis
purposes to discover how the exclusion of some products or changes to the size of
a product influence sales.
• In a MultiDim model, a level may have temporal support independently of the fact
that it has temporal attributes.
Temporal Support for Levels
LS Product
Product number
Name
Description
Size
Distributor
LS Product
VT
Product number
Name
Description
Size
Distributor
Product
VT
Product number
Name
Description
Size
Distributor
(a) Temporal Level (b) Temporal Level
with Temporal
attributes
(c) Non Temporal
level with temporal
attributes
Temporal Support Levels
• There are two types of temporality Support:
1) Lifespan Support is the used to keep changes of the levels members ; this is
represented by putting the LS symbol next to the level’s name. Lifespan can be
combined with the transaction time and loading times which indicate,
respectively, when the level member is current in a source system and in a
temporal data warehouse.
2) Temporal Support to attributes allows keeping changes in their values and time
when they have occurred. This is represented by including the symbol of
corresponding temporality type next to the attribute name in Figure a.
Figure b shows an example of a product level that includes temporal attributes size
and distributor.
Temporal Hierarchies
Hierarchies in MultiDim model contain several related levels. For two related levels in hierarchy, the levels, the
relationship between them or both may have temporal support.
Non-temporal relationships between
Temporal Levels
Non-temporal relationships between
Temporal Levels
Temporal relationships between non-
temporal levels
Temporal relationships between non-
temporal levels

More Related Content

Similar to Temporal_Data_Warehouse.pptx

temporal and spatial database.pptx
temporal and spatial database.pptxtemporal and spatial database.pptx
temporal and spatial database.pptx
64837JAYAASRIK
 
PERFORMANCE STUDY OF TIME SERIES DATABASES
PERFORMANCE STUDY OF TIME SERIES DATABASESPERFORMANCE STUDY OF TIME SERIES DATABASES
PERFORMANCE STUDY OF TIME SERIES DATABASES
ijdms
 
Converting UML Class Diagrams into Temporal Object Relational DataBase
Converting UML Class Diagrams into Temporal Object Relational DataBase Converting UML Class Diagrams into Temporal Object Relational DataBase
Converting UML Class Diagrams into Temporal Object Relational DataBase
IJECEIAES
 
129471717 unit-v
129471717 unit-v129471717 unit-v
129471717 unit-v
homeworkping8
 
IRJET- Mining Frequent Itemset on Temporal data
IRJET-  	  Mining  Frequent Itemset on Temporal dataIRJET-  	  Mining  Frequent Itemset on Temporal data
IRJET- Mining Frequent Itemset on Temporal data
IRJET Journal
 
Lecture 1. Data Structure & Algorithm.pptx
Lecture 1. Data Structure & Algorithm.pptxLecture 1. Data Structure & Algorithm.pptx
Lecture 1. Data Structure & Algorithm.pptx
ArifKamal36
 
Ordbms
OrdbmsOrdbms
(Lecture 4)Slowly Changing Dimensions.pdf
(Lecture 4)Slowly Changing Dimensions.pdf(Lecture 4)Slowly Changing Dimensions.pdf
(Lecture 4)Slowly Changing Dimensions.pdf
MobeenMasoudi
 
Spatio-Temporal Database and Its Models: A Review
Spatio-Temporal Database and Its Models: A ReviewSpatio-Temporal Database and Its Models: A Review
Spatio-Temporal Database and Its Models: A Review
IOSR Journals
 
Temporal Web Dynamics and Implications for Information Retrieval
Temporal Web Dynamics and Implications for Information RetrievalTemporal Web Dynamics and Implications for Information Retrieval
Temporal Web Dynamics and Implications for Information Retrieval
Nattiya Kanhabua
 
SQL and Temporal Database Research: Unified Review and Future Directions
SQL and Temporal Database Research: Unified Review and Future DirectionsSQL and Temporal Database Research: Unified Review and Future Directions
SQL and Temporal Database Research: Unified Review and Future Directions
IRJET Journal
 
Chapter 6.pptx
Chapter 6.pptxChapter 6.pptx
Chapter 6.pptx
alishbaaleem6
 
A Bitemporal SQL Extension
A Bitemporal SQL ExtensionA Bitemporal SQL Extension
A Bitemporal SQL Extension
IDES Editor
 
Real time database
Real time databaseReal time database
Real time databasearvinthsaran
 
Large Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of ForecastsLarge Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of ForecastsAjay Ohri
 
Concurrency control
Concurrency controlConcurrency control
Concurrency control
Subhasish Pati
 
DLF-JCDL2007ExpandedKoeln.ppt
DLF-JCDL2007ExpandedKoeln.pptDLF-JCDL2007ExpandedKoeln.ppt
DLF-JCDL2007ExpandedKoeln.ppt
PoojaTripathi92
 
Chapter 2 - Introduction to Data Science.pptx
Chapter 2 - Introduction to Data Science.pptxChapter 2 - Introduction to Data Science.pptx
Chapter 2 - Introduction to Data Science.pptx
Wollo UNiversity
 
Data Warehouse by Amr Ali
Data Warehouse by Amr AliData Warehouse by Amr Ali
Data Warehouse by Amr Ali
Amr Ali
 
Dimensional modeling primer
Dimensional modeling primerDimensional modeling primer
Dimensional modeling primer
Terry Bunio
 

Similar to Temporal_Data_Warehouse.pptx (20)

temporal and spatial database.pptx
temporal and spatial database.pptxtemporal and spatial database.pptx
temporal and spatial database.pptx
 
PERFORMANCE STUDY OF TIME SERIES DATABASES
PERFORMANCE STUDY OF TIME SERIES DATABASESPERFORMANCE STUDY OF TIME SERIES DATABASES
PERFORMANCE STUDY OF TIME SERIES DATABASES
 
Converting UML Class Diagrams into Temporal Object Relational DataBase
Converting UML Class Diagrams into Temporal Object Relational DataBase Converting UML Class Diagrams into Temporal Object Relational DataBase
Converting UML Class Diagrams into Temporal Object Relational DataBase
 
129471717 unit-v
129471717 unit-v129471717 unit-v
129471717 unit-v
 
IRJET- Mining Frequent Itemset on Temporal data
IRJET-  	  Mining  Frequent Itemset on Temporal dataIRJET-  	  Mining  Frequent Itemset on Temporal data
IRJET- Mining Frequent Itemset on Temporal data
 
Lecture 1. Data Structure & Algorithm.pptx
Lecture 1. Data Structure & Algorithm.pptxLecture 1. Data Structure & Algorithm.pptx
Lecture 1. Data Structure & Algorithm.pptx
 
Ordbms
OrdbmsOrdbms
Ordbms
 
(Lecture 4)Slowly Changing Dimensions.pdf
(Lecture 4)Slowly Changing Dimensions.pdf(Lecture 4)Slowly Changing Dimensions.pdf
(Lecture 4)Slowly Changing Dimensions.pdf
 
Spatio-Temporal Database and Its Models: A Review
Spatio-Temporal Database and Its Models: A ReviewSpatio-Temporal Database and Its Models: A Review
Spatio-Temporal Database and Its Models: A Review
 
Temporal Web Dynamics and Implications for Information Retrieval
Temporal Web Dynamics and Implications for Information RetrievalTemporal Web Dynamics and Implications for Information Retrieval
Temporal Web Dynamics and Implications for Information Retrieval
 
SQL and Temporal Database Research: Unified Review and Future Directions
SQL and Temporal Database Research: Unified Review and Future DirectionsSQL and Temporal Database Research: Unified Review and Future Directions
SQL and Temporal Database Research: Unified Review and Future Directions
 
Chapter 6.pptx
Chapter 6.pptxChapter 6.pptx
Chapter 6.pptx
 
A Bitemporal SQL Extension
A Bitemporal SQL ExtensionA Bitemporal SQL Extension
A Bitemporal SQL Extension
 
Real time database
Real time databaseReal time database
Real time database
 
Large Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of ForecastsLarge Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of Forecasts
 
Concurrency control
Concurrency controlConcurrency control
Concurrency control
 
DLF-JCDL2007ExpandedKoeln.ppt
DLF-JCDL2007ExpandedKoeln.pptDLF-JCDL2007ExpandedKoeln.ppt
DLF-JCDL2007ExpandedKoeln.ppt
 
Chapter 2 - Introduction to Data Science.pptx
Chapter 2 - Introduction to Data Science.pptxChapter 2 - Introduction to Data Science.pptx
Chapter 2 - Introduction to Data Science.pptx
 
Data Warehouse by Amr Ali
Data Warehouse by Amr AliData Warehouse by Amr Ali
Data Warehouse by Amr Ali
 
Dimensional modeling primer
Dimensional modeling primerDimensional modeling primer
Dimensional modeling primer
 

Recently uploaded

My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
rwarrenll
 
Nanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdfNanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdf
eddie19851
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
balafet
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
mzpolocfi
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
slg6lamcq
 
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTESAdjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Subhajit Sahu
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
v3tuleee
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
vikram sood
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
GetInData
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
ahzuo
 
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdfUnleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
Enterprise Wired
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
ahzuo
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
slg6lamcq
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
mbawufebxi
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 

Recently uploaded (20)

My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
 
Nanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdfNanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdf
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
 
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTESAdjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
 
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdfUnleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
Unleashing the Power of Data_ Choosing a Trusted Analytics Platform.pdf
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 

Temporal_Data_Warehouse.pptx

  • 1. Temporal Data Warehouse Er. Kulwinder Singh Padda Department Of Information Technology
  • 2. Temporal Databases & Data Warehousing • Temporal databases and data warehousing are two separate areas which are strongly related: • data warehouses are the commercial products that require temporal database technology. • Naturally, most other database products are amenable to temporal database technology, too. • Regarding the market perspectives, however, one has to assume that it will be mainly data warehouses that adopt the techniques that have been and that will be developed by temporal database researchers.
  • 3. Temporal Data Warehouse • A temporal data warehouse is a repository of historical information, originating from multiple, autonomous, (sometimes) heterogeneous and non-temporal sources. • It is available for queries and analysis (such as data mining) not only to users interested in current information but also to those interested in researching past information to identify relevant trends. • A collection of integrated, subject-oriented databases designed to support the DSS function, where each unit of data is relevant to some moment in time. The data warehouse contains atomic data and lightly summarized data.
  • 4. Applications of Temporal Data Warehouse • Temporal data has important applications in many domains (Jensen 1999; Jestes 2012). • Most of those domains applications can benefit from a temporal data warehouse (Thomas and Datta 2001; and Yang and Widom 1998) such as banking, retail sales, financial services, medical records, inventory management, telecommunications, and reservation systems. • In the case of a bank account, an account holder’s balance will change after each transaction. • The amount or descriptions of a financial document will change for business purposes. • Such data is often valuable to different stakeholders and should be stored in both current state and all previously current states.
  • 5. Temporal Databases • A temporal database is a database with built-in support for handling data involving time, being related to Slowly changing dimension concept, for example a temporal data model and a temporal version of Structured Query Language (SQL). • More specifically the temporal aspects usually include valid time and transaction time. These attributes can be combined to form bitemporal data.
  • 6. Definitions and Meanings Valid Time is the time period during which a fact is true with respect to the real world. Transaction time is the time period during which a fact stored in the database is considered to be true. Bitemporal Data combines both Valid and Transaction Time. • It is possible to have timelines other than Valid Time and Transaction Time, such as Decision Time, in the database. In that case the database is called a multitemporal database as opposed to a bitemporal database. • However, this approach introduces additional complexities such as dealing with the validity of (foreign) keys. • Temporal databases are in contrast to current databases, which store only facts which are believed to be true at the current time.
  • 7. Synchronization and relationships • Temporal relations define temporal dependencies between the objects. • For e.g, the temporal relations are the relation between a video and audio object that are recorded during a concert. if these objects are presented, the temporal relation during the presentations of the two media objects must correspond to the temporal relation at the recording moment. These time relations one must understand as synchronization in systems. • Synchronization relationships specify how two temporal extents relate to each other. • They are essential in temporal applications, since they allow one to determine, whether two events occur simultaneously or whether one precedes the other.
  • 8. Synchronization and Relationships • The synchronization relationships for the temporal data correspond to the topological relationships for the spatial data. They are defined in a similar way, on the basis of the concepts of: 1. Boundary: The boundary is defined for the different temporal data types as follows. An instant has many empty boundaries. The boundary of an interval consists of its start and end instants. For e.g, The boundary of CompileTime Value is defined by union of boundaries of its components that do not intersect with other components. 2. Interior: The interior of temporal Value is composed of all its instants that do not belong to the boundary. 3. Exterior: The exterior of a temporal value is composed of all the instants of the underlying time frame that do not belong to the temporal value.
  • 9. Icons for Synchronization Relationships • The commonly used synchronization relationships are shown in the table: 1. Meets: Two temporal values meet if they intersect in an instant but their interior do not. Note that two temporal values may intersect in an instant but do not meet. 2. Overlaps: Two temporal values if their interiors intersect and their intersection is not equal to either of them. 3. Contains/Inside: These are the symmetric predicates- a contains b if and only if b inside a. A temporal value contains another one if the interior of the former contains all instants of the second. 4. Covers/Converted By: These are the symmetric predicates –a covers b if and only if b covered By a. A temporal value covers another one if the former includes all instants of the latter.
  • 10. Icons for Synchronization Relationships • Disjoint/Intersects: These are inverse temporal predicates –when one applies, the other does not. Two temporal values are disjoint if they do not share any instant. • Equals: Two temporal values are equal if every instant of the first value belongs also to the second and conversely. • Starts/Finishes: A temporal value starts another if the first instants of the two values are equal. Similarly, a temporal value finishes another if the last instants of the two values are equal. • Precedes/Succeeds: A temporal value precedes another if the last instant of the former is before the first instant of the second. Similarly, a temporal value succeeds another if the first instant of the former is later than the instant of the second.
  • 12. Temporality Data Types • Use temporal data types to store date, time, and time-interval information. Although you can store this data in character strings, it is better to use temporal types for consistency and validation. • Temporality Data Types.docx
  • 14. Temporality Types Two different temporality types are usually considered: Valid Time (VT),Transaction time (TT) that allow representing, respectively, when the data is true in the modeled reality and when it is current in the database. If both temporality types are used, they define bitemporal time (BT). In addition, the LifeSpan (LS) is used to record changes in time for an object as a whole. These temporality types are used for representing either events, i.e., something that happens at a particular time point, or states, i.e., something that has extent over time. For the former an instant is used, i.e., a timepoint on an underlying time axis; the specific value of an instant is called timestamp. An instant may have assigned a particular value now indicating current time. An instant is defined according to a non-decomposable time unit called granule, and its size is called granularity. States are represented by an interval or period.
  • 15. Temporal Support for Levels • Changes in a level can occur either for a member as a whole(for example, inserting or deleting a product in the catalog of company) or for attribute values( for example, changing the size of a product). • Representing these changes in a temporal data warehouse is important for analysis purposes to discover how the exclusion of some products or changes to the size of a product influence sales. • In a MultiDim model, a level may have temporal support independently of the fact that it has temporal attributes.
  • 16. Temporal Support for Levels LS Product Product number Name Description Size Distributor LS Product VT Product number Name Description Size Distributor Product VT Product number Name Description Size Distributor (a) Temporal Level (b) Temporal Level with Temporal attributes (c) Non Temporal level with temporal attributes
  • 17. Temporal Support Levels • There are two types of temporality Support: 1) Lifespan Support is the used to keep changes of the levels members ; this is represented by putting the LS symbol next to the level’s name. Lifespan can be combined with the transaction time and loading times which indicate, respectively, when the level member is current in a source system and in a temporal data warehouse. 2) Temporal Support to attributes allows keeping changes in their values and time when they have occurred. This is represented by including the symbol of corresponding temporality type next to the attribute name in Figure a. Figure b shows an example of a product level that includes temporal attributes size and distributor.
  • 18. Temporal Hierarchies Hierarchies in MultiDim model contain several related levels. For two related levels in hierarchy, the levels, the relationship between them or both may have temporal support.
  • 21. Temporal relationships between non- temporal levels
  • 22. Temporal relationships between non- temporal levels