Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #47280, comment 69


Ignore:
Timestamp:
05/16/2025 08:15:39 PM (18 months ago)
Author:
kunalkataria

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47280, comment 69

    v1 v2  
    55
    66Though in one case `SQL_CALC_FOUND_ROWS` can be faster, when searching in non-indexed column without any `LIMIT` value with large number of rows. Here, there will be two roundtrips for both `count` and `select` query.
     7
     8Detailed discussion here https://www.percona.com/blog/to-sql_calc_found_rows-or-not-to-sql_calc_found_rows/
    79
    810But fetching these many results in a single go is never recommended.