<?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 Alfresco lucene query performance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-lucene-query-performance/m-p/298305#M251435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are having document listing page which fetches the documents with page size of 25/100/500. (Total around 32K documents)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This takes long time to fetch the documents and we are trying to optimize the mysql.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have only one custom table which is used to store and fetch the count.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We got the below log from mysql.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Slow Queries: 1.25&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Number of Joins that need an index in the last 24hours:1476.1370&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this looks Ok OR we need to do anything with this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can we improve performance and decrease the time?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2014 06:58:24 GMT</pubDate>
    <dc:creator>aaditvmajmudar</dc:creator>
    <dc:date>2014-05-14T06:58:24Z</dc:date>
    <item>
      <title>Alfresco lucene query performance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-lucene-query-performance/m-p/298305#M251435</link>
      <description>Hi All,We are having document listing page which fetches the documents with page size of 25/100/500. (Total around 32K documents)This takes long time to fetch the documents and we are trying to optimize the mysql.We have only one custom table which is used to store and fetch the count.We got the bel</description>
      <pubDate>Wed, 14 May 2014 06:58:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-lucene-query-performance/m-p/298305#M251435</guid>
      <dc:creator>aaditvmajmudar</dc:creator>
      <dc:date>2014-05-14T06:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco lucene query performance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-lucene-query-performance/m-p/298306#M251436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In embedded Lucene permissions are checked after lucene returned all results,That means if you want to search with page size 500,luene will search more that 500(default is 1000) doucuments and starts to check the permissions one by one. So the larger the page size you set ,the slower it will get.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You should consider upgrading to Alfresco 4 and use Solr,in solr permissions are checked at query time ,it has better performance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 12:07:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-lucene-query-performance/m-p/298306#M251436</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-05-14T12:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco lucene query performance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-lucene-query-performance/m-p/298307#M251437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At this stage, we have identified that the sorting on "modified date" takes around "15-20sec" for around 30K contents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other than "modified date" property, all other properties like name, created date and custom&amp;nbsp; properties takes around "4 sec" for sorting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What can be the root cause for this issue that only "modified date" sorting takes much long time to return the results?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to resolve this problem? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 07:27:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-lucene-query-performance/m-p/298307#M251437</guid>
      <dc:creator>aaditvmajmudar</dc:creator>
      <dc:date>2014-06-05T07:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco lucene query performance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-lucene-query-performance/m-p/298308#M251438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you ever configured "modified date" to use a different lucene analyzer.as I remember by default "created date" and "modified date" are configured to use same DateAnalyer in alfresco 3.4,so sorting by them should take nearly same time. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 14:13:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-lucene-query-performance/m-p/298308#M251438</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-06-05T14:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco lucene query performance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-lucene-query-performance/m-p/298309#M251439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, we have not configured any different lucene analyzer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But sorting with created date is not taking much time as modified date.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorting with created date takes around 4-5 sec only.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 15:26:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-lucene-query-performance/m-p/298309#M251439</guid>
      <dc:creator>aaditvmajmudar</dc:creator>
      <dc:date>2014-06-05T15:26:09Z</dc:date>
    </item>
  </channel>
</rss>

