From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: tech@mdocml.bsd.lv
Subject: Re: mandocdb tools, sqlite3, and ohash
Date: Thu, 7 Jun 2012 18:29:09 +0200 [thread overview]
Message-ID: <20120607162909.GA3020@britannica.bec.de> (raw)
In-Reply-To: <4FD0C58C.5040104@bsd.lv>
On Thu, Jun 07, 2012 at 05:15:24PM +0200, Kristaps Dzonsons wrote:
> The biggest bottleneck right now is the database. Try running
> mandocdb with -n to see the magnitude of difference. Ugh! The -n
> is checked directly prior to database stuff ("nodb" in the source),
> so there's little else going on there. I don't do any fancy sqlitey
> stuff, so there's room for improvement.
Well, don't do a commit per page. That's forcing a sync per page, no
wonder it is slow.
Joerg
--
To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv
next prev parent reply other threads:[~2012-06-07 16:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-07 15:15 Kristaps Dzonsons
2012-06-07 16:29 ` Joerg Sonnenberger [this message]
2012-06-07 18:06 ` Ingo Schwarze
2012-06-08 10:29 ` Kristaps Dzonsons
2012-06-08 12:25 ` Joerg Sonnenberger
2012-06-08 13:38 ` Kristaps Dzonsons
2012-06-08 14:13 ` Joerg Sonnenberger
[not found] ` <20120607165106.GA8819@lain.home>
2012-06-08 12:05 ` Kristaps Dzonsons
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120607162909.GA3020@britannica.bec.de \
--to=joerg@britannica.bec.de \
--cc=tech@mdocml.bsd.lv \
/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.
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 NNTP newsgroup(s).