Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9813

fulltext_native.php on innodb loading deadly slow for big indexes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.11-RC1
    • 3.0.7-PL1
    • ACP
    • None
    • php-5.3.3 mysql 5.1.37

      when using INNODB and having a BIG search index (like 25 million entries) on heavily loaded database, opening the maintenance->search index page is deadly slow (like 5+ minutes to load).

      After tracing the issue, I notices phpBB is issuing a SELECT count on that tables, which causes a full table scan on innoDB.
      It would be better to use SHOW TABLE STATUS here to obtain the row count.

      I'll attack a patch that uses show table status instead count when using MySQL.

            bantu Andreas Fischer [X] (Inactive)
            chibisuke chibisuke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: