<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PostgreSQL slow query  detected in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/postgresql-slow-query-detected/m-p/328351#M15352</link>
    <description>&lt;P&gt;We defined nuxeo.vcs.optimizations.acl.enabled=false in order to minimize the ACL write time, as recommended in https&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2017 07:43:16 GMT</pubDate>
    <dc:creator>Henri_Jacob</dc:creator>
    <dc:date>2017-09-01T07:43:16Z</dc:date>
    <item>
      <title>PostgreSQL slow query  detected</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/postgresql-slow-query-detected/m-p/328348#M15349</link>
      <description>&lt;P&gt;When load testing my (LTS2015 HF27 + PosgreSQL 9.6 + ElasticSearch 1.x) platform with Tsung , i get a (very) slow query as shown below .&lt;/P&gt;
&lt;P&gt;Even if create the index as suggested by PoWa :
CREATE INDEX hierarchy_mixintypes_idx&lt;BR /&gt; /&amp;gt;
ON public.hierarchy&lt;BR /&gt; /&amp;gt;
USING gin
(mixintypes COLLATE pg_catalog."default");&lt;/P&gt;
&lt;P&gt;Regards,
Henri&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:40:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/postgresql-slow-query-detected/m-p/328348#M15349</guid>
      <dc:creator>Henri_Jacob</dc:creator>
      <dc:date>2017-08-31T15:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL slow query  detected</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/postgresql-slow-query-detected/m-p/328349#M15350</link>
      <description>&lt;P&gt;index suggestions by PoWa&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:52:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/postgresql-slow-query-detected/m-p/328349#M15350</guid>
      <dc:creator>Henri_Jacob</dc:creator>
      <dc:date>2017-08-31T15:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL slow query  detected</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/postgresql-slow-query-detected/m-p/328350#M15351</link>
      <description>&lt;P&gt;Your query contains &lt;CODE&gt;NX_ACCESS_ALLOWED&lt;/CODE&gt; which means you disabled the ACL optimizations. It's unavoidable that with a largish amount of data any query will become slow. See &lt;A href="https://doc.nuxeo.com/nxdoc/read-acls/" target="test_blank"&gt;https://doc.nuxeo.com/nxdoc/read-acls/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Make sur you define &lt;CODE&gt;nuxeo.vcs.optimizations.acl.enabled=true&lt;/CODE&gt; and follow the guide in the page above (REBUILDING READ ACLS) to make sure the indexes needed are recomputed after you do the switch.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:08:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/postgresql-slow-query-detected/m-p/328350#M15351</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2017-08-31T16:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL slow query  detected</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/postgresql-slow-query-detected/m-p/328351#M15352</link>
      <description>&lt;P&gt;We defined nuxeo.vcs.optimizations.acl.enabled=false in order to minimize the ACL write time, as recommended in https&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 07:43:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/postgresql-slow-query-detected/m-p/328351#M15352</guid>
      <dc:creator>Henri_Jacob</dc:creator>
      <dc:date>2017-09-01T07:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: PostgreSQL slow query  detected</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/postgresql-slow-query-detected/m-p/328352#M15353</link>
      <description>&lt;P&gt;Could you execute your query in pgAdmin with EXPLAIN ANALYZE commands and check result on page https&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 17:32:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/postgresql-slow-query-detected/m-p/328352#M15353</guid>
      <dc:creator>adam_bo_</dc:creator>
      <dc:date>2017-09-02T17:32:01Z</dc:date>
    </item>
  </channel>
</rss>

