From e2e2e0141d0a18496543910fa8bfbe35413a5d22 Mon Sep 17 00:00:00 2001 From: Roman Kravets Date: Fri, 27 Jun 2014 13:15:26 +0400 Subject: [PATCH] Re: Remote xapian database --- aa/ee9ec306207a560ab42c130351334e618acb92 | 83 +++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 aa/ee9ec306207a560ab42c130351334e618acb92 diff --git a/aa/ee9ec306207a560ab42c130351334e618acb92 b/aa/ee9ec306207a560ab42c130351334e618acb92 new file mode 100644 index 000000000..ddb7b1787 --- /dev/null +++ b/aa/ee9ec306207a560ab42c130351334e618acb92 @@ -0,0 +1,83 @@ +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 0DAA3431FC0 + for ; Fri, 27 Jun 2014 06:15:45 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.976 +X-Spam-Level: +X-Spam-Status: No, score=0.976 tagged_above=-999 required=5 + tests=[DATE_IN_PAST_03_06=1.076, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, + DKIM_VALID_AU=-0.1] 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 EGafh-0RmkH8 for ; + Fri, 27 Jun 2014 06:15:37 -0700 (PDT) +Received: from router.softded.net (softded.net [62.122.209.8]) + by olra.theworths.org (Postfix) with ESMTP id 62D02431FBD + for ; Fri, 27 Jun 2014 06:15:37 -0700 (PDT) +Received: from router.softded.net (localhost [IPv6:::1]) + by router.softded.net (Postfix) with ESMTP id 5058D802D9; + Fri, 27 Jun 2014 13:15:26 +0400 (MSK) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=softded.net; + s=default; t=1403860526; + bh=Cc5uL/yPTxYSnyEeMeTNnacq4SeHSFx8wKH2sU6/lWs=; + h=Date:From:To:Cc:Subject:References:In-Reply-To; + b=cdVXIFw058DivAYEa6DDXGQtQpGtUHN9mPG8n2x8hH5tQmk8gzzHypeZwGadGVFN7 + Jtj6kvSlWX5U1zQZSDYUn3pCCQZ4wvpiXJQbCo40D01hXEx2e/pIgHBu5ctETmla6y + LuttgWuox2xCq0v7QAVe69Cv0wnPF8fuoyOEHXyM= +Date: Fri, 27 Jun 2014 13:15:26 +0400 +From: Roman Kravets +To: David Bremner +Subject: Re: Remote xapian database +Message-ID: <20140627091526.GC12249@router.softded.net> +References: <20140626103909.GA13120@router.softded.net> + <87oaxfftm0.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <87oaxfftm0.fsf@zancas.localnet> +User-Agent: Mutt/1.5.20 (2009-12-10) +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: Fri, 27 Jun 2014 13:15:45 -0000 + +Dear David, + +It is not problem. Storage - it low cost resources. +I have problem with CPU utilization. +When I use "notmuch new" my CPU used 100% :( +If can I move database to another server, it remove load from my slow computer. + +On Thu, Jun 26, 2014 at 02:50:15PM -0300, David Bremner wrote: +> admin@softded.net writes: +> +> > Hello, +> > +> > Xapian have remote database mode: +> > http://xapian.org/docs/remote.html +> > +> > Do you plan use it in future? I have more then 8 million letters and my +> > xapian db use 50 gb store :) +> > +> > If I can use remote database, I will move database to external server +> > from my work PC (with Pentium 4) it will be very fast! :) +> +> One thing to keep in mind is that there are several places in the code +> where mail files are opened directly, so just having remote access to +> the xapian database is not going to be enough, unless you want to have a +> local copy of the messages, which is almost surely larger than the +> database. -- 2.26.2