[PATCH] BUG#28683 - ndb_size.pl should support more than one database
Patch by: Monty Taylor <mtaylor@mysql.com> Fixes by: Stewart Smith Added the ability to run ndb_size.pl on mulitple databases and also to exclude lists of databases and tables from analysis. --- Added schema name information to index table calculations as well. --- Made database an optional parameter, the exclusion of which causes all databases to be examined. If selecting from information_schema fails, attempt to fall back to show tables from --- Added support for setting an optional "real_table_name" for a table to deal with unique indexe size calcs. --- Fixed report title for the case where we are using operating on more than one database. --- Fixed some perl style concerns timothy had. Cull the list of databases in perl rather than passing both an in and a not in list to MySQL Get this full list of databases from show databases if needed. storage/ndb/tools/ndb_size.pl@stripped, 2007-05-25 13:45:44-07:00, mtaylor@qualinost.(none) +102 -28 Added the ability to run ndb_size.pl on mulitple databases and also to exclude lists of databases and tables from analysis. --- Added schema name information to index table calculations as well. --- Made database an optional parameter, the exclusion of which causes all databases to be examined. If selecting from information_schema fails, attempt to fall back to show tables from --- Added support for setting an optional "real_table_name" for a table to deal with unique indexe size calcs. --- Fixed report title for the case where we are using operating on more than one database. --- Fixed some perl style concerns timothy had. Cull the list of databases in perl rather than passing both an in and a not in list to MySQL Get this full list of databases from show databases if needed. Index: ndb-work/storage/ndb/tools/ndb_size.pl ===================================================================
Showing
Please register or sign in to comment