Size: px
Start display at page:

Download ""

Transcription

1 UniversalTemporalDataLanguages CindyXinminChenandCarloZaniolo UniversityofCaliforniaatLosAngeles ComputerScienceDepartment Abstract.Temporalreasoningandtemporalquerylanguagespresentdicultresearchchallenges,whichareslowlyyieldingtothecombinedattackofmanyinvestigationsmotivated LosAngeles,CA90095 bythetheoreticalinterestandpracticalimportoftheproblem.inthispaper,wesubscribe anddatalog.inthispaper,weusedatalogasaframeworktodevelopanewlanguage totsql2insofaraspracticalrequirementsforaquerylanguageareconcerned,butweproposeasolutionthatovercomesitsshortcomings,particularlythelackofuniversalitywhereby constructsandsemanticscanbedirectlyappliedtoderivetemporalextensionsoflanguages, TemporalDataLanguage(TDL).Tosupportourclaimofuniversality,wearguethatTDL TSQL2temporalextensionscannotbeeasilyappliedtootherquerylanguages,suchasQBE suchasqbeandsql.finally,weevaluatealternativeapproachestotheimplementationof 1TDL,usingasthebasisforimplementationtheLDL++systemwithextendedaggregates developedatucla. querylanguagesbasedonlogicprograms.[sno95]introducedtsql2,whichisaconsensus Extensiveresearchhasfocusedontemporaldatabases[Tan93].[Cho93]addressedtemporal Introduction extensiontosql-92.tsql2usesabi-temporalconceptualdatamodel(bcdm)[jen94]. saythattsql2hasanimplicit-timedatamodel.becauseofimplicittime,thesemantics Withrespecttointerval-basedmodels,TSQL2presentstheadvantagethatitdoesnotrequire cannotbeexplicitlyreferredintheselectandwhereclausesofansqlquery:thus,we oftsql2queriesbecomediculttoformalize,andcomplexqueriesarehardtoexpress explicitcoalescingoftimeperiods[bss96].onedrawbackoftsql2isthattimecolumns universality:while[bcs96]proposedapossibleunicationbetweentsql2andtemporal andindeedrequiretheintroductionofspecialconstructs.thesecondproblemisitslackof logic,tsql2'sapproachisspecictosql,anddoesnotcontainthekernelofauniversal temporaldatamodelandquerylanguage,whichcanbeappliedto,say,qbeanddatalog. supportautomaticcoalescing,thusyieldingasimplersyntaxandclearersemantics.inpointbasedmodels,intervalsaretreatedasanabstractionofsetsofpoints.snapshot-equivalent Point-basedversusinterval-basedtemporaldatamodelswerediscussedin[Tom96]and [BBJ98].Point-baseddatamodelsaredirectlybasedonthesnapshotrepresentationand representationdependencyproblemofinterval-baseddatamodels. argumentrelationsaretreatedidenticallyinpoint-baseddatamodels,thusavoidingthe level.forconceptualschema,tdlbasicallysubscribestothepoint-basedapproachproposed Datalog.TDLdrawsacleardistinctionbetweenend-userview,conceptuallevel,andphysical (TDL),whichhasauniedsemanticsandservesasanaturalextensiontoSQL,QBEand Inthispaper,wepresentanewtemporalquerylanguage,theTemporalDataLanguage 123

2 by[tom97,tom98].ourmainnovelty,withrespecttothecitedworks,isasimpleand uniformapproachtoallen'sintervaloperatorsandothercomplextsql2constructs.we alsotaketherststeptowardanecientldl++implementationandtheapplicationof thesameextensionstosqlandqbe. canalsohandletransactiontime.toillustratesomeoftheissueswithtsql2,considerthe followingqueriesbasedonexamplesgivenin[ads97]. Becauseofspacelimitations,weonlydiscussvalidtimeinthispaper,althoughTDL andsampletsql2queriesareasfollows: 1.1TSQL2 Wehaveapatientdatabasewiththehistoryofprescriptionsgiventopatients.Theschema 1.Schemadenition CREATETABLEPrescription(NameCHAR(30), Example1DenethePrescriptionrelation ASVALIDSTATEDAY PhysicianCHAR(30),DrugCHAR(30),DosageCHAR(30), FrequencyINTERVALMINUTE) 2.Temporalselectionandjoin ThePrescriptionrelationisavalidtimerelation.Thevalidtimehasagranularityof oneday. Example2WhatdrugshavebeenprescribedwithProventil? WHEREP1.Drug=`Proventil`ANDP2.Drug<>`Proventil` FROMPrescriptionASP1,PrescriptionASP2 SELECTP1.Name,P2.Drug Thequeryreturnsthepatient'sname,thedrugandthemaximalperiodsduringwhich ANDP1.Name=P2.Name boththatdrugandproventilwereprescribedtothepatient. Undoubtedly,theexpressionofsimpleselectionandjoinsrepresentsthebestfeature oftsql2,insofarasthesequeriesremainthesameasinstandardsql.thisisaccomplishedbykeepingthetimedimensionimplicit,asillustratedbythefactthatthe valid-timecolumnisnotevenmentionedinthepreviousquery.therefore,bydefault, snapshotmustbeaddedtoproduceanormalrelationinsteadofavalid-timeone; whileaddingthekeywordsnapshotrepresentsasimplemodication,otherchanges structsmustthenbeusedtodeviatefromthisbehavior.forinstance,thekeyword atsql2queryonavalid-timerelationreturnsavalid-timerelation.additionalcon- discussednextarenotsosimple. 124

3 3.VALIDclause TheVALIDclauseisusedtooverridethedefaulttimestampoftheresultingtupleofa query. VALIDINTERSECT(VALID(Prescription),PERIOD`[1996]`DAY) SELECTDrug Example3WhatdrugswereMelanieprescribedduring1996? FROMPrescription WHEREName=`Melanie` duringwhichmelanietookthedrugs.therewillbetuplesreturnedifsomedrugs Thequeryreturnsdrugs,ifany,prescribedtoMelaniein1996andthemaximalperiods wereprescribedin1996,butratherthanthewholedrughistorybeingshown,onlythe 4.RestructuringandAllen'sintervaloperators historyforthe1996periodwillbereturned.theneedforthisspecialconstructvalid AnobviousrequirementofalltemporallanguagesistosupportAllen'sintervaloperators iscreatedbythefactthattimeintsql2iskeptimplicit. Temporallanguagesthatarebasedontemporalintervals[LM97]relyontheseoperators suchasoverlaps,precedes,contains,equals,meets,andintersects[all83]. toexpresstemporaljoins.inthiskindoflanguages,thequeryofexample2wouldbe expressedbythecondition'p1overlapsp2'.noexplicituseofoverlapsisneededin point-basedsemanticssinceintervaloverlappingtantamountstoequalitybetweensome oftheirpoints[tom96,bbj98].tsql2followsthepoint-basedsemantics,butassumes thattheequalitybetweentimepointsholdsimplicitly(ratherthanaskingtheuserto explicitlystateitinthequery).tsql2,however,mustprovideexplicitconstructsfor theremainingallen'soperators.forinstance: Example4FindthepatientswhohavebeenprescribedProventil,providedthatallsuch prescriptionperiodsarein1996. WHEREP.Drug=`Proventil` FROMPrescription(Name,Drug)ASP SELECTSNAPSHOTName neverbeforeorafter1996. Thequeryreturnsthepatient'snameifthepatienttookProventilduring1996and ANDCONTAINS(PERIOD`[1996]`DAY,VALID(P)) ofvalid(p)andcontainsinthewhereclauseisimplicitlydeterminedbythisrestructuring.sayforinstancethatthefromclausebecomes:prescription(name,drug, performtemporalprojectionwithcoalescingontheselectedrelations.themeaning Physician)ASP;thenthequerywillreturnthemaximalperiodswhereProventilwas prescribedbythesamephysician.apatient,whowasprescribedproventilinmarch TSQL2's\special"constructcalledrestructuring.Thefunctionofthisconstructisto ConsiderPrescription(Name,Drug)ASPintheFROMclause.Thisillustratesanother 125

