Skip to main content
QUICK REVIEW

[Paper Review] Conceptual Schema Optimisation -- Database Optimisation before sliding down the Waterfall

Henderik A. Proper, Terry Halpin|arXiv (Cornell University)|May 26, 2021
Advanced Database Systems and QueriesComputer Science48 references12 citations
TL;DR

This paper proposes a method for optimizing conceptual database schemas before implementation by applying transformation sequences within a formal framework based on Object-Role Modeling (ORM). By preserving mathematical equivalence and human preference, the approach enables early, platform-independent optimization, reducing downstream performance issues and improving design quality through a metalanguage for specifying schema transformations and their semantics.

ABSTRACT

In this article we discuss an approach to database optimisation in which a conceptual schema is optimised by applying a sequence of transformations. By performing these optimisations on the conceptual schema, a large part of the database optimisation can be done before actually sliding down the software development waterfall. When optimising schemas, one would like to preserve some level of equivalence between the schemas before and after a transformation. We distinguish between two classes of equivalence, one based on the mathematical semantics of the conceptual schemas, and one on conceptual preference by humans. As a medium for the schema transformations we use the universe of all (correct) conceptual schemas. A schema transformation process can then be seen as a journey (a schema-time worm) within this universe. The underlying theory is conveyed intuitively with sample transformations, and formalised within the framework of Object-Role Modelling. A metalanguage is introduced for the specification of transformations, and more importantly their semantics. While the discussion focusses on the data perspective, the approach has a high level of generality and is extensible to process and behaviour perspectives.

Motivation & Objective

  • To enable database optimization at the conceptual schema level, before mapping to physical schemas.
  • To preserve mathematical equivalence and human preference during schema transformations.
  • To develop a formal metalanguage for specifying schema transformations and their semantics.
  • To reduce implementation-level performance issues by addressing design flaws earlier in the development lifecycle.
  • To support semi-automated schema optimization through a re-write system and transformation rules.

Proposed method

  • The approach models schema transformations as journeys through a universe of all correct conceptual schemas, using a schema-time worm metaphor.
  • Transformations are formalized within the Object-Role Modeling (ORM) framework, ensuring semantic consistency.
  • A metalanguage is introduced to specify transformations and their semantics, distinguishing between correctness, type preservation, and non-redundancy.
  • Three transformation interpretations are defined: Alternative (equivalent schema variants), Enrich (adding new types), and Optimise (internal efficiency improvements).
  • Formal rules ensure correctness: schema validity is preserved, new types are not already present, and derived types are not removed.
  • The method uses a clean-up function to normalize transformed schemas and ensure consistency.

Experimental results

Research questions

  • RQ1How can conceptual schema optimization be performed before sliding down the software development waterfall?
  • RQ2What formal criteria ensure that schema transformations preserve mathematical equivalence and user preference?
  • RQ3How can a metalanguage be designed to specify schema transformations and their semantics?
  • RQ4What are the key transformation types that support conceptual schema improvement without compromising correctness?
  • RQ5How can transformation processes be semi-automated to reduce manual design effort?

Key findings

  • The proposed method enables significant database optimization to occur at the conceptual schema level, reducing the need for post-mapping performance tuning.
  • Mathematical equivalence between schemas is preserved through formal transformation rules, ensuring semantic consistency.
  • Human preference for schema representations can be formally modeled and respected during optimization, improving usability.
  • The metalanguage and transformation rules ensure that new types are not redundant and that derived types are not inadvertently removed.
  • The framework is extensible to process and behavior perspectives beyond data modeling.
  • A prototype tool for semi-automated schema optimization is being developed, with re-write systems planned for constraint and derivation rule transformation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.