Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / d0 / 71c2bf17c1d28ce48f62f17cf8c7e7cb36cadc
1 Return-Path: <kanru@kanru.info>\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 32251431FBC\r
6         for <notmuch@notmuchmail.org>; Mon, 11 Jan 2010 17:50:18 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id MwUyEPQ9icO7 for <notmuch@notmuchmail.org>;\r
11         Mon, 11 Jan 2010 17:50:18 -0800 (PST)\r
12 Received: from cp20.secserverpros.com (cp20.secserverpros.com\r
13  [67.220.217.187])      by olra.theworths.org (Postfix) with ESMTP id EC47F431FAE\r
14         for <notmuch@notmuchmail.org>; Mon, 11 Jan 2010 17:50:17 -0800 (PST)\r
15 Received: from 61-30-10-70.static.tfn.net.tw ([61.30.10.70] helo=kanru.info)\r
16         by cp20.secserverpros.com with esmtpsa (TLSv1:AES256-SHA:256)\r
17         (Exim 4.69) (envelope-from <kanru@kanru.info>) id 1NUVtf-0005gw-3X\r
18         for notmuch@notmuchmail.org; Tue, 12 Jan 2010 01:50:17 +0000\r
19 Received: from kanru (uid 1000) (envelope-from kanru@kanru.info) id 1fa0c\r
20         by kanru.info (DragonFly Mail Agent) Tue, 12 Jan 2010 09:46:18 +0800\r
21 From: Kan-Ru Chen <kanru@kanru.info>\r
22 To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
23 In-Reply-To: <87ocl1lut1.fsf@yoom.home.cworth.org>\r
24 References: <87ocl1lut1.fsf@yoom.home.cworth.org>\r
25 Date: Tue, 12 Jan 2010 09:46:14 +0800\r
26 Message-ID: <87wrzoaye1.fsf@anar.kanru.info>\r
27 MIME-Version: 1.0\r
28 Content-Type: multipart/signed; boundary="=-=-=";\r
29         micalg=pgp-sha256; protocol="application/pgp-signature"\r
30 X-AntiAbuse: This header was added to track abuse,\r
31         please include it with any abuse report\r
32 X-AntiAbuse: Primary Hostname - cp20.secserverpros.com\r
33 X-AntiAbuse: Original Domain - notmuchmail.org\r
34 X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]\r
35 X-AntiAbuse: Sender Address Domain - kanru.info\r
36 X-Source: \r
37 X-Source-Args: \r
38 X-Source-Dir: \r
39 Subject: Re: [notmuch] Some Xapian tips and thoughts on rebuilding\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Tue, 12 Jan 2010 01:50:18 -0000\r
53 \r
54 --=-=-=\r
55 Content-Transfer-Encoding: quoted-printable\r
56 \r
57 On Sun, 10 Jan 2010 09:43:38 -0800, Carl Worth <cworth@cworth.org> wrote:\r
58 > Compacting your database\r
59 > ------------------------\r
60 > One final tip. I recently started experimenting with a Xapian feature\r
61 > for compacting a database. This is available only via a command-line\r
62 > program, (named xapian-compact in the 1.0 releases and\r
63 > xapian-compact-1.1 in the current Xapian from svn). This functionality\r
64 > is not yet available in the Xapian library interface or else I would\r
65 > probably make notmuch call it after building the database.\r
66 >=20\r
67 > If you want to experiment with xapian-compact, you'll want to call it\r
68 > with a command something like the following:\r
69 >=20\r
70 >      xapian-compact-1.1 --no-renumber ~/mail/.notmuch/xapian ~/mail/.notm=\r
71 uch/xapian-compact\r
72 >=20\r
73 > The --no-renumber argument is essential with a notmuch database, since\r
74 > (as of database format version 1), notmuch stores Xapian document IDs\r
75 > internally within terms. If you forget this, you'll find that all of\r
76 > your searches will return results that are unable to locate any of the\r
77 > filenames corresponding to your mail.\r
78 \r
79 After compacting my database, the size shrunk significantly, but the\r
80 number of messages also changed. Beware that you might lose messages\r
81 after compacting if you are trying this.\r
82 \r
83 run on xapian-svn r13824\r
84 \r
85 >=20\r
86 > After running the above command, you could then move your existing\r
87 > .notmuch/xapian away and move .notmuch/xapian-compact in its place to\r
88 > test, and then discard the original .notmuch/xapian if you're happy with\r
89 > the result.\r
90 >=20\r
91 > For me, this compaction took my 5.0GB down to 3.1GB. So my database is\r
92 > now less than half the size of what I started with with flint, (and can\r
93 > conceivable be cached entirely within memory on my machine!), which is\r
94 > quite delightful.\r
95 >=20\r
96 \r
97 =2D-=20\r
98 Kan-Ru Chen | http://kanru.info\r
99 \r
100 Q: Why are my replies five sentences or less?\r
101 A: http://five.sentenc.es/\r
102 \r
103 --=-=-=\r
104 Content-Type: application/pgp-signature\r
105 \r
106 -----BEGIN PGP SIGNATURE-----\r
107 Version: GnuPG v1.4.10 (GNU/Linux)\r
108 \r
109 iQIcBAEBCAAGBQJLS9RmAAoJEBsTLgHOxq1Gw6AQAICRNbhGtc3KZzmdcaKfKcJL\r
110 XeFVj/jFmqBZ/xIWnMrqooDqKYCc5i1/G5Bv38Xq01B0TotghgL3EUPdqKeQUNyk\r
111 xzXyqCThB7C1Rt1vV/MZC9Ni9B0WXMWsUt9avA4FZ5eNrRuhWYr7PgWzQJMivDM9\r
112 VD4OebKzzkcf7d+ZtgPuAtBHaTzqChluP+IfpIwymacDzEdKyv2o5qcu3C6DLeFr\r
113 CP3j61isv3jOpS01saNVYxSvjotKZZWd4KtFcv5l/X0noSQeUeOutUpjcT1VHl7F\r
114 RKPxUko9Oe9jCt0bTqu6DfUHPrs8n2xCNQnOem709SaMmeo7LQ7R1tcCL9BYQpJs\r
115 m+/Ac44AB34ios4JBoGs1mbAB0K8isz8XYlGg7EOZOH+hJjggR5uEoZKO1JeG5Oj\r
116 t2iNVw6nTM6epDhnRaIVYanZ48rPwvwEyoWXHkoUszfLIQ+Dl3pdDYW1qmyKFe6z\r
117 ECPMnvowDSCTvvX7/3qD3CVwkkTAUGp8f6o2a2XVphlj9YPmXdOuHT/1qEqDSqBY\r
118 PsrUh0DPKdPYSfuoiBWbfdPmc0+HB4/PrGt9iUmq/qrP4WPQqrIyi5Bkd88UPxXL\r
119 zHe3mdlXcwJJcNv6IQqOSUiHoYHgm6km3mcZr6+T3nzXpyUynb9jH0hPNSIKvS1a\r
120 bL/efvtHLHjo3FvbNtkU\r
121 =U9tK\r
122 -----END PGP SIGNATURE-----\r
123 --=-=-=--\r