X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=performance.mdwn;h=4adb946bf77086aa263b560b3b023829af76823c;hb=56a7ce71e3b208ca556bf0318c407e2156ab25d0;hp=04a36d8e0d78e168d6e1a83b9c811bdafa9b345c;hpb=340850acdb04353360caaa94bed90c7cf2a194d5;p=obsolete%2Fnotmuch-wiki diff --git a/performance.mdwn b/performance.mdwn index 04a36d8..4adb946 100644 --- a/performance.mdwn +++ b/performance.mdwn @@ -1,5 +1,7 @@ # Optimize notmuch's performance +[[!toc levels=2]] + ## Xapian 1.2.x database format: chert vs. flint Xapian 1.2 (in contrast to 1.0.x) uses a new database format called @@ -25,7 +27,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: @@ -46,7 +48,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: @@ -78,7 +80,7 @@ This needs xapian 1.2 Backup your database: $ cd - $ notmuch dump notmuch-dump-b4compact + $ notmuch dump --output=notmuch-dump-b4compact Compact it: @@ -98,4 +100,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) -