Achieving a Sequenced, Relational Query Language with Log-Segmented Timestamps

Time Pub Date : 2021-01-01 DOI:10.4230/LIPIcs.TIME.2021.14
C. Dyreson, Md Quamrul Ahsan
{"title":"Achieving a Sequenced, Relational Query Language with Log-Segmented Timestamps","authors":"C. Dyreson, Md Quamrul Ahsan","doi":"10.4230/LIPIcs.TIME.2021.14","DOIUrl":null,"url":null,"abstract":"In a period-timestamped, relational temporal database, each tuple is timestamped with a period. The timestamp records when the tuple is “alive” in some temporal dimension. Sequenced semantics is a special semantics for evaluating a query in a temporal database. The semantics stipulates that the query must, in effect, be evaluated simultaneously in each time instant using the tuples alive at that instant. Previous research has proposed changes to the query evaluation engine to support sequenced semantics. In this paper we show how to achieve sequenced semantics without modifying a query evaluation engine. Our technique has two pillars. First we use log-segmented timestamps to record a tuple’s lifetime. A log-segmented timestamp divides the time-line into segments of known length. Any temporal period can be represented by a small number of such segments. Second, by taking advantage of the properties of log-segmented timestamps, we translate a sequenced relational algebra query to a non-temporal relational algebra query, using the operations already present in an unmodified, non-temporal query evaluation engine. The primary contribution of this paper is how to implement sequenced semantics using log-segmented timestamped tuples in a generic DBMS, which, to the best of our knowledge, has not been previously shown. 2012 ACM Subject Classification Information systems → Temporal data; Information systems → Relational database query languages","PeriodicalId":75226,"journal":{"name":"Time","volume":"16 1","pages":"14:1-14:13"},"PeriodicalIF":0.0000,"publicationDate":"2021-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Time","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.TIME.2021.14","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

In a period-timestamped, relational temporal database, each tuple is timestamped with a period. The timestamp records when the tuple is “alive” in some temporal dimension. Sequenced semantics is a special semantics for evaluating a query in a temporal database. The semantics stipulates that the query must, in effect, be evaluated simultaneously in each time instant using the tuples alive at that instant. Previous research has proposed changes to the query evaluation engine to support sequenced semantics. In this paper we show how to achieve sequenced semantics without modifying a query evaluation engine. Our technique has two pillars. First we use log-segmented timestamps to record a tuple’s lifetime. A log-segmented timestamp divides the time-line into segments of known length. Any temporal period can be represented by a small number of such segments. Second, by taking advantage of the properties of log-segmented timestamps, we translate a sequenced relational algebra query to a non-temporal relational algebra query, using the operations already present in an unmodified, non-temporal query evaluation engine. The primary contribution of this paper is how to implement sequenced semantics using log-segmented timestamped tuples in a generic DBMS, which, to the best of our knowledge, has not been previously shown. 2012 ACM Subject Classification Information systems → Temporal data; Information systems → Relational database query languages
实现具有日志分段时间戳的有序关系查询语言
在带有周期时间戳的关系时态数据库中,每个元组都带有一个周期的时间戳。时间戳记录元组何时在某个时间维度上是“活动的”。序列语义是一种特殊的语义,用于计算时态数据库中的查询。语义规定,查询实际上必须在每个时间瞬间使用该时刻的元组同时求值。以前的研究已经提出了对查询评估引擎进行更改以支持顺序语义。在本文中,我们展示了如何在不修改查询求值引擎的情况下实现序列语义。我们的技术有两个支柱。首先,我们使用日志分段时间戳来记录元组的生命周期。日志分段时间戳将时间线划分为已知长度的段。任何时间周期都可以用少量这样的片段来表示。其次,通过利用日志分段时间戳的属性,我们使用未修改的非时态查询求值引擎中已经存在的操作,将顺序关系代数查询转换为非时态关系代数查询。本文的主要贡献是如何在通用DBMS中使用日志分段时间戳元组实现顺序语义,据我们所知,这在以前没有展示过。2012 ACM主题分类信息系统→时态数据;信息系统→关系数据库查询语言
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信