<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #907: TN Drupal database size</title>
    <link>http://localhost:8080/trac/ticket/907</link>
    <description>&lt;p&gt;
6 weeks ago the datadase dump was 447M, see &lt;a class="ext-link" href="http://trac.edgewall.org/intertrac/ticket/896%23comment%3A3" title="ticket/896#comment:3 in Trac project trac"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;trac:ticket/896#comment:3&lt;/a&gt; but now it is 1.8G:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ls -lah /var/backups/mysql/sqldump/transitionnetw_0.sql
-rw------- 1 root root 1.8G Mar  2 01:23 /var/backups/mysql/sqldump/transitionnetw_0.sql
&lt;/pre&gt;&lt;p&gt;
Anyone have any idea what happened to cause this? Are we keeping too many log entries?
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/907</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>ade</dc:creator>

      <pubDate>Wed, 02 Mar 2016 11:25:06 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/907#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:1</guid>
      <description>
        &lt;pre class="wiki"&gt;Interesting.
When you say the database dump has increased is there an actual DB that has
increased or are you thinking the 'sqldump' folder has increased?
From your other email it looks like the 'sqldump' folder is made up of:-
drwx------ 2 root root 4.0K Jan 19 01:05 .
 drwx------ 3 root root 4.0K Apr 30  2013 ..
 -rw------- 1 root root 2.5M Mar  2 01:02 annesley.sql
 -rw------- 1 root root 9.3M Mar  2 01:02 conference15.sql
 -rw------- 1 root root 7.8M Mar  2 01:02 cop21.sql
 -rw------- 1 root root 3.7M Mar  2 01:02 information_schema.sql
 -rw------- 1 root root 542K Mar  2 01:02 mysql.sql
 -rw------- 1 root root  17K Mar  2 01:02 performance_schema.sql
 -rw------- 1 root root  11K Mar  2 01:02 phpmyadmin.sql
 -rw------- 1 root root  63M Jun  2  2014 recon.sql
 -rw------- 1 root root  57M Mar  2 01:02 reconomy.sql
 -rw------- 1 root root  53M Mar  2 01:03 tc.sql
 -rw------- 1 root root 1.3K Mar  2 01:03 test.sql
 -rw------- 1 root root 424M Mar  2 01:06 tnro.sql
 -rw------- 1 root root 1.9M Mar  2 01:06 ts.sql
 -rw------- 1 root root 807M Mar  2 01:08 ttt.sql
 -rw------- 1 root root 1.9M Mar  2 01:08 wpdev.sql
Of which I cannot see the 'transitionnetw_0.sql' included?
If it is 'transitionnetw_0.sql' that has trippled in size then it would
obviously indicate that something is amiss, as we haven't been that data
busy.
I have noticed that we have had three (could be more) down periods for 3
mins at 1.25-1.30am over the last week. I would also suggest this is the
traffic spike that disconnected/ceased up the database the other day.
Is it possible that we are getting an DB injection somewhere along the
lines?
Another thought is, if it is the site db that is suddenly tripled in size
do we have a back up of the small database from 6 weeks ago? Am happy to do
a comparison of the two DB's if they can be made available to see where the
increase in size is occurring?
On 2 March 2016 at 10:20, Transition Technology Trac &amp;lt;
trac@tech.transitionnetwork.org&amp;gt; wrote:
&amp;gt; #907: TN Drupal database size
&amp;gt; -------------------------------------+-------------------------------------
&amp;gt;                  Reporter:  chris    |                Owner:  chris
&amp;gt;                      Type:           |               Status:  new
&amp;gt;   maintenance                        |            Milestone:  Maintenance
&amp;gt;                  Priority:  major    |             Keywords:
&amp;gt;                 Component:  Drupal   |  Add Hours to Ticket:  0
&amp;gt;   modules &amp;amp; settings                 |          Total Hours:  0
&amp;gt; Estimated Number of Hours:  0        |
&amp;gt;                 Billable?:  1        |
&amp;gt; -------------------------------------+-------------------------------------
&amp;gt;  6 weeks ago the datadase dump was 447M, see trac:ticket/896#comment:3 but
&amp;gt;  now it is 1.8G:
&amp;gt;
&amp;gt;  {{{
&amp;gt;  ls -lah /var/backups/mysql/sqldump/transitionnetw_0.sql
&amp;gt;  -rw------- 1 root root 1.8G Mar  2 01:23
&amp;gt;  /var/backups/mysql/sqldump/transitionnetw_0.sql
&amp;gt;  }}}
&amp;gt;
&amp;gt;  Anyone have any idea what happened to cause this? Are we keeping too many
&amp;gt;  log entries?
&amp;gt;
&amp;gt; --
&amp;gt; Ticket URL: &amp;lt;https://tech.transitionnetwork.org/trac/ticket/907&amp;gt;
&amp;gt; Transition Technology &amp;lt;https://tech.transitionnetwork.org/trac&amp;gt;
&amp;gt; Support and issues tracking for the Transition Network Web Project.
&amp;gt;
--
Ade Stuart
Web Manager - Transition network
07595 331877
The Transition Network is a registered charity
address: 43 Fore St, Totnes, Devon, TQ9 5HN, UK
website: www.transitionnetwork.org
TN company no: 6135675 TN charity no: 1128675
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>paul</dc:creator>

      <pubDate>Wed, 02 Mar 2016 11:29:04 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.125&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.125&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Database logging is enabled. How big is the watchdog table?
&lt;/p&gt;
&lt;p&gt;
Investigating ..
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>paul</dc:creator>

      <pubDate>Wed, 02 Mar 2016 11:30:07 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/907#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:3</guid>
      <description>
        &lt;pre class="wiki"&gt;Database logging is enabled. How big is the watchdog table?
On Wed, Mar 2, 2016 at 11:20 AM, Ade Stuart &amp;lt;adestuart@transitionnetwork.org
&amp;gt; wrote:
&amp;gt; Interesting.
&amp;gt; When you say the database dump has increased is there an actual DB that
&amp;gt; has increased or are you thinking the 'sqldump' folder has increased?
&amp;gt;
&amp;gt; From your other email it looks like the 'sqldump' folder is made up of:-
&amp;gt;
&amp;gt; drwx------ 2 root root 4.0K Jan 19 01:05 .
&amp;gt;  drwx------ 3 root root 4.0K Apr 30  2013 ..
&amp;gt;  -rw------- 1 root root 2.5M Mar  2 01:02 annesley.sql
&amp;gt;  -rw------- 1 root root 9.3M Mar  2 01:02 conference15.sql
&amp;gt;  -rw------- 1 root root 7.8M Mar  2 01:02 cop21.sql
&amp;gt;  -rw------- 1 root root 3.7M Mar  2 01:02 information_schema.sql
&amp;gt;  -rw------- 1 root root 542K Mar  2 01:02 mysql.sql
&amp;gt;  -rw------- 1 root root  17K Mar  2 01:02 performance_schema.sql
&amp;gt;  -rw------- 1 root root  11K Mar  2 01:02 phpmyadmin.sql
&amp;gt;  -rw------- 1 root root  63M Jun  2  2014 recon.sql
&amp;gt;  -rw------- 1 root root  57M Mar  2 01:02 reconomy.sql
&amp;gt;  -rw------- 1 root root  53M Mar  2 01:03 tc.sql
&amp;gt;  -rw------- 1 root root 1.3K Mar  2 01:03 test.sql
&amp;gt;  -rw------- 1 root root 424M Mar  2 01:06 tnro.sql
&amp;gt;  -rw------- 1 root root 1.9M Mar  2 01:06 ts.sql
&amp;gt;  -rw------- 1 root root 807M Mar  2 01:08 ttt.sql
&amp;gt;  -rw------- 1 root root 1.9M Mar  2 01:08 wpdev.sql
&amp;gt;
&amp;gt; Of which I cannot see the 'transitionnetw_0.sql' included?
&amp;gt;
&amp;gt;
&amp;gt; If it is 'transitionnetw_0.sql' that has trippled in size then it would
&amp;gt; obviously indicate that something is amiss, as we haven't been that data
&amp;gt; busy.
&amp;gt;
&amp;gt; I have noticed that we have had three (could be more) down periods for 3
&amp;gt; mins at 1.25-1.30am over the last week. I would also suggest this is the
&amp;gt; traffic spike that disconnected/ceased up the database the other day.
&amp;gt; Is it possible that we are getting an DB injection somewhere along the
&amp;gt; lines?
&amp;gt;
&amp;gt; Another thought is, if it is the site db that is suddenly tripled in size
&amp;gt; do we have a back up of the small database from 6 weeks ago? Am happy to do
&amp;gt; a comparison of the two DB's if they can be made available to see where the
&amp;gt; increase in size is occurring?
&amp;gt;
&amp;gt; On 2 March 2016 at 10:20, Transition Technology Trac &amp;lt;
&amp;gt; trac@tech.transitionnetwork.org&amp;gt; wrote:
&amp;gt;
&amp;gt;&amp;gt; #907: TN Drupal database size
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; -------------------------------------+-------------------------------------
&amp;gt;&amp;gt;                  Reporter:  chris    |                Owner:  chris
&amp;gt;&amp;gt;                      Type:           |               Status:  new
&amp;gt;&amp;gt;   maintenance                        |            Milestone:  Maintenance
&amp;gt;&amp;gt;                  Priority:  major    |             Keywords:
&amp;gt;&amp;gt;                 Component:  Drupal   |  Add Hours to Ticket:  0
&amp;gt;&amp;gt;   modules &amp;amp; settings                 |          Total Hours:  0
&amp;gt;&amp;gt; Estimated Number of Hours:  0        |
&amp;gt;&amp;gt;                 Billable?:  1        |
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; -------------------------------------+-------------------------------------
&amp;gt;&amp;gt;  6 weeks ago the datadase dump was 447M, see trac:ticket/896#comment:3 but
&amp;gt;&amp;gt;  now it is 1.8G:
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;  {{{
&amp;gt;&amp;gt;  ls -lah /var/backups/mysql/sqldump/transitionnetw_0.sql
&amp;gt;&amp;gt;  -rw------- 1 root root 1.8G Mar  2 01:23
&amp;gt;&amp;gt;  /var/backups/mysql/sqldump/transitionnetw_0.sql
&amp;gt;&amp;gt;  }}}
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;  Anyone have any idea what happened to cause this? Are we keeping too many
&amp;gt;&amp;gt;  log entries?
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; --
&amp;gt;&amp;gt; Ticket URL: &amp;lt;https://tech.transitionnetwork.org/trac/ticket/907&amp;gt;
&amp;gt;&amp;gt; Transition Technology &amp;lt;https://tech.transitionnetwork.org/trac&amp;gt;
&amp;gt;&amp;gt; Support and issues tracking for the Transition Network Web Project.
&amp;gt;&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt; --
&amp;gt; Ade Stuart
&amp;gt; Web Manager - Transition network
&amp;gt;
&amp;gt; 07595 331877
&amp;gt;
&amp;gt; The Transition Network is a registered charity
&amp;gt; address: 43 Fore St, Totnes, Devon, TQ9 5HN, UK
&amp;gt; website: www.transitionnetwork.org
&amp;gt; TN company no: 6135675 TN charity no: 1128675
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
--
Paul Booker
Drupal Support for Websites and Linux Servers
Website: http://www.paulbooker.co.uk
Tel: +44 01922 861636
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>paul</dc:creator>

      <pubDate>Wed, 02 Mar 2016 11:38:56 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.125&lt;/em&gt; to &lt;em&gt;0.375&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
It looks as though it's some kind of cache problem.
&lt;/p&gt;
&lt;pre class="wiki"&gt;MariaDB [(none)]&amp;gt; use transitionnetw_0;
Database changed
MariaDB [transitionnetw_0]&amp;gt; SELECT
    -&amp;gt;      table_schema as `Database`,
    -&amp;gt;      table_name AS `Table`,
    -&amp;gt;      round(((data_length + index_length) / 1024 / 1024), 2) `Size in MB`
    -&amp;gt; FROM information_schema.TABLES
    -&amp;gt; ORDER BY (data_length + index_length) DESC;
+--------------------+-----------------------------------------------+------------+
| Database           | Table                                         | Size in MB |
+--------------------+-----------------------------------------------+------------+
| transitionnetw_0   | cache_advagg_bundle_reuse                     |    1056.66 |
| transitionnetw_0   | cache_views_data                              |     295.11 |
| transitionnetw_0   | cache_form                                    |     260.66 |
| transitionnetw_0   | watchdog                                      |     192.20 |
| transitionnetw_0   | search_index                                  |     185.42 |
| transitionnetw_0   | cache_page                                    |     179.91 |
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>paul</dc:creator>

      <pubDate>Wed, 02 Mar 2016 11:43:22 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:5</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.125&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.375&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Maybe we could turn off database logging and clear the caches. Take a baseline. Review the problem again tomorrow?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 02 Mar 2016 12:58:30 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:6</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.5&lt;/em&gt; to &lt;em&gt;0.65&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/907#comment:1" title="Comment 1 for Ticket #907"&gt;ade&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
When you say the database dump has increased is there an actual DB that has
increased or are you thinking the 'sqldump' folder has increased?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Both, one is a consequence of the other, the dump of the database, which is in the &lt;tt&gt;sqldump&lt;/tt&gt; directory, has gone from 447M six weeks ago to 1.8G last night.
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
From your other email it looks like the 'sqldump' folder is made up of:-
&lt;/p&gt;
&lt;pre class="wiki"&gt;drwx------ 2 root root 4.0K Jan 19 01:05 .
 drwx------ 3 root root 4.0K Apr 30  2013 ..
 -rw------- 1 root root 2.5M Mar  2 01:02 annesley.sql
 -rw------- 1 root root 9.3M Mar  2 01:02 conference15.sql
 -rw------- 1 root root 7.8M Mar  2 01:02 cop21.sql
 -rw------- 1 root root 3.7M Mar  2 01:02 information_schema.sql
 -rw------- 1 root root 542K Mar  2 01:02 mysql.sql
 -rw------- 1 root root  17K Mar  2 01:02 performance_schema.sql
 -rw------- 1 root root  11K Mar  2 01:02 phpmyadmin.sql
 -rw------- 1 root root  63M Jun  2  2014 recon.sql
 -rw------- 1 root root  57M Mar  2 01:02 reconomy.sql
 -rw------- 1 root root  53M Mar  2 01:03 tc.sql
 -rw------- 1 root root 1.3K Mar  2 01:03 test.sql
 -rw------- 1 root root 424M Mar  2 01:06 tnro.sql
 -rw------- 1 root root 1.9M Mar  2 01:06 ts.sql
 -rw------- 1 root root 807M Mar  2 01:08 ttt.sql
 -rw------- 1 root root 1.9M Mar  2 01:08 wpdev.sql
&lt;/pre&gt;&lt;p&gt;
Of which I cannot see the 'transitionnetw_0.sql' included?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
This is because the above directory listing is from &lt;a class="wiki" href="http://localhost:8080/trac/wiki/ParrotServer"&gt;ParrotServer&lt;/a&gt; not &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PuffinServer"&gt;PuffinServer&lt;/a&gt;.
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
If it is 'transitionnetw_0.sql' that has trippled in size then it would
obviously indicate that something is amiss, as we haven't been that data
busy.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Right.
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
I have noticed that we have had three (could be more) down periods for 3
mins at 1.25-1.30am over the last week. I would also suggest this is the
traffic spike that disconnected/ceased up the database the other day.
Is it possible that we are getting an DB injection somewhere along the
lines?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
I doubt it, I think this is the time that the database is dumped each night and when it was less that 500MB it didn't cause any downtime creating the dump, but now it is 3 times the size it is causing the site to be unavailable for a few moments.
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Another thought is, if it is the site db that is suddenly tripled in size
do we have a back up of the small database from 6 weeks ago? Am happy to do
a comparison of the two DB's if they can be made available to see where the
increase in size is occurring?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
I could put a backup from 6 weeks ago somwehere for you to download if needs be, but it might be less work to try Paul's suggestion first?
&lt;/p&gt;
&lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/907#comment:5" title="Comment 5 for Ticket #907"&gt;paul&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Maybe we could turn off database logging and clear the caches. Take a baseline. Review the problem again tomorrow?
&lt;/p&gt;
&lt;/blockquote&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>paul</dc:creator>

      <pubDate>Wed, 02 Mar 2016 16:00:34 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:7</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:7</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.65&lt;/em&gt; to &lt;em&gt;0.9&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I turned of database logging and cleared the caches but didn't see any change in the size of the cache tables. Was I looking at the wrong database? I couldn't figure this out quickly. It's normally found in the settings.php file.
&lt;/p&gt;
&lt;pre class="wiki"&gt;MariaDB [(none)]&amp;gt; SELECT  table_name AS `Table`, round(((data_length + index_length) / 1024 / 1024), 2) `Size in MB`  FROM information_schema.TABLES  WHERE table_schema = "transitionnetw_0" ORDER BY round(((data_length + index_length) / 1024 / 1024), 2) DESC LIMIT 10;
+---------------------------+------------+
| Table                     | Size in MB |
+---------------------------+------------+
| cache_advagg_bundle_reuse |    1056.66 |
| cache_views_data          |     295.11 |
| cache_form                |     261.66 |
| watchdog                  |     192.20 |
| search_index              |     185.42 |
| cache_page                |     179.91 |
| node_revisions            |      99.98 |
| cache_block               |      84.30 |
| cache_filter              |      84.17 |
| mail_logger               |      82.17 |
+---------------------------+------------+
10 rows in set (0.66 sec)
&lt;/pre&gt;&lt;p&gt;
Could it be that it was the stage databases that were ~ 400 MB?
&lt;/p&gt;
&lt;pre class="wiki"&gt;MariaDB [(none)]&amp;gt; SELECT table_schema  "DB Name",
    -&amp;gt; Round(Sum(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB"
    -&amp;gt; FROM   information_schema.tables
    -&amp;gt; GROUP BY table_schema
    -&amp;gt; ORDER BY Round(Sum(data_length + index_length) / 1024 / 1024, 1) DESC;
+--------------------+---------------+
| DB Name            | DB Size in MB |
+--------------------+---------------+
| transitionnetw_0   |        3035.0 |
| bookerstage20150   |         469.8 |
| bookerstagesamtr   |         458.1 |
&lt;/pre&gt;&lt;p&gt;
I'll pick this up again tomorrow.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 02 Mar 2016 16:57:26 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:8</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:8</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.2&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.9&lt;/em&gt; to &lt;em&gt;1.1&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The database is &lt;tt&gt;transitionnetw_0&lt;/tt&gt;, I have just used &lt;tt&gt;ninjahelper&lt;/tt&gt; to dum the databases and we did have these backup dumps:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ls -lah /var/backups/mysql/sqldump/
total 4.8G
drwx------ 2 root root 4.0K Jun 19  2015 ./
drwx------ 3 root root 4.0K Dec 15  2012 ../
-rw------- 1 root root 221M Aug  7  2014 bookerstage20140.sql
-rw------- 1 root root 221M Dec  5  2014 bookerstage20141.sql
-rw------- 1 root root 232M Mar  2 01:10 bookerstage20150.sql
-rw------- 1 root root 3.3M Mar 19  2015 bookerstage201_0.sql
-rw------- 1 root root 221M Mar 19  2015 bookerstage201_1.sql
-rw------- 1 root root 3.0M Mar  2 01:10 bookerstage201_2.sql
-rw------- 1 root root 224M Mar  2 01:10 bookerstagesamtr.sql
-rw------- 1 root root 866K Mar  4  2014 iirstestclonetra.sql
-rw------- 1 root root 966K Aug 11  2014 iirstesttransi_0.sql
-rw------- 1 root root 902K Mar  4  2014 iirstesttransiti.sql
-rw------- 1 root root  50M Mar  2 01:09 information_schema.sql
-rw------- 1 root root 5.0M Mar  2 01:11 masterpuffinwe_0.sql
-rw------- 1 root root 4.5M May  1  2015 masterpuffinweba.sql
-rw------- 1 root root 513K Mar  2 01:11 mysql.sql
-rw------- 1 root root 3.8M Mar 19  2015 newstransition_0.sql
-rw------- 1 root root  38M Mar  2 01:11 newstransitionne.sql
-rw------- 1 root root 212M Jul 31  2014 pbstage20130212t.sql
-rw------- 1 root root 106M Jul 31  2014 pbstage2014040_0.sql
-rw------- 1 root root  17K Mar  2 01:11 performance_schema.sql
-rw------- 1 root root 3.1M Jun 23  2013 spacestransition.sql
-rw------- 1 root root 2.7M Jan  7  2014 spacetesttransit.sql
-rw------- 1 root root 5.7M Aug  8  2014 spacetransitio_0.sql
-rw------- 1 root root 4.7M Dec  1  2014 spacetransitionn.sql
-rw------- 1 root root 107M Jan 12  2014 stg2transition_0.sql
-rw------- 1 root root 186M Jan  9  2014 stg2transition_1.sql
-rw------- 1 root root 186M Jan  9  2014 stg2transition_2.sql
-rw------- 1 root root 109M Jun 12  2014 stg2transitionne.sql
-rw------- 1 root root 459K Jun 12  2014 stg3transitionne.sql
-rw------- 1 root root 393K Jun 12  2014 stg4transitionne.sql
-rw------- 1 root root 390K Mar 26  2014 stg6transitionne.sql
-rw------- 1 root root 393K Aug  7  2014 stgsamtransition.sql
-rw------- 1 root root 106M Jul 31  2014 stgtransitionn_0.sql
-rw------- 1 root root 180M Oct 17  2013 stgtransitionn_1.sql
-rw------- 1 root root 180M Oct 17  2013 stgtransitionn_2.sql
-rw------- 1 root root 107M Jan 12  2014 stgtransitionnet.sql
-rw------- 1 root root 310K Mar  2 01:11 teststgtransit_0.sql
-rw------- 1 root root 399K Nov  1  2013 teststgtransit_1.sql
-rw------- 1 root root 5.4M May  1  2015 tnpuffinwebarc_0.sql
-rw------- 1 root root 5.0M Mar  2 01:11 tnpuffinwebarchn.sql
-rw------- 1 root root 1.8G Mar  2 01:23 transitionnetw_0.sql
-rw------- 1 root root 251M Mar 19  2015 transitionnetwor.sql
-rw------- 1 root root 104M Jan 23  2013 v01newdevtransit.sql
&lt;/pre&gt;&lt;p&gt;
Note the times on the files created this morning, &lt;tt&gt;5.0M Mar  2 01:11 tnpuffinwebarchn.sql&lt;/tt&gt; and &lt;tt&gt;1.8G Mar  2 01:23 transitionnetw_0.sql&lt;/tt&gt; -- it took 12 mins to create the &lt;tt&gt;transitionnetw_0.sql&lt;/tt&gt; dump and this is also the time at which the site becomes unavailable.
&lt;/p&gt;
&lt;p&gt;
We now have:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ls -lah /var/backups/mysql/sqldump/
total 4.8G
drwx------ 2 root root 4.0K Jun 19  2015 ./
drwx------ 3 root root 4.0K Dec 15  2012 ../
-rw------- 1 root root 221M Aug  7  2014 bookerstage20140.sql
-rw------- 1 root root 221M Dec  5  2014 bookerstage20141.sql
-rw------- 1 root root 232M Mar  2 16:49 bookerstage20150.sql
-rw------- 1 root root 3.3M Mar 19  2015 bookerstage201_0.sql
-rw------- 1 root root 221M Mar 19  2015 bookerstage201_1.sql
-rw------- 1 root root 3.0M Mar  2 16:49 bookerstage201_2.sql
-rw------- 1 root root 224M Mar  2 16:49 bookerstagesamtr.sql
-rw------- 1 root root 866K Mar  4  2014 iirstestclonetra.sql
-rw------- 1 root root 966K Aug 11  2014 iirstesttransi_0.sql
-rw------- 1 root root 902K Mar  4  2014 iirstesttransiti.sql
-rw------- 1 root root  49M Mar  2 16:48 information_schema.sql
-rw------- 1 root root 5.0M Mar  2 16:49 masterpuffinwe_0.sql
-rw------- 1 root root 4.5M May  1  2015 masterpuffinweba.sql
-rw------- 1 root root 513K Mar  2 16:49 mysql.sql
-rw------- 1 root root 3.8M Mar 19  2015 newstransition_0.sql
-rw------- 1 root root  38M Mar  2 16:49 newstransitionne.sql
-rw------- 1 root root 212M Jul 31  2014 pbstage20130212t.sql
-rw------- 1 root root 106M Jul 31  2014 pbstage2014040_0.sql
-rw------- 1 root root  17K Mar  2 16:49 performance_schema.sql
-rw------- 1 root root 3.1M Jun 23  2013 spacestransition.sql
-rw------- 1 root root 2.7M Jan  7  2014 spacetesttransit.sql
-rw------- 1 root root 5.7M Aug  8  2014 spacetransitio_0.sql
-rw------- 1 root root 4.7M Dec  1  2014 spacetransitionn.sql
-rw------- 1 root root 107M Jan 12  2014 stg2transition_0.sql
-rw------- 1 root root 186M Jan  9  2014 stg2transition_1.sql
-rw------- 1 root root 186M Jan  9  2014 stg2transition_2.sql
-rw------- 1 root root 109M Jun 12  2014 stg2transitionne.sql
-rw------- 1 root root 459K Jun 12  2014 stg3transitionne.sql
-rw------- 1 root root 393K Jun 12  2014 stg4transitionne.sql
-rw------- 1 root root 390K Mar 26  2014 stg6transitionne.sql
-rw------- 1 root root 393K Aug  7  2014 stgsamtransition.sql
-rw------- 1 root root 106M Jul 31  2014 stgtransitionn_0.sql
-rw------- 1 root root 180M Oct 17  2013 stgtransitionn_1.sql
-rw------- 1 root root 180M Oct 17  2013 stgtransitionn_2.sql
-rw------- 1 root root 107M Jan 12  2014 stgtransitionnet.sql
-rw------- 1 root root 310K Mar  2 16:49 teststgtransit_0.sql
-rw------- 1 root root 399K Nov  1  2013 teststgtransit_1.sql
-rw------- 1 root root 5.4M May  1  2015 tnpuffinwebarc_0.sql
-rw------- 1 root root 5.0M Mar  2 16:49 tnpuffinwebarchn.sql
-rw------- 1 root root 1.8G Mar  2 16:53 transitionnetw_0.sql
-rw------- 1 root root 251M Mar 19  2015 transitionnetwor.sql
-rw------- 1 root root 104M Jan 23  2013 v01newdevtransit.sql
&lt;/pre&gt;&lt;p&gt;
So I'm afraid the size of the database hasn't changed, it is still &lt;tt&gt;1.8G Mar  2 16:53 transitionnetw_0.sql&lt;/tt&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 02 Mar 2016 17:15:46 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:9</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:9</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.05&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;1.1&lt;/em&gt; to &lt;em&gt;1.15&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Note that creating these backup dumps also made the site go off-line, confirming that it is the backups causing the downtime just after 1am each day.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 03 Mar 2016 08:02:52 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/907#comment:10</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:10</guid>
      <description>
        &lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/907#comment:1" title="Comment 1 for Ticket #907"&gt;ade&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Another thought is, if it is the site db that is suddenly tripled in size
do we have a back up of the small database from 6 weeks ago? Am happy to do
a comparison of the two DB's if they can be made available to see where the
increase in size is occurring?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
On Parrot server the &lt;tt&gt;tnro&lt;/tt&gt; database is the 1.8G one from yesterday minus the users (hashed) passwords and the &lt;tt&gt;tnro2&lt;/tt&gt; database is the one from 6 weeks ago minus the &lt;tt&gt;users&lt;/tt&gt; table -- are you OK using phpMyAdmin to compare them?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ade</dc:creator>

      <pubDate>Thu, 03 Mar 2016 12:20:09 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/907#comment:11</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:11</guid>
      <description>
        &lt;pre class="wiki"&gt;Hi Chris,
No worries. If you could make it available from Parrot, can access it from
there. Can currently see 'tnro' and 'tnro2'.
cheers
Ade
On 3 March 2016 at 08:02, Transition Technology Trac &amp;lt;
trac@tech.transitionnetwork.org&amp;gt; wrote:
&amp;gt; #907: TN Drupal database size
&amp;gt; -------------------------------------+-------------------------------------
&amp;gt;            Reporter:  chris          |                      Owner:  chris
&amp;gt;                Type:  maintenance    |                     Status:  new
&amp;gt;            Priority:  major          |                  Milestone:
&amp;gt;           Component:  Drupal         |  Maintenance
&amp;gt;   modules &amp;amp; settings                 |                 Resolution:
&amp;gt;            Keywords:                 |  Estimated Number of Hours:  0.0
&amp;gt; Add Hours to Ticket:  0              |                  Billable?:  1
&amp;gt;         Total Hours:  1.15           |
&amp;gt; -------------------------------------+-------------------------------------
&amp;gt;
&amp;gt; Comment (by chris):
&amp;gt;
&amp;gt;  Replying to [comment:1 ade]:
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt; Another thought is, if it is the site db that is suddenly tripled in
&amp;gt;  size
&amp;gt;  &amp;gt; do we have a back up of the small database from 6 weeks ago? Am happy to
&amp;gt;  do
&amp;gt;  &amp;gt; a comparison of the two DB's if they can be made available to see where
&amp;gt;  the
&amp;gt;  &amp;gt; increase in size is occurring?
&amp;gt;
&amp;gt;  On Parrot server the `tnro` database is the 1.8G one from yesterday minus
&amp;gt;  the users (hashed) passwords and the `tnro2` database is the one from 6
&amp;gt;  weeks ago minus the `users` table -- are you OK using phpMyAdmin to
&amp;gt;  compare them?
&amp;gt;
&amp;gt; --
&amp;gt; Ticket URL: &amp;lt;https://tech.transitionnetwork.org/trac/ticket/907#comment:10
&amp;gt; &amp;gt;
&amp;gt; Transition Technology &amp;lt;https://tech.transitionnetwork.org/trac&amp;gt;
&amp;gt; Support and issues tracking for the Transition Network Web Project.
&amp;gt;
--
Ade Stuart
Web Manager - Transition network
07595 331877
The Transition Network is a registered charity
address: 43 Fore St, Totnes, Devon, TQ9 5HN, UK
website: www.transitionnetwork.org
TN company no: 6135675 TN charity no: 1128675
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ade</dc:creator>

      <pubDate>Thu, 03 Mar 2016 12:25:04 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/907#comment:12</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:12</guid>
      <description>
        &lt;pre class="wiki"&gt;Doh,
just reread your last email and can see that you have already explained it.
Will look at it from here :)
cheers then
A
On 3 March 2016 at 12:19, Ade Stuart &amp;lt;adestuart@transitionnetwork.org&amp;gt;
wrote:
&amp;gt; Hi Chris,
&amp;gt; No worries. If you could make it available from Parrot, can access it from
&amp;gt; there. Can currently see 'tnro' and 'tnro2'.
&amp;gt;
&amp;gt; cheers
&amp;gt; Ade
&amp;gt;
&amp;gt; On 3 March 2016 at 08:02, Transition Technology Trac &amp;lt;
&amp;gt; trac@tech.transitionnetwork.org&amp;gt; wrote:
&amp;gt;
&amp;gt;&amp;gt; #907: TN Drupal database size
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; -------------------------------------+-------------------------------------
&amp;gt;&amp;gt;            Reporter:  chris          |                      Owner:  chris
&amp;gt;&amp;gt;                Type:  maintenance    |                     Status:  new
&amp;gt;&amp;gt;            Priority:  major          |                  Milestone:
&amp;gt;&amp;gt;           Component:  Drupal         |  Maintenance
&amp;gt;&amp;gt;   modules &amp;amp; settings                 |                 Resolution:
&amp;gt;&amp;gt;            Keywords:                 |  Estimated Number of Hours:  0.0
&amp;gt;&amp;gt; Add Hours to Ticket:  0              |                  Billable?:  1
&amp;gt;&amp;gt;         Total Hours:  1.15           |
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; -------------------------------------+-------------------------------------
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Comment (by chris):
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;  Replying to [comment:1 ade]:
&amp;gt;&amp;gt;  &amp;gt;
&amp;gt;&amp;gt;  &amp;gt; Another thought is, if it is the site db that is suddenly tripled in
&amp;gt;&amp;gt;  size
&amp;gt;&amp;gt;  &amp;gt; do we have a back up of the small database from 6 weeks ago? Am happy
&amp;gt;&amp;gt; to
&amp;gt;&amp;gt;  do
&amp;gt;&amp;gt;  &amp;gt; a comparison of the two DB's if they can be made available to see where
&amp;gt;&amp;gt;  the
&amp;gt;&amp;gt;  &amp;gt; increase in size is occurring?
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;  On Parrot server the `tnro` database is the 1.8G one from yesterday minus
&amp;gt;&amp;gt;  the users (hashed) passwords and the `tnro2` database is the one from 6
&amp;gt;&amp;gt;  weeks ago minus the `users` table -- are you OK using phpMyAdmin to
&amp;gt;&amp;gt;  compare them?
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; --
&amp;gt;&amp;gt; Ticket URL: &amp;lt;
&amp;gt;&amp;gt; https://tech.transitionnetwork.org/trac/ticket/907#comment:10&amp;gt;
&amp;gt;&amp;gt; Transition Technology &amp;lt;https://tech.transitionnetwork.org/trac&amp;gt;
&amp;gt;&amp;gt; Support and issues tracking for the Transition Network Web Project.
&amp;gt;&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt; --
&amp;gt; Ade Stuart
&amp;gt; Web Manager - Transition network
&amp;gt;
&amp;gt; 07595 331877
&amp;gt;
&amp;gt; The Transition Network is a registered charity
&amp;gt; address: 43 Fore St, Totnes, Devon, TQ9 5HN, UK
&amp;gt; website: www.transitionnetwork.org
&amp;gt; TN company no: 6135675 TN charity no: 1128675
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
--
Ade Stuart
Web Manager - Transition network
07595 331877
The Transition Network is a registered charity
address: 43 Fore St, Totnes, Devon, TQ9 5HN, UK
website: www.transitionnetwork.org
TN company no: 6135675 TN charity no: 1128675
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ade</dc:creator>

      <pubDate>Thu, 03 Mar 2016 13:05:04 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/907#comment:13</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:13</guid>
      <description>
        &lt;pre class="wiki"&gt;Having looked at the field sizes I can see the following are obvious,
mainly within the caching fields.
There's nearly a Gb there alone...
'cache_advagg_bundle_reuse' gone from 144k to 815mb
'cache_block' gone from 80k to 54mb
cache_form' gone from 84mb to 210mb
'cache_page' gone from 1.5mb to 177mb
'cache_views_data' gone from 1.5mb to 177mb
'Flood'  gone from 8mb to 26mb
'WatchDog' gone from 21mb to 191mb
Ade
On 3 March 2016 at 12:25, Transition Technology Trac &amp;lt;
trac@tech.transitionnetwork.org&amp;gt; wrote:
&amp;gt; #907: TN Drupal database size
&amp;gt; -------------------------------------+-------------------------------------
&amp;gt;            Reporter:  chris          |                      Owner:  chris
&amp;gt;                Type:  maintenance    |                     Status:  new
&amp;gt;            Priority:  major          |                  Milestone:
&amp;gt;           Component:  Drupal         |  Maintenance
&amp;gt;   modules &amp;amp; settings                 |                 Resolution:
&amp;gt;            Keywords:                 |  Estimated Number of Hours:  0.0
&amp;gt; Add Hours to Ticket:  0              |                  Billable?:  1
&amp;gt;         Total Hours:  1.15           |
&amp;gt; -------------------------------------+-------------------------------------
&amp;gt;
&amp;gt; Comment (by ade):
&amp;gt;
&amp;gt;  {{{
&amp;gt;  Doh,
&amp;gt;  just reread your last email and can see that you have already explained
&amp;gt;  it.
&amp;gt;  Will look at it from here :)
&amp;gt;
&amp;gt;  cheers then
&amp;gt;  A
&amp;gt;
&amp;gt;  On 3 March 2016 at 12:19, Ade Stuart &amp;lt;adestuart@transitionnetwork.org&amp;gt;
&amp;gt;  wrote:
&amp;gt;
&amp;gt;  &amp;gt; Hi Chris,
&amp;gt;  &amp;gt; No worries. If you could make it available from Parrot, can access it
&amp;gt;  from
&amp;gt;  &amp;gt; there. Can currently see 'tnro' and 'tnro2'.
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt; cheers
&amp;gt;  &amp;gt; Ade
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt; On 3 March 2016 at 08:02, Transition Technology Trac &amp;lt;
&amp;gt;  &amp;gt; trac@tech.transitionnetwork.org&amp;gt; wrote:
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;&amp;gt; #907: TN Drupal database size
&amp;gt;  &amp;gt;&amp;gt;
&amp;gt;  &amp;gt;&amp;gt;
&amp;gt;
&amp;gt;  -------------------------------------+-------------------------------------
&amp;gt;  &amp;gt;&amp;gt;            Reporter:  chris          |                      Owner:
&amp;gt;  chris
&amp;gt;  &amp;gt;&amp;gt;                Type:  maintenance    |                     Status:  new
&amp;gt;  &amp;gt;&amp;gt;            Priority:  major          |                  Milestone:
&amp;gt;  &amp;gt;&amp;gt;           Component:  Drupal         |  Maintenance
&amp;gt;  &amp;gt;&amp;gt;   modules &amp;amp; settings                 |                 Resolution:
&amp;gt;  &amp;gt;&amp;gt;            Keywords:                 |  Estimated Number of Hours:  0.0
&amp;gt;  &amp;gt;&amp;gt; Add Hours to Ticket:  0              |                  Billable?:  1
&amp;gt;  &amp;gt;&amp;gt;         Total Hours:  1.15           |
&amp;gt;  &amp;gt;&amp;gt;
&amp;gt;  &amp;gt;&amp;gt;
&amp;gt;
&amp;gt;  -------------------------------------+-------------------------------------
&amp;gt;  &amp;gt;&amp;gt;
&amp;gt;  &amp;gt;&amp;gt; Comment (by chris):
&amp;gt;  &amp;gt;&amp;gt;
&amp;gt;  &amp;gt;&amp;gt;  Replying to [comment:1 ade]:
&amp;gt;  &amp;gt;&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;&amp;gt;  &amp;gt; Another thought is, if it is the site db that is suddenly tripled in
&amp;gt;  &amp;gt;&amp;gt;  size
&amp;gt;  &amp;gt;&amp;gt;  &amp;gt; do we have a back up of the small database from 6 weeks ago? Am
&amp;gt;  happy
&amp;gt;  &amp;gt;&amp;gt; to
&amp;gt;  &amp;gt;&amp;gt;  do
&amp;gt;  &amp;gt;&amp;gt;  &amp;gt; a comparison of the two DB's if they can be made available to see
&amp;gt;  where
&amp;gt;  &amp;gt;&amp;gt;  the
&amp;gt;  &amp;gt;&amp;gt;  &amp;gt; increase in size is occurring?
&amp;gt;  &amp;gt;&amp;gt;
&amp;gt;  &amp;gt;&amp;gt;  On Parrot server the `tnro` database is the 1.8G one from yesterday
&amp;gt;  minus
&amp;gt;  &amp;gt;&amp;gt;  the users (hashed) passwords and the `tnro2` database is the one from
&amp;gt;  6
&amp;gt;  &amp;gt;&amp;gt;  weeks ago minus the `users` table -- are you OK using phpMyAdmin to
&amp;gt;  &amp;gt;&amp;gt;  compare them?
&amp;gt;  &amp;gt;&amp;gt;
&amp;gt;  &amp;gt;&amp;gt; --
&amp;gt;  &amp;gt;&amp;gt; Ticket URL: &amp;lt;
&amp;gt;  &amp;gt;&amp;gt; https://tech.transitionnetwork.org/trac/ticket/907#comment:10&amp;gt;
&amp;gt;  &amp;gt;&amp;gt; Transition Technology &amp;lt;https://tech.transitionnetwork.org/trac&amp;gt;
&amp;gt;  &amp;gt;&amp;gt; Support and issues tracking for the Transition Network Web Project.
&amp;gt;  &amp;gt;&amp;gt;
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt; --
&amp;gt;  &amp;gt; Ade Stuart
&amp;gt;  &amp;gt; Web Manager - Transition network
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt; 07595 331877
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt; The Transition Network is a registered charity
&amp;gt;  &amp;gt; address: 43 Fore St, Totnes, Devon, TQ9 5HN, UK
&amp;gt;  &amp;gt; website: www.transitionnetwork.org
&amp;gt;  &amp;gt; TN company no: 6135675 TN charity no: 1128675
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;
&amp;gt;  &amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;  --
&amp;gt;  Ade Stuart
&amp;gt;  Web Manager - Transition network
&amp;gt;
&amp;gt;  07595 331877
&amp;gt;
&amp;gt;  The Transition Network is a registered charity
&amp;gt;  address: 43 Fore St, Totnes, Devon, TQ9 5HN, UK
&amp;gt;  website: www.transitionnetwork.org
&amp;gt;  TN company no: 6135675 TN charity no: 1128675
&amp;gt;
&amp;gt;  }}}
&amp;gt;
&amp;gt; --
&amp;gt; Ticket URL: &amp;lt;https://tech.transitionnetwork.org/trac/ticket/907#comment:12
&amp;gt; &amp;gt;
&amp;gt; Transition Technology &amp;lt;https://tech.transitionnetwork.org/trac&amp;gt;
&amp;gt; Support and issues tracking for the Transition Network Web Project.
&amp;gt;
--
Ade Stuart
Web Manager - Transition network
07595 331877
The Transition Network is a registered charity
address: 43 Fore St, Totnes, Devon, TQ9 5HN, UK
website: www.transitionnetwork.org
TN company no: 6135675 TN charity no: 1128675
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ade</dc:creator>

      <pubDate>Thu, 03 Mar 2016 13:20:09 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/907#comment:14</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:14</guid>
      <description>
        &lt;pre class="wiki"&gt;Do we have Drush installed on the server...?
Can we use that to clear the cache?
A
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 03 Mar 2016 13:45:38 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:15</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:15</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;1.15&lt;/em&gt; to &lt;em&gt;1.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/907#comment:14" title="Comment 14 for Ticket #907"&gt;ade&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Do we have Drush installed on the server...?
Can we use that to clear the cache?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Yes, I expect the fact that they are not being cleared is a side-effect from all the BOA cron jobs being commented out, &lt;a class="new ticket" href="http://localhost:8080/trac/ticket/893" title="defect: BOA Cron Jobs (new)"&gt;ticket:893&lt;/a&gt;, Paul are you able to create a new cronjob to delete these caches each night?
&lt;/p&gt;
&lt;p&gt;
If this is done before 1am then the MySQL dumps created by backupninja won't have unneeded cache data in them.
&lt;/p&gt;
&lt;p&gt;
I don't know if the state of the permissions on the server allows a cronjob to run as a non-root users, but that would be ideal if possible.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>paul</dc:creator>

      <pubDate>Fri, 04 Mar 2016 11:15:45 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:16</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:16</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;1.25&lt;/em&gt; to &lt;em&gt;1.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/907#comment:15" title="Comment 15 for Ticket #907"&gt;chris&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/907#comment:14" title="Comment 14 for Ticket #907"&gt;ade&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Do we have Drush installed on the server...?
