Can Postgresql be ported to a device with no OS and simple file I/O and memory management?

Started by Raymond Hurstalmost 19 years ago6 messagesgeneral
Jump to latest
#1Raymond Hurst
Raymond.Hurst@wdc.com

I have a requirement of incorporating a database in a hard disk drive.

Can postgresql do the job? Any consultants out here that have done this?

If not, any suggestions?

Ray Hurst

Western Digital

20511 Lake Forest Drive

Lake Forest, CA 92630

949-672-9853

#2Frederick Ross
madhadron@gmail.com
In reply to: Raymond Hurst (#1)
Re: Can Postgresql be ported to a device with no OS and simple file I/O and memory management?

In a hard disk drive? My god, why? If you're doing embedded
programming, don't carry over applications that were never intended
for it. Go port eForth or Pygmy Forth to your hard drive, or at least
set up a C cross compiler, and write whatever hash tables you need.
If you're trying to make a device smart enough where you really need
all the features and sophistication of Postgres, it's time to question
whether it's a device or a computer.

On 4/18/07, Raymond Hurst <Raymond.Hurst@wdc.com> wrote:

I have a requirement of incorporating a database in a hard disk drive.

Can postgresql do the job? Any consultants out here that have done this?

If not, any suggestions?

Ray Hurst

Western Digital

20511 Lake Forest Drive

Lake Forest, CA 92630

949-672-9853

--
Frederick Ross
Graduate Fellow, (|Siggia> + |McKinney>)/sqrt(2) Lab
The Rockefeller University
Je ne suis pas Fred Cross!

#3PFC
lists@peufeu.com
In reply to: Raymond Hurst (#1)
Re: Can Postgresql be ported to a device with no OS and simple file I/O and memory management?

If you want embedded SQL, you'll probably have only 1 user at a time so
sqlite is a better choice.
But do you want embedded SQL ?

On Wed, 18 Apr 2007 22:48:52 +0200, Raymond Hurst <Raymond.Hurst@wdc.com>
wrote:

Show quoted text

I have a requirement of incorporating a database in a hard disk drive.

Can postgresql do the job? Any consultants out here that have done this?

If not, any suggestions?

Ray Hurst

Western Digital

20511 Lake Forest Drive

Lake Forest, CA 92630

949-672-9853

#4Walter Vaughan
wvaughan@steelerubber.com
In reply to: Raymond Hurst (#1)
Re: Can Postgresql be ported to a device with no OS and simple file I/O and memory management?

Raymond Hurst wrote:

I have a requirement of incorporating a database in a hard disk drive.

Well, back in the day there was a man called Dick Pick. The US Goverment had the
same request. They wanted a database incorporated into a hard disk drive, and
that's what they got. An operating system and database in one, on the hard
drive. Damn good database, still in use all over the world. IBM even distributes
2 versions today.

I don't think that's what our good friends at Western Digital are asking about.
I'm guessing that you are looking for some sort of database that you can embed
in the drive controller logic, and would postgreSQL work in that environment?

Is that the question?

--
Walter

#5Dave Page
dpage@pgadmin.org
In reply to: Walter Vaughan (#4)
Re: Can Postgresql be ported to a device with no OS and simple file I/O and memory management?

Walter Vaughan wrote:

Raymond Hurst wrote:

I have a requirement of incorporating a database in a hard disk drive.

Well, back in the day there was a man called Dick Pick. The US Goverment
had the same request. They wanted a database incorporated into a hard
disk drive, and that's what they got. An operating system and database
in one, on the hard drive. Damn good database, still in use all over the
world. IBM even distributes 2 versions today.

That takes me back - hours of endless fun trying to get tape drives to
work with native Advanced Pick - and it wasn't a great deal better on
the 'alongside HP-UX' version. So much easier when Unidata came along
and didn't try to be an OS as well as a DBMS.... Ahh, those were the
days :-)

Regards, Dave.

#6Ron Johnson
ron.l.johnson@cox.net
In reply to: Dave Page (#5)
Re: Can Postgresql be ported to a device with no OS and simple file I/O and memory management?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/19/07 15:11, Dave Page wrote:

Walter Vaughan wrote:

Raymond Hurst wrote:

I have a requirement of incorporating a database in a hard disk drive.

Well, back in the day there was a man called Dick Pick. The US Goverment
had the same request. They wanted a database incorporated into a hard
disk drive, and that's what they got. An operating system and database
in one, on the hard drive. Damn good database, still in use all over the
world. IBM even distributes 2 versions today.

That takes me back - hours of endless fun trying to get tape drives to
work with native Advanced Pick - and it wasn't a great deal better on
the 'alongside HP-UX' version. So much easier when Unidata came along
and didn't try to be an OS as well as a DBMS.... Ahh, those were the
days :-)

Get off my lawn, you young whippersnappers!!!

- --
Ron Johnson, Jr.
Jefferson LA USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGJ94WS9HxQb37XmcRAklHAJ9686PNCe8iY+9/CJcLOWJxvNp2NQCg7J6Q
WgBB6A+kFTP2umCqH29O16E=
=AiD6
-----END PGP SIGNATURE-----