Logical Design Tuning via Workload-aware E/R-to-Relational Mapping
Hasara Kalumin, Amol Deshpande
Abstract
Conceptual data models, like the E/R model, can provide a more stable and intuitive user-facing interface and better logical independence for applications, compared to the relational model which is forced to closely mirror the physical representation. However, this flexibility introduces a challenge as well as an opportunity: a single conceptual schema admits many semantically equivalent relational schemas, whose performance can differ substantially across workloads. Traditional mapping methods use a set of predefined transformation rules or designer-selected mapping strategies, rather than optimizing the relational realization with respect to the expected workload. In this paper, we present a cost-based framework for workload-aware conceptual-to-relational mapping. Given an E/R schema and a representative workload, our framework automatically selects an efficient relational schema by optimizing mapping decisions, including inheritance, entity and relationship representations. User-specified E/R queries are compiled into SQL over the selected relational realization, allowing existing relational query optimizers to determine the physical execution plan. Experiments on real-world-inspired schemas show that mapping choices strongly affect performance; fixed or heuristic strategies exhibit large variability across workloads, whereas our approach consistently achieves competitive performance avoiding pathological cases.
Create a lesson
Related papers
WaRP: Workload-Aware Request Planning for Vector Retrieval on Object Storage
Shared title terminology · Ruipeng Wan, Xinyu Zeng, Yiming Qiao et al.
[Experiment, Analysis, and Benchmark] How well do LLMs comprehend and design relational database schemata?
Shared title terminology · Sriom Chakrabarti, Sean Bin Yang, Arijit Khan et al.
REWEAVE: Online Learning for Workload-Adaptive HNSW Indexes
Shared title terminology · Minghao Li, Nick Koudas, Raghav Mittal
Logical Scalability in Big Data Architectures: Impact of Data Modeling on the Database Layer
Shared title terminology · Rosario Napoli, Mark Adrian Gambito, Antonio Celesti et al.
SQLoom: Set-Contrastive Learning of Syntactic, Semantic, and Logical Dependencies for Text-to-SQL
Shared title terminology · Hao Fu, Degang Sun, Wan Wei et al.