This document summarizes new features in MySQL 8.0 related to the optimizer and executor. It introduces common table expressions (CTEs) which provide better readability, allow references to the same CTE multiple times, and can refer to other CTEs. It also discusses window functions, UTF-8 support improvements, new geospatial features, the SKIP LOCKED and NOWAIT clauses for SELECT statements, expanded JSON functions and data type, index extensions, updates to the cost model, and query hints.