This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

explain result different in different versions

hi admin

firstly, my function runs well in 10.3 10.5 and 10.6. But when I upgrade database to 10.7.6 10.8.5 10.9.2 (fresh install, and then restore the database), I meet same questions that the query takes long time, and use explain to analysis, I found out that the SQL run sequence is not from From table anymore. here is the screenshot, may I know whether there are changes I should configure.

explain in 10.6.10 is explain_in_10_6_10

explain in 10.9.2 is explain_in_10_9_2

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.