On Wed, Feb 20, 2013 at 09:50:14AM -0500, Phil Stracchino wrote: > > > Also make sure you have the innodb_tables_as_files option set, > > otherwise you db will be one huge unmanageable blob that can't be > > reduced in size after a while by dumping / importing again. > > Whoa there, Nellie. Make sure you understand the implications of doing > that before you do it. > > Pros for innodb_file_per_table: > — You can reclaim the space used by an InnoDB table if you drop the > table (but only if you drop it altogether). > > Cons for innodb_file_per_table: > - Increases total MySQL disk consumption > - Increases MySQL memory consumption > - Increases the number of files MySQL has to hold open > - Impairs MySQL's ability to reuse free space in the InnoDB tablespace > - Contrary to popular belief, NOT separately portable >
Hi Phil, thanks for listing the cons, I wasn't aware of the less obvious ones. What strategy would you suggest to "shrink" an innodb-based DB short of dumping, dropping and re-importing it? I feel more comfortable with the file-base approach probably because it resembles the dearly loved MyISAM behaviour ;) Can you put a number on the increased memory consumption? All the best, Uwe -- NIONEX --- Ein Unternehmen der Bertelsmann SE & Co. KGaA ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users