From: Ingo Krabbe <i.krabbe@dokom.net>
To: Gentoo Developer <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] portage database management
Date: Sat, 1 Feb 2003 17:02:02 +0100 [thread overview]
Message-ID: <20030201160202.GA11373@dokom.net> (raw)
In-Reply-To: <200302011034.30227.absinthe@pobox.com>
On Sat, Feb 01, 2003 at 10:34:30AM -0500, Dylan Carlson wrote:
> I agree, there needs to be a way to speed up those operations eventually...
> if only to index the tree so that seeks/searches are performed faster.
>
> Problem with berkeleydb (sleepycat) is... things that get coded around
> berkeleydb often stay married to berkeleydb forever, for better or for
> worse. I had some issues with berkeleydb in the past year with versioning;
> more than once it broke things on minor upgrades along the same branch.
> YMMV.
>
> I think it's perhaps better to make this modular. Write db modules, one
> for sleepycat, one for pgsql, one for mysql, et al. Leave the indexing
> data store up to the admin. The data itself indexed in a B-tree.
>
> XML is a nice output format for interfacing with other applications, but
> that doesn't mean you should store your data in it.
>
> Cheers,
> Dylan Carlson [absinthe@pobox.com]
>
Thanks, this is an answer I longed for. I like berkeley DB for its easy
and small C API. Of course there would be not much problem to use a
modular approach. I may try a easy prototypish approach with C in the
evening or tomorrow. Please inform me (mailto:<i.krabbe@dokom.net>) if
you want to have a look upon it.
BYE INGO
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2003-02-01 16:08 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-29 19:38 [gentoo-dev] portage database management Ingo Krabbe
2003-02-01 8:37 ` Rendhalver [Peter Brown]
2003-02-01 8:35 ` Ingo Krabbe
2003-02-01 9:16 ` Rendhalver [Peter Brown]
2003-02-01 9:25 ` Ingo Krabbe
2003-02-01 10:17 ` Rendhalver [Peter Brown]
2003-02-01 11:06 ` John Nilsson
2003-02-01 12:35 ` Ingo Krabbe
2003-02-01 15:34 ` Dylan Carlson
2003-02-02 3:29 ` Mark Constable
2003-02-02 5:44 ` Jim Nutt
2003-02-01 15:34 ` Dylan Carlson
2003-02-01 16:02 ` Ingo Krabbe [this message]
2003-02-03 9:19 ` [gentoo-dev] " Christian Plessl
2003-02-03 20:45 ` Marko Mikulicic
-- strict thread matches above, loose matches on Subject: below --
2003-02-04 7:59 [gentoo-dev] " Brian Friday
2003-02-06 9:41 ` Jared H. Hudson
2003-02-06 19:37 ` Alain Penders
2003-02-06 20:15 ` Riyad Kalla
2003-02-06 22:20 ` Brian Friday
2003-02-06 22:30 ` Riyad Kalla
2003-02-07 3:37 ` Mario Witt
2003-02-07 6:53 ` Matt Tucker
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=20030201160202.GA11373@dokom.net \
--to=i.krabbe@dokom.net \
--cc=gentoo-dev@gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox