[Xapian-discuss] Best Practices for Compaction?
Arjen van der Meijden
acmmailing at tweakers.net
Fri Sep 18 14:41:09 BST 2009
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
>
More information about the Xapian-discuss
mailing list