J. Marín, M.G. Serna-Díaz, J. Mora, N. Hernández-Romero, Irving Barragán-Vite, Cinthia Montano-Lara
{"title":"Static Analysis for the No Termination Problem in Active Databases by Using Petri Nets Modelling","authors":"J. Marín, M.G. Serna-Díaz, J. Mora, N. Hernández-Romero, Irving Barragán-Vite, Cinthia Montano-Lara","doi":"10.1145/3503047.3503152","DOIUrl":null,"url":null,"abstract":"∗Traditionally, databases are introduced to store information as a repository of data; however, users are responsible to add, remove, and modify database records. In order to provide reactiveness to passive database systems, the concept of active database was introduced. Active behavior can be denoted via Event-Condition-Action (ECA) rules. Nevertheless, ECA-rules may concatenate, producing loops in the rule’s firing and, in consequence, inconsistent states in the database system. This situation is known as the No-Termination problem. In this paper, a recursive algorithm based on Petri Nets to detect the No-Termination problem is proposed. The algorithm takes into account a Petri Net representation for ECA rules and composite events. Furthermore, an execution time analysis of the algorithm is carried out for sets of ECA rules with several cycles.","PeriodicalId":190604,"journal":{"name":"Proceedings of the 3rd International Conference on Advanced Information Science and System","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 3rd International Conference on Advanced Information Science and System","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3503047.3503152","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
∗Traditionally, databases are introduced to store information as a repository of data; however, users are responsible to add, remove, and modify database records. In order to provide reactiveness to passive database systems, the concept of active database was introduced. Active behavior can be denoted via Event-Condition-Action (ECA) rules. Nevertheless, ECA-rules may concatenate, producing loops in the rule’s firing and, in consequence, inconsistent states in the database system. This situation is known as the No-Termination problem. In this paper, a recursive algorithm based on Petri Nets to detect the No-Termination problem is proposed. The algorithm takes into account a Petri Net representation for ECA rules and composite events. Furthermore, an execution time analysis of the algorithm is carried out for sets of ECA rules with several cycles.