While shutting down terminal windows to the SN servers this morning, one of them had the create table syntax for the comments table still on screen. I gave it a read through just because it was there and noticed that there wasn't an index for the opid (top level comment id for speeding up entire thread pulling) column. So I got some before numbers, added one, and ran some After tests. Heavily commented stories show a 50-150% pages-per-second speed increase in threaded views. Low hanging fruit FTW.
(Score: 2) by Reziac on Thursday January 10 2019, @02:27AM
Noticeable improvement -- it's always been slow to redisplay post-moderating, and now it's not. So you fixed something. There, aren't you glad I broke it? :D
And there is no Alkibiades to come back and save us from ourselves.