Advice for a simple embedded database

Aug 11, 2004 5 Replies

Does anyone know of a database that can run in an embedded environment? Im running eCos.



Thanks!


Ben,

What database requirements do you have?

David

If you are willing to keep it in memory and use malloc, you can build it with hashlib. This can create all the necessary indexes and access to the records. It provides search, find, delete, entry operations, with abilities to operate on the entire stored data. It is available under GPL, requireing GPL release of the software using it, or another license can be negotiated with me. It is written purely standard C, and should have no portability problems.

The built in scanning mechanisms can be used to store the database on external files, from which it can then be reloaded. However there are no abilities for transaction processing, and high level data base definition provided.

"Churchill and Bush can both be considered wartime leaders, just as Secretariat and Mr Ed were both horses." - James Rhodes. "A man who is right every time is not likely to do very much." - Francis Crick, co-discover of DNA

Ben,

Please consider eXtremeDB from McObject. It is a full-featured in-memory database with a footprint ranging from 50K - 150K. Very portable (doesn't require an OS or the C run-time library, all you need is an ANSI C compiler).

Best regards, McObject LLC

Thanks all! Im going to evaluate McObject and sqlite, see which one can be most easily implemented for my app.

Ben

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required