X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=blobdiff_plain;f=performance.mdwn;h=b95868987d20c7e1aa5b377a0e8411ed4ec7985d;hp=e838c8a64f17693cad4d7661081f07c37aa71412;hb=7efa7c88aa74158186485d456c6b7f473aa6ce28;hpb=b2c8a5f8e3fbaa714378ff41ecc2c3629ac5e088 diff --git a/performance.mdwn b/performance.mdwn index e838c8a..b958689 100644 --- a/performance.mdwn +++ b/performance.mdwn @@ -1,3 +1,4 @@ +[[!img notmuch-logo.png alt="Notmuch logo" class="left"]] # Optimize notmuch's performance [[!toc levels=2]] @@ -27,7 +28,7 @@ XXX: add examples for different distributions Backup your notmuch tags: $ cd - $ notmuch dump notmuch-dump-b4chert + $ notmuch dump --output=notmuch-dump-b4chert Move away your old database: @@ -48,7 +49,7 @@ After the initial import it is definitely not necessary to define Restore your tags: - $ notmuch restore notmuch-dump-b4chert + $ notmuch restore --input=notmuch-dump-b4chert Check whether you are on chert now: @@ -80,7 +81,7 @@ This needs xapian 1.2 Backup your database: $ cd - $ notmuch dump notmuch-dump-b4compact + $ notmuch dump --output=notmuch-dump-b4compact Compact it: @@ -100,18 +101,3 @@ Remove old and renamed compacted, if compacting went well: * [Sebastian Spaeth](http://notmuchmail.org/pipermail/notmuch/2011/004048.html) * [Pieter Praet](http://notmuchmail.org/pipermail/notmuch/2011/004175.html) - - -## Tagging: use filters! - -Instead of just: - - $ notmuch tag +foo - -use: - - $ notmuch tag +foo -- not tag:foo - -See the ongoing discussion: - -* [Optimization for notmuch tag by implicit filters](http://notmuchmail.org/pipermail/notmuch/2011/004197.html)