Speed improvements in the database

This commit is contained in:
Michael Vogel
2012-07-25 21:28:06 +02:00
parent 222635d15a
commit 69b883829a
2 changed files with 9 additions and 1 deletions

View File

@@ -569,6 +569,8 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `moderated` (`moderated`),
KEY `spam` (`spam`),
KEY `author-name` (`author-name`),
KEY `uid_commented` (`uid`, `commented`),
KEY `uid_created` (`uid`, `created`),
FULLTEXT KEY `title` (`title`),
FULLTEXT KEY `body` (`body`),
FULLTEXT KEY `allow_cid` (`allow_cid`),