1 Return-Path: <Jason@zx2c4.com>
\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 38D37431FAF
\r
6 for <notmuch@notmuchmail.org>; Tue, 11 Dec 2012 01:12:58 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.099 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 66k7AJE9ug+Y for <notmuch@notmuchmail.org>;
\r
17 Tue, 11 Dec 2012 01:12:57 -0800 (PST)
\r
18 Received: from homiemail-a1.g.dreamhost.com (caiajhbdcaib.dreamhost.com
\r
20 by olra.theworths.org (Postfix) with ESMTP id A8576431FAE
\r
21 for <notmuch@notmuchmail.org>; Tue, 11 Dec 2012 01:12:57 -0800 (PST)
\r
22 Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1])
\r
23 by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id 0561934806E
\r
24 for <notmuch@notmuchmail.org>; Tue, 11 Dec 2012 01:12:57 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version
\r
26 :in-reply-to:references:date:message-id:subject:from:to:cc:
\r
27 content-type; s=zx2c4.com; bh=LSQlEp+XI5sVwFwKFskWlSy1e9Y=; b=iL
\r
28 kJa7o1xmSMm3scZSM/1cto0lQlgue6gLYmP1P4PrCkwZ9DGADiYYUz7cCIk5R8a/
\r
29 8Jwvk7P4wFbwHH/eJEn2PanLUaxu4u7l4Y2jF9HsPGNqedv1lng5QlqaRoOmRHMt
\r
30 GXhqosTbmoFr3gbe7cxBGfFDRyJJ3cE8R1CusWGEI=
\r
31 Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com
\r
32 [209.85.214.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
33 (No client certificate requested)
\r
34 (Authenticated sender: jason@zx2c4.com)
\r
35 by homiemail-a1.g.dreamhost.com (Postfix) with ESMTPSA id DAFF834806B
\r
36 for <notmuch@notmuchmail.org>; Tue, 11 Dec 2012 01:12:56 -0800 (PST)
\r
37 Received: by mail-ob0-f181.google.com with SMTP id oi10so3109523obb.26
\r
38 for <notmuch@notmuchmail.org>; Tue, 11 Dec 2012 01:12:56 -0800 (PST)
\r
40 Received: by 10.182.130.99 with SMTP id od3mr8803711obb.61.1355217176369; Tue,
\r
41 11 Dec 2012 01:12:56 -0800 (PST)
\r
42 Received: by 10.76.33.70 with HTTP; Tue, 11 Dec 2012 01:12:56 -0800 (PST)
\r
43 In-Reply-To: <20121211091215.8048.13433@megatron>
\r
45 <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@mail.gmail.com>
\r
46 <20121207092305.4942.42415@megatron>
\r
47 <CAHmME9q6QN1YE=+_r1zHNdhc9hrJgEWxQ_L4rxsjJWOFRD-ZnA@mail.gmail.com>
\r
48 <20121208162055.14777.40147@brick.lan>
\r
49 <CAHmME9obAbvmXDJnQDGhSonADQYJr55gT4m62jkiWv0k8zrPpA@mail.gmail.com>
\r
50 <20121208174626.23685.31363@brick.lan>
\r
51 <CAHmME9oHN4zzmXz2wx2LjYaHSFMut=0bfvsJ-uqzXGF3aYRddg@mail.gmail.com>
\r
52 <20121210094134.11208.94252@megatron>
\r
53 <CAHmME9oU+1fOmB+YC0fizN7MNoJhu4VxVeKQ4Rf6DYk1tHebMw@mail.gmail.com>
\r
54 <CAHmME9rQvhbs1gC_nq5JD0TP8-JD+SV0tSH6VEcKpy2xbVjkMA@mail.gmail.com>
\r
55 <20121211091215.8048.13433@megatron>
\r
56 Date: Tue, 11 Dec 2012 10:12:56 +0100
\r
58 <CAHmME9qgV6xXY-krfZ+mexZsXLS=RYAOFqdSqO1y4hf9EO27Xw@mail.gmail.com>
\r
59 Subject: Re: gmail importer script
\r
60 From: "Jason A. Donenfeld" <Jason@zx2c4.com>
\r
61 To: Patrick Totzke <patricktotzke@gmail.com>
\r
62 Content-Type: multipart/alternative; boundary=14dae93b61346419a504d0901679
\r
63 Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org,
\r
64 notmuch@notmuchmail.org, Rainer M Krug <R.M.Krug@gmail.com>
\r
65 X-BeenThere: notmuch@notmuchmail.org
\r
66 X-Mailman-Version: 2.1.13
\r
68 List-Id: "Use and development of the notmuch mail system."
\r
69 <notmuch.notmuchmail.org>
\r
70 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
71 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
72 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
73 List-Post: <mailto:notmuch@notmuchmail.org>
\r
74 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
75 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
76 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
77 X-List-Received-Date: Tue, 11 Dec 2012 09:12:58 -0000
\r
79 --14dae93b61346419a504d0901679
\r
80 Content-Type: text/plain; charset=ISO-8859-1
\r
82 It seems to work, but i'm still waiting for the first run-through.
\r
85 > Downloading messages: 457 of 22831|
\r
87 > This takes ages. I hope it doesn't try to re-download all my messages
\r
91 Nope. It's very smart about not doing that.
\r
96 > It seems that throughout its run, your script locks the notmuch database.
\r
97 > This is particularly
\r
98 > annoying if you want to read/tag mails while waiting for a long
\r
99 > sync-process. I think you only
\r
100 > really want to lock the index for a short time in the end.
\r
101 > Do you write to the index directly after a msg is downloaded?
\r
104 I tried to solve this by closing and opening the database each time, but it
\r
105 actually reduced the performance considerably -- even slower than the gmail
\r
108 --14dae93b61346419a504d0901679
\r
109 Content-Type: text/html; charset=ISO-8859-1
\r
110 Content-Transfer-Encoding: quoted-printable
\r
112 It seems to work, but i'm still waiting for the first run-through.<br><=
\r
113 div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin=
\r
114 :0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
\r
116 Downloading messages: 457 of 22831|<br>
\r
118 This takes ages. I hope it doesn't try to re-download all my messages e=
\r
119 verytime.<br></blockquote><div><br></div><div>Nope. It's very smart abo=
\r
120 ut not doing that.</div><div>=A0</div><blockquote class=3D"gmail_quote" sty=
\r
121 le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
\r
125 It seems that throughout its run, your script locks the notmuch database. T=
\r
126 his is particularly<br>
\r
127 annoying if you want to read/tag mails while waiting for a long sync-proces=
\r
128 s. I think you only<br>
\r
129 really want to lock the index for a short time in the end.<br>
\r
130 Do you write to the index directly after a msg is downloaded?<br></blockquo=
\r
131 te><div><br></div><div>I tried to solve this by closing and opening the dat=
\r
132 abase each time, but it actually reduced the performance considerably -- ev=
\r
133 en slower than the gmail download.</div>
\r
134 <div>=A0</div></div>
\r
136 --14dae93b61346419a504d0901679--
\r