<?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: Search web script + Transactional update cache full problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249230#M202360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using any kind of pagging?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please explore that it could help you in reducing the overhead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As it will fetch the results in the chunks based on the pagination designed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is batch size you can set during search.I think this should solve you problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;may be this post will be helpful&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?t=5599" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?t=5599&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2012 09:00:23 GMT</pubDate>
    <dc:creator>mitpatoliya</dc:creator>
    <dc:date>2012-03-28T09:00:23Z</dc:date>
    <item>
      <title>Search web script + Transactional update cache full problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249227#M202357</link>
      <description>I have a Java backed web script that's in charge of searching; and a custom app on top of Alfresco.I execute that search when visiting a certain tab, meaning, user doesn't get any chance to enter some variables to narrow down the search results. Query then ends up being only an aspect search. And si</description>
      <pubDate>Tue, 27 Mar 2012 07:23:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249227#M202357</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2012-03-27T07:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Search web script + Transactional update cache full problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249228#M202358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did not get why user is not able to narrow down the search?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also is your script flexible enough to search based on the various different criteria given by user?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 09:21:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249228#M202358</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-03-27T09:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Search web script + Transactional update cache full problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249229#M202359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Because the search itself is triggered when visiting the tab (view) in question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So user visits the tab - query executes - then user can narrow down the search with criteria - and execute the query as many times as he likes. The problem is the initial search, that happens automatically.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 08:10:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249229#M202359</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2012-03-28T08:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Search web script + Transactional update cache full problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249230#M202360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using any kind of pagging?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please explore that it could help you in reducing the overhead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As it will fetch the results in the chunks based on the pagination designed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is batch size you can set during search.I think this should solve you problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;may be this post will be helpful&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?t=5599" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?t=5599&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 09:00:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249230#M202360</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-03-28T09:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Search web script + Transactional update cache full problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249231#M202361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem is in "Transactional update cache full" part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me explain further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I do a basic query, I will get this kind of behavior:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;13:45:04,723 User:admin WARN&amp;nbsp; [alfresco.cache.contentDataTransactionalCache] Transactional update cache 'org.alfresco.cache.contentDataTransactionalCache' is full (1000).&lt;BR /&gt;13:45:05,337 User:admin DEBUG [alfresco.scripts.MGSearch] Results: 1000 rows (limited: NUMBER_OF_PERMISSION_EVALUATIONS)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I have "Transactional update cache full", and results are limited by repository.properties NUMBER_OF_PERMISSION_EVALUATIONS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I setup my query like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;parameters.setMaxPermissionChecks(10);&lt;BR /&gt;parameters.setLimitBy(LimitBy.NUMBER_OF_PERMISSION_EVALUATIONS);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I will get this kind of behavior:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;13:45:04,723 User:admin WARN&amp;nbsp; [alfresco.cache.contentDataTransactionalCache] Transactional update cache 'org.alfresco.cache.contentDataTransactionalCache' is full (1000).&lt;BR /&gt;13:45:05,337 User:admin DEBUG [alfresco.scripts.MGSearch] Results: 10 rows (limited: NUMBER_OF_PERMISSION_EVALUATIONS)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I have "Transactional update cache full", and results are limited by NUMBER_OF_PERMISSION_EVALUATIONS defined in code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And lastly, if I setup my query like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;parameters.setLimitBy(LimitBy.FINAL_SIZE);&lt;BR /&gt;parameters.setLimit(10);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I will get this kind of behavior:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;13:45:04,723 User:admin WARN&amp;nbsp; [alfresco.cache.contentDataTransactionalCache] Transactional update cache 'org.alfresco.cache.contentDataTransactionalCache' is full (1000).&lt;BR /&gt;13:45:05,337 User:admin DEBUG [alfresco.scripts.MGSearch] Results: 10 rows (limited: FINAL_SIZE)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I have "Transactional update cache full", and results are limited by FINAL_SIZE defined in code. But in each case, the "Transactional update cache full" is there. My conclusion is that I can't get around it whatever I try; any other suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 11:55:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249231#M202361</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2012-03-28T11:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Search web script + Transactional update cache full problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249232#M202362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using setMaxItems() appears to be working differently in comparison to setLimit().&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any additional info on these two?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 14:10:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249232#M202362</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2012-03-28T14:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Search web script + Transactional update cache full problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249233#M202363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hey have you tried by changing the property inside repository.properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Properties to limit resources spent on individual searches&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# The maximum time spent pruning results&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;system.acl.maxPermissionCheckTimeMillis=10000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# The maximum number of results to perform permission checks against&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;system.acl.maxPermissionChecks=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Properties to control read permission evaluation for acegi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;system.readpermissions.optimise=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;system.readpermissions.bulkfetchsize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try to increase the permission check size and remove all the limitation set from you code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 03:36:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249233#M202363</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-03-30T03:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Search web script + Transactional update cache full problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249234#M202364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't see any benefit from it at the moment. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Surely, I can set those number to a higher value, but since I have loads of nodes and they will keep on coming, I'll find myself in the same trouble soon enough.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do appreciate your help! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 11:45:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-web-script-transactional-update-cache-full-problem/m-p/249234#M202364</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2012-03-30T11:45:48Z</dc:date>
    </item>
  </channel>
</rss>

