I tried the query below, but our jiraaction table has around 30 million records and it takes around 10 minutes to execute by each user.
I need to consider de archived issues for this reason I can't use JQL.
select count (id) from jiraaction ja where ja.actionbody like '%~userFilter%';
If you have any ideas I appreciate.
Thanks.