<?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: Problem with ACL related Tables Size in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/problem-with-acl-related-tables-size/m-p/316526#M3527</link>
    <description>&lt;P&gt;The table &lt;CODE&gt;aclr_user_map&lt;/CODE&gt;, as described &lt;A href="http://doc.nuxeo.com/x/HxLF"&gt;in the doc&lt;/A&gt; contains the necessary info to be able to do efficient searches. It's a relationship table between the identity of the user (all his groups) and the synthetic ACLs applying to sets of documents. It will grow with the number of users that have made a search since the last truncation, and with the variety of ACLs set on documents.&lt;/P&gt;
&lt;P&gt;At Nuxeo restart this table is truncated (when not in cluster mode).&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jan 2015 14:19:59 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2015-01-30T14:19:59Z</dc:date>
    <item>
      <title>Problem with ACL related Tables Size</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-with-acl-related-tables-size/m-p/316525#M3526</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I have a problem with the growing size of some tables :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;          relation           |  size
-----------------------------+---------
 aclr_user_map_acl_id_idx    | 15 GB
 aclr_user_map               | 12 GB
 aclr_user_map_user_id_idx   | 8482 MB
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The total size of the /var/lib/psql is around 40Gb&lt;/P&gt;
&lt;P&gt;Once dumped, the archive is around 3 Gb&lt;/P&gt;
&lt;P&gt;If I restart the server, the db falls back to its "real size" : less than 10 Gb&lt;/P&gt;
&lt;P&gt;What's happening ? That's our third or fourth nuxeo installation, and it is the first time this kind of problem occurs.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 09:26:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-with-acl-related-tables-size/m-p/316525#M3526</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2015-01-30T09:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ACL related Tables Size</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-with-acl-related-tables-size/m-p/316526#M3527</link>
      <description>&lt;P&gt;The table &lt;CODE&gt;aclr_user_map&lt;/CODE&gt;, as described &lt;A href="http://doc.nuxeo.com/x/HxLF"&gt;in the doc&lt;/A&gt; contains the necessary info to be able to do efficient searches. It's a relationship table between the identity of the user (all his groups) and the synthetic ACLs applying to sets of documents. It will grow with the number of users that have made a search since the last truncation, and with the variety of ACLs set on documents.&lt;/P&gt;
&lt;P&gt;At Nuxeo restart this table is truncated (when not in cluster mode).&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 14:19:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-with-acl-related-tables-size/m-p/316526#M3527</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2015-01-30T14:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ACL related Tables Size</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-with-acl-related-tables-size/m-p/316527#M3528</link>
      <description>&lt;P&gt;Quite disapointed by your answer&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 16:06:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-with-acl-related-tables-size/m-p/316527#M3528</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2015-01-30T16:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ACL related Tables Size</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-with-acl-related-tables-size/m-p/316528#M3529</link>
      <description>&lt;P&gt;Not necessarily, you can have a nightly job that calls &lt;CODE&gt;nx_vacuum_read_acls&lt;/CODE&gt; while holding an exclusive lock (&lt;CODE&gt;ACCESS EXCLUSIVE&lt;/CODE&gt;) on at least &lt;CODE&gt;aclr&lt;/CODE&gt;, &lt;CODE&gt;aclr_user&lt;/CODE&gt;, &lt;CODE&gt;aclr_user_map&lt;/CODE&gt;, &lt;CODE&gt;aclr_modified&lt;/CODE&gt;, &lt;CODE&gt;acls&lt;/CODE&gt;, &lt;CODE&gt;hierarchy&lt;/CODE&gt; and &lt;CODE&gt;hierarchy_read_acl&lt;/CODE&gt; to make sure that concurrent processes don't mess up the tables.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 16:20:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-with-acl-related-tables-size/m-p/316528#M3529</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2015-01-30T16:20:00Z</dc:date>
    </item>
  </channel>
</rss>

