From: David Bremner <david@tethera.net>
To: Attic Hermit <fjdksl@cock.li>, notmuch@notmuchmail.org
Subject: Re: What is notmuch compact and should I use it?
Date: Sat, 16 Sep 2017 09:01:31 -0300 [thread overview]
Message-ID: <87y3pe4ztw.fsf@tethera.net> (raw)
In-Reply-To: <87mv5vcvd9.fsf@gmail.com>
Attic Hermit <fjdksl@cock.li> writes:
> What exactly is to compact the database? I noticed that the size of the
> notmuch database is shrunk after `notmuch compact`, but I don't think
> this procedure is gzipping the database. I thought it is something like
> the garbage collecting, but I'm not sure.
Yes, that's approximately correct; notmuch compact is essentially
equivalent to xapian compact
https://xapian.org/docs/admin_notes.html#compacting-a-database
> And should I use it regularly? if it is, how often should it be done?
There is some tradeoff: search should be faster after a compact, but
indexing many messages will likely be slower. For most people this
doesn't matter too much since the number of messages added after the
original index is relatively small.
d
next prev parent reply other threads:[~2017-09-16 12:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-16 0:58 What is notmuch compact and should I use it? Attic Hermit
2017-09-16 12:01 ` David Bremner [this message]
2017-09-16 12:52 ` Attic Hermit
2017-09-16 14:37 ` David Bremner
2017-09-16 14:46 ` Attic Hermit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y3pe4ztw.fsf@tethera.net \
--to=david@tethera.net \
--cc=fjdksl@cock.li \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).