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
Owner

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
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
to cd50c50c4c
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
2024-05-03 05:30:27 +00:00
Compare
Oneric force-pushed purge-unused-indices from cd50c50c4c
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
to b7e3d44756
Some checks failed
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build-arm64 unknown status
ci/woodpecker/pr/docs unknown status
ci/woodpecker/pr/build-amd64 unknown status
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 deleted branch purge-unused-indices 2024-05-28 01:35:19 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AkkomaGang/akkoma!767
No description provided.