tmpfs (Re: Why not move Apt to a relational database)

2007-06-09 Thread Oleg Verych
On 2007-06-09, Bastian Blank <[EMAIL PROTECTED]> wrote: > On Sat, Jun 09, 2007 at 02:52:04AM +, Oleg Verych wrote: >> > Based on a relational database it will run faster, >> First reason is "faster". What if i'll say: based on tmpfs and >> directory/file structure it will run even faster? > > t

Re: Why not move Apt to a relational database

2007-06-09 Thread Bastian Blank
On Sat, Jun 09, 2007 at 02:52:04AM +, Oleg Verych wrote: > > Based on a relational database it will run faster, > First reason is "faster". What if i'll say: based on tmpfs and > directory/file structure it will run even faster? tmpfs is not faster than a real disk. You need the memory anyway

Re: Why not move Apt to a relational database

2007-06-08 Thread Oleg Verych
* From: Justin Emmanuel * Date: Sun, 03 Jun 2007 10:55:01 +0100 Hallo, Justin. Hope, you are still here. > I am brand new to this mailing list, I joined it because I had an idea > that I would like to have considered. Moving apt to a relational > database, for several reasons. > > Based on a rela

Re: Why not move Apt to a relational database

2007-06-04 Thread Daniel Burrows
I'm sorry I don't have more time to comment on this. On Sun, Jun 03, 2007 at 10:55:01AM +0100, Justin Emmanuel <[EMAIL PROTECTED]> was heard to say: > Based on a relational database it will run faster, also there should be > some more data stored about the programs to facilitate system restorin

Re: Why not move Apt to a relational database

2007-06-04 Thread Warren Turkal
On Monday 04 June 2007 15:23:54 Roger Leigh wrote: > Sorry, but I fail to see the connection between busybox and sqlite. > If enabled, sqlite would be part of dpkg, probably either statically > linked or dynamically loaded.  I would think static, for safety. Doesn't Busybox include an implementati

Re: Why not move Apt to a relational database

2007-06-04 Thread Roger Leigh
Neil Williams <[EMAIL PROTECTED]> writes: > On Sun, 03 Jun 2007 21:50:24 +0100 > Roger Leigh <[EMAIL PROTECTED]> wrote: > >> > No, that's why it is used in some embedded systems. Even so, it has >> > no place in the rootfs for an embedded system, IMHO. I'd rather not >> > have to repackage apt to

Re: Why not move Apt to a relational database

2007-06-04 Thread Warren Turkal
On Monday 04 June 2007 01:34:01 Neil Williams wrote: > That could actually be quite difficult - how would you migrate from one > to the other? Have the raw files and the sqlite cache on the mirrors. Give the local program the option to use either. Then you could use the raw files if the sqlite c

Re: Why not move Apt to a relational database

2007-06-04 Thread Neil Williams
On Sun, 03 Jun 2007 21:50:24 +0100 Roger Leigh <[EMAIL PROTECTED]> wrote: > > No, that's why it is used in some embedded systems. Even so, it has > > no place in the rootfs for an embedded system, IMHO. I'd rather not > > have to repackage apt to remove this change. > > Why would it need to be on

Re: Why not move Apt to a relational database

2007-06-04 Thread Neil Williams
On Sun, 3 Jun 2007 22:45:52 +0200 sean finney <[EMAIL PROTECTED]> wrote: > On Sunday 03 June 2007 21:30:26 Josselin Mouette wrote: > > Even if SQLite is more robust than Berkeley DB, I don't think you > > could recover anything from a corrupt database. Plain text will > > always turn out better in

Re: Why not move Apt to a relational database

2007-06-03 Thread Wouter Verhelst
On Sun, Jun 03, 2007 at 11:31:18AM +0100, Neil Williams wrote: > On Sun, 03 Jun 2007 10:55:01 +0100 > Justin Emmanuel <[EMAIL PROTECTED]> wrote: > > Based on a relational database it will run faster, also there should be > > some more data stored about the programs to facilitate system restoring. >

Re: Why not move Apt to a relational database

2007-06-03 Thread Wouter Verhelst
On Sun, Jun 03, 2007 at 12:22:46PM +0200, Joey Schulze wrote: > Justin Emmanuel wrote: > > I am brand new to this mailing list, I joined it because I had an idea > > that I would like to have considered. Moving apt to a relational > > database, for several reasons. > > Before reading on, have you

Re: Why not move Apt to a relational database

2007-06-03 Thread Roger Leigh
Neil Williams <[EMAIL PROTECTED]> writes: > On Sun, 3 Jun 2007 13:47:20 +0200 > Christoph Haas <[EMAIL PROTECTED]> wrote: > >> > What about embedded systems that can barely run sqlite? >> >> Is sqlite really *that* heavyweight? > > No, that's why it is used in some embedded systems. Even so, it h

Re: Why not move Apt to a relational database

2007-06-03 Thread sean finney
On Sunday 03 June 2007 21:30:26 Josselin Mouette wrote: > Even if SQLite is more robust than Berkeley DB, I don't think you could > recover anything from a corrupt database. Plain text will always turn > out better in terms of disaster recovery. If performance is an issue, a > text file can - just

Re: Why not move Apt to a relational database

2007-06-03 Thread Alex Queiroz
Hallo, On 6/3/07, Eduard Bloch <[EMAIL PROTECTED]> wrote: > - in case of an upgrade RDBMSs often dump there databases and import >them. What will happen when the upgrade fails during this? No >package database would be really bad What is the problem with having an internal embedded

Re: Why not move Apt to a relational database

