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 0C1CB429E21 for ; Sat, 19 Nov 2011 07:11:31 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 YaD7pNKB5dCS for ; Sat, 19 Nov 2011 07:11:30 -0800 (PST) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by olra.theworths.org (Postfix) with ESMTP id 2C765431FD0 for ; Sat, 19 Nov 2011 07:11:30 -0800 (PST) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RRmZi-0004BB-AQ for notmuch@notmuchmail.org; Sat, 19 Nov 2011 16:11:26 +0100 Received: from login1.uio.no ([129.240.12.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Nov 2011 16:11:26 +0100 Received: from pere by login1.uio.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Nov 2011 16:11:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: notmuch@notmuchmail.org From: Petter Reinholdtsen Subject: Re: [PATCH] dump: Don't sort. Date: Sat, 19 Nov 2011 16:11:13 +0100 Organization: University of Oslo, Norway Lines: 14 Message-ID: <2flr514171q.fsf@login1.uio.no> References: <1319884657-5574-1-git-send-email-thomas@schwinge.name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: login1.uio.no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:HASitDn2i9B+2Hxu7e1qwCr3bL4= 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, 19 Nov 2011 15:11:31 -0000 [Thomas Schwinge] > + /* This used to use NOTMUCH_SORT_MESSAGE_ID. On 2011-10-29, a measurement > + * on a 372981 messages instance showed that wall time can be reduced from > + * 28 minutes (sorted by Message-ID) to 15 minutes (unsorted), the latter > + * being much more ``database-disk-layout-friendly''. Subsequently sorting > + * the 25 MiB of data is a no-brainer, if required. */ This sound like a great idea for my use case. Doing 'notmuch dump' with my 1.2 million emails take hours at the moment (not very fast encrypted file system), and result in a 90 MiB dump file. -- Happy hacking Petter Reinholdtsen