Can we use that to clear the cache?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Yes, I expect the fact that they are not being cleared is a side-effect from all the BOA cron jobs being commented out, &lt;a class="new ticket" href="http://localhost:8080/trac/ticket/893" title="defect: BOA Cron Jobs (new)"&gt;ticket:893&lt;/a&gt;, Paul are you able to create a new cronjob to delete these caches each night?
&lt;/p&gt;
&lt;p&gt;
If this is done before 1am then the MySQL dumps created by backupninja won't have unneeded cache data in them.
&lt;/p&gt;
&lt;p&gt;
I don't know if the state of the permissions on the server allows a cronjob to run as a non-root users, but that would be ideal if possible.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
I can have a look into this on Monday. My suggestion now would be to truncate these cache tables and then monitor how these tables grow over the weekend. They may all grow a lot more slowly now that database error reporting has been disabled - this used to be disabled.
&lt;/p&gt;
&lt;p&gt;
@Chris Do you want to take a recent backup of the database and truncate the large cache tables?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 04 Mar 2016 12:49:26 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:17</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:17</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;1.0&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;1.5&lt;/em&gt; to &lt;em&gt;2.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/907#comment:16" title="Comment 16 for Ticket #907"&gt;paul&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
@Chris Do you want to take a recent backup of the database and truncate the large cache tables?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
OK, I think we might be best off using our own script to do the nightly dumps as we can then incorporate the truncating, so I have written this script, which is &lt;tt&gt;/usr/local/bin/mysql-dump&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;#!/bin/bash
# Directory for root to dump all database files
DUMP_DIR="/var/backups/mysql/sqldump"
if [[ ! -d "${DUMP_DIR}" ]]; then
  mkdir "${DUMP_DIR}" -p
  chmod 700 "${DUMP_DIR}"
fi
# All the MySQL databases, excluding ones we don't want
DATABASES=$(mysql -NBA -e 'show databases' | grep -vw 'mysql' | grep -vw 'information_schema' | grep -vw 'performance_schema' )
#echo "DATABASES: ${DATABASES}"
# Loop through the databases and dump them
for d in ${DATABASES} ; do
  # Dump the databases to DUMP_DIR
  echo "Dumping ${d}"
  mysqldump --add-drop-table "${d}" &amp;gt; "${DUMP_DIR}/${d}.sql" || exit 1
done
&lt;/pre&gt;&lt;p&gt;
And I have deleted the old backups and run it:
&lt;/p&gt;
&lt;pre class="wiki"&gt;rm -rf /var/backups/mysql/sqldump/*
/usr/local/bin/mysql-dump
&lt;/pre&gt;&lt;p&gt;
I'm afraid this caused some downtime for the site, I have now amended the script so it uses &lt;tt&gt;nice&lt;/tt&gt; and this should help for the future.
&lt;/p&gt;
&lt;p&gt;
I have copied the latest backup:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cp /var/backups/mysql/sqldump/transitionnetw_0.sql /var/backups/mysql/sqldump/transitionnetw_0.2016-03-04.sql
&lt;/pre&gt;&lt;p&gt;
So we now have:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ls -lah /var/backups/mysql/sqldump/
total 4.1G
drwx------ 2 root root 4.0K Mar  4 12:12 ./
drwx------ 3 root root 4.0K Dec 15  2012 ../
-rw-r--r-- 1 root root 232M Mar  4 11:51 bookerstage20150.sql
-rw-r--r-- 1 root root 3.0M Mar  4 11:51 bookerstage201_2.sql
-rw-r--r-- 1 root root 224M Mar  4 11:52 bookerstagesamtr.sql
-rw-r--r-- 1 root root 5.0M Mar  4 11:52 masterpuffinwe_0.sql
-rw-r--r-- 1 root root  38M Mar  4 11:52 newstransitionne.sql
-rw-r--r-- 1 root root 308K Mar  4 11:52 teststgtransit_0.sql
-rw-r--r-- 1 root root 5.0M Mar  4 11:53 tnpuffinwebarchn.sql
-rw-r--r-- 1 root root 1.8G Mar  4 12:12 transitionnetw_0.2016-03-04.sql
-rw-r--r-- 1 root root 1.8G Mar  4 12:11 transitionnetw_0.sql
&lt;/pre&gt;&lt;p&gt;
Based on &lt;a class="ext-link" href="https://drupal.stackexchange.com/questions/22041/which-drupal-tables-are-safe-to-clear"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;this thread&lt;/a&gt; is is safe to truncate all &lt;tt&gt;cache_*&lt;/tt&gt; tables and also &lt;tt&gt;watchdog&lt;/tt&gt; and &lt;tt&gt;flood&lt;/tt&gt;, so I have updated the script to:
&lt;/p&gt;
&lt;pre class="wiki"&gt;#!/bin/bash
# Directory for root to dump all database files
DUMP_DIR="/var/backups/mysql/sqldump"
if [[ ! -d "${DUMP_DIR}" ]]; then
  mkdir "${DUMP_DIR}" -p
  chmod 700 "${DUMP_DIR}"
fi
# All the MySQL databases, excluding ones we don't want
DATABASES=$(mysql -NBA -e 'SHOW DATABASES' | grep -vw 'mysql' | grep -vw 'information_schema' | grep -vw 'performance_schema' )
# Loop through the databases and dump them
for d in ${DATABASES} ; do
  # Find the cache tables
  CACHE_TABLES=$(mysql -NBA -e 'show tables' ${d} | egrep '^cach|flood|watchdog')
  for c in ${CACHE_TABLES}; do
    mysql -NBA -e "TRUNCATE ${c}" ${d}
  done
  # Dump the databases to DUMP_DIR
  echo "Dumping ${d}"
  nice -n19 mysqldump --add-drop-table ${d} &amp;gt; ${DUMP_DIR}/${d}.sql || exit 1
done
&lt;/pre&gt;&lt;p&gt;
And the result is no downtime and these files:
&lt;/p&gt;
&lt;pre class="wiki"&gt;
ls -lah /var/backups/mysql/sqldump/
total 2.6G
drwx------ 2 root root 4.0K Mar  4 12:12 ./
drwx------ 3 root root 4.0K Dec 15  2012 ../
-rw-r--r-- 1 root root 222M Mar  4 12:40 bookerstage20150.sql
-rw-r--r-- 1 root root 3.0M Mar  4 12:40 bookerstage201_2.sql
-rw-r--r-- 1 root root 221M Mar  4 12:40 bookerstagesamtr.sql
-rw-r--r-- 1 root root 4.5M Mar  4 12:40 masterpuffinwe_0.sql
-rw-r--r-- 1 root root 3.2M Mar  4 12:41 newstransitionne.sql
-rw-r--r-- 1 root root 302K Mar  4 12:41 teststgtransit_0.sql
-rw-r--r-- 1 root root 4.4M Mar  4 12:41 tnpuffinwebarchn.sql
-rw-r--r-- 1 root root 1.8G Mar  4 12:12 transitionnetw_0.2016-03-04.sql
-rw-r--r-- 1 root root 379M Mar  4 12:41 transitionnetw_0.sql
&lt;/pre&gt;&lt;p&gt;
So that looks good, uninstalling &lt;tt&gt;backupninja&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude remove backupninja
&lt;/pre&gt;&lt;p&gt;
Documenting the script here, &lt;a class="wiki" href="http://localhost:8080/trac/wiki/MysqlBackup"&gt;wiki:MysqlBackup&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Adding a crontab to run as root:
&lt;/p&gt;
&lt;pre class="wiki"&gt;15 01 * * * /usr/local/bin/mysql-backup
&lt;/pre&gt;&lt;p&gt;
PS I'd really rather have a development server to sort things like this out on first, doing it on the live database on the live server isn't ideal...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 04 Mar 2016 14:22:23 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:18</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:18</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;2.5&lt;/em&gt; to &lt;em&gt;2.75&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I have just updated the query to find the cache tables from:
&lt;/p&gt;
&lt;pre class="wiki"&gt;CACHE_TABLES=$(mysql -NBA -e 'show tables' ${d} | egrep '^cach|flood|watchdog')
&lt;/pre&gt;&lt;p&gt;
To (note I had omitted a &lt;tt&gt;e&lt;/tt&gt; by mistake and the above version would match things like &lt;tt&gt;floodlights&lt;/tt&gt; etc):
&lt;/p&gt;
&lt;pre class="wiki"&gt;CACHE_TABLES=$(mysql -NBA -e 'show tables' ${d} | egrep '^cache|^flood$|^watchdog$')
&lt;/pre&gt;&lt;p&gt;
Just to be safe, this results in:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mysql -NBA -e 'show tables' transitionnetw_0 | egrep '^cache|^flood$|^watchdog$'
cache
cache_admin_menu
cache_advagg
cache_advagg_bundle_reuse
cache_advagg_files_data
cache_block
cache_content
cache_emfield_xml
cache_filter
cache_form
cache_hierarchical_select
cache_location
cache_media_youtube_status
cache_menu
cache_mollom
cache_page
cache_path
cache_rules
cache_update
cache_views
cache_views_data
flood
watchdog
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>paul</dc:creator>

      <pubDate>Fri, 04 Mar 2016 16:39:14 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:19</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:19</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;2.75&lt;/em&gt; to &lt;em&gt;3.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Always nice to see a a master at work. Good job Chris.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ade</dc:creator>

      <pubDate>Fri, 04 Mar 2016 18:50:04 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/907#comment:20</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:20</guid>
      <description>
        &lt;pre class="wiki"&gt;Out of curiosity, why did your comment email add .15 to the hours total?
Paul?
On 4 Mar 2016 4:39 p.m., "Transition Technology Trac" &amp;lt;
trac@tech.transitionnetwork.org&amp;gt; wrote:
&amp;gt; #907: TN Drupal database size
&amp;gt; -------------------------------------+-------------------------------------
&amp;gt;            Reporter:  chris          |                      Owner:  chris
&amp;gt;                Type:  maintenance    |                     Status:  new
&amp;gt;            Priority:  major          |                  Milestone:
&amp;gt;           Component:  Drupal         |  Maintenance
&amp;gt;   modules &amp;amp; settings                 |                 Resolution:
&amp;gt;            Keywords:                 |  Estimated Number of Hours:  0.0
&amp;gt; Add Hours to Ticket:  0.25           |                  Billable?:  1
&amp;gt;         Total Hours:  2.75           |
&amp;gt; -------------------------------------+-------------------------------------
&amp;gt; Changes (by paul):
&amp;gt;
&amp;gt;  * hours:  0.0 =&amp;gt; 0.25
&amp;gt;  * totalhours:  2.75 =&amp;gt; 3.0
&amp;gt;
&amp;gt;
&amp;gt; Comment:
&amp;gt;
&amp;gt;  Always nice to see a a master at work. Good job Chris.
&amp;gt;
&amp;gt; --
&amp;gt; Ticket URL: &amp;lt;https://tech.transitionnetwork.org/trac/ticket/907#comment:19
&amp;gt; &amp;gt;
&amp;gt; Transition Technology &amp;lt;https://tech.transitionnetwork.org/trac&amp;gt;
&amp;gt; Support and issues tracking for the Transition Network Web Project.
&amp;gt;
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>paul</dc:creator>

      <pubDate>Fri, 04 Mar 2016 22:34:13 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/907#comment:21</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:21</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.125&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;3.0&lt;/em&gt; to &lt;em&gt;3.125&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I took 15 minutes going through the previous comments on the issue - looking over the code, and thinking things over to see if I could contribute further.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 10 Mar 2016 10:58:42 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/907#comment:22</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/907#comment:22</guid>
      <description>
        &lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/907#comment:20" title="Comment 20 for Ticket #907"&gt;ade&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Out of curiosity, why did your comment email add .15 to the hours total?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
For what it is worth we did have a verbal agreement with Ed, from several years ago, that the minimum amount of time to record for a chunk of work would be 15 mins even if it only took 5 or 10 mins, however this isn't something that we have strictly stuck to, you will find lots of example of time less than 15 mins recorded on Trac.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>