friendica/mods
2012-07-26 07:38:51 +02:00
..
readme.txt Moving the index creation commands into a readme file due to the fact that creating of these indexes is really slow. 2012-07-26 07:38:51 +02:00

Site speed can be improved when the following indexes are set. They cannot be set through the update script because on large sites they will block the site for several minutes.

CREATE INDEX `uid_commented` ON `item` (`uid`, `commented`);
CREATE INDEX `uid_created` ON `item` (`uid`, `created`);
CREATE INDEX `uid_unseen` ON `item` (`uid`, `unseen`);