The state-of-the-art in query optimization is being challenged as developers create new DBMSs to target new workloads and environments to meet the demands of the emerging data economy (e.g., GenAI applications). Building a query optimizer requires deep technical expertise and a long time to mature. Moreover, machine learning can be used for key aspects of query optimization, such as cardinality and cost estimation, and even search-space exploration. However, existing optimizers limit the visibility into their inner state and the applicability of such techniques. Finally, instead of being developed as vertically integrated systems, novel database systems are often assembled from a set of open source components that do not always match the assumptions built in the optimizer, namely, regarding relative costs, further reducing its usefulness.
Our approach to this challenge rests on the observation that query optimization is itself a large- scale data processing problem and seeks to engineer the foundation for a next-generation open-source query optimizer by designing a persistent and observable data-centric core that can be used as a service. Having such an optimizer core can accelerate research and industrial product development in the data platform space, as developers can simplify their design and tasks by using the new optimizer as a service.
The project ran from October 2025 to September 2026.
- José Pereira
- Ana Alonso
- Nuno Faria
- Rodrigo Laigner (visiting researcher)
- Bruno Gião (student)
- Luís Barros (student)
- Ana Guimarães (student)
- Luís França (student)
- Hélder Gomes (student)
More about Distributed Database Research at INESCTEC / U. Minho.
More about the CMU Database Group.
- Yuchen Liang, José Pereira, Shreya Shankar, Jignesh M. Patel, and Andrew Pavlo. The Glorious Dead. Conference on Innovative Data Systems Research (CIDR 2027), Amsterdam, The Netherlands, January 2027. To appear.
- Paulo Sérgio Almeida, Nuno Faria, and José Pereira. CRDTs and Databases: A Hands-On Tutorial. Proc. VLDB Endow., 19(12):4922–4926, 2026. DOI:10.14778/3827998.3828151
- Luís França and José Pereira. Evaluating the Practicality of Learned Cardinality Estimators in Query Optimizers. INForum 2026, Lisboa, Portugal, September 2026. Best Paper Award.
- Luís Barros, Nuno Faria, and José Pereira. Towards Distributed-Parallel Query Optimizers. INForum 2026, Lisboa, Portugal, September 2026.
- Hélder Gomes and José Pereira. Cost-based Optimization of Queries in Distributed Data Processing. INForum 2026, Lisboa, Portugal, September 2026.
- Improving Point Queries in DataFusion. Boston Apache DataFusion Meetup, Boston, USA, 3 September 2026.
- Bridging the Gap between HTAP and Lakehouses for Analytics on Fresh Data. Carnegie Mellon University, Pittsburgh, USA, 8 September 2026.
- "The Cascades Standard", a puzzle game, at the European Researchers' Night, Braga, 25 September 2026.
- INESC TEC and Carnegie Mellon University join forces to create the next generation of database optimisers, INESC TEC news, December 2025.
- INESC TEC receives Best Paper award at national Computer Science conference, INESC TEC news, September 2026.
This project is funded by CMU Portugal (DOI:10.54499/2024.12585.CMU).
