From 9eb3e6e78dde174176cdbdae855db56cc4335846 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Sat, 24 Aug 2013 22:26:30 +2000 Subject: [PATCH] Re: [Olivier Berger] Bug#720543: notmuch: Please provide a script allowing to compact the xapian base --- 2a/7c77964c700bf9b3764c0966ec7a3fd76c9e01 | 105 ++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 2a/7c77964c700bf9b3764c0966ec7a3fd76c9e01 diff --git a/2a/7c77964c700bf9b3764c0966ec7a3fd76c9e01 b/2a/7c77964c700bf9b3764c0966ec7a3fd76c9e01 new file mode 100644 index 000000000..32b2a9077 --- /dev/null +++ b/2a/7c77964c700bf9b3764c0966ec7a3fd76c9e01 @@ -0,0 +1,105 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id A9D71431FCF + for ; Fri, 23 Aug 2013 19:26:42 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id GzPe5C+aSggN for ; + Fri, 23 Aug 2013 19:26:37 -0700 (PDT) +Received: from mail-qa0-f45.google.com (mail-qa0-f45.google.com + [209.85.216.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id C71FA431FBF + for ; Fri, 23 Aug 2013 19:26:37 -0700 (PDT) +Received: by mail-qa0-f45.google.com with SMTP id o13so1367236qaj.18 + for ; Fri, 23 Aug 2013 19:26:37 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:in-reply-to:references:user-agent:date + :message-id:mime-version:content-type; + bh=TMR7Hvr6jLv/4VguaxOWk8Nb9i7JWePBugXfGjNHUz0=; + b=PtWwkpk25Lh2Yk+8lsZB3kGlIGeDuOU9XSCoJWmUOLjSDGRSEr+Ei7dV4mhnVBAifk + VWQ19sKcN27LlDa+g4vogRGj2sciAq+sN7rROvmNKsHH3DnQBor8dQn0oeRaPdJ8W4U0 + x5LJ7hxN8SZUEo597e34+nPr4XQYkAC85pl0r/I9AALHLDcoVbqQrcpxg7kqaMfbJ/5v + BRmLs7QRReYoyy5U5PKcIW88CVA4CaV3rQJB54s1y1YrabtzhYaQBUk9EULYofW2Wz86 + HJgvfNoF31f/+4z/urMAKfwhF5aEB26ylGm0ad/rFnh7Lj2iYFapZUivgwJl8mWhKME7 + 62lg== +X-Received: by 10.49.131.200 with SMTP id oo8mr3422814qeb.0.1377311196222; + Fri, 23 Aug 2013 19:26:36 -0700 (PDT) +Received: from localhost (pool-108-8-228-201.spfdma.east.verizon.net. + [108.8.228.201]) + by mx.google.com with ESMTPSA id a6sm5401992qam.5.1969.12.31.16.00.00 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Fri, 23 Aug 2013 19:26:35 -0700 (PDT) +From: Ben Gamari +To: David Bremner , + Olivier Berger +Subject: Re: [Olivier Berger] Bug#720543: notmuch: Please provide a script + allowing to compact the xapian base +In-Reply-To: <87mwo8emz9.fsf@maritornes.cs.unb.ca> +References: <87mwo8emz9.fsf@maritornes.cs.unb.ca> +User-Agent: Notmuch/0.15.2+250~g5da147c (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Fri, 23 Aug 2013 22:26:30 -0400 +Message-ID: <87d2p3n7s9.fsf@gmail.com> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha1; protocol="application/pgp-signature" +Cc: , notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 24 Aug 2013 02:26:42 -0000 + +--=-=-= +Content-Type: text/plain + +Olivier Berger said: + +> I think it would be great to provide a script allowing to do some +> maintenance on the xapian DB to improve performance, as explained in +> http://notmuchmail.org/performance/ (Compact your database). + +A few months^H^H^H nearly a year ago I had a patch[1] adding a `notmuch +compact` command. I forgot about it until you mentioned this but I +think I'll try to finish the fix it up and resubmit for merge tonight. + +Cheers, + +- Ben + + +[1] http://notmuchmail.org/pipermail/notmuch/2012/012213.html + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQEcBAEBAgAGBQJSGBnWAAoJEErkyLZmeNiDg3oIANdsdi9f11fT5vVlLZY27bA0 +Pjtnrnc65Ezkq8rbP2xQ2o6pk8uG281e9g8IF+xdcM6+aqpgbq6XcDH2dqfp/neq +fiLx6uIsZQYd8Q8JS298iVuPzZXdSmLE731yBr0QKNHaoinILZ/wEGhW01fbgM4u +yb7wO0qps5x5lO2xyDG3Mn9bncMdIyUQMYslvuWHZGYd2YZCXXJ++bq1bxyM5FN5 +d3GLHmLL9uSpBbdPeydM8ApEbz/pV5VEKEWNsVo6hpLBOvOu8w+ID/5baJOtyMZ+ +H2sChRcpux5YLJW27WZ1My5ZptwCXvTBUpXvXUzVlr3pAU1j/kQwgh/7Zugo88I= +=iLvF +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2