<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:18:32 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-2143] verify performance of RMB26 versions of mod-inv-s, mod-circ-s and mod-users</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2143</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Please check if there are any performance regressions or API errors on &lt;b&gt;folio-perf-platform&lt;/b&gt; when running with mod-circulation-storage, mod-inventory-storage and mod-users based on RMB 26. Please report here any particular regressions as compared to previous succesfull runs.&lt;/p&gt;

&lt;p&gt;Also, please review RMB logfiles for those modules to check for any WARN messages about missing indexes, e.g missing FT, GIN and BTREE indexes for specific queries. Please report the occurrences of those warnings and corresponding CQL and SQL queries here.&lt;/p&gt;</description>
                <environment></environment>
        <key id="81298">FOLIO-2143</key>
            <summary>verify performance of RMB26 versions of mod-inv-s, mod-circ-s and mod-users</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</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="10003">Done</resolution>
                                                        <assignee accountid="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c">Hongwei Ji</assignee>
                                                                <reporter accountid="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d">Jakub Skoczen</reporter>
                                    <labels>
                            <label>platform-backlog</label>
                    </labels>
                <created>Wed, 3 Jul 2019 14:10:45 +0000</created>
                <updated>Wed, 3 Jun 2020 16:39:58 +0000</updated>
                            <resolved>Thu, 18 Jul 2019 20:29:21 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="196163" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Thu, 4 Jul 2019 10:33:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; class=&quot;user-hover&quot; rel=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; data-account-id=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; accountid=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; rel=&quot;noreferrer&quot;&gt;Hongwei Ji&lt;/a&gt; can you please start working on this when you get back next week? Thanks!&lt;/p&gt;</comment>
                                                            <comment id="196164" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Tue, 9 Jul 2019 23:22:09 +0000"  >&lt;p&gt;Below are the failed perf test cases. &lt;br/&gt;
1, /inventory/instances?limit=30&amp;amp;query=(identifiers adj &quot;\&quot;value\&quot;: \&quot;123*\&quot;&quot;) sortby title&lt;br/&gt;
error: CQL: only right truncation supported&lt;br/&gt;
It works after removing quotes around the value 123*&lt;br/&gt;
/inventory/instances?limit=30&amp;amp;query=(identifiers adj &quot;\&quot;value\&quot;: 123*&quot;) sortby title&lt;/p&gt;

&lt;p&gt;2, /inventory/items?query=(barcode==itemBarcode)&lt;br/&gt;
The failure is due to slowness (exceeded 300s threshold sometimes).&lt;/p&gt;

&lt;p&gt;3, /circulation/check-out-by-barcode&lt;br/&gt;
Due to missing permissions in the sample data. Fixed.&lt;/p&gt;</comment>
                                                            <comment id="196165" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Wed, 10 Jul 2019 01:17:28 +0000"  >&lt;h5&gt;&lt;a name=&quot;Missingindexmessagesinthelog&quot;&gt;&lt;/a&gt;Missing index messages in the log&lt;/h5&gt;
&lt;p&gt;See attached files for the details including corresponding CQL and SQL queries &lt;/p&gt;
&lt;h6&gt;&lt;a name=&quot;modinventorystorage%3A&quot;&gt;&lt;/a&gt;mod-inventory-storage:&lt;/h6&gt;
&lt;p&gt;WARNING: Doing LIKE search without GIN index for instance_holding_view.ho_jsonb-&amp;gt;&amp;gt;&apos;permanentLocationId&apos;&lt;br/&gt;
WARNING: Doing LIKE search without GIN index for service_point_user.jsonb-&amp;gt;&amp;gt;&apos;userId&apos;&lt;/p&gt;
&lt;h6&gt;&lt;a name=&quot;modusers&quot;&gt;&lt;/a&gt;mod-users&lt;/h6&gt;
&lt;p&gt;WARNING: Doing FT search without FT index proxyfor.jsonb-&amp;gt;&amp;gt;&apos;proxyUserId&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users_groups_view.jsonb-&amp;gt;&amp;gt;&apos;barcode&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users_groups_view.jsonb-&amp;gt;&amp;gt;&apos;externalSystemId&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users_groups_view.jsonb-&amp;gt;&apos;personal&apos;-&amp;gt;&amp;gt;&apos;email&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users_groups_view.jsonb-&amp;gt;&apos;personal&apos;-&amp;gt;&amp;gt;&apos;firstName&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users_groups_view.jsonb-&amp;gt;&apos;personal&apos;-&amp;gt;&amp;gt;&apos;lastName&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users_groups_view.jsonb-&amp;gt;&amp;gt;&apos;username&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users.jsonb-&amp;gt;&amp;gt;&apos;active&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users.jsonb-&amp;gt;&amp;gt;&apos;barcode&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users.jsonb-&amp;gt;&amp;gt;&apos;externalSystemId&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users.jsonb-&amp;gt;&apos;personal&apos;-&amp;gt;&amp;gt;&apos;email&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users.jsonb-&amp;gt;&apos;personal&apos;-&amp;gt;&amp;gt;&apos;firstName&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users.jsonb-&amp;gt;&apos;personal&apos;-&amp;gt;&amp;gt;&apos;lastName&apos;&lt;br/&gt;
WARNING: Doing FT search without FT index users.jsonb-&amp;gt;&amp;gt;&apos;username&apos;&lt;br/&gt;
WARNING: Doing LIKE search without GIN index for proxyfor.jsonb-&amp;gt;&amp;gt;&apos;userId&apos;&lt;br/&gt;
WARNING: Doing LIKE search without GIN index for users.jsonb-&amp;gt;&amp;gt;&apos;active&apos;&lt;/p&gt;
&lt;h6&gt;&lt;a name=&quot;modcirculationstorage&quot;&gt;&lt;/a&gt;mod-circulation-storage&lt;/h6&gt;
&lt;p&gt;WARNING: Doing FT search without FT index loan.jsonb-&amp;gt;&amp;gt;&apos;userId&apos;&lt;br/&gt;
WARNING: Doing LIKE search without GIN index for loan.jsonb-&amp;gt;&apos;status&apos;-&amp;gt;&amp;gt;&apos;name&apos;&lt;br/&gt;
WARNING: Doing LIKE search without GIN index for request.jsonb-&amp;gt;&amp;gt;&apos;itemId&apos;&lt;br/&gt;
WARNING: Doing LIKE search without GIN index for request.jsonb-&amp;gt;&amp;gt;&apos;requestType&apos;&lt;br/&gt;
WARNING: Doing LIKE search without GIN index for request.jsonb-&amp;gt;&amp;gt;&apos;status&apos;&lt;/p&gt;</comment>
                                                            <comment id="196166" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Wed, 10 Jul 2019 01:55:23 +0000"  >&lt;p&gt;Another issue: running concurrent checkout requests see errors like below. Possibly due to race condition to get next id in the audit table.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;duplicate key value violates unique constraint &quot;audit_loan_pkey&quot;: Key (id)=(54001cd2-aa6c-4858-8bf3-be926366b673) already exists.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                                                            <comment id="196167" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Wed, 10 Jul 2019 04:26:54 +0000"  >&lt;p&gt;Performance is not ideal. I had to reduce the threads from 50 to 20 to avoid timeout errors. See &lt;a href=&quot;https://jenkins-aws.indexdata.com/job/Automation/job/folio-perf-platform/178/performance/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jenkins-aws.indexdata.com/job/Automation/job/folio-perf-platform/178/performance/&lt;/a&gt;. It is build with the RMB 26 enabled mod-inv-s, mod-circ-s, and mod-users. BTW, RMB 26 mod-circ-s is not available on snapshot site yet.&lt;/p&gt;</comment>
                                                            <comment id="196168" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Thu, 11 Jul 2019 18:16:32 +0000"  >&lt;p&gt;Updated all three modules to use the latest RMB 26.2.0.&lt;/p&gt;</comment>
                                                            <comment id="196169" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Mon, 15 Jul 2019 09:05:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; class=&quot;user-hover&quot; rel=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; data-account-id=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; accountid=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; rel=&quot;noreferrer&quot;&gt;Hongwei Ji&lt;/a&gt; How is the performance after those updates? Did it help if any of the cases? What slow queries remain?&lt;/p&gt;</comment>
                                                            <comment id="196170" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Mon, 15 Jul 2019 09:07:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; class=&quot;user-hover&quot; rel=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; data-account-id=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; accountid=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; rel=&quot;noreferrer&quot;&gt;Hongwei Ji&lt;/a&gt; It would be great if those WARNINGS above logged also the CQL query (or at least index relation term for this particular node of the query)&lt;/p&gt;</comment>
                                                            <comment id="196171" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Mon, 15 Jul 2019 18:28:44 +0000"  >&lt;p&gt;The fix made by &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f8314dfbdef80006f6f572d&quot; class=&quot;user-hover&quot; rel=&quot;5f8314dfbdef80006f6f572d&quot; data-account-id=&quot;5f8314dfbdef80006f6f572d&quot; accountid=&quot;5f8314dfbdef80006f6f572d&quot; rel=&quot;noreferrer&quot;&gt;Adam Dickmeiss&lt;/a&gt; (match FT index with FT search in RMB 26.2.0) made a big difference. The new array syntax search time is down from a few minutes to under 100ms. As of now, there are three slow tests left. &lt;br/&gt;
1) search item by item barcode. This is due to a mismatch between index and query. Should be an easy fix. I will resolve this today.&lt;br/&gt;
2 and 3): checkin and checkout. We have to wait a) the latest mod-circulation-storage build (with RMB 26.2.0). Hopefully the PR this morning to bump up ui-users dependency to loan-storage interface will resolve this); b) audit_table PK violation issue get resolved (WIP by &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ee89462f7aa140abd82d11d&quot; class=&quot;user-hover&quot; rel=&quot;5ee89462f7aa140abd82d11d&quot; data-account-id=&quot;5ee89462f7aa140abd82d11d&quot; accountid=&quot;5ee89462f7aa140abd82d11d&quot; rel=&quot;noreferrer&quot;&gt;Julian Ladisch&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;BTW &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ab8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; class=&quot;user-hover&quot; rel=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; data-account-id=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; accountid=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; rel=&quot;noreferrer&quot;&gt;Jakub Skoczen&lt;/a&gt;, RMB does log the CQL query and SQL right after the WARNINGS message. For example:&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;
WARNING: Doing LIKE search without GIN index &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; instance_holding_view.ho_jsonb-&amp;gt;&amp;gt;&lt;span class=&quot;code-quote&quot;&gt;&apos;permanentLocationId&apos;&lt;/span&gt;
10 Jul 2019 00:15:50:478 INFO  CQLWrapper [3439061eqId] CQL &amp;gt;&amp;gt;&amp;gt; SQL: (instance_holding_view.ho_jsonb.permanentLocationId==b241764c-1466-4e1d-a028-1a3684a5da87) &amp;gt;&amp;gt;&amp;gt; WHERE lower(f_unaccent(instance_holding_view.ho_jsonb-&amp;gt;&amp;gt;&lt;span class=&quot;code-quote&quot;&gt;&apos;permanentLocationId&apos;&lt;/span&gt;)) LIKE lower(f_unaccent(&lt;span class=&quot;code-quote&quot;&gt;&apos;b241764c-1466-4e1d-a028-1a3684a5da87&apos;&lt;/span&gt;)) LIMIT 10 OFFSET 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                                                            <comment id="196172" author="5ee89462f7aa140abd82d11d" created="Tue, 16 Jul 2019 11:40:55 +0000"  >&lt;p&gt;The warning is from CQL2PG, the &quot;CQL &amp;gt;&amp;gt;&amp;gt; SQL&quot; message is from RMB CQLWrapper.&lt;br/&gt;
Therefore moving the warning below the CQLWrapper line is not possible.&lt;/p&gt;</comment>
                                                            <comment id="196173" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Thu, 18 Jul 2019 20:28:50 +0000"  >&lt;p&gt;Latest perf result looks good. &lt;a href=&quot;https://github.com/folio-org/mod-inventory-storage/blob/master/ramls/instance.json&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-inventory-storage/blob/master/ramls/instance.json&lt;/a&gt;. The only really slow ones are searching instances by joining other tables.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="57146">RMB-430</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="29814">CIRCSTORE-134</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="29816">CIRCSTORE-136</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="55866">MODINVSTOR-285</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="67710">MODUSERS-131</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="57143">RMB-429</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="57130">RMB-417</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="57160">RMB-436</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81334">FOLIO-2176</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="81310">FOLIO-2154</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="64241" name="mod-circulation.log" size="294105" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Wed, 10 Jul 2019 01:13:36 +0000"/>
                            <attachment id="64242" name="mod-inventory-storage.log" size="18361" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Wed, 10 Jul 2019 01:13:36 +0000"/>
                            <attachment id="64243" name="mod-users.log" size="345908" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Wed, 10 Jul 2019 01:13:36 +0000"/>
                    </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_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10144"><![CDATA[Core: Platform]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzx6if:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1156">CP: sprint 67</customfieldvalue>
    <customfieldvalue id="1158">CP: sprint 68</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 9 Jul 2019 23:22:09 +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>