Hello,
just to add one more related question/problem to this thread:
- using MySQL/MyISAM
- about 15M files from several clients
- 2.5-3M files per client
- the problem: the Dir inserting Attributes action takes hours (5-6) - even more than the VirtualFull takes to complete
- the query (currently) is: INSERT INTO Filename (Name) SELECT a.Name FROM (SELECT DISTINCT Name FROM batch) AS a WHERE NOT EXISTS (SELECT Name FROM Filename AS f WHERE f.Name = a.Name)
- the temp table takes 550-600MB in /tmp
On the very first Full backup, "Dir inserting Attributes" has been completed in just minutes. Increasing this by a factor of 100 for the next Full means there is an unsuitable configuration in MySQL.
I've seen other reports for such behavior but couldn't find any definitive suggestions on which parameters are important to tweak in this case and some relations between number of files in DB and expected MySQL's parameter values.
Thank you
Regards.
Sunday, December 21, 2014, 5:24:00 PM:
Mr. Bacula Users, What do you think of those MySQL tuning hints for Bacula, specifically about this innodb_flush_log_at_trx_commit option? => http://www.innovation-brigade.com/index.php?module=Content&type=user&func=display&tid=1&pid=2 it seems to improve MySQL attributes despooling time by a 1000 factor, from hundreds transactions per second to millions. Regards, ============================================================================== Heitor Medrado de Faria - LPIC-III | ITIL-F 12 a 23 de janeiro de 2015 - Treinamento Telepresencial Bacula: http://www.bacula.com.br/?p=2174 Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk: heitorfa...@gmail.com =============================================================================== |
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users