friendica/mods
Olaf Conradi b38b62f759 Modify nginx sample to a real config file 2012-12-15 16:01:20 +01: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
sample-nginx.config Modify nginx sample to a real config file 2012-12-15 16:01:20 +01: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`);