Hello,
What JQL statement performs better ?
A) project = "ABC" and type = "Task"
B) type = "Task" and project = "ABC"
For me the normal is to start with project clause first , so the JQL execution engine will narrow the result set. Or maybe JIRA has some build in optimizer inside.
I am asking because when having plugins (like structure) which heavily calls JQLs to sync issues and structures, this might create big performance penalty if the order is important.
Can you help ?
Thank
Roman
Hi Roman,
There is an article by Atlassian about JQL performance: https://confluence.atlassian.com/jirakb/factors-contributing-to-jql-performance-in-jira-server-740263450.html
Typically, I'd say JQL A should perform better but in fact, the difference estimated is rather small, since no text search or heavy functions are involved.
Regards,
Egor Tasa
ALM Works
Do you know how scriptrunner functions for linking (i.e. issueFunction not in hasLinks("related")) generally affects performance ? I have seen this on a few Structure automations
Thnanks
Roman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Egor Tasa [ALM Works] - would it be fair to assume this mostly applies to Cloud as well?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ScriptRunner functions do not generally go well with Structure, they are not expected to run almost continuously and that is what happens in a structure. Larger functions like linkedIssuesRecursive and similar are particularly bad for performance.
It does not mean that they are bad for performance in general, but used in a structure they can create problems.
Regards,
Egor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.