BOOK-CHAPTER

The Query Optimizer

Abstract

When you submit a query to MySQL for execution, it is not as simple as just reading the data and returning it. True, for simple queries requesting all data from a single table, there are not many options how to retrieve the data. However, most queries are more complex – some much more complex – and executing the query exactly as it is written is by no means given to be the most efficient way to get to the result. You already touched on some of this complexity when reading about indexes. You can add to the choice of index, the join order, the algorithm used to execute the joins, various join optimizations, and more. That is where the optimizer comes into play.

Keywords:
Joins Computer science Query optimization Join (topology) Simple (philosophy) Table (database) Query language Reading (process) Theoretical computer science Information retrieval Database Programming language Mathematics

Metrics

1
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
0.11
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing
Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

BOOK-CHAPTER

Query Optimizer Basics

Andrew Carruthers

Apress eBooks Year: 2022 Pages: 337-356
BOOK-CHAPTER

The Query Optimizer

Andrew Carruthers

Apress eBooks Year: 2024 Pages: 25-37
JOURNAL ARTICLE

The MemSQL query optimizer

Jack ChenSamir JindelRobert WalzerRajkumar SenNika JimsheleishvilliMichael M. Andrews

Journal:   Proceedings of the VLDB Endowment Year: 2016 Vol: 9 (13)Pages: 1401-1412
BOOK-CHAPTER

Configuring the Query Optimizer

Apress eBooks Year: 2008 Pages: 169-193
© 2026 ScienceGate Book Chapters — All rights reserved.