Skip to content

OCP API for optional indices #42169

@ChristophWurst

Description

@ChristophWurst

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.

As a Nextcloud app developer I might identify missing database indices like nextcloud/mail#9160. Applying the indices in a migration means they are always added and tables with data block the migration for x seconds/minutes/hours depending on table size.

Describe the solution you'd like

Allow apps to hook into the optional indices API of server so that they can also advertise a missing, but optional index that admins can apply later on.

Describe alternatives you've considered

N/a

Additional context

This was started in #25471 but closed due to inactivity.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions