<?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 How to calculate total docs in alfresco? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-total-docs-in-alfresco/m-p/51650#M19580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am planning to do re-indexing of couple of tera bytes data in alfresco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that, I am doing re-indexing with smaller set of data and make benchmark on that and tune as deeply it can be. &lt;BR /&gt;After measuring performance for smaller set of data, calculate re-indexing time for actual data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To have benchmark and get some initial idea how much time it will take to re-index, I was calculating number of alfresco documents. ( Is this right approach or should we consider data size or something else ? )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is exact way to calculate number of docs in alfresco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Check number of raw in alf_node tables with workspace filter.&lt;BR /&gt;2) Write java or java-script to measure number total docs with cm:content type.&lt;BR /&gt;3) Query in SOLR for cm:content type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using alfresco 5.2.2 enterprise with SOLR 4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2018 18:59:27 GMT</pubDate>
    <dc:creator>yogeshpj</dc:creator>
    <dc:date>2018-07-02T18:59:27Z</dc:date>
    <item>
      <title>How to calculate total docs in alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-total-docs-in-alfresco/m-p/51650#M19580</link>
      <description>I am planning to do re-indexing of couple of tera bytes data in alfresco.For that, I am doing re-indexing with smaller set of data and make benchmark on that and tune as deeply it can be. After measuring performance for smaller set of data, calculate re-indexing time for actual data.To have benchmar</description>
      <pubDate>Mon, 02 Jul 2018 18:59:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-total-docs-in-alfresco/m-p/51650#M19580</guid>
      <dc:creator>yogeshpj</dc:creator>
      <dc:date>2018-07-02T18:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate total docs in alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-total-docs-in-alfresco/m-p/51651#M19581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have this question: I have been relying on CMIS query to find count of documents IN TREE of the root folder. For me, the requirement was to get an approximate count for metric. What is the best approach ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 04:22:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-total-docs-in-alfresco/m-p/51651#M19581</guid>
      <dc:creator>abhysunny</dc:creator>
      <dc:date>2018-07-03T04:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate total docs in alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-total-docs-in-alfresco/m-p/51652#M19582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best way to do it is to find it through your database, here is a request I used to count documents and folders, adapt it to your context (I hope it works &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;/P&gt;&lt;DIV class="" style="color: #333333; background: 0px center #ffffff; border: 0px; font-size: 14px; padding: 0px 1em 0px 0px;"&gt;&lt;CODE class="" style="color: #336699 !important; background: 0px center; border: 0px; font-weight: bold !important; font-size: 14px;"&gt;select&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;a.local_name, b.protocol,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="" style="color: #ff1493 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;count&lt;/CODE&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;(*)&lt;/CODE&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #333333; background: 0px center #ffffff; border: 0px; font-size: 14px; padding: 0px 1em 0px 0px;"&gt;&lt;CODE class="" style="color: #336699 !important; background: 0px center; border: 0px; font-weight: bold !important; font-size: 14px;"&gt;from&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;alf_qname&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="" style="color: #336699 !important; background: 0px center; border: 0px; font-weight: bold !important; font-size: 14px;"&gt;as&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;a, alf_store&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="" style="color: #336699 !important; background: 0px center; border: 0px; font-weight: bold !important; font-size: 14px;"&gt;as&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;b, alf_node&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="" style="color: #336699 !important; background: 0px center; border: 0px; font-weight: bold !important; font-size: 14px;"&gt;as&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;c&lt;/CODE&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #333333; background: 0px center #ffffff; border: 0px; font-size: 14px; padding: 0px 1em 0px 0px;"&gt;&lt;CODE class="" style="color: #336699 !important; background: 0px center; border: 0px; font-weight: bold !important; font-size: 14px;"&gt;where&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;a.local_name&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="" style="color: #808080 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;in&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;(&lt;/CODE&gt;&lt;CODE class="" style="color: #003366 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;'content'&lt;/CODE&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="" style="color: #003366 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;'folder'&lt;/CODE&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;)&lt;/CODE&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #333333; background: 0px center #ffffff; border: 0px; font-size: 14px; padding: 0px 1em 0px 0px;"&gt;&lt;CODE class="" style="color: #808080 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;and&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;b.protocol&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="" style="color: #808080 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;in&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;(&lt;/CODE&gt;&lt;CODE class="" style="color: #003366 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;'workspace'&lt;/CODE&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="" style="color: #003366 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;'archive'&lt;/CODE&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="" style="color: #808080 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;and&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;b.identifier =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="" style="color: #003366 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;'SpacesStore'&lt;/CODE&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #333333; background: 0px center #ffffff; border: 0px; font-size: 14px; padding: 0px 1em 0px 0px;"&gt;&lt;CODE class="" style="color: #808080 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;and&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;c.store_id = b.id&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="" style="color: #808080 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;and&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;c.type_qname_id = a.id&lt;/CODE&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #333333; background: 0px center #ffffff; border: 0px; font-size: 14px; padding: 0px 1em 0px 0px;"&gt;&lt;CODE class="" style="color: #336699 !important; background: 0px center; border: 0px; font-weight: bold !important; font-size: 14px;"&gt;group&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #336699 !important; background: 0px center; border: 0px; font-weight: bold !important; font-size: 14px;"&gt;by&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;a.local_name, b.protocol;&amp;nbsp;&lt;/CODE&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #333333; background: 0px center #ffffff; border: 0px; font-size: 14px; padding: 0px 1em 0px 0px;"&gt;&lt;CODE class="" style="color: #000000 !important; background: 0px center; border: 0px; font-weight: normal; font-size: 14px;"&gt;&lt;/CODE&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #333333; background: 0px center #ffffff; border: 0px; font-size: 14px; padding: 0px 1em 0px 0px;"&gt;The number of document is not enough to calculate your indexing time. You should also consider :&lt;/DIV&gt;&lt;UL&gt;&lt;LI style="color: #333333; background: 0px center #ffffff; border: 0px; font-size: 14px; padding: 0px 1em 0px 0px;"&gt;number of versions&lt;/LI&gt;&lt;LI style="color: #333333; background: 0px center #ffffff; border: 0px; font-size: 14px; padding: 0px 1em 0px 0px;"&gt;number of indexed metadata&lt;/LI&gt;&lt;LI style="color: #333333; background: 0px center #ffffff; border: 0px; font-size: 14px; padding: 0px 1em 0px 0px;"&gt;text content size if you index your contents&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope these answers will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Charles Daumont&lt;/P&gt;&lt;P&gt;Sopra Steria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 14:03:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-total-docs-in-alfresco/m-p/51652#M19582</guid>
      <dc:creator>charlesdaumont</dc:creator>
      <dc:date>2018-07-31T14:03:00Z</dc:date>
    </item>
  </channel>
</rss>

