On 5/9/24 12:10, Marcin Haba wrote:
In this algorithm it does not matter if hardlinks exist or not because examined are all file records. It is because to know if hardlink is used or not for a file, Bacula has to decode Bacula LStat string for this file from the File table. And for many files it takes time.

No, no — wrong problem, I think. It does not appear to be examining the file LSTATs that's taking the time here. Once the query actually completes, that part goes very quickly. What is taking so long is the query that builds the file list. It performs extremely poorly.


--
  Phil Stracchino
  Fenian House Publishing
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958



_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to