Ir al contenido (pulsa Retorno)

Universitat Politècnica de Catalunya

    • Català
    • Castellano
    • English
    • LoginRegisterLog in (no UPC users)
  • mailContact Us
  • world English 
    • Català
    • Castellano
    • English
  • userLogin   
      LoginRegisterLog in (no UPC users)

UPCommons. Global access to UPC knowledge

Banner header
69.147 UPC E-Prints
You are here:
View Item 
  •   DSpace Home
  • E-prints
  • Departaments
  • Departament d'Enginyeria de Serveis i Sistemes d'Informació
  • Articles de revista
  • View Item
  •   DSpace Home
  • E-prints
  • Departaments
  • Departament d'Enginyeria de Serveis i Sistemes d'Informació
  • Articles de revista
  • View Item
JavaScript is disabled for your browser. Some features of this site may not work without it.

Incremental checking of SQL assertions in an RDBMS

Thumbnail
View/Open
1-s2.0-S0306437925000353-main(2).pdf (2,061Mb)
 
10.1016/j.is.2025.102550
 
  View UPCommons Usage Statistics
  LA Referencia / Recolecta stats
Includes usage data since 2022
Cita com:
hdl:2117/429140

Show full item record
Oriol Hilari, XavierMés informacióMés informacióMés informació
Teniente López, ErnestMés informacióMés informacióMés informació
Document typeArticle
Defense date2025-08
PublisherElsevier
Rights accessOpen Access
Attribution 4.0 International
This work is protected by the corresponding intellectual and industrial property rights. Except where otherwise noted, its contents are licensed under a Creative Commons license : Attribution 4.0 International
ProjectGNSS ENVIRONMENTAL AND SOCIETAL MISSIONS - SUBPROJECT UPC (AEI-PID2021-126436OB-C21)
Abstract
The notion of SQL assertion was introduced, in SQL-92 standard, to define general constraints over a relational database. They can be used, for instance, to specify cross-row constraints or multitable check constraints. However, up to now, none of the current relational database management systems (RDBMSs) support SQL assertions due to the difficulty of providing an efficient solution. To implement SQL assertions efficiently, the RDBMs require an incremental checking mechanism. I.e., given an assertion, the RDBMS should revalidate it only when a transaction changes data in a manner that could violate it, and only for the affected data. Some years ago, the deductive database community provided several incremental checking methods, however, their results could not get into practice in RDBMS. In this paper, we propose an approach to efficiently implement SQL assertions in an RDBMS through an incremental revalidation technique. Such an approach is compatible with any RDBMS since it is fully based on standard SQL concepts (tables, triggers, and procedures). Our proposal uses and extends the Event Rules, an existing proposal for incremental checking in deductive databases. This extension is required to handle distributive aggregates, which pushes the expressiveness of the handled SQL assertions beyond first-order constraints. Moreover, we exploit this extension to improve the treatment of constraints involving existential variables, which are a very common kind of constraints difficult and expensive to handle. Finally, we show the efficiency of our approach through some experiments, and we formally prove its soundness and completeness.
CitationOriol, X.; Teniente, E. Incremental checking of SQL assertions in an RDBMS. "Information systems", Agost 2025, vol. 133, article 102550. 
URIhttp://hdl.handle.net/2117/429140
DOI10.1016/j.is.2025.102550
ISSN0306-4379
Publisher versionhttps://www.sciencedirect.com/science/article/pii/S0306437925000353
Collections
  • Departament d'Enginyeria de Serveis i Sistemes d'Informació - Articles de revista [246]
  • IMP - Information Modeling and Processing - Articles de revista [140]
  View UPCommons Usage Statistics

Show full item record

FilesDescriptionSizeFormatView
1-s2.0-S0306437925000353-main(2).pdf2,061MbPDFView/Open

Browse

This CollectionBy Issue DateAuthorsOther contributionsTitlesSubjectsThis repositoryCommunities & CollectionsBy Issue DateAuthorsOther contributionsTitlesSubjects

© UPC Obrir en finestra nova . Servei de Biblioteques, Publicacions i Arxius

info.biblioteques@upc.edu

  • About This Repository
  • Metadata under:Metadata under CC0
  • Contact Us
  • Send Feedback
  • Privacy Settings
  • Inici de la pàgina