]> git.mxchange.org Git - friendica.git/blobdiff - mods/readme.txt
Moving the index creation commands into a readme file due to the fact that creating...
[friendica.git] / mods / readme.txt
diff --git a/mods/readme.txt b/mods/readme.txt
new file mode 100644 (file)
index 0000000..9e79f84
--- /dev/null
@@ -0,0 +1,5 @@
+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`);