Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #46795 Use full artifact link type name in index
    Infos
    #46795
    Joris MASSON (jmasson)
    2026-02-17 16:28
    2026-02-17 16:17
    48548
    Details
    Use full artifact link type name in index

    There are two indices that use the "nature" column in tracker_changeset_value_artifactlink DB table. Both set the index prefix length to 10 characters.

    It turns out that the index was not being used at all, leading to a full table scan on SQL queries like the following:

    SELECT DISTINCT nature AS shortname
    FROM tracker_changeset_value_artifactlink
    WHERE nature IS NOT NULL
    

    This query is run to get the list of used artifact link types.

    Follow-up of request #10127 and story #8833.

    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Declined
    2026-02-17
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Joris MASSON (jmasson)2026-02-17 16:18
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes