une (très) courte introduction à la temporalité...

24
Christina KHNAISSER et Luc LAVOIE Département d’informatique Faculté des sciences [email protected] http://info.USherbrooke.ca/ckhnaisser [email protected] http://info.USherbrooke.ca/llavoie Une (très) courte introduction à la temporalité (a) 2020-11-05 B ASES DE DONNÉES T EMPORALITÉ BD201a v200d

Upload: others

Post on 11-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

ChristinaKHNAISSER etLucLAVOIEDépartementd’informatiqueFacultédessciences

[email protected]://info.USherbrooke.ca/[email protected]://info.USherbrooke.ca/llavoie

Une(très)courteintroductionàlatemporalité(a)

2020-11-05

BASES DE DONNÉESTEMPORALITÉ

BD201av200d

Page 2: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

2

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

PLAN¢Miseencontexte

¢Problématiqueparl’exemple[Manthey]

¢Lesmodèlestemporelsdebasededonnées

� Étatdel’artenbref

� BCDM :BitemporalConceptualDataModel� DDLM :Date,Darwen andLorentzos Model� AV :AssertedVersionning

Page 3: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

3

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

QUELQUES ACRONYMES

¢BDC :basededonnéescourantes

� aussicourammentappelée :¢ basededonnéesd’exploitation,¢ basededonnéestransactionnelle.

¢BDT :basededonnéestemporalisées

� aussicourammentappelée :¢ basededonnéesjournalisées,¢ basededonnéestemporelles.

¢BDH :basededonnéeshistoricisées

� aussicourammentappelée :¢ basededonnéeshistoriques.

Page 4: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

4

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

MISE EN CONTEXTE

Page 5: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

5

MISE EN CONTEXTEQUELLE DIFFÉRENCE ENTRE BDCET BDT ?

¢« Twodecadesofresearchintotemporaldatabases

haveunequivocallyshownthatatime-varyingtable,

containingcertainkindsofDATEcolumns,isa

completelydifferentanimalthanitscousin,the

tablewithoutsuchcolumns. »

(Snodgrass,2000)

¢Parailleurs,en2004,Date,DarwenetLorentzosvontfaireladémonstrationquetouteslesopérationsrelativesàlatemporalitédesdonnéess’exprimentnaturellementauseindelathéorierelationnelle…sansqu’ilsoitnécessaired’ymodifierquoiquecesoit.

Page 6: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

6

MISE EN CONTEXTEQU’EST-CE QU’UNE BDT ?

¢Adatabasethatmaintainspast,present,andfuture

dataiscalledatemporaldatabase.

(Tansel,1993)

¢Atemporaldatabaseisonethatsupportssome

aspectoftime

(Snodgrass,1995)

¢Atemporaldatabasecanbethoughtof,veryloosely,

asadatabasethatcontainshistoricaldatainsteadof

orinadditiontocurrentdata.

(DDL,2002)

Page 7: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

7

MISE EN CONTEXTEQU’EST-CE QU’UNE BDC ?

¢Unebasededonnéesquinecontientquedes

donnéescourantes.

¢ Ils’agitdoncd’uneprojectiond’unebasede

données« entièrement »temporaliséessurl’instant

présent.

(Lavoie,2014)

Page 8: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

8

MISE EN CONTEXTEQUELQUES QUESTIONS

¢Qu’est-cequeletemps?

¢Qu’estqu’un« évènement »?

¢Peut-onrécrirel’histoire?

¢Quesignifie« maintenant »?

¢Qu’est-cequelefutur?

Page 9: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

9

MISE EN CONTEXTEAUTRES QUESTIONS

¢Commentdéfinir

� moment,périodeetdurée?¢Quellessontlesdifférencesentrelestemps

� calendaire,astronomiqueetatomique?¢Letempsest-ilabsoluourelatif?

� S’ilestrelatif,àquoil’est-il?¢Ya-t-ilunedifférenceentre

� une« information »(datedenaissance)etune« temporalisation »(dated’entréeenvigueur)?

� uneinformationtemporaliséeetunequinel’estpas?¢Existe-t-ildesinformations(vraiment)immuables?

¢Quesignifiel’absenced’estampilletemporelledans

uneinformation?

Page 10: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec

LaplusgrandepartiedumatérieldecettesectionprovientducoursINF3302SS 2018développéparleProf.Manthey

Voir• [Manthey]• [INF3302]

¢ Modélisation¢ Requêtes¢ Modifications

2020-11-05

10

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

PROBLÉMATIQUE PAR L’EXEMPLE

Page 11: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

11

PROBLÉMATIQUE PAR L’EXEMPLE - MODÉLISATIONHISTOIRE DE LA PRÉSIDENTIELLE AMÉRICAINE

Page 12: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

12

PROBLÉMATIQUE PAR L’EXEMPLE - REQUÊTESHISTOIRE DE LA PRÉSIDENTIELLE AMÉRICAINE

¢Quiestleprésidentactuel ?

¢Quiétaitleprésidentle4juillet1890 ?

