friendica/mods
friendica 5d757b0668 add sample nginx config from Olaf Conradi to mods directory 2012-12-12 15:54:13 -08: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 add sample nginx config from Olaf Conradi to mods directory 2012-12-12 15:54:13 -08:00

readme.txt

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`);