From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26585 invoked by uid 1002); 3 Feb 2003 09:27:28 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 25719 invoked from network); 3 Feb 2003 09:27:27 -0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@gentoo.org From: Christian Plessl Date: Mon, 03 Feb 2003 10:19:16 +0100 Message-ID: References: <20030129193828.GA21912@dokom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@main.gmane.org User-Agent: KNode/0.7.2 Sender: news Subject: [gentoo-dev] Re: portage database management X-Archives-Salt: 99c0055f-a251-4c86-af29-2e50aba9ff6a X-Archives-Hash: fd5e5ab554083a7f24a2c4a84ddc588a Ingo Krabbe wrote: > Hi all, > > I'm currently working on a Berkeley DB project for my customer. While > doing this I'm asking if the package management of portage shouldn't go > to database one day ? I mean it is getting slow ... it could be much > faster though. > > Has anybody thought about this topic ? Are there current developments > on this topic ? To your first argument I agree, portage is not very fast when searching for packages etc. But, I would vote strongly againgst moving it to a database approach. Having all portage information in plain textfiles because: * This enables easy creation of tools, that display/manage portage information in various ways because text files can be processed with any programming language * If something goes wrong there is a chance to correct this if textfiles are used. Putting all into a database which stores everything in binary format only seems rather scary to me. Although the potential speedup sounds interessting this idea reminds me of the Windows registry, which was a nice idea in the beginning, but turned out to be a nightmare. If performance of portage is a problem for you, I would suggest using the current portage information to build a fast searchable index for the portage information. Regards, Christian -- Christian Plessl Computer Engineering and Networks Lab, ETH Zurich, Switzerland -- gentoo-dev@gentoo.org mailing list