FOSDEM event "Rewrite Your Complex MySQL Queries for Better Performance"

Øystein Grøvlen

Type devroom

Starts on day 2 (2021-02-07) at 15:30 (Brussels time, UTC+1) in room Mysql (duration 00:30)

Matrix room #mysql:fosdem.org

Two MySQL queries that will return the same result, may sometimes have totally different queries plans. This happens because the query optimizer does not realize that the queries are equivalent. In this presentation, we will discuss how we can rewrite queries to help the optimizer find a better query plan. We will show several examples of how we can transform subqueries to make them more efficient, and we will also discuss how we can identify queries that can become faster if a subquery is replaced by window functions. Finally, we will discuss how MySQL 8.0 can do some of these transformations automatically.

=> FOSDEM schedule page

Proxy Information
Original URL
gemini://gemini.bortzmeyer.org/fosdem/event-11289.gmi
Status Code
Success (20)
Meta
text/gemini; lang=en
Capsule Response Time
184.343759 milliseconds
Gemini-to-HTML Time
0.207673 milliseconds

This content has been proxied by September (3851b).