{"title":"Delete operation in PostgreSQL for bitemporal tables","authors":"E. Soler, P. Mirabal, Cecilia Celestrín","doi":"10.1109/SCCC51225.2020.9281209","DOIUrl":null,"url":null,"abstract":"The development of applications and computer systems demands the management of historical, current, and future data, which contrasts with the classic databases where only current data is managed. The SQL: 2011 standard proposes application time, system time, and bitemporal tables for the management of temporal data, however, to date very few Database Management Systems (DBMS) offer support for temporary data. In this paper, we propose a modification of the native PostgreSQL DELETE operation for bitemporal tables that allows it to be aligned with the corresponding operation of the SQL: 2011 standard. The hooks offered by PostgreSQL allow interrupting and modifying the execution phases of an SQL query, on this base, it is established an architecture that allows defining the corresponding algorithm for the new delete operation. The architecture for bitemporal tables is supported by modifications of a previous PostgreSQL extension for the management of system time tables.","PeriodicalId":117157,"journal":{"name":"2020 39th International Conference of the Chilean Computer Science Society (SCCC)","volume":"46 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 39th International Conference of the Chilean Computer Science Society (SCCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SCCC51225.2020.9281209","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The development of applications and computer systems demands the management of historical, current, and future data, which contrasts with the classic databases where only current data is managed. The SQL: 2011 standard proposes application time, system time, and bitemporal tables for the management of temporal data, however, to date very few Database Management Systems (DBMS) offer support for temporary data. In this paper, we propose a modification of the native PostgreSQL DELETE operation for bitemporal tables that allows it to be aligned with the corresponding operation of the SQL: 2011 standard. The hooks offered by PostgreSQL allow interrupting and modifying the execution phases of an SQL query, on this base, it is established an architecture that allows defining the corresponding algorithm for the new delete operation. The architecture for bitemporal tables is supported by modifications of a previous PostgreSQL extension for the management of system time tables.