Forums Page very slow query

  • Thread starter Thread starter DevPunk
  • Start date Start date
D

DevPunk

Guest
Affected version
2.3
Original Query
Runs over 8 sec
screen_1723381366.webp


after run this:
`xf_forum` ADD INDEX(`find_new`);"


Now the query is no longer slow. Have you forgotten an index here or is something wrong with my DB?

screen_1723381442.webp
 
How many forums do you have?

The find_new index isn't actually being used, which suggests it might have been a database statistics thing.
 
Last edited:
Back
Top Bottom