<?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 Step by step approach to running sql queries on Alfresco DB in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/step-by-step-approach-to-running-sql-queries-on-alfresco-db/m-p/2990#M912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day All,&lt;/P&gt;&lt;P&gt;Please i am trying to find out the volume of documents on Alfresco at any given time besides generating other reports, can someone give me a step by step approach as to how and where i can run this sql queries on Alfresco Db?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look forward to your kind response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jan 2017 09:35:07 GMT</pubDate>
    <dc:creator>echiboka</dc:creator>
    <dc:date>2017-01-12T09:35:07Z</dc:date>
    <item>
      <title>Step by step approach to running sql queries on Alfresco DB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/step-by-step-approach-to-running-sql-queries-on-alfresco-db/m-p/2990#M912</link>
      <description>Good day All,Please i am trying to find out the volume of documents on Alfresco at any given time besides generating other reports, can someone give me a step by step approach as to how and where i can run this sql queries on Alfresco Db?Look forward to your kind response.</description>
      <pubDate>Thu, 12 Jan 2017 09:35:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/step-by-step-approach-to-running-sql-queries-on-alfresco-db/m-p/2990#M912</guid>
      <dc:creator>echiboka</dc:creator>
      <dc:date>2017-01-12T09:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Step by step approach to running sql queries on Alfresco DB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/step-by-step-approach-to-running-sql-queries-on-alfresco-db/m-p/2991#M913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try &amp;nbsp;to query all content's size by using following sql&lt;/P&gt;&lt;P&gt;SELECT sum(u.content_size)&lt;BR /&gt;FROM alf_node AS n,&lt;BR /&gt;alf_node_properties AS p,&lt;BR /&gt;alf_node_properties AS p1,&lt;BR /&gt;alf_namespace AS ns,&lt;BR /&gt;alf_qname AS q,&lt;BR /&gt;alf_content_data AS d,&lt;BR /&gt;alf_content_url AS u&lt;BR /&gt;WHERE n.id=p.node_id&lt;BR /&gt;AND ns.id=q.ns_id&lt;BR /&gt;AND p.qname_id=q.id&lt;BR /&gt;AND p.long_value=d.id&lt;BR /&gt;AND d.content_url_id=u.id&lt;BR /&gt;AND p1.node_id=n.id&lt;BR /&gt;AND p1.qname_id IN (SELECT id FROM alf_qname WHERE local_name='content')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 13:39:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/step-by-step-approach-to-running-sql-queries-on-alfresco-db/m-p/2991#M913</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2017-01-12T13:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Step by step approach to running sql queries on Alfresco DB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/step-by-step-approach-to-running-sql-queries-on-alfresco-db/m-p/2992#M914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kanye,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please where do i run this query?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do i go to C:\Alfresco\postgresql\bin to run the query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a step by step approach on where i can run this query on the Db.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 13:44:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/step-by-step-approach-to-running-sql-queries-on-alfresco-db/m-p/2992#M914</guid>
      <dc:creator>echiboka</dc:creator>
      <dc:date>2017-01-12T13:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Step by step approach to running sql queries on Alfresco DB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/step-by-step-approach-to-running-sql-queries-on-alfresco-db/m-p/2993#M915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Step 1: Start a DB client program (e.g. pgadmin or just psql)&lt;/P&gt;&lt;P&gt;Step 2: Connect to the database&lt;/P&gt;&lt;P&gt;Step 3: Open up a SQL query editor&lt;/P&gt;&lt;P&gt;Step 4: Query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively: simply right click on your contentstore folder, select "Properties" and let windows count the files + sizes for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 07:45:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/step-by-step-approach-to-running-sql-queries-on-alfresco-db/m-p/2993#M915</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-01-13T07:45:43Z</dc:date>
    </item>
  </channel>
</rss>