4 againinhislifebya,evenifhewasprescribedproventilbyotherphysicians.however 1996byphysicianA,wouldsatisfythequeryaslongashewasneverprescribedProventil 5.Partitioning withprescription(name,drug)asp,theprescriptionsbydierentphysiciansofthe Thisisyetanother\special"newconstructintroducedbyTSQL2.Syntacticallyitcan samedrugtothesamepersonarecoalescedtogether. beexpressedbyappendingtheperiodconstructtoarestructuredprojectioninthe FROMclause.Semantically,partitioningdealswiththefactthatTSQL2'stemporal whotookproventilinoctober1988andmarch1996doesnotqualify insofaras elementsaresetsofperiods,notsingleperiods.thusinthepreviousqueryapatient requiresthatalltheperiodsmustbecontainedin1996.thekeywordperiodtransforms atuplewhichisvalidinnperiodstontupleseachvalidinoneofthoseperiods. CONTAINS(PERIOD`[1996]`DAY,VALID(P)) Example5FindthepatientswhohavebeenprescribedProventilforoneotmore(continuous)periodswithin1996. WHEREP.Drug=`Proventil` FROMPrescription(Name,Drug)(PERIOD)ASP SELECTSNAPSHOTName ThequeryreturnsnamesofpatientswhotookProventilforsomecontinuousperiod thatbeganandendedin1996.forinstance,apatientwhotookproventilinmarch ANDCONTAINS(PERIOD`[1996]`DAY,VALID(P)) ofexample4.apatientwhowascontinuouslyonproventilfrommarch1996tillapril 1996,andthenagaininOctober1997,satisesthisquery,butnotthepreviousquery 1997doesnotsatisfythisquery.Hereisanotherexampleofpartitioning. FROMPrescription(Name,Drug)(PERIOD)ASP months? SELECTSNAPSHOTName Example6WhohasbeenonProventilforaperiodofmorethansixconsecutive WHERECAST(VALID(P)ASINTERVALMONTH) Thequeryreturnsthepatient'snameifthepatienthastakenProventilformore thansixconsecutivemonths.partitioningallowstheintermediaterelationtohave >INTERVAL`6`MONTH value-equivalenttuplestimestampedwithdierentmaximalperiods(thusviolatingthe temporaldatabases.insection3thetemporaldatalanguage(tdl)isintroducedasan Thispaperisorganizedasfollows:Section2introducesanewapproachofquerying BCDMdatamodel). extensionofldl++[zan88,nt89];theprevioussixtsql2examplesarethenreexpressed intdl.then,section4discussesthesemanticsanduniversalityfortdl,andsection5 proposesvariousimplementationapproachesfortdl.section6concludesthepaper. 126

5 Thepreviousexamplesprovideasimpliedsampleofthemanyandcomplexqueriesthat occurintheframeworkoftemporaldatabases.tsql2'seaseofspecifyingprojectionsand 2 ANewApproach joins(example2)representsaverydesirablefeature,butthemanyadditionalconstructs neededtosupportotherkindsofqueries(e.g.,thoseinvolvingallen'sintervaloperators otherthanoverlaps Examples3{6)representanimportantdrawbackofthelanguage. structsdevelopedinoneframeworktotheothers.forinstance,sincetheexperienceofsql, works.manyrelationallanguageframeworksproposedinthepast,suchassql,qbe,quel anddatalog,allsharedacommonlogic-basedsemanticsthatallownaturaltranslationofcon- TheshortcomingsofTSQL2becomeobviousifoneconsidersdierentsyntacticframe- QBEandQUELhaswelldemonstratedthatsetaggregatesshouldbeincludedasprimitive inaquerylanguage,oneofthersttasksundertakenbythedesignersofldlwasextendingdatalogwithsetaggregates[zao93].conversely,theexperiencegainedwithrecursive forsql[fmm96].tsql2oersnohopeforsuchcross-fertilizationbecauseitsnewtem- introduction,wehavereferredtotheselimitationsaslackofuniversality.moreover,the queriesindataloghasrecentlyresultedintheintroductionofnewrecursivequeryconstructs poralconstructs,(restructuring,partitioning,etc.)aretotallyidiosyncratictosql.inthe TSQL2approachisparticularlycripplingfortheDataloglanguageanditselegantformal wheretimeremainsimplicitratherthanbeingapartofthequeryprogram. theprogram.itishardtoseehowdatalogsemanticscanbesalvagedinaquerylanguage semantics,wherebythemeaningofaprogramisconstructedfromthesymbolsappearingin sentexplicittime,weadoptapoint-basedrepresentationattheconceptuallevel.asshown in[tom97,tom98],thisrepresentationoerstheimportantadvantagethatselect-projectjoinqueriesareexpressedinaverynaturalway,withoutrequiringthe(implicit-or-explicit) Therefore,ourapproachtotemporalextensionswillbebasedonexplicittime.Torepre- coalescingdemandedbyinterval-basedtemporallanguages. thetuplesinthetemporalrelationcontainanadditionalcolumn,saythelastcolumn,where (time)pointatwhichthedatabasefactisvalid. asingletime-granuleisstored;and(iii)eachtemporalrelationcontainsonetupleforeach Ourpoint-basedtemporalmodelassumes:(i)atimegranularityisused,e.g.,days;(ii) Thesimplestkindoftemporalfactwecanconsiderisatemporalpropositionalpredicate validtimehasgranularityofoneday,andisrepresentedbytermsdate(year,month,day), i.e.,apredicatewhoseonlycolumnisthetemporalcolumn.forinstance,assumingthatour InDatalog,ratherthanusingtuplesindatabaserelations,wewillusedatabasefacts. 366facts:year_1996(date(1996,1,1)). thepropositionaltemporalpredicateyear1996couldberepresentedbythefollowingsetsof year_1996(date(1996,1,2)). Wewillusethispoint-basedrepresentationattheconceptuallevel i.e.,todenethe year_1996(date(1996,12,31)).... syntaxandsemanticsofthetemporaldatalanguage(tdl),whichissimple,expressive, anduniversal. succincttemporalrepresentations.aninterval-basedrepresentation,andanevent-based Intermsofimplementation,eciencyconsiderationsdemandthatweworkwithmore 127

