Re: BUG: bad notmuch shared library install_name on Mac OS X
[notmuch-archives.git] / 85 / 4424c75d22566455a307d10d758b9286db2667
1 Return-Path: <pieter@praet.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 12587431FD0\r
6         for <notmuch@notmuchmail.org>; Sun, 24 Apr 2011 01:13:59 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 8liq+CC5754Z for <notmuch@notmuchmail.org>;\r
16         Sun, 24 Apr 2011 01:13:57 -0700 (PDT)\r
17 Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com\r
18         [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 33057431FB6\r
21         for <notmuch@notmuchmail.org>; Sun, 24 Apr 2011 01:13:57 -0700 (PDT)\r
22 Received: by wyi11 with SMTP id 11so1343131wyi.26\r
23         for <notmuch@notmuchmail.org>; Sun, 24 Apr 2011 01:13:53 -0700 (PDT)\r
24 Received: by 10.227.147.198 with SMTP id m6mr2731730wbv.78.1303632833481;\r
25         Sun, 24 Apr 2011 01:13:53 -0700 (PDT)\r
26 Received: from localhost (183.152-240-81.adsl-dyn.isp.belgacom.be\r
27         [81.240.152.183])\r
28         by mx.google.com with ESMTPS id w12sm2641816wby.7.2011.04.24.01.13.50\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Sun, 24 Apr 2011 01:13:51 -0700 (PDT)\r
31 From: Pieter Praet <pieter@praet.org>\r
32 To: Xavier Maillard <xma@gnu.org>, Florian Friesdorf <flo@chaoflow.net>,\r
33         notmuch@notmuchmail.org\r
34 Subject: Re: notmuch painfully slow\r
35 In-Reply-To: <m24o5pzb56.fsf@gnu.org>\r
36 References: <m27hamz82r.fsf@gnu.org>\r
37         <871v0u59by.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me>\r
38         <m24o5pzb56.fsf@gnu.org>\r
39 User-Agent: Notmuch/0.5-87-g30203d7 (http://notmuchmail.org) Emacs/23.1.50.1\r
40         (x86_64-pc-linux-gnu)\r
41 Date: Sun, 24 Apr 2011 10:13:49 +0200\r
42 Message-ID:\r
43  <87mxjgcbia.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me>\r
44 MIME-Version: 1.0\r
45 Content-Type: text/plain; charset=us-ascii\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Sun, 24 Apr 2011 08:13:59 -0000\r
59 \r
60 On Sat, 23 Apr 2011 07:18:52 +0200, Florian Friesdorf <flo@chaoflow.net> wrote:\r
61 > [...]\r
62 > Is this the switch from xapian 1.0.x to 1.2.x or are further steps\r
63 > necessary?\r
64\r
65 > Are there instructions on how to do the switch? For the mailing list\r
66 > archive a link would be great - a quick search for 'xapian flint chert'\r
67 > was unsuccessful.\r
68\r
69 > In case there are no instructions yet, I'm happy to conclude what is\r
70 > gathered here and add it to notmuch's webpage.\r
71\r
72 > -- \r
73 > Florian Friesdorf <flo@chaoflow.net>\r
74 >   GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083\r
75 > Jabber/XMPP: flo@chaoflow.net\r
76 > IRC: chaoflow on freenode,ircnet,blafasel,OFTC\r
77 Non-text part: application/pgp-signature\r
78 \r
79 On Sat, 23 Apr 2011 09:20:53 +0200, Xavier Maillard <xma@gnu.org> wrote:\r
80 > [...]\r
81 > Obviously, no, I did not. I even did not know about that ;) What's the\r
82 > story with this and what's the way to do this exactly ?\r
83\r
84 > Thank you.\r
85\r
86 > /Xavier\r
87 \r
88 \r
89 Both Carl [1] and Sebastian [2] posted about this a little while ago.\r
90 \r
91 Bottom line: Chert is the new db format (replacing Flint) as of Xapian\r
92 1.2.x [3], and should -in most cases- be alot faster, whilst consuming\r
93 less disk space.\r
94 \r
95 If .notmuch/xapian contains a file called "iamflint", you're still on\r
96 the old format. Otherwise it's called (surprise) "iamchert". Perhaps\r
97 somewhat confusingly, "flintlock" remains though.\r
98 \r
99 Switching your notmuch db is straightforward:\r
100 >> notmuch dump ${tagdump}\r
101 >> rm -rf .notmuch/xapian\r
102 >> notmuch new\r
103 >> notmuch restore ${tagdump}\r
104 >> mv .notmuch/xapian .notmuch/xapian-fat\r
105 >> xapian-compact --no-renumber .notmuch/xapian-fat .notmuch/xapian\r
106 >> rm -rf .notmuch/xapian-fat\r
107 \r
108 The last 3 lines are entirely optional and will cause writes to be a\r
109 bit more expensive in the short term, but will significantly reduce\r
110 the db's size, which your SSD will surely appreciate.\r
111 \r
112 \r
113 Peace\r
114 \r
115 -Pieter\r
116 \r
117 [1] id:"87ocl1lut1.fsf@yoom.home.cworth.org"\r
118 [2] id:"87lj0iqa3c.fsf@SSpaeth.de"\r
119 [3] http://www.archlinux.org/packages/?q=xapian-core\r