From: Daniel Schoepe <daniel@schoepe.org>
To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org
Cc: notmuch@kismala.com
Subject: Re: [PATCH] Store "from" and "subject" headers in the database.
Date: Sun, 06 Nov 2011 22:41:32 +0100 [thread overview]
Message-ID: <87d3d5kjxv.fsf@gilead.invalid> (raw)
In-Reply-To: <1320599856-24078-1-git-send-email-amdragon@mit.edu>
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements <amdragon@MIT.EDU> wrote:
> Search retrieves these headers for every message in the search
> results. Previously, this required opening and parsing every message
> file. Storing them directly in the database significantly reduces IO
> and computation, speeding up search by between 50% and 10X.
Just tried the patch and I can confirm that, after rebuilding the
database, it makes searches a lot faster.
Cheers,
Daniel
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2011-11-06 21:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-06 17:17 [PATCH] Store "from" and "subject" headers in the database Austin Clements
2011-11-06 21:07 ` Jani Nikula
2011-11-06 21:59 ` Daniel Schoepe
2011-11-06 22:01 ` Austin Clements
2011-11-06 22:30 ` Jani Nikula
2011-11-06 21:41 ` Daniel Schoepe [this message]
2011-11-11 1:33 ` Pieter Praet
2011-11-11 1:38 ` Pieter Praet
2011-11-11 3:00 ` Austin Clements
2011-11-14 6:34 ` Jameson Graef Rollins
2011-11-14 23:19 ` David Bremner
2011-11-15 1:15 ` [PATCH] news: " Austin Clements
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=87d3d5kjxv.fsf@gilead.invalid \
--to=daniel@schoepe.org \
--cc=amdragon@MIT.EDU \
--cc=notmuch@kismala.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).