Drop unused indices #767

Merged
floatingghost merged 1 commit from Oneric/akkoma:purge-unused-indices into develop 2024-05-28 01:35:19 +00:00
Member

This promotes and expands our existing optional migration. Based on usage statistics from several instances, see:
#764

activities_hosts is now retained after all since it’s essential for the "instance" query parameter of *oma’s public timeline to reliably work in a reasonable amount of time. (Although akkoma-fe has no support for this feature and apparently barely anyone uses it.)

activities_actor_index was already dropped before in 20221211234352_remove_unused_indices; no need to drop it again.

Birthday indices were introduced in pleroma starting with 20220116183110_add_birthday_to_users which is past the last common migration 20210416051708.

This promotes and expands our existing optional migration. Based on usage statistics from several instances, see: https://akkoma.dev/AkkomaGang/akkoma/issues/764 `activities_hosts` is now retained after all since it’s essential for the "instance" query parameter of *oma’s public timeline to reliably work in a reasonable amount of time. (Although akkoma-fe has no support for this feature and apparently barely anyone uses it.) `activities_actor_index` was already dropped before in 20221211234352_remove_unused_indices; no need to drop it again. Birthday indices were introduced in pleroma starting with `20220116183110_add_birthday_to_users` which is past the last common migration `20210416051708`.
Oneric force-pushed purge-unused-indices from 24a34f9d46 to cd50c50c4c 2024-05-03 05:30:27 +00:00 Compare
Oneric force-pushed purge-unused-indices from cd50c50c4c to b7e3d44756 2024-05-03 05:31:30 +00:00 Compare

going to run CI tests and compare execution time, and run on IHBA to check any potential performance hit before merging this

going to run CI tests and compare execution time, and run on IHBA to check any potential performance hit before merging this

applied on ihba without issue, will merge in a few days if nothing goes bad - seems good though

applied on ihba without issue, will merge in a few days if nothing goes bad - seems good though

no issues observed in production

no issues observed in production
floatingghost merged commit 72871d4514 into develop 2024-05-28 01:35:19 +00:00
floatingghost deleted branch purge-unused-indices 2024-05-28 01:35:19 +00:00
Sign in to join this conversation.
No description provided.