Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Michael Vogel dc416e5887 Moving the index creation commands into a readme file due to the fact that creating of these indexes is really slow. 9 years ago
..
readme.txt Moving the index creation commands into a readme file due to the fact that creating of these indexes is really slow. 9 years ago

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