]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Performance fix for subscription/subscriber lists based on feedback from ops.
authorBrion Vibber <brion@pobox.com>
Tue, 10 Nov 2009 16:47:54 +0000 (08:47 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 10 Nov 2009 16:47:54 +0000 (08:47 -0800)
commit737fe763471bcb6ebd95c318363308a33e28e889
treeb9094b0adda4e666fa9480f547a80b0a54e027b5
parent9d0687b0559095f270a55af3467c53ad29bfd4c7
Performance fix for subscription/subscriber lists based on feedback from ops.

Extended subscription table indexes for subscriber and subscribed to include the created field, which is used to sort for display. This lets us skip a filesort and do the join much more efficiently.
Alter table from 08to09.sql needs to be run manually (though no ill effects if you forget other than not getting the perf improvement).
db/08to09.sql
db/08to09_pg.sql
db/statusnet.sql
db/statusnet_pg.sql