From: Michael Vogel Date: Wed, 25 Jul 2012 19:28:06 +0000 (+0200) Subject: Speed improvements in the database X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=69b883829af30d314898623804dfda2b5c46eb35;p=friendica.git Speed improvements in the database --- diff --git a/database.sql b/database.sql index 1d0a321760..13722d3c0c 100644 --- a/database.sql +++ b/database.sql @@ -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`), diff --git a/update.php b/update.php index d752eaa6df..879d7017d4 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@