# Bug OP-16613 - Poor performance of mentioning feature in larger datasets

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-16613

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 15.3.0 |
| Observed in versions | 15.2.0 |
| Sprint | 15.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.2.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Have a larger dataset, i.e. a lot of work packages (1m+)
    
2.  Be a user having access to a lot of work packages
    
    1.  In some occurrences apparently, also having a large number of projects each with a smaller number of work packages with the user having access to a lot of the projects triggers the poor performance.
        
3.  Go to a work package
    
4.  Use the mention functionality , e.g. `@abc`
    

### What is the buggy behavior?

*   The response takes quite long.&nbsp;
    

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/312795/content">

### What is the expected behavior?

The response time is acceptable.