2007-06-03 Thread Eduard Bloch
#include * Joey Schulze [Sun, Jun 03 2007, 12:22:46PM]: > Justin Emmanuel wrote: > > I am brand new to this mailing list, I joined it because I had an idea > > that I would like to have considered. Moving apt to a relational > > database, for several reasons. > > Before reading on, have you consi

Re: Why not move Apt to a relational database

2007-06-03 Thread Josselin Mouette
Le dimanche 03 juin 2007 à 21:17 +0200, sean finney a écrit : > and if you read the dpkg devel thread that spawned this (don't think it was > referenced yet in this thread, but it has been referenced the last time or > two dpkg has been brought up on -devel), you'll see that i'm not particularly

Re: Why not move Apt to a relational database

2007-06-03 Thread sean finney
On Sunday 03 June 2007 14:35:07 Neil Williams wrote: > > http://people.debian.org/~seanius/dpkg-sqlite/ > > Umm, that uses python to create the database - if there are problems > putting sqlite into a rootfs, there is NO place for python!! Emdebian > is removing perl from essential, let alone pyth

Re: Why not move Apt to a relational database

2007-06-03 Thread Joerg Jaspert
On 11039 March 1977, Josselin Mouette wrote: >> So what do you think? Is this the correct mailing list to send this >> idea >> to? > I'm so happy that people who send such posts to this mailing list are > not the ones developing our core software. How about not posting if you dont have anything u

[EMAIL PROTECTED] (was Re: Why not move Apt to a relational database)

2007-06-03 Thread Philippe Cloutier
Is this the correct mailing list to send this idea to? [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Why not move Apt to a relational database

2007-06-03 Thread Sam Hocevar
On Sun, Jun 03, 2007, Josselin Mouette wrote: > Le dimanche 03 juin 2007 à 10:55 +0100, Justin Emmanuel a écrit : > > So what do you think? Is this the correct mailing list to send this > > idea to? > > I'm so happy that people who send such posts to this mailing list are > not the ones developing

Re: Why not move Apt to a relational database

2007-06-03 Thread Neil Williams
On Sun, 3 Jun 2007 13:35:07 +0100 Neil Williams <[EMAIL PROTECTED]> wrote: > I disagree. Emdebian uses SQLite to store package data on the emdebian.org server (running Etch), not on the devices, > and just 1,000 > packages takes 1.5Mb. The entire /var/lib/dpkg/available file on this > full Debi

Re: Why not move Apt to a relational database

2007-06-03 Thread Neil Williams
On Sun, 3 Jun 2007 13:47:20 +0200 Christoph Haas <[EMAIL PROTECTED]> wrote: > > What about embedded systems that can barely run sqlite? > > Is sqlite really *that* heavyweight? No, that's why it is used in some embedded systems. Even so, it has no place in the rootfs for an embedded system, IMHO

Re: Why not move Apt to a relational database

2007-06-03 Thread Christoph Haas
On Sun, Jun 03, 2007 at 11:31:18AM +0100, Neil Williams wrote: > On Sun, 03 Jun 2007 10:55:01 +0100 > Justin Emmanuel <[EMAIL PROTECTED]> wrote: > > I am brand new to this mailing list, I joined it because I had an idea > > that I would like to have considered. Moving apt to a relational > > databa

Re: Why not move Apt to a relational database

2007-06-03 Thread martin f krafft
also sprach Josselin Mouette <[EMAIL PROTECTED]> [2007.06.03.1314 +0200]: > > So what do you think? Is this the correct mailing list to send > > this idea to? > > I'm so happy that people who send such posts to this mailing list > are not the ones developing our core software. Dude, there is no n

Re: Why not move Apt to a relational database

2007-06-03 Thread Josselin Mouette
Le dimanche 03 juin 2007 à 10:55 +0100, Justin Emmanuel a écrit : > So what do you think? Is this the correct mailing list to send this > idea > to? I'm so happy that people who send such posts to this mailing list are not the ones developing our core software. -- .''`. : :' : We are debia

Re: Why not move Apt to a relational database

2007-06-03 Thread Mike Hommey
On Sun, Jun 03, 2007 at 12:24:04PM +0200, martin f krafft <[EMAIL PROTECTED]> wrote: > also sprach Justin Emmanuel <[EMAIL PROTECTED]> [2007.06.03.1155 +0200]: > > I am brand new to this mailing list, I joined it because I had an > > idea that I would like to have considered. Moving apt to > > a r

Re: Why not move Apt to a relational database

2007-06-03 Thread Neil Williams
On Sun, 03 Jun 2007 10:55:01 +0100 Justin Emmanuel <[EMAIL PROTECTED]> wrote: > I am brand new to this mailing list, I joined it because I had an idea > that I would like to have considered. Moving apt to a relational > database, for several reasons. What about embedded systems that can barely ru

Re: Why not move Apt to a relational database

2007-06-03 Thread Joey Schulze
Justin Emmanuel wrote: > I am brand new to this mailing list, I joined it because I had an idea > that I would like to have considered. Moving apt to a relational > database, for several reasons. Before reading on, have you considered the following: - using an RDB requires a running RDBMS - run

Re: Why not move Apt to a relational database

2007-06-03 Thread martin f krafft
also sprach Justin Emmanuel <[EMAIL PROTECTED]> [2007.06.03.1155 +0200]: > I am brand new to this mailing list, I joined it because I had an > idea that I would like to have considered. Moving apt to > a relational database, for several reasons. Having something as essential as the dpkg database d

Why not move Apt to a relational database

2007-06-03 Thread Justin Emmanuel
I am brand new to this mailing list, I joined it because I had an idea that I would like to have considered. Moving apt to a relational database, for several reasons. Based on a relational database it will run faster, also there should be some more data stored about the programs to facilitate syst