Effect of JOIN Type on Query Performance
Optimal query performance is crucial for database systems that operate in real-time or process large volumes of queries. In this paper, we present a comparative study of different SQL JOIN operations in an Oracle environment, with an emphasis on comparing INNER, LEFT, RIGHT and FULL OUTER JOIN, as well as the impact of using ON and USING clauses. We employ a cost-based optimizer method and measure query execution times for different dataset sizes and different indexing strategies, while also tracking CPU utilization, I/O operations, and memory consumption. Our findings indicate that INNER JOIN benefits most from indexing. These findings can help database administrators and developers choose an appropriate table join strategy, thereby reducing query latency and making resource utilization more efficient in a high-load environment.
Authors
- Michal Kvet (ORCID: https://orcid.org/0000-0003-3937-7473)
- Andrea Meleková
Institutions
- University of Žilina (SK)
Publication Details
- Published
- 2025-05-14
- DOI
- https://doi.org/10.23919/fruct65909.2025.11007985
- Primary Topic
- Graph Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00