<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:07:25 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-661] Column Header Sorting is Slow</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-661</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Overview: Clicking to sort user list by column header is slow considering there are relatively few records loaded.&lt;/p&gt;

&lt;p&gt;Steps to Repro:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Log into demo-test&lt;/li&gt;
	&lt;li&gt;Go to Users&lt;/li&gt;
	&lt;li&gt;Click any column to sort by that column&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Expected: Column should sort almost immediately&lt;/p&gt;

&lt;p&gt;Actual: Sorting works, but takes a few seconds&lt;/p&gt;

&lt;p&gt;Additional Info: If you narrow down the results to a small number (like 5 records), sorting is snappy.  &lt;/p&gt;</description>
                <environment></environment>
        <key id="80255">FOLIO-661</key>
            <summary>Column Header Sorting is Slow</summary>
                <type id="10006" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10307?size=medium">Umbrella</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10002">Cannot Reproduce</resolution>
                                                        <assignee accountid="-1">Unassigned</assignee>
                                                                <reporter accountid="5af5ed55244bc90a106063c7">Cate Boerema</reporter>
                                    <labels>
                            <label>performance</label>
                    </labels>
                <created>Mon, 5 Jun 2017 18:53:22 +0000</created>
                <updated>Mon, 12 Nov 2018 14:23:34 +0000</updated>
                            <resolved>Mon, 15 Jan 2018 13:50:10 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                <comments>
                                                            <comment id="188293" author="5bffed52a1b46046f530c8f7" created="Mon, 5 Jun 2017 19:38:26 +0000"  >&lt;p&gt;The description of this one does not match the title.&lt;/p&gt;</comment>
                                                            <comment id="188297" author="5af5ed55244bc90a106063c7" created="Mon, 5 Jun 2017 19:49:34 +0000"  >&lt;p&gt;It does to me &lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;  Title is &quot;Column Header Sorting is Slow&quot; and the description is as follows (I bolded the bits related to it being slow)&lt;/p&gt;

&lt;p&gt;Overview: Clicking to sort user list by column header is &lt;b&gt;slow considering there are relatively few records loaded&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Steps to Repro:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Log into demo-test&lt;/li&gt;
	&lt;li&gt;Go to Users&lt;/li&gt;
	&lt;li&gt;Click any column to sort by that column&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Expected: Column &lt;b&gt;should sort almost immediately&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Actual: Sorting works, but &lt;b&gt;takes a second&lt;/b&gt;&lt;/p&gt;</comment>
                                                            <comment id="188301" author="5bffed52a1b46046f530c8f7" created="Mon, 5 Jun 2017 19:53:03 +0000"  >&lt;p&gt;You changed the description &lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;This is an interesting issue &amp;#8211; the first one that is truly about performance. There are many ways in which the system may introduce inefficiencies, and it will be interesting (and ultimately important) to find out in detail what is going on. But that&apos;s not something we can do overnight &amp;#8211; it&apos;s not a matter of turning off the &quot;sort slowly&quot; option &lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;I am going to upgrade this from a bug to an umbrella and mark it for the next sprint. We can discuss on Monday.&lt;/p&gt;</comment>
                                                            <comment id="188303" author="5af5ed55244bc90a106063c7" created="Mon, 5 Jun 2017 19:58:56 +0000"  >&lt;p&gt;Oh, I know what is happening here.  I have been creating these by cloning existing issues and JIRA just asks me to add a new title, it creates the new issue (and then probably emails you) and then it presents me with the cloned bug which I then edit to create the bug I intended to create.  Hmmm.  I can see how that would be confusing to you.  &lt;/p&gt;</comment>
                                                            <comment id="188306" author="5bffed52a1b46046f530c8f7" created="Mon, 5 Jun 2017 20:51:50 +0000"  >&lt;p&gt;Bingo! OK, well next time I see issues filed by you, I will know to leave it half an hour before looking at them &lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; Sorry for the confusion this time.&lt;/p&gt;</comment>
                                                            <comment id="188309" author="5af5ed55244bc90a106063c7" created="Tue, 6 Jun 2017 08:43:39 +0000"  >&lt;p&gt;I usually have the bug fixed up in 10 minutes so no need to wait a half hour.  &lt;/p&gt;

&lt;p&gt;Makes sense that this is a more general type bug - I get that.  If I see any other performance-related issues, I&apos;ll link them to this one just in case and tag them with &quot;performance&quot;.&lt;/p&gt;</comment>
                                                            <comment id="188310" author="5bffed52a1b46046f530c8f7" created="Tue, 6 Jun 2017 09:44:08 +0000"  >&lt;p&gt;Thanks, Cate. I think it will be good to start gently warming up the performance side. I added Jason as a watcher, as I am sure he&apos;ll be interested in this too.&lt;/p&gt;</comment>
                                                            <comment id="188311" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Mon, 12 Jun 2017 08:47:17 +0000"  >&lt;p&gt;Adding &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c38e8d616ac1e4f7cbc660a&quot; class=&quot;user-hover&quot; rel=&quot;5c38e8d616ac1e4f7cbc660a&quot; data-account-id=&quot;5c38e8d616ac1e4f7cbc660a&quot; accountid=&quot;5c38e8d616ac1e4f7cbc660a&quot; rel=&quot;noreferrer&quot;&gt;Kurt Nordstrom&lt;/a&gt; and &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A32bb56ac-50e7-4787-b4af-ed3089d9401c&quot; class=&quot;user-hover&quot; rel=&quot;712020:32bb56ac-50e7-4787-b4af-ed3089d9401c&quot; data-account-id=&quot;712020:32bb56ac-50e7-4787-b4af-ed3089d9401c&quot; accountid=&quot;712020:32bb56ac-50e7-4787-b4af-ed3089d9401c&quot; rel=&quot;noreferrer&quot;&gt;shale99&lt;/a&gt; because it seems that the time it takes to search is proportional to the number of recrods in the result set.&lt;/p&gt;</comment>
                                                            <comment id="188313" author="712020:32bb56ac-50e7-4787-b4af-ed3089d9401c" created="Mon, 12 Jun 2017 09:01:31 +0000"  >&lt;p&gt;i need to finish some biz logic join stuff asap so cannot look at this at this moment.&lt;br/&gt;
can this line:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
debug_log_package=org.folio.&lt;span class=&quot;code-keyword&quot;&gt;rest&lt;/span&gt;.persist.*
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;be added to the command line of mod-users? - all sql queries will than be logged with the time of execution - this will verify that it is indeed a db issue.&lt;br/&gt;
in any case - i would be surprised if this is a db issue - unless we&apos;ve reached thousands of records, i dont see why this should be slow - even if there is no index - in any case - this is a great place to sync up biz logic and db configurations and add the needed index to the columns needing sort functionality&lt;/p&gt;</comment>
                                                            <comment id="188315" author="5af5ed55244bc90a106063c7" created="Mon, 15 Jan 2018 13:50:10 +0000"  >&lt;p&gt;Actually, this seems to have been resolved.  Closing.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzxovb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 5 Jun 2017 19:38:26 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>