-
MAX_JOIN_SIZE Error in debug.log
rankmath\seo-by-rank-math-pro\includes\modules\analytics\class-pageviews.php
public static function get_pageviews_with_object
query exceeding 7 million row MAX_JOIN_SIZE on a small dataset.From my testing, a small change in the query will solve the problem. Instead of:
Diff left join (sum t1 where A) left join (sum t2 where B)) where C
change this to
Diff left join (sum(t1 left join t2)) where A and B and C
resultset is the same.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
The ticket ‘MAX_JOIN_SIZE Error in debug.log’ is closed to new replies.