mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 06:20:46 +02:00
Fix bug #44665 - Add index on log_time to the log table to prevent slowdown on boards with many log entries.
Authorised by: acydburn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9564 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -516,6 +516,7 @@ CREATE TABLE phpbb_log (
|
||||
);
|
||||
|
||||
CREATE INDEX phpbb_log_log_type ON phpbb_log (log_type);
|
||||
CREATE INDEX phpbb_log_log_time ON phpbb_log (log_time);
|
||||
CREATE INDEX phpbb_log_forum_id ON phpbb_log (forum_id);
|
||||
CREATE INDEX phpbb_log_topic_id ON phpbb_log (topic_id);
|
||||
CREATE INDEX phpbb_log_reportee_id ON phpbb_log (reportee_id);
|
||||
|
Reference in New Issue
Block a user