Folks, What are the best practices for database compaction? I need to be able to run 24/7, but compaction takes a couple of hours, so what do you guys normally do to mitigate that problem? Shut down for two hours? Collect to a different DB while compacting? Something else? ...Thanks, ...Ken
Arjen van der Meijden
2009-Sep-18 13:41 UTC
[Xapian-discuss] Best Practices for Compaction?
Hi Ken, We're only updating the database in intervals, not continuously. What we're doing is basically: [symlink for the database is to compacted database] update "working" database change symlink for database to "working" compact working to a new compact database change symlink for database back to compact And we repeat that every two hours. Best regards, Arjen On 18-9-2009 15:06, Kenneth Loafman wrote:> Folks, > > What are the best practices for database compaction? I need to be able > to run 24/7, but compaction takes a couple of hours, so what do you guys > normally do to mitigate that problem? Shut down for two hours? Collect > to a different DB while compacting? Something else? > > ...Thanks, > ...Ken > > _______________________________________________ > Xapian-discuss mailing list > Xapian-discuss at lists.xapian.org > http://lists.xapian.org/mailman/listinfo/xapian-discuss >