unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Petter Reinholdtsen <pere@hungry.com>
To: notmuch@notmuchmail.org
Subject: Re: [PATCH] dump: Don't sort.
Date: Sat, 19 Nov 2011 16:11:13 +0100	[thread overview]
Message-ID: <2flr514171q.fsf@login1.uio.no> (raw)
In-Reply-To: 1319884657-5574-1-git-send-email-thomas@schwinge.name


[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

  parent reply	other threads:[~2011-11-19 15:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-29 10:37 [PATCH] dump: Don't sort Thomas Schwinge
2011-11-15  1:10 ` David Bremner
2011-11-21 11:04   ` Tomi Ollila
2011-11-19 15:11 ` Petter Reinholdtsen [this message]
2011-11-28 21:04   ` Thomas Schwinge
2011-11-27 18:40 ` [PATCH] dump: Don't sort the output by message id Tom Prince
2011-11-29  7:10   ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2flr514171q.fsf@login1.uio.no \
    --to=pere@hungry.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).