From 1c4af0079f9a4e6ee134a36f20c8938fe571c7fc Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Tue, 21 Aug 2012 10:07:25 +0200 Subject: [PATCH] Re: [PATCH RFC?] Compactification support --- e7/8f43848da02753ee4dfa9256493da78bf69046 | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 e7/8f43848da02753ee4dfa9256493da78bf69046 diff --git a/e7/8f43848da02753ee4dfa9256493da78bf69046 b/e7/8f43848da02753ee4dfa9256493da78bf69046 new file mode 100644 index 000000000..f83fce924 --- /dev/null +++ b/e7/8f43848da02753ee4dfa9256493da78bf69046 @@ -0,0 +1,76 @@ +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 ED033431FB6 + for ; Tue, 21 Aug 2012 01:07:35 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[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 SDvgS6AldRpJ for ; + Tue, 21 Aug 2012 01:07:34 -0700 (PDT) +Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com + [209.85.213.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 05CAB431FAE + for ; Tue, 21 Aug 2012 01:07:33 -0700 (PDT) +Received: by yhp3 with SMTP id 3so7521655yhp.26 + for ; Tue, 21 Aug 2012 01:07:32 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version:content-type:x-gm-message-state; + bh=4SOPjR1YK2Qq0NxPIcF0OWZaAMnfwgeahPNCnJQG8ow=; + b=QD6Cejay7t6N7SNyF7lTXVJ5pnesws1qzwiEneg2+lr/242ITQhMG1Xd8w/xTYtXUF + lgE2+m3K8JlK677xp6IZFIAC66Uw2XJuTlfDB2iIyQD4YQ+xkuvGArE3tPdOA463EFmY + gHoaKjk19fyPmTbRZmsqNQPTaiBZCD6T5vv9GUA/g/g/HxMmhXkXuSUQx2Voa3YmapfY + wxTrIooj9nxP7NryD924NFN36USAp1p9ASalhDEXOjwoFR9PShXyKqgXMiyedqsWV52q + PerVLfCBgMLG582hJbz4mY1NU95xvsCOvgZSG67oZ4kAgktKTjiCvZco5TqeiOd5Svby + geng== +Received: by 10.236.197.5 with SMTP id s5mr24285552yhn.114.1345536452172; + Tue, 21 Aug 2012 01:07:32 -0700 (PDT) +Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3]) + by mx.google.com with ESMTPS id g41sm1390728yhn.10.2012.08.21.01.07.30 + (version=SSLv3 cipher=OTHER); Tue, 21 Aug 2012 01:07:31 -0700 (PDT) +From: Jani Nikula +To: Ben Gamari , notmuch@notmuchmail.org +Subject: Re: [PATCH RFC?] Compactification support +In-Reply-To: <1345476704-17091-1-git-send-email-bgamari.foss@gmail.com> +References: <1345476704-17091-1-git-send-email-bgamari.foss@gmail.com> +User-Agent: Notmuch/0.13.2+131~gff9267e (http://notmuchmail.org) Emacs/23.2.1 + (x86_64-pc-linux-gnu) +Date: Tue, 21 Aug 2012 10:07:25 +0200 +Message-ID: <87boi41xdu.fsf@nikula.org> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Gm-Message-State: + ALoCoQk9BVAIo9INl3dvJPTk/DRJY2t5rzdBIG4KdXDn6uGMgKz15WhL692X1rgCdjt1Pb7DOPgw +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: Tue, 21 Aug 2012 08:07:36 -0000 + +On Mon, 20 Aug 2012, Ben Gamari wrote: +> Here is a small patchset adding support for database compaction when +> supported by Xapian. Here I add a function which both compacts and +> closes the database. + +What are the benefits of this compared to xapian-compact [1]? + +Jani. + +[1] http://xapian.org/docs/admin_notes.html#compacting-a-database -- 2.26.2