Olivier Delestre wrote: > Bonjour, > > Voila mon Pb lorsque je fais une restauration ( rest -> choix 5 ), le > building tree met 15 minutes a se construire. c'est pas forcément très long ... > > Comment savoir quel est l'ordre sql genere ? > mysqladmin processlist
SELECT Path.Path,Filename.Name,FileIndex,JobId,LStat FROM File,Filename,Path WHERE File.JobId=[ici n° du jobid] > et/ou > > Quels indexes faut il positionner ? > > J'etais en bacula 2.4.4 mais depuis quelques jours en 3.0.2. > L'upgrade_mysql_table ne doit pas mettre ce qu'il faut comme indexes. > > a la creation à partir de rien , les indexes sont differents que si > l'on part d'une ancienne version. > > De zero : table File = FileId, JobId, JobId+PathId+FilenameId > ( ce qui genere in keyname a JobId_2 ) > > Depuis la v2.4.4 -> 3.0.2 : table File = FileId,JobId+PathId+FilenameId > > D'ailleurs dans la documentation officielle ( > http://bacula.org/3.0.x-manuals/en/catalog/catalog/Catalog_Maintenance.html > ), > il parle de CREATE INDEX file_jpf_idx on File (JobId, FilenameId, > PathId); > > l'ordre des colonnes est inversées entre FilenameId et PathId, est ce > important tout ceci ( les index supplémentaires ) ne servent qu'à accélerer les opérations de db_check. Est-ce que le serveur mysql a été paramétré correctement ? Au minimum une base de configuration depuis un my-huge.cnf > > Merci de votre aide > > Cordialement > Olivier > > > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Bacula-users-fr mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bacula-users-fr -- Bruno Friedmann Ioda-Net Sàrl 2830 Vellerat - Switzerland Tél : ++41 32 435 7171 Fax : ++41 32 435 7172 gsm : ++41 78 802 6760 www.ioda-net.ch Centre de Formation et de Coaching En Ligne www.cfcel.com ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Bacula-users-fr mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users-fr
