Skip to content

Identify candidates for and add SQL indices #5159

@Piedone

Description

@Piedone

Let's add some SQL indices where the most common queries would need it.

We had discussions about this before that adding such indices is up to who operates the site since suitable indices depend on typical usage. This is partially true, as for the existing queries of built-in modules we can safely assume that for most of the time suitable indices will be needed.

Furthermore modules could add indices to tables of modules they depend on just for their own queries if there are no suitable ones already. Not sure about this as this would probably add a lot of coupling.

It would be great if people with big databases and high load would share what SQL Server's Missing Indexes feature suggests.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions