<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:15:16 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-1702] FOLIO: Database under heavy load causing system super slow</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1702</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;It was reported that system was very slow to not usable. By looking at database usage, noticed that CPU was constantly 100%. Most CPU intensive queries look like below. Note it was truncated by AWS because it is way too long. Adding an index on item table `(lower(f_unaccent(jsonb -&amp;gt;&amp;gt; &apos;id&apos;::text)))` seems to make the issue go way.&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-sql&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;SELECT&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;COUNT&lt;/span&gt;(*) &lt;span class=&quot;code-keyword&quot;&gt;FROM&lt;/span&gt; fs00001000_mod_inventory_storage.items_mt_view  &lt;span class=&quot;code-keyword&quot;&gt;WHERE&lt;/span&gt; (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((&lt;span class=&quot;code-keyword&quot;&gt;lower&lt;/span&gt;(f_unaccent(items_mt_view.jsonb-&amp;gt;&amp;gt;&lt;span class=&quot;code-quote&quot;&gt;&apos;id&apos;&lt;/span&gt;)) &lt;span class=&quot;code-keyword&quot;&gt;LIKE&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;lower&lt;/span&gt;(f_unaccent(&lt;span class=&quot;code-quote&quot;&gt;&apos;62c28f91-bf80-43e5-a897-1a7e14ac08e6&apos;&lt;/span&gt;))) &lt;span class=&quot;code-keyword&quot;&gt;OR&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;lower&lt;/span&gt;(f_unaccent(items_mt_view.jsonb-&amp;gt;&amp;gt;&lt;span class=&quot;code-quote&quot;&gt;&apos;id&apos;&lt;/span&gt;)) &lt;span class=&quot;code-keyword&quot;&gt;LIKE&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;lower&lt;/span&gt;(f_unaccent(&lt;span class=&quot;code-quote&quot;&gt;&apos;255e1914-5820-4c2c-a089-3567fe55a12b&apos;&lt;/span&gt;)))) &lt;span class=&quot;code-keyword&quot;&gt;OR&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;lower&lt;/span&gt;(f_unaccent(items_mt_view.jsonb-&amp;gt;&amp;gt;&lt;span class=&quot;code-quote&quot;&gt;&apos;id&apos;&lt;/span&gt;)) &lt;span class=&quot;code-keyword&quot;&gt;LIKE&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;lower&lt;/span&gt;(f_unaccent(&lt;span class=&quot;code-quote&quot;&gt;&apos;94e65f87-c05f-4b07-9dba-76279e662307&apos;&lt;/span&gt;) ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="80983">FOLIO-1702</key>
            <summary>FOLIO: Database under heavy load causing system super slow</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                                            <priority id="10000" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p1.svg">P1</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="-1">Unassigned</assignee>
                                                                <reporter accountid="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c">Hongwei Ji</reporter>
                                    <labels>
                            <label>bugfest_q42018</label>
                    </labels>
                <created>Wed, 9 Jan 2019 21:56:20 +0000</created>
                <updated>Wed, 3 Jun 2020 16:39:21 +0000</updated>
                            <resolved>Mon, 14 Jan 2019 16:49:51 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="193656" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Mon, 14 Jan 2019 16:49:23 +0000"  >&lt;p&gt;Just checked the latest q4 Vagrant, it looks like the index is there. So this should be all set.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="25726">UIREQ-191</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25728">UIREQ-189</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25727">UIREQ-197</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25729">UIREQ-199</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="64119" name="Screen Shot 2019-01-09 at 4.59.32 PM.png" size="290289" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Wed, 9 Jan 2019 22:04:02 +0000"/>
                            <attachment id="64120" name="after-fix_Screen Shot 2019-01-09 at 5.06.47 PM.png" size="380947" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Wed, 9 Jan 2019 22:07:44 +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_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzzb8n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </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>