6 representationconstitutetwonaturalcandidatesforthetasks;thesewillbestudiedinsection 5.Therefore,ourproposaltakesfulladvantageofthethreelevelDBarchitectureproposed byansi/sparc,withaninternalrepresentation,aconceptualone,andanexternalone. Ourmainadvance(w.r.t.Toman'sapproach)isthatTDLusesaggregatestocaptureandexpressnaturallyallnewcomplextemporalconstructsusedbyTSQL2,includingrestructuring, partitioning,andallen'stemporaloperators[all83]. OurapproachisdierentfromToman's[Tom97,Tom98]approachinseveralrespects. 1.Explicitvalidtime 2.Point-basedrepresentation Insummary,thedeningfeaturesofournewapproachare: 3.Noadditionalconstruct(otherthannewtemporalaggregates) 4.Ecientimplementationbymappingpoint-baseddatamodelintoequivalentinternal languagesalreadycontainaggregateconstructs,andtheycaneasilyaccommodatenewag- TDLextendsDatalogbyaddinganexplicittemporalelement.Oneofthebasictemporal datatypessupportedintdlisdate:time-pointwithgranularityofdays,whichisbasically TemporalDataLanguage(TDL) Theuniversalityofourapproachfollowsdirectlyfromthethirdpointabove.Allexisting representations. standards. 3gregateswithintheirexistingsyntax,e.g.,user-denedaggregatesarepartofthenewSQL3 thesameassql-92'sdatetime[dd93].intdl,dateisacomplextermwhichconsists rulesofthegregoriancalendar. ofthreeintegers \YEAR",\MONTH"and\DAY",whosevaluesareconstrainedbythe 1.Schemadeclaration WenowexpressthepreviousTSQL2examplesinTDL: Example7DenethePrescriptionrelation(sameasExample1) database(fprescript(name:string;physician:string;drug:string; TherstveeldsinthedatabaseschemaarethesameasthoseinTSQL2.Anexplicit Day:DATE)g): Dosagemg:integer;FrequencyMinute:integer; 2.Temporalselectionandjoin temporalelement,\day",whichhasatypeofdate,isaddedandrepresentsthevalid Example8WhatdrugshavebeenprescribedwithProventil(sameasExample2)? timeofthedatabasefact.weusethegranularityofonedayinthesamplequeries. 128

7 query2(name;drug;day) prescript(name;;`proventil`;;;day); Thisqueryreturnsthepatient'sname,thedrugandthedatewhenboththatdrug Drug=`Proventil`: prescript(name;;drug;;;day); andproventilwereprescribedtothepatient.intdl,temporaljoinisperformedby specifyingthesameargumentnameforthetemporalelements(\day"inthiscase)in thejoiningpredicatesofthequery.thesymbol`='denotesinequality. 3.Validclause Thus,inTDL,temporalselectionandprojectionaretrivial.Temporaljoinisdoneby explicitlyspecifyingthatthetwojoiningrelationshavethesametemporalelement. Example9WhatdrugswereMelanieprescribedduring1996(sameasExample3)? query3(drug;day) year1996(day); Thequeryreturnsdrugs,ifany,prescribedtoMelaniein1996.Ontheotherhand,if Name=`Melanie`: prescript(name;;drug;;;day); boththeconditionsandthetargettime. willberemovedfromtherule.therefore,tdl'sexplicittimemakesiteasytocontrol wewantthecompletehistoryofmelanie'sdrugprescription,thegoalyear1996(day) 4.RestructuringandAllen'stemporaloperators Example10FindthepatientswhohavebeenprescribedProventil,wherealltheprescriptionintervalsarewithintheyear1996(sameasExample4). query4(name;contains<(day1;day2)>) year1996(day1); Herecontains<>isanLDL++aggregatethatbehavesasabooleanoperator:it prescript(name;;drug;;;day2); returnsazero-aritytuple()foreachpairofsetsofvaluest1andt2ifthesetoft1 Drug=`Proventil`: UnlikeTSQL2whichneedstouserestructuringtoperformcoalescingonselectedrelations,TDLusesexplicittimeandaggregatestoidentifythecolumnsonwhichthetime pointsaregroupedintomaximalperiods. tocontains,theotherallen'soperatorssupportedintdlviaaggregatesinclude precedes,equals,meets;thereisnooverlapsandintersectsaggregatesincethese TDLusesuser-denedaggregatestoimplementAllen'stemporaloperators.Inaddition areautomaticallysupportedbythepoint-basedsemantics.thuswehavethefollowing: Theaggregatecontains<(Day1,Day2)>issatisedifeveryDay2dateisalsoaDay1 date. forwhichthesubsetrelationshipissatised,whileothervaluesofnameforwhichthe relationisnotsatisedaresimplydropped. containsthesetoft2.thusweobtainasetoftuples(name;())foreachvalueofname 129

8 Theaggregateprecedes<(Day1,Day2)>issatisedifalltheDay1datesprecede Theaggregateequals<(Day1,Day2)>issatisedwhenboththeconditions theday2dates i.e.,ifthemaxoftheformersetofdatesprecedestheleastof contains<(day1,day2)>andcontains<(day2,day1)>aresatised. thelattersetofdates. Theaggregatemeets<(Day1,Day2)>issatisedwhenthelastDay1datecoincides Inreality,theseoperatorssupportageneralizationofAllen'soriginallogicbecausethey leastofthelatersetofdates. withtherstday2date,i.e,themaxoftheformersetofdatesisthesameasthe 5.Partitioning applytosetsofperiodsratherthantoasingleperiod.intsql2,partitioningisused totranslateasetofperiodsintoindividualperiodsthatcanbeoperatedonseparately. query5(name;id;contains<(day1;day2)>) Example11FindthepatientswhohavebeenprescribedProventilforoneormore periodsin1996(sameasexample5). year1996(day1); prsprd(name;drug;(id;day2)); Theaggregateperiod<Day>transformsasetofdatesintoaperiodbyassigningeach prsprd(name;drug;period<day>) prescript(name;;drug;;;day): Drug=`Proventil`: dateanid,whichisanintegerdenotingwhetherthisdatebelongstotherst,second, IDbelongtothesamesegment.Theuseoftheaggregateperiodperformspartitioning whileretainsthepoint-basedsemanticsofthetdldatamodel. :::;nthcontinuoussegmentinthesequence.allthedatesassociatedwiththesame Example12WhohasbeenonProventilforaperiodofmorethansixconsecutive months(sameasexample6)? months(name;drug;id;lengthmonths<day>) query6(name) months(name;drug;id;months); Drug=`Proventil`;Months>6: Thequeryreturnsthepatient'snameifthepatienthastakenProventilformorethansix consecutivemonths.thisqueryusestheprsprddenedinthepreviousexample.the aggregatelengthmonths<day>rstformsthedatesintoaset,thencountsthenumber prsprd(name;drug;(id;day)): returnthecountintermsofdaysandyears,respectively,assumingeachyearhas365 ofdatesintheset,andreturnsthecountintermsofmonthsassumingeachmonthhas Inthelastthreeexamples,wehaveconstructedsnapshotrelationswhereweareonly 30days.Similaraggregatesincludelengthdays<Day>andlengthyears<Day>which interestedinnamesdisregardingtheirhistory.butifwewantedtondthepatient's 130

9 nameandthedaysinthoseperiodsthatsatisfythequery,wewouldrewritequery6 asfollows: query7(name;day) months(name;drug;id;months); Finally,ifwewantedtheentireprescriptionhistoryofthepatientssatisfyingthepreviousquery,thenwewouldwrite: prsprd(name;drug;(id;day)): Drug=`Proventil`;Months>6; query8(name;day) months(name;drug;id;months); Drug=`Proventil`;Months>6; thatexplicittimewithaggregatesprovidegreatexibilityandpowerinexpressing SincesimilarconsiderationsapplytothequeriesofExamples10and11,weconclude prescript(name;;;;;day): 4 SemanticsandUniversality temporalqueries. Fromthepreviousexamples,weconcludethatTDLisanaturalextensiontoDatalog.No additionallanguageconstructisneededotherthanaggregates,aconstructthatisalready foundindeductivedatabaselanguages.theoperationsinvolvingtimeperiodsa.k.a.setsof thatinfactthenewtemporalaggregatesarebasedonthetraditionalsqlaggregates.thus timeinstants,aredonevianewtemporalaggregates.afterwetakeasecondlook,wesee contains<(x,y)>simplydenotesthatthesetofy-valuesisasubsetofthesetofx-values. IntermsoftraditionalSQLaggregates,thiscanbeexpressedas: precedes<(x,y)>andmeets<(x,y)>cansimplybecomputedbycomparingtheextrema wheresxdenotesthesetofx-valuesandsydenotesthesetofy-values.likewise, count(sy)=count(sx\sy) inthetwosets.thereforetheaggregatesusedtodeneallen'stemporaloperatorsinour modelcanbereducedtothefamiliar,vanillaavored,aggregatesinsql.thenewlynamed aggregatesareneverthelessimportantbecauseoftheirsignicancetotheuser,andbecause theyenablemoreecientimplementations.thus,theyprovidesignicantpracticaladvantagesbeyondthoseoeredbytsql/tp[tom97].ingeneral,thetdlapproachoerstwo SinceaggregatesinDataloghaveastandarddeclarativelogic-basedsemantics[WZ98] signicantbenets: Alldatabasequerylanguages,suchasSQLandQBE,haveaggregateconstructs.Thus, theselanguages. (i.e.,least-modelandleast-x-pointbased)tdlinheritselegantformalsemanticsof Therefore,TDLachievesformalsemanticsanduniversalityinasimplefashion. tosupporttemporalextensionsalongthelinesillustratedbytdl,noadditionallanguageconstructneedtobeintroducedotherthansomenewaggregates. 131

10 5Inthissection,wewilldiscussvariousimplementationsofTDL.Wewillfocusonthemappings betweenthepoint-basedrelationandtheinterval-basedandevent-basedrelations.weassume ImplementingTDL thatallthefactsstoredinthedatabasehaveanascendingorderintermsoftheirtemporal elements.currently,tdlonlysupportsthegregoriancalendar,furtherworkisneededto supportothercalendarsanduserdenedcalendars. 5.1Interval-basedimplementation associatedwiththepoint-baseddatamodel.ininterval-basedrelations,alltuplesaretimestampedwithantwotimeinstants:oneindicatesthestart-pointandtheotherend-pointof Ininterval-basedimplementation,thedatabaseschemainExample1isimplementedas Usinganinterval-basedrelationtoimplementTDLsolvesthespaceandeciencyproblems theinterval. follows:database(fprescript(name:string;physician:string;drug:string; Usingtheaggregateperioddescribedintheprevioussection,wecanmapaqueryona Interval:(DATE;DATE))g): Dosagemg:integer;FrequencyMinute:integer; point-basedviewtoitsinterval-basedimplementation. basedrelationandpisaninterval-basedrelation. 1.Maptimepointsintointervals Thefollowingrulesshowhowthemappingisperformed.Intheexamples,qisapoint- aux11(x1;;xn;id;minday<day>;maxday<day>) p(x1;;xn;int(startday;endday)) aux11(x1;;xn;id;startday;endday): Thepredicateaux12rstconstructsaperiodfromallthedatesintherelationq.The aux12(x1;;xn;period<day>) aux12(x1;;xn;(id;day)): predicateaux11calculatestheminimumandmaximumofallthedateswhichbelong toasamesegmentoftheperiod,i.e.,attachedwiththesameid.thepairofminimal q(x1;;xn;day): andmaximaldatesthenserveasthestartandendpointsofanintervalinthenal respectively. Theytakeinputasasetofdatesandndtheminimalandmaximaldatesoftheset, TheaggregatesmindayandmaxdayareyettwomoretemporalaggregatesinTDL. interval-basedrelationp. Thenewaggregateinstantisdenedtomapaqueryfromitsinterval-basedimplementationbacktothepoint-basedrelation. 132

11 2.Maptimeintervalsintopoints Theaggregateinstanttakesanintervalasinput,andreturnsallthedateswithinthattime interval.forexample, q(x1;;xn;instant<interval>) p(x1;;xn;interval): returnsq(date(1996,1,1)). q(instant<int(date(1996;1;1);date(1996;1;31))> p(int(date(1996;1;1);date(1996;1;31))): q(date(1996,1,2)). 5.2Event-basedimplementation q(date(1996,1,31)).... Anevent-basedimplementationoersalladvantagesofinterval-basedimplementationsand anevent-basedrelation,alltuplesareattachedwithanevent-typespecicationandasingle itisclosertothesemanticsofthepoint-baseddatamodelbecauseofitseventnature.in anddel,whichstandforinsertionanddeletion,respectively.atuplewiththesamenontemporalvaluemayappeartwiceinadatabase,i.e.,oneforinsertionofthefactandonefor deletionofthefact.ifnodeletiontupleisinthedatabase,thenthefactisassumedtohold trueuntiladefaulttimeassignedbythesystem.anupdateofadatabasefactisperformed asamodicationofthetimespeciedinitsolddeletiontuplefollowedbyinsertingapairof insertionanddeletiontupleswithnewvaluesintothedatabase.alltuplesarestoredinthe databaseaccordingtotheascendingorderoftheirtimestamps. Inevent-basedimplementation,thedatabaseschemainExample1isdenedas: database(fprescript(name:string;physician:string;drug:string; timeinstant.theevent-typespecieswhichtypeofeventthetuplerepresents,namely,ins Theaggregatesmindayandmaxdayareusedtomapaqueryinapoint-baseddata Event:string;Day:DATE)g): Dosagemg:integer;FrequencyMinute:integer; tomapaqueryfromitsevent-basedimplementationbacktothepoint-baseddatamodel. modeltoitsevent-basedimplementationandtheaggregatespairupandinstantareused Thefollowingexamplesshowhowthemappingsareperformed.Intheexamples,qisa point-basedrelationandrisanevent-basedrelation. 1.Maptimepointsintoevents r(x1;;xn;event;maxday<day>) r(x1;;xn;event;minday<day>) q(x1;;xn;day);event=`ins`: Theinsertiontimeofdatabasefactistheminimaldateofthesetofdatesintherelation qandthedeletiontimeofadatabasefactisthemaximaldate. q(x1;;xn;day);event=`del`: 133

12 2.Mapeventsintotimepoints aux21(x1;;xn;pairup<(event;day)>) q(x1;;xn;instant<int(startday;endday)>) aux21(x1;;xn;(startday;endday)): here.itpairsupthetwotupleswhichrepresenttheinsertionanddeletionofadatabase Anintervalisrstconstructedwiththeinsertionanddeletiontimeofthedatabasefact speciedasitsstartandendpointsviaaux21.anewaggregatepairupisintroduced r(x1;;xn;event;day): fact.theaggregatetakestheeventtypesanddatesasinputandreturnspairsofdates, i.e.,theinsertiondateandthedeletiondatewhichcanalsobetreatedasthestartand endofaninterval.theaggregateinstantsisthenusedtoextractallthedateswithin theinterval.ifnodeletiontupleofafactexists,thentheassumed\untilchanged", tationandhasacloserrelationshipwithcompositeeventspecicationlanguagesandprovides Theevent-basedimplementationretainstheadvantagesoftheinterval-basedimplemen- i.e.,untilthedefaultvalue. 6anopportunitytocombineactiveruleswithtemporaldatabases[MZ97]. WehaveshownthatTDLisanaturaltemporalextensionofDatalog.Thesameapproachis alsoapplicabletosqlandqbe.weusedapoint-baseddatamodelattheconceptuallevel Conclusion andtookthepoint-basedreasoningapproachbeyondthatoftsql/tp[tom97,tom98]by usingaggregatestoexpressqueriesreasoningontimeperiods. universalapproachtosolvetheproblemofextendingconventionaldatabasequerylanguages, suchassql,qbeanddatalog,toexpresstemporalqueries. TDLhasthesamestandarddeclarativelogic-basedsemanticsasDatalogandprovidesa event-based.bothoftheimplementationapproachesovercomethespaceineciencyproblem thepoint-baseddatamodelmaycause. WehaveshowedtwodierentimplementationapproachesofTDL,i.e.,interval-basedand Acknowledgements supportforbi-temporalreasoningwillbediscussedinfuturepapers. Duetolackofspace,weonlyshowedTDLwithvalidtimesupportedinthepaper.TDL's References RezaSadriandtherefereesfortheirhelpfulcomments. TheauthorswouldliketothankHaixunWangforhishelpwithtemporalaggregates,and [BCS96]M.H.Bohlen,J.Chomicki,R.T.SnodgrassandD.Toman.QueryingTSQL2 [All83]J.F.Allen.Maintainingknowledgeabouttemporalintervals.InCommunicationsof DatabaseTechnology,pages ,1996 DatabaseswithTemporalLogic.InProceedingsofthe5thConferenceonExtended theacm,vol.26,no.11,pages ,

13 [BSS96]M.H.Bohlen,R.T.SnodgrassandM.D.Soo.CoalescinginTemporalDatabases. [BBJ98]M.H.Bohlen,R.BusattoandC.S.Jensen.Point-VersusInterval-basedTemporal InProceedingsofthe22ndInternationalConferenceonVeryLargeDatabases,pages ,1996 [Cho93]J.Chomicki.TemporalDatabases.InProceedingsofthe12thACMSymposiumon DataModels.InProceedingsofthe14thInternationalConferenceonDataEngineering, [DD93]C.J.DateandH.Darwen.AGuidetotheSQLStandard,thirdedition,Addison- pages ,1998 PrinciplesofDatabaseSystems,pages1-16,1993 [Jen94]C.S.Jensen,etal.AConsensusGlossaryofTemporalDatabaseConcepts.InSIG- [FMM96]S.J.Finkelstein,N.Mattos,I.S.MumickandH.Pirahesh.ExpressingRecursive QueriesinSQL.ISO/IECJTC1/SC21/WG3DBL:MCIRep.X3H ,1996 Wesley,1993 [LM97]N.A.LorentzosandY.G.Mitsopoulos.SQLExtensionforIntervalData.InIEEE [MZ97]I.MotakisandC.Zaniolo.TemporalAggregationinActiveDatabaseRules.InSIG- MODRecord,Vol.23,No.1,pages52-64,1994 TransactionsonKnowledgeandDataEngineering,Vol.9,No.3,pages ,1997 [Sno95]R.T.Snodgrass,etal.TheTSQL2TemporalQueryLanguage,Kluwer,1995 [NT89]S.NaqviandS.Tsur.ALogicalLanguageForDataAndKnowledgeBases,Computer SciencePress,1989 MODRecord,Vol.26,No.2,pages ,1997 [Tan93]A.Tansel,etal.TemporalDatabases:theory,designandimplementation,Benjamin/Cumming,1993 [Tom96]D.Toman.Pointvs.Interval-basedQueryLanguagesforTemporalDatabases.In [Tom97]D.Toman.APoint-BasedTemporalExtensionofSQL.InProceedingsofthe6th Proceedingsofthe15thACMSIGACT-SIGMOD-SIGARTSymposiumonPrinciples ofdatabasesystems,pages,58-67,1996 [Tom98]D.Toman.Point-BasedTemporalExtensionsofSQLandtheirEcientImplementation.ToappearinProceedingsofDagstuhlWorkshoponTemporalDatabases, InternationalConferenceonDeductiveandObject-OrientedDatabases,pages , [WZ98]H.WangandC.Zaniolo.User-DenedAggregatesforLogicalDataLanguages.submittedtoDDLP'98,1998 [Zan88]C.Zaniolo.DesignandImplementationofaLogicBasedLanguageforDataIntensive [ZAO93]C.Zaniolo,N.ArniandK.Ong.NegationandAggregatesinRecursiveRules:the Applications.InProceedingsoftheInternationalConferenceonLogicProgramming, andobject-orienteddatabases,pages ,1993 LDL++Approach.InProceedingsofthe3rdInternationalConferenceonDeductive 1988 [ADS97]C.Zaniolo,S.Ceri,C.Faloutsos,R.Snodgrass,andR.Zicari,AdvancedDatabase Systems,MorganKaufmann,

1. OLAP is an acronym for a. Online Analytical Processing b. Online Analysis Process c. Online Arithmetic Processing d. Object Linking and Processing

1. OLAP is an acronym for a. Online Analytical Processing b. Online Analysis Process c. Online Arithmetic Processing d. Object Linking and Processing 1. OLAP is an acronym for a. Online Analytical Processing b. Online Analysis Process c. Online Arithmetic Processing d. Object Linking and Processing 2. What is a Data warehouse a. A database application

More information

!!! 2014!!2015!NONPROFIT!SALARY!&!STAFFING!REPORT! NEW$YORK$CITY$AREA$ $ $ $ $ $ $

!!! 2014!!2015!NONPROFIT!SALARY!&!STAFFING!REPORT! NEW$YORK$CITY$AREA$ $ $ $ $ $ $ 2014 2015NONPROFITSALARY&STAFFINGREPORT NEWYORKCITYAREA 2014NONPROFITSURVEYFINDINGS&2015TRENDS EXECUTIVESUMMARY Thisyear ssalarysurvey201422015confirmsgrowth andchallengesinthesectorduring2014andthestrong

More information

MS-50401 - Designing and Optimizing Database Solutions with Microsoft SQL Server 2008

MS-50401 - Designing and Optimizing Database Solutions with Microsoft SQL Server 2008 MS-50401 - Designing and Optimizing Database Solutions with Microsoft SQL Server 2008 Table of Contents Introduction Audience At Completion Prerequisites Microsoft Certified Professional Exams Student

More information

Developing Microsoft SQL Server Databases 20464C; 5 Days

Developing Microsoft SQL Server Databases 20464C; 5 Days Developing Microsoft SQL Server Databases 20464C; 5 Days Lincoln Land Community College Capital City Training Center 130 West Mason Springfield, IL 62702 217-782-7436 www.llcc.edu/cctc Course Description

More information

20464C: Developing Microsoft SQL Server Databases

20464C: Developing Microsoft SQL Server Databases 20464C: Developing Microsoft SQL Server Databases Course Details Course Code: Duration: Notes: 20464C 5 days This course syllabus should be used to determine whether the course is appropriate for the students,

More information

MS SQL Server 2014 New Features and Database Administration

MS SQL Server 2014 New Features and Database Administration MS SQL Server 2014 New Features and Database Administration MS SQL Server 2014 Architecture Database Files and Transaction Log SQL Native Client System Databases Schemas Synonyms Dynamic Management Objects

More information

Course 20464: Developing Microsoft SQL Server Databases

Course 20464: Developing Microsoft SQL Server Databases Course 20464: Developing Microsoft SQL Server Databases Type:Course Audience(s):IT Professionals Technology:Microsoft SQL Server Level:300 This Revision:C Delivery method: Instructor-led (classroom) Length:5

More information

Developing Microsoft SQL Server Databases

Developing Microsoft SQL Server Databases CÔNG TY CỔ PHẦN TRƯỜNG CNTT TÂN ĐỨC TAN DUC INFORMATION TECHNOLOGY SCHOOL JSC LEARN MORE WITH LESS! Course 20464C: Developing Microsoft SQL Server Databases Length: 5 Days Audience: IT Professionals Level:

More information

Developing Microsoft SQL Server Databases (20464) H8N64S

Developing Microsoft SQL Server Databases (20464) H8N64S HP Education Services course data sheet Developing Microsoft SQL Server Databases (20464) H8N64S Course Overview In this course, you will be introduced to SQL Server, logical table design, indexing, query

More information

Module 1: Getting Started with Databases and Transact-SQL in SQL Server 2008

Module 1: Getting Started with Databases and Transact-SQL in SQL Server 2008 Course 2778A: Writing Queries Using Microsoft SQL Server 2008 Transact-SQL About this Course This 3-day instructor led course provides students with the technical skills required to write basic Transact-

More information

Administering Microsoft SQL Server Database (ITMT 2303)

Administering Microsoft SQL Server Database (ITMT 2303) Administering Microsoft SQL Server Database (ITMT 2303) Credit: 3 semester credit hours (2 hours lecture, 4 hours lab) Prerequisite/Co-requisite: None Course Description In-depth coverage of the knowledge

More information

Writing Queries Using Microsoft SQL Server 2008 Transact-SQL

Writing Queries Using Microsoft SQL Server 2008 Transact-SQL Course 2778A: Writing Queries Using Microsoft SQL Server 2008 Transact-SQL Length: 3 Days Language(s): English Audience(s): IT Professionals Level: 200 Technology: Microsoft SQL Server 2008 Type: Course

More information

UsingAutomaticMemoizationasa SoftwareEngineeringToolin

UsingAutomaticMemoizationasa SoftwareEngineeringToolin UsingAutomaticMemoizationasa SoftwareEngineeringToolin ComputerScienceDepartment JamesMayeld Real-WorldAISystems UniversityofMarylandBaltimoreCounty Baltimore,MD21228-5398 MartyHall [email protected]

More information

Moving the TRITON Reporting Databases

Moving the TRITON Reporting Databases Moving the TRITON Reporting Databases Topic 50530 Web, Data, and Email Security Versions 7.7.x, 7.8.x Updated 06-Nov-2013 If you need to move your Microsoft SQL Server database to a new location (directory,

More information

Writing Queries Using Microsoft SQL Server 2008 Transact-SQL

Writing Queries Using Microsoft SQL Server 2008 Transact-SQL Lincoln Land Community College Capital City Training Center 130 West Mason Springfield, IL 62702 217-782-7436 www.llcc.edu/cctc Writing Queries Using Microsoft SQL Server 2008 Transact-SQL Course 2778-08;

More information

W I S E. SQL Server 2012 Database Engine Technical Update WISE LTD.

W I S E. SQL Server 2012 Database Engine Technical Update WISE LTD. Technical Update COURSE CODE: COURSE TITLE: LEVEL: AUDIENCE: SQSDBE SQL Server 2012 Database Engine Technical Update Beginner-to-intermediate SQL Server DBAs and/or system administrators PREREQUISITES:

More information

Introducing Microsoft SQL Server 2012 Getting Started with SQL Server Management Studio

Introducing Microsoft SQL Server 2012 Getting Started with SQL Server Management Studio Querying Microsoft SQL Server 2012 Microsoft Course 10774 This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server

More information

Querying Microsoft SQL Server

Querying Microsoft SQL Server Course 20461C: Querying Microsoft SQL Server Module 1: Introduction to Microsoft SQL Server 2014 This module introduces the SQL Server platform and major tools. It discusses editions, versions, tools used

More information

Structured Representation Models. Structured Information Sources

Structured Representation Models. Structured Information Sources SchemalessRepresentationofSemistructured Dong-YalSeo1,Dong-HaLee1,Kang-SikMoon1,JisookChang1, DataandSchemaConstruction 1Dept.ofComputerScienceandEngineering PohangUniversityofScienceandTechnology Jeon-YoungLee1,andChang-YongHan2

More information

Querying Microsoft SQL Server 2012

Querying Microsoft SQL Server 2012 Course 10774A: Querying Microsoft SQL Server 2012 Length: 5 Days Language(s): English Audience(s): IT Professionals Level: 200 Technology: Microsoft SQL Server 2012 Type: Course Delivery Method: Instructor-led

More information

Course ID#: 1401-801-14-W 35 Hrs. Course Content

Course ID#: 1401-801-14-W 35 Hrs. Course Content Course Content Course Description: This 5-day instructor led course provides students with the technical skills required to write basic Transact- SQL queries for Microsoft SQL Server 2014. This course

More information

Course 10774A: Querying Microsoft SQL Server 2012

Course 10774A: Querying Microsoft SQL Server 2012 Course 10774A: Querying Microsoft SQL Server 2012 About this Course This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft

More information

Course 10774A: Querying Microsoft SQL Server 2012 Length: 5 Days Published: May 25, 2012 Language(s): English Audience(s): IT Professionals

Course 10774A: Querying Microsoft SQL Server 2012 Length: 5 Days Published: May 25, 2012 Language(s): English Audience(s): IT Professionals Course 10774A: Querying Microsoft SQL Server 2012 Length: 5 Days Published: May 25, 2012 Language(s): English Audience(s): IT Professionals Overview About this Course Level: 200 Technology: Microsoft SQL

More information

Querying Microsoft SQL Server 20461C; 5 days

Querying Microsoft SQL Server 20461C; 5 days Lincoln Land Community College Capital City Training Center 130 West Mason Springfield, IL 62702 217-782-7436 www.llcc.edu/cctc Querying Microsoft SQL Server 20461C; 5 days Course Description This 5-day

More information

causeddroppingofthetos-basedroutingrequirementfromtheospfspecication.

causeddroppingofthetos-basedroutingrequirementfromtheospfspecication. ComputerScienceDepartment ImplementationandPerformanceMeasurements CollegePark,MD20742 UniversityofMaryland GeorgeApostolopoulos ofqosroutingextensionstoospf RochGuerin,SanjayKamat protocol,andonvariousperformancemeasurementsmadeonthebasisofthisimplementation

More information

MOC 20461C: Querying Microsoft SQL Server. Course Overview

MOC 20461C: Querying Microsoft SQL Server. Course Overview MOC 20461C: Querying Microsoft SQL Server Course Overview This course provides students with the knowledge and skills to query Microsoft SQL Server. Students will learn about T-SQL querying, SQL Server

More information

MCTS 70-431 Microsoft SQL Server 2005 Implementation & Maintenance

MCTS 70-431 Microsoft SQL Server 2005 Implementation & Maintenance MCTS 70-431 Microsoft SQL Server 2005 Implementation & Maintenance Chapter 0 Introduction to RDBM & SQL Chapter 5 Introducing More Database Objects 0.1 Database Basics 5.1 Stored Procedures 0.2 SQL Basics

More information

System Administration Guide

System Administration Guide www.novell.com/documentation System Administration Guide Data Synchronizer 1.2 August 22, 2012 Legal Notices Novell, Inc. makes no representations or warranties with respect to the contents or use of this

More information

Microsoft SQL Server 2008 Bible

Microsoft SQL Server 2008 Bible Brochure More information from http://www.researchandmarkets.com/reports/1093469/ Microsoft SQL Server 2008 Bible Description: Harness the power of SQL Server, Microsoft s high-performance database and

More information

Querying Microsoft SQL Server Course M20461 5 Day(s) 30:00 Hours

Querying Microsoft SQL Server Course M20461 5 Day(s) 30:00 Hours Área de formação Plataforma e Tecnologias de Informação Querying Microsoft SQL Introduction This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL

More information

Configuring Sites and Understanding AD replication. Dante Villarroel Saavedra

Configuring Sites and Understanding AD replication. Dante Villarroel Saavedra Configuring Sites and Understanding AD replication Dante Villarroel Saavedra Agenda Introduction Understanding Sites Sites planning Active Directory Partitions Global Catalog Active Directory Replication

More information

SQL Server Developer Training Program. Topics Covered

SQL Server Developer Training Program. Topics Covered SQL Server Developer Training Program Duration: 50 Hrs Training Mode: Class Room/On-line Training Methodology: Real-time Project oriented Training Features: 1) Trainers from Corporate 2) Unlimited Lab

More information

MOC 20461 QUERYING MICROSOFT SQL SERVER

MOC 20461 QUERYING MICROSOFT SQL SERVER ONE STEP AHEAD. MOC 20461 QUERYING MICROSOFT SQL SERVER Length: 5 days Level: 300 Technology: Microsoft SQL Server Delivery Method: Instructor-led (classroom) COURSE OUTLINE Module 1: Introduction to Microsoft

More information

Linking Maritime Datasets to Dutch Ships and Sailors Cloud - Case studies on Archangelvaart and Elbing. J.A. Entjes July 10th, 2015

Linking Maritime Datasets to Dutch Ships and Sailors Cloud - Case studies on Archangelvaart and Elbing. J.A. Entjes July 10th, 2015 Linking Maritime Datasets to Dutch Ships and Sailors Cloud - Case studies on Archangelvaart and Elbing J.A. Entjes July 10th, 2015 Table of Contents Introduction Research Questions Approach and Methodology

More information

Real World Enterprise SQL Server Replication Implementations. Presented by Kun Lee [email protected]

Real World Enterprise SQL Server Replication Implementations. Presented by Kun Lee sa@ilovesql.com Real World Enterprise SQL Server Replication Implementations Presented by Kun Lee [email protected] About Me DBA Manager @ CoStar Group, Inc. MSSQLTip.com Author (http://www.mssqltips.com/sqlserverauthor/15/kunlee/)

More information

Course: Fundamentals of Microsoft Server 2008 Active Directory

Course: Fundamentals of Microsoft Server 2008 Active Directory Page 1 of 5 Course: Fundamentals of Microsoft Server 2008 Active Directory Course 6424A Duration: 3 (days) Introduction Elements of this syllabus are subject to change. This three-day instructor-led course

More information

COURSE SYLLABUS COURSE TITLE:

COURSE SYLLABUS COURSE TITLE: BLUE BUFFALO PRESS LLC 55073A MASTER DATA SERVICES, DATA QUALITY SERVICES WITH SQL 2012-2014 AND EXCEL 1 COURSE SYLLABUS COURSE TITLE: FORMAT: CERTIFICATION EXAMS: 55073A Master Data Services, Data Quality

More information

SQL Sentry Essentials

SQL Sentry Essentials Master the extensive capabilities of SQL Sentry Overview This virtual instructor-led, three day class for up to 12 students provides the knowledge and skills needed to master the extensive performance

More information

2 Associating Facts with Time

2 Associating Facts with Time TEMPORAL DATABASES Richard Thomas Snodgrass A temporal database (see Temporal Database) contains time-varying data. Time is an important aspect of all real-world phenomena. Events occur at specific points

More information

Developing Microsoft SQL Server Databases MOC 20464

Developing Microsoft SQL Server Databases MOC 20464 Developing Microsoft SQL Server Databases MOC 20464 Course Outline Module 1: Introduction to Database Development This module introduces database development and the key tasks that a database developer

More information

Employers Compliance with the Health Insurance Act Annual Report 2015

Employers Compliance with the Health Insurance Act Annual Report 2015 Employers Compliance with the Health Insurance Act Annual Report 2015 ea Health Council Health Council: Employers Compliance with the Health Insurance Act 1970 Annual Report 2015 Contact us: If you would

More information

Preparing a SQL Server for EmpowerID installation

Preparing a SQL Server for EmpowerID installation Preparing a SQL Server for EmpowerID installation By: Jamis Eichenauer Last Updated: October 7, 2014 Contents Hardware preparation... 3 Software preparation... 3 SQL Server preparation... 4 Full-Text Search

More information

Designing a Microsoft SQL Server 2005 Infrastructure

Designing a Microsoft SQL Server 2005 Infrastructure Course Outline Other Information MS 2786 Days 2 Starting Time 9:00 Finish Time 4:30 Lunch & refreshments are included with this course. Designing a Microsoft SQL Server 2005 Infrastructure Introduction

More information

MeasuringWebPerformanceintheWideArea 111CummingtonSt,Boston,MA2215 PaulBarfordandMarkCrovella ComputerScienceDepartment BostonUniversity fbarford,[email protected] BU-CS-99-4 April26,1999 andcontinuedgrowthmakethisadicultquestiontoanswer.wedescribethewideareaweb

More information

ASTERIX: An Open Source System for Big Data Management and Analysis (Demo) :: Presenter :: Yassmeen Abu Hasson

ASTERIX: An Open Source System for Big Data Management and Analysis (Demo) :: Presenter :: Yassmeen Abu Hasson ASTERIX: An Open Source System for Big Data Management and Analysis (Demo) :: Presenter :: Yassmeen Abu Hasson ASTERIX What is it? It s a next generation Parallel Database System to addressing today s

More information

Querying Microsoft SQL Server 2012

Querying Microsoft SQL Server 2012 Querying Microsoft SQL Server 2012 Duration: 5 Days Course Code: M10774 Overview: Deze cursus wordt vanaf 1 juli vervangen door cursus M20461 Querying Microsoft SQL Server. This course will be replaced

More information

SQL Server Performance Tuning and Optimization

SQL Server Performance Tuning and Optimization 3 Riverchase Office Plaza Hoover, Alabama 35244 Phone: 205.989.4944 Fax: 855.317.2187 E-Mail: [email protected] Web: www.discoveritt.com SQL Server Performance Tuning and Optimization Course: MS10980A

More information

Querying Microsoft SQL Server 2012

Querying Microsoft SQL Server 2012 Querying Microsoft SQL Server 2012 MOC 10774 About this Course This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL

More information

escop System Center Operations Portal Expanding SCOM 2007 Data Warehouse and ACS Function

escop System Center Operations Portal Expanding SCOM 2007 Data Warehouse and ACS Function escop System Center Operations Portal Expanding SCOM 2007 Data Warehouse and ACS Function SCOM Database Management escop provides expanded System Center Operations Manager 2007 database functionality Audit

More information

Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3

Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3 Wort ftoc.tex V3-12/17/2007 2:00pm Page ix Introduction xix Part I: Finding Bottlenecks when Something s Wrong Chapter 1: Performance Tuning 3 Art or Science? 3 The Science of Performance Tuning 4 The

More information

Database Administrator Certificate Capstone Project Evaluation Checklist

Database Administrator Certificate Capstone Project Evaluation Checklist Database Administrator Certificate Capstone Project Evaluation Checklist The following checklist will be used by the Capstone Project instructor to evaluate your project. Satisfactory completion of the

More information

SQL Server Performance Tuning for DBAs

SQL Server Performance Tuning for DBAs ASPE IT Training SQL Server Performance Tuning for DBAs A WHITE PAPER PREPARED FOR ASPE BY TOM CARPENTER www.aspe-it.com toll-free: 877-800-5221 SQL Server Performance Tuning for DBAs DBAs are often tasked

More information

Modern Data Warehousing

Modern Data Warehousing Modern Data Warehousing Cem Kubilay Microsoft CEE, Turkey & Israel Time is FY15 Gartner Survey April 2014 Piloting on premise 15% 10% 4% 14% 57% 2014 5% think Hadoop will replace existing DW solution (2013:

More information

The Ultimate Remote Database Administration Tool for Oracle, SQL Server and DB2 UDB

The Ultimate Remote Database Administration Tool for Oracle, SQL Server and DB2 UDB Proactive Technologies Inc. presents Version 4.0 The Ultimate Remote Database Administration Tool for Oracle, SQL Server and DB2 UDB The negative impact that downtime can have on a company has never been

More information

It should be noted that the installer will delete any existing partitions on your disk in order to install the software required to use BLËSK.

It should be noted that the installer will delete any existing partitions on your disk in order to install the software required to use BLËSK. Installation Guide Introduction... 3 1. Booting from the CD... 4 2. Choose the server type to install... 5 3. Disk formatting and installation... 6 4. Confirmation of disk formatting... 7 5. Program installation...

More information

Course 20464C: Developing Microsoft SQL Server Databases

Course 20464C: Developing Microsoft SQL Server Databases Course 20464C: Developing Microsoft SQL Server Databases Module 1: Introduction to Database DevelopmentThis module introduces database development and the key tasks that a database developer would typically

More information

Performance Management of SQL Server

Performance Management of SQL Server Performance Management of SQL Server Padma Krishnan Senior Manager When we design applications, we give equal importance to the backend database as we do to the architecture and design of the application

More information

Saskatoon Business College Corporate Training Centre 244-6340 [email protected] www.sbccollege.ca/corporate

Saskatoon Business College Corporate Training Centre 244-6340 corporate@sbccollege.ca www.sbccollege.ca/corporate Microsoft Certified Instructor led: Querying Microsoft SQL Server (Course 20461C) Date: October 19 23, 2015 Course Length: 5 day (8:30am 4:30pm) Course Cost: $2400 + GST (Books included) About this Course

More information

Microsoft SQL Server Scheduling

Microsoft SQL Server Scheduling Microsoft SQL Server Scheduling Table of Contents INTRODUCTION 3 MSSQL EXPRESS DATABASE SCHEDULING 3 SQL QUERY FOR BACKUP 3 CREATION OF BATCH FILE 6 CREATE NEW SCHEDULER JOB 6 SELECT THE PROGRAM FOR SCHEDULING

More information

Microsoft SQL Server: MS-10980 Performance Tuning and Optimization Digital

Microsoft SQL Server: MS-10980 Performance Tuning and Optimization Digital coursemonster.com/us Microsoft SQL Server: MS-10980 Performance Tuning and Optimization Digital View training dates» Overview This course is designed to give the right amount of Internals knowledge and

More information

Business Intelligence Experts for SmartPlant integration. Technical Specifications

Business Intelligence Experts for SmartPlant integration. Technical Specifications Business Intelligence Experts for SmartPlant integration Technical Specifications Version 3.0 Date: 15-July-2013 Name Affiliation Author Robert Jober IT Section Page 1 of 5 Contents 1 Abstract...3 2 Background

More information

Analyze Database Optimization Techniques

Analyze Database Optimization Techniques IJCSNS International Journal of Computer Science and Network Security, VOL.10 No.8, August 2010 275 Analyze Database Optimization Techniques Syedur Rahman 1, A. M. Ahsan Feroz 2, Md. Kamruzzaman 3 and

More information

Course 6232A: Implementing a Microsoft SQL Server 2008 Database

Course 6232A: Implementing a Microsoft SQL Server 2008 Database Course 6232A: Implementing a Microsoft SQL Server 2008 Database About this Course This five-day instructor-led course provides students with the knowledge and skills to implement a Microsoft SQL Server

More information

How To Improve Performance In A Database

How To Improve Performance In A Database 1 PHIL FACTOR GRANT FRITCHEY K. BRIAN KELLEY MICKEY STUEWE IKE ELLIS JONATHAN ALLEN LOUIS DAVIDSON 2 Database Performance Tips for Developers As a developer, you may or may not need to go into the database

More information

OLAP Theory-English version

OLAP Theory-English version OLAP Theory-English version On-Line Analytical processing (Business Intelligence) [Ing.J.Skorkovský,CSc.] Department of corporate economy Agenda The Market Why OLAP (On-Line-Analytic-Processing Introduction

More information

COMPONENTS in a database environment

COMPONENTS in a database environment COMPONENTS in a database environment DATA data is integrated and shared by many users. a database is a representation of a collection of related data. underlying principles: hierarchical, network, relational

More information

CASE STUDY LUMIDATA. SQL Toolbelt. Essential tools for SQL Server. 91% of Fortune 100 companies use Red Gate

CASE STUDY LUMIDATA. SQL Toolbelt. Essential tools for SQL Server. 91% of Fortune 100 companies use Red Gate CASE STUDY LUMIDATA SQL Toolbelt Essential tools for SQL Server 91% of Fortune 100 companies use Red Gate " If you work with SQL Server and don't have SQL Toolbelt, you're likely losing thousands of dollars

More information

MS SQL Performance (Tuning) Best Practices:

MS SQL Performance (Tuning) Best Practices: MS SQL Performance (Tuning) Best Practices: 1. Don t share the SQL server hardware with other services If other workloads are running on the same server where SQL Server is running, memory and other hardware

More information

Development and Management

Development and Management Cloud Database Development and Management Lee Chao CRC Press Taylor & Francis Group Boca Raton London New York CRC Press is an imprint of the Taylor & Francis Croup, an Informa business AN AUERBACH BOOK

More information

Oracle BI 11g R1: Build Repositories

Oracle BI 11g R1: Build Repositories Oracle University Contact Us: 1.800.529.0165 Oracle BI 11g R1: Build Repositories Duration: 5 Days What you will learn This Oracle BI 11g R1: Build Repositories training is based on OBI EE release 11.1.1.7.

More information

SQL Azure vs. SQL Server

SQL Azure vs. SQL Server SQL Azure vs. SQL Server Authors Dinakar Nethi, Niraj Nagrani Technical Reviewers Michael Thomassy, David Robinson Published April 2010 Summary SQL Azure Database is a cloud-based relational database service

More information

How to overcome SQL Server maintenance challenges White Paper

How to overcome SQL Server maintenance challenges White Paper How to overcome SQL Server maintenance challenges White Paper White Paper on different SQL server storage and performance management challenges faced by administrators and how they can be overcome using

More information

Bringing Big Data to People

Bringing Big Data to People Bringing Big Data to People Microsoft s modern data platform SQL Server 2014 Analytics Platform System Microsoft Azure HDInsight Data Platform Everyone should have access to the data they need. Process

More information

DATABASE SYSTEM CONCEPTS AND ARCHITECTURE CHAPTER 2

DATABASE SYSTEM CONCEPTS AND ARCHITECTURE CHAPTER 2 1 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE CHAPTER 2 2 LECTURE OUTLINE Data Models Three-Schema Architecture and Data Independence Database Languages and Interfaces The Database System Environment DBMS

More information

Module 14: Scalability and High Availability

Module 14: Scalability and High Availability Module 14: Scalability and High Availability Overview Key high availability features available in Oracle and SQL Server Key scalability features available in Oracle and SQL Server High Availability High

More information

Designing Database Solutions for Microsoft SQL Server 2012 MOC 20465

Designing Database Solutions for Microsoft SQL Server 2012 MOC 20465 Designing Database Solutions for Microsoft SQL Server 2012 MOC 20465 Course Outline Module 1: Designing a Database Server Infrastructure This module explains how to design an appropriate database server

More information

An Overview of Big Data Technology and Security Implications

An Overview of Big Data Technology and Security Implications An Overview of Big Data Technology and Security Implications Tim Grance Senior Computer Scientist NIST Information Technology Laboratory [email protected] Disclaimer The ideas herein represent the author

More information

http://www.solidq.com SQL Server +60 MVP

http://www.solidq.com SQL Server +60 MVP http://www.solidq.com Antes: Solid Quality Mentors Ahora: SolidQ SQL Server +60 MVP Últimos libros, MOCs, WhitePapers Jesús Gil (parte de los autores) 10774A Querying 10776A Developing 10775A Administering

More information

There are four technologies or components in the database system that affect database performance:

There are four technologies or components in the database system that affect database performance: Paul Nielsen Presented at PASS Global Summit 2006 Seattle, Washington The database industry is intensely driven toward performance with numerous performance techniques and strategies. Prioritizing these

More information

Design and Implementation

Design and Implementation Pro SQL Server 2012 Relational Database Design and Implementation Louis Davidson with Jessica M. Moss Apress- Contents Foreword About the Author About the Technical Reviewer Acknowledgments Introduction

More information

SQL Server 2005 Features Comparison

SQL Server 2005 Features Comparison Page 1 of 10 Quick Links Home Worldwide Search Microsoft.com for: Go : Home Product Information How to Buy Editions Learning Downloads Support Partners Technologies Solutions Community Previous Versions

More information

MS 20465: Designing Database Solutions for Microsoft SQL Server 2012

MS 20465: Designing Database Solutions for Microsoft SQL Server 2012 MS 20465: Designing Database Solutions for Microsoft SQL Server 2012 Description: This course describes how to design and monitor high performance, highly available data solutions with SQL Server 2012.

More information

How To Manage Em Sourceone In Windows Exchange

How To Manage Em Sourceone In Windows Exchange Using LDAP to Optimize EMC SourceOne Administration in Microsoft Exchange Environments Best Practices Planning Abstract EMC SourceOne administration requirements can significantly benefit from employing

More information

SQL SERVER TRAINING CURRICULUM

SQL SERVER TRAINING CURRICULUM SQL SERVER TRAINING CURRICULUM Complete SQL Server 2000/2005 for Developers Management and Administration Overview Creating databases and transaction logs Managing the file system Server and database configuration

More information