Author: poeml Date: Wed Mar 10 00:37:05 2010 New Revision: 7968 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7968&view=rev Log: mb db sizes: - The command now reports also the size of the hashes table. Modified: trunk/mirrordoctor/mb/dbmaint.py Modified: trunk/mirrordoctor/mb/dbmaint.py URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mirrordoctor/mb/dbmaint.py?rev=7968&r1=7967&r2=7968&view=diff ============================================================================== --- trunk/mirrordoctor/mb/dbmaint.py (original) +++ trunk/mirrordoctor/mb/dbmaint.py Wed Mar 10 00:37:05 2010 @@ -29,7 +29,7 @@ relpages*8 AS relKB FROM pg_class WHERE relkind IN ('r', 'i') - AND relname ~ '^.*(file|server|pfx|temp1|stats).*' + AND relname ~ '^.*(file|server|pfx|temp1|stats|hash).*' ORDER BY 1""" rows = conn.Filearr._connection.queryAll(query) _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Tue Mar 09 2010 - 23:37:13 GMT
This archive was generated by hypermail 2.2.0 : Tue Mar 09 2010 - 23:47:19 GMT