Skip to content

Make OJS2 to OJS3 metrics upgrade faster on large installations #4131

@ajnyga

Description

@ajnyga

Discussion here: https://forum.pkp.sfu.ca/t/ojs-upgrade-from-3-0-2-to-3-1-0-1-stuck-on-slow-query/36706

The single sql query used to update the assoc_id's of assoc_type 531 is extremely slow in larger metric tables. For example a 900 megabyte metrics table takes around 34 hours to run the given query.

The query should be broken into smaller parts using an upgrade function. Pull request soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement:1:MinorA new feature or improvement that can be implemented in less than 3 days.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions