<?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 MySQL query to count records in table in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/mysql-query-to-count-records-in-table/m-p/272433#M225563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wanting to run a regular MySQL query through a cronjob that lists the Alfresco tables and the number of records and size of the table.&amp;nbsp; I can do this per table easy enough but don't know where to start gettnig all the tables in one query.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm after something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;table name, no of records, table size&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone done this before?&amp;nbsp; I don't want to install the GUI tools to get round it if someone else has done this before?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2011 16:27:54 GMT</pubDate>
    <dc:creator>bensewell</dc:creator>
    <dc:date>2011-03-14T16:27:54Z</dc:date>
    <item>
      <title>MySQL query to count records in table</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-query-to-count-records-in-table/m-p/272433#M225563</link>
      <description>Hi,Wanting to run a regular MySQL query through a cronjob that lists the Alfresco tables and the number of records and size of the table.&amp;nbsp; I can do this per table easy enough but don't know where to start gettnig all the tables in one query.&amp;nbsp; I'm after something like this:table name, no of records,</description>
      <pubDate>Mon, 14 Mar 2011 16:27:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-query-to-count-records-in-table/m-p/272433#M225563</guid>
      <dc:creator>bensewell</dc:creator>
      <dc:date>2011-03-14T16:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL query to count records in table</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-query-to-count-records-in-table/m-p/272434#M225564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried the MySQL forums? What you're asking isn't really Alfresco specific.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 21:30:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-query-to-count-records-in-table/m-p/272434#M225564</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2011-03-14T21:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL query to count records in table</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-query-to-count-records-in-table/m-p/272435#M225565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK Thanks,&amp;nbsp; Yes I've put a post on but think i've worked it out anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 09:21:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-query-to-count-records-in-table/m-p/272435#M225565</guid>
      <dc:creator>bensewell</dc:creator>
      <dc:date>2011-03-15T09:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL query to count records in table</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-query-to-count-records-in-table/m-p/272436#M225566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For all of you who want to do this.&amp;nbsp; Here goes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you run this on your MySQL database prior to doing a backup then you will get the number of records backed up etc then you can see how quickly your system is growing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;select table_catalog, table schema, table_name, table_type, table_rows, update_time from information_schema.tables where table_schema='alfresco';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;run this against your information_schema database and it will show you the information you require.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 13:16:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-query-to-count-records-in-table/m-p/272436#M225566</guid>
      <dc:creator>bensewell</dc:creator>
      <dc:date>2011-03-16T13:16:39Z</dc:date>
    </item>
  </channel>
</rss>