¢Quiseraleprésidentle4juillet2019 ?

Page 13: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

13

PROBLÉMATIQUE PAR L’EXEMPLE - REQUÊTESHISTOIRE DE LA PRÉSIDENTIELLE AMÉRICAINE

¢Quellepériodeestcouverteparla43eprésidence?

¢Combiendetempsaduréla43eprésidence?

¢Pendantcombiend’annéesClevelanda-t-il été

président?

Page 14: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

14

PROBLÉMATIQUE PAR L’EXEMPLE - MODIFICATIONSHISTOIRE DE LA PRÉSIDENTIELLE AMÉRICAINE

¢ Lesfaitsconsignésdanscetableausontconnuspourêtrehistoriquementcorrects,etneseront« jamais »réexaminés.

¢ Lesseulesmodificationsàprévoirsontl’ajoutdenouvelleslignesetlasaisiedenouvellesdatesmanquantes.

Page 15: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

15

PROBLÉMATIQUE PAR L’EXEMPLEÉVALUATION DE COURS DANS UNE UNIVERSITÉ

¢Lesdonnéesdu1e avril2011…

Page 16: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

16

PROBLÉMATIQUE PAR L’EXEMPLEÉVALUATION DE COURS DANS UNE UNIVERSITÉ

¢Lesdonnéesdu4 avril2011…

Page 17: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

17

PROBLÉMATIQUE PAR L’EXEMPLEÉVALUATION DE COURS DANS UNE UNIVERSITÉ

¢Lesdonnéesdu6 avril2011…

Page 18: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

18

PROBLÉMATIQUE PAR L’EXEMPLEÉVALUATION DE COURS DANS UNE UNIVERSITÉ

Page 19: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec

¢ Étatdel’artenbref¢ Modèles :

� BCDM :BitemporalConceptualDataModel� DDLM :Date,DarwenandLorentzosModel� AV :AssertedVersioning

2020-11-05

19

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

LES MODÈLES TEMPORELS DE BASES DE DONNÉES

Page 20: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

20

LES MODÈLES TEMPORELS DE BASES DE DONNÉESÉTAT DE L’ART EN BREF

UHF

2016…

1983 1995 2011 20141994

Glossaire consensuel

AllenLogique des intrevalles

Recensement30 modèle

20 langages

ISO/SQL2011

DDLM

SnodgrassTSQL2BCDM

LorentzosTRA

1987

Incertitude

1982

Ben-ZviTRM

2003

DDLM

Page 21: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

21

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

PRINCIPALES RÉFÉRENCES

¢Temporalitégénérale� [Manthey]https://pages.iai.uni-bonn.de/manthey_rainer/

� [INF3302]https://pages.iai.uni-bonn.de/manthey_rainer/TIS2018/

Page 22: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

22

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

PRINCIPALES RÉFÉRENCES

¢ Bitemporal ConceptualDataModel� proposéparJENSEN,C.S.,SOO,M.D.,AND SNODGRASS,R.T. 1993.Unifying TemporalDataModels viaaConceptual Model.InformationSystems 19,513–547.

� DéveloppéparSNODGRASS,R.T. 2000.Developing time-oriented database applicationsinSQL.MorganKaufmannPublishers,SanFrancisco,Calif.http://www.cs.arizona.edu/people/rts/tdbbook.pdf

� bienprésentéparMANTHEY,R. 2014.TemporalInformationSystemshttp://www.iai.uni-bonn.de/III/lehre/vorlesungen/TemporalIS/SS14/

Page 23: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

23

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

PRINCIPALES RÉFÉRENCES

¢ TemporalRelationalModel� proposéparLORENTZOS,N.A.AND JOHNSON,R.G. 1988.Extending relational algebra tomanipulate temporaldata.InformationSystems 13,3,289–96.

� développépar� DATE,C.J.,DARWEN,H.,AND LORENTZOS,N.A. 2003.Temporaldataandtherelational model:adetailedinvestigationinto theapplicationofinterval andrelationtheory totheproblem oftemporaldatabase management.MorganKaufmannPublishers,SanDiego,CA.

� DATE,C.J.,DARWEN,H.,AND LORENTZOS,N.A. 2014.Timeandrelational theory:temporaldatabases intherelational modelandSQL.MorganKaufman/Elsevier,Amsterdam ;Boston.

Page 24: Une (très) courte introduction à la temporalité (a)info.usherbrooke.ca/.../Modules/BD201a-Temporalite-A_PRE.pdf¢« Two decades of research into temporal databases have unequivocally

Départementd’informatique,Facultédessciences,UniversitédeSherbrooke,Québec2020-11-05

24

BD201a:Introductionàlatemporalité(v200d)—ChristinaKhnaisseretLucLavoie

PRINCIPALES RÉFÉRENCES

¢AssertedVersionning� JOHNSTON,T.ANDWEIS,R. 2010.Managing timeinrelational databases:howtodesign,updateandquery temporaldata.MorganKaufmann/Elsevier,Amsterdam ;Boston.