Relational databases use physical design techniques such as indexing, clustering, and partitioning to improve performance without altering the logical schema seen by applications. This paper proposes nesting of persistent storage structures as a new physical optimisation technique. Related tables can be implemented as a single nested persistent storage structure, eliminating join operations when processing complex queries and removing redundant foreign key repetitions on the many side of the relationship. The paper describes two independent nesting strategies. The schema driven approach selects nesting candidates from the logical schema before any workload is known. This selection subject to storage optimisation and database organisation constraints, formulating the selection as a constrained maximum-weight branching problem. The workload driven approach determines nesting decisions subject to aggregate query processing frequencies, applying nesting transformations in descending order of join frequency. To preserve logical transparency, mapping metadata records each attribute's physical access path. The paper shows how SQL queries expressed over the logical schema can be automatically transformed into equivalent queries over the nested physical structures, keeping the nested representation hidden from applications. A prototype implementation in PostgreSQL on the TPC-H benchmark demonstrates the feasibility of the proposed approach and confirms that standard indexing techniques can recover the query performance overhead introduced by nesting. By reducing storage redundancy and eliminating join operations while remaining compatible with existing relational interfaces, the technique preserves the relational programming model.
| Published in | American Journal of Information Science and Technology (Volume 10, Issue 3) |
| DOI | 10.11648/j.ajist.20261003.11 |
| Page(s) | 82-100 |
| Creative Commons |
This is an Open Access article, distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution and reproduction in any medium or format, provided the original work is properly cited. |
| Copyright |
Copyright © The Author(s), 2026. Published by Science Publishing Group |
Physical Database Design, Schema Nesting, Join Elimination, Workload-driven Optimisation, Query Rewriting, Logical Transparency, Mapping Metadata
| [1] | Faerber, F., Kemper, A., Larson, P.-Å., Levandoski, J., Neumann, T., & Pavlo, A. (2017). Main memory database systems. Foundations and Trends® in Databases, 8(1–2), 1–130. |
| [2] | Codd, E. F. (1970). A relational model of data for large shared data banks. Communications of the ACM, 13(6), 377–387. |
| [3] | Zhou, X., Chai, C., Li, G., & Sun, J. (2022). Database meets artificial intelligence: A survey. IEEE Transactions on Knowledge and Data Engineering, 34(3), 1096–1116. |
| [4] | Schek, H.-J., & Scholl, M. H. (1986). The relational model with relation-valued attributes. Information Systems, 11(2), 137–147. |
| [5] | Kossmann, J., Halfpap, S., Jankrift, M., & Schlosser, R. (2020). Magic mirror in my hand, which is the best in the land? An experimental evaluation of index selection algorithms. Proceedings of the VLDB Endowment, 13(11), 2382–2395. |
| [6] | Perera, R. M., Oetomo, B., Rubinstein, B. I. P., & Borovica-Gajic, R. (2022). HMAB: Self-driving hierarchy of bandits for integrated physical database design tuning. Proceedings of the VLDB Endowment, 16(2), 216–229. |
| [7] | Hilprecht, B., Binnig, C., & Röhm, U. (2020). Learning a partitioning advisor for cloud databases. In Proceedings of the 2020 ACM International Conference on Management of Data (pp. 143–157). Association for Computing Machinery. |
| [8] | Leis, V., Radke, B., Gubichev, A., Mirchev, A., Boncz, P., Kemper, A., & Neumann, T. (2018). Query optimization through the looking glass, and what we found running the Join Order Benchmark. The VLDB Journal, 27(5), 643–668. |
| [9] | Navathe, S. B., Ceri, S., Wiederhold, G., & Dou, J. (1984). Vertical partitioning algorithms for database design. ACM Transactions on Database Systems, 9(4), 680–710. |
| [10] | Abadi, D. J., Boncz, P. A., Harizopoulos, S., Idreos, S., & Madden, S. R. (2013). The design and implementation of modern column-oriented database systems. Foundations and Trends® in Databases, 5(3), 197–280. |
| [11] | Alkowaileet, W. Y., & Carey, M. J. (2022). Columnar formats for schemaless LSM-based document stores. Proceedings of the VLDB Endowment, 15(10), 2085–2097. |
| [12] | Li, T., Butrovich, M., Ngom, A., Lim, W. S., McKinney, W., & Pavlo, A. (2021). Mainlining databases: Supporting fast transactional workloads on universal columnar data file formats. Proceedings of the VLDB Endowment, 14(4), 534–546. |
| [13] | Bourhis, P., Reutter, J. L., & Vrgoč, D. (2020). JSON: Data model and query languages. Information Systems, 89, 101478. |
| [14] | PostgreSQL Global Development Group. (2024). PostgreSQL documentation: JSON types. Retrieved May 12, 2026, from |
| [15] | Durner, D., Leis, V., & Neumann, T. (2021). JSON tiles: Fast analytics on semi-structured data. In Proceedings of the 2021 ACM International Conference on Management of Data (pp. 445–458). Association for Computing Machinery. |
| [16] | Halevy, A. Y. (2001). Answering queries using views: A survey. The VLDB Journal, 10(4), 270–294. |
| [17] | Fagin, R., Kolaitis, P. G., Miller, R. J., & Popa, L. (2005). Data exchange: Semantics and query answering. Theoretical Computer Science, 336(1), 89–124. |
| [18] | Kossmann, J., Papenbrock, T., & Naumann, F. (2022). Data dependencies for query optimization: A survey. The VLDB Journal, 31(1), 1–22. |
APA Style
Alenezi, H., Getta, J., Xia, T. (2026). Optimization of Query Processing Through Nested Persistent Storage Implementation of Relational Tables. American Journal of Information Science and Technology, 10(3), 82-100. https://doi.org/10.11648/j.ajist.20261003.11
ACS Style
Alenezi, H.; Getta, J.; Xia, T. Optimization of Query Processing Through Nested Persistent Storage Implementation of Relational Tables. Am. J. Inf. Sci. Technol. 2026, 10(3), 82-100. doi: 10.11648/j.ajist.20261003.11
@article{10.11648/j.ajist.20261003.11,
author = {Hammad Alenezi and Janusz Getta and Tianbing Xia},
title = {Optimization of Query Processing Through Nested Persistent Storage Implementation of Relational Tables},
journal = {American Journal of Information Science and Technology},
volume = {10},
number = {3},
pages = {82-100},
doi = {10.11648/j.ajist.20261003.11},
url = {https://doi.org/10.11648/j.ajist.20261003.11},
eprint = {https://article.sciencepublishinggroup.com/pdf/10.11648.j.ajist.20261003.11},
abstract = {Relational databases use physical design techniques such as indexing, clustering, and partitioning to improve performance without altering the logical schema seen by applications. This paper proposes nesting of persistent storage structures as a new physical optimisation technique. Related tables can be implemented as a single nested persistent storage structure, eliminating join operations when processing complex queries and removing redundant foreign key repetitions on the many side of the relationship. The paper describes two independent nesting strategies. The schema driven approach selects nesting candidates from the logical schema before any workload is known. This selection subject to storage optimisation and database organisation constraints, formulating the selection as a constrained maximum-weight branching problem. The workload driven approach determines nesting decisions subject to aggregate query processing frequencies, applying nesting transformations in descending order of join frequency. To preserve logical transparency, mapping metadata records each attribute's physical access path. The paper shows how SQL queries expressed over the logical schema can be automatically transformed into equivalent queries over the nested physical structures, keeping the nested representation hidden from applications. A prototype implementation in PostgreSQL on the TPC-H benchmark demonstrates the feasibility of the proposed approach and confirms that standard indexing techniques can recover the query performance overhead introduced by nesting. By reducing storage redundancy and eliminating join operations while remaining compatible with existing relational interfaces, the technique preserves the relational programming model.},
year = {2026}
}
TY - JOUR T1 - Optimization of Query Processing Through Nested Persistent Storage Implementation of Relational Tables AU - Hammad Alenezi AU - Janusz Getta AU - Tianbing Xia Y1 - 2026/07/28 PY - 2026 N1 - https://doi.org/10.11648/j.ajist.20261003.11 DO - 10.11648/j.ajist.20261003.11 T2 - American Journal of Information Science and Technology JF - American Journal of Information Science and Technology JO - American Journal of Information Science and Technology SP - 82 EP - 100 PB - Science Publishing Group SN - 2640-0588 UR - https://doi.org/10.11648/j.ajist.20261003.11 AB - Relational databases use physical design techniques such as indexing, clustering, and partitioning to improve performance without altering the logical schema seen by applications. This paper proposes nesting of persistent storage structures as a new physical optimisation technique. Related tables can be implemented as a single nested persistent storage structure, eliminating join operations when processing complex queries and removing redundant foreign key repetitions on the many side of the relationship. The paper describes two independent nesting strategies. The schema driven approach selects nesting candidates from the logical schema before any workload is known. This selection subject to storage optimisation and database organisation constraints, formulating the selection as a constrained maximum-weight branching problem. The workload driven approach determines nesting decisions subject to aggregate query processing frequencies, applying nesting transformations in descending order of join frequency. To preserve logical transparency, mapping metadata records each attribute's physical access path. The paper shows how SQL queries expressed over the logical schema can be automatically transformed into equivalent queries over the nested physical structures, keeping the nested representation hidden from applications. A prototype implementation in PostgreSQL on the TPC-H benchmark demonstrates the feasibility of the proposed approach and confirms that standard indexing techniques can recover the query performance overhead introduced by nesting. By reducing storage redundancy and eliminating join operations while remaining compatible with existing relational interfaces, the technique preserves the relational programming model. VL - 10 IS - 3 ER -