Skip to content

When using the translate-plugin with models where ID is an integer, the index on the model_id column is not use in MySQL versions 8.0.40 and 5.7.44. #757

@i3bepb

Description

@i3bepb

When using the translate-plugin with models where ID is an integer, the index on the model_id column is not use in MySQL versions 8.0.40 and 5.7.44.

The current implementation with integer ID models causes inefficient index usage where only the model_type index is employed, leading to excessive row scanning. Suggested solution: modify the model_id data type and implement a compound index.

Image

After

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions