TL;DR: CakePHP 5.4.3 で、入れ子の深い WHERE 条件を SQL に組み立てる処理が指数関数的に遅くなる問題が直りました。MySQL/MariaDB は 5.4.0〜5.4.2 での退行( quoteIdentifiers を有効にしているなら 5.3 以前から)、PostgreSQL・SQLite は 5.3 以前から遅かったので、どの DB でも条件を入れ子で積み上げているアプリなら 5.4.3 に上げるだけで速くなるかもしれません。
php-tips.com
Recent content on php-tips.com
- Website
- php-tips.com · all feeds from this site
- Feed URL
https://php-tips.com/index.xml
Read it in your FeedListing reader
Or add to: Feedly Inoreader Raw feed
Latest posts
-
CakePHP 5.4.3 で入れ子の多い検索条件のクエリ組み立てが速くなる(かもしれない)