LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-03-2011, 07:09 AM   #1
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Rep: Reputation: 18
looking for free database that has low memory usage and innodb and memory like engin


hello
I am looking for free database that has low memory usage and innodb and memory like engins that has C API and support trigger and client/server support for using in embedded linux systems.
Please don't send me Links I searched a lot but I didn't find out the best one I need your esteemed experience.

Thanks a lot.
 
Old 05-03-2011, 08:14 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
What's wrong with MySQL?
 
Old 05-03-2011, 08:15 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
When you look for triggers (and stored procedures), you're looking for a full-blown relational database management system (RDBMS); that would be on the order of MySQL, PostgreSQL or SQLite.

Something you may want to consider looking at is C-ISAM http://www-01.ibm.com/software/data/informix/cisam/ (sorry for the link, but it may save you a little time). It's not an RDBMS, but it does lend itself well to fast storage and retrieval and it's extremely efficient.

Hope this helps some.
 
Old 05-03-2011, 08:17 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by golden_boy615 View Post
hello
I am looking for free database that has low memory usage and innodb and memory like engins that has C API and support trigger and client/server support for using in embedded linux systems.
Please don't send me Links I searched a lot but I didn't find out the best one I need your esteemed experience.

Thanks a lot.
Why the importance of a specific storage engine?
You're ruling out perfectly good systems like
PostgreSQL and Firebird.


Cheers,
Tink
 
Old 05-03-2011, 08:22 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
I think the keywords are the first and last words
Quote:
innodb and memory like
I think he's implying he wants a relational engine, not ISAM.
 
Old 05-04-2011, 04:03 AM   #6
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Original Poster
Rep: Reputation: 18
the reason that I want Innodb and memory engines because I want to join it to a program that I wrote before .I used memory to have High speed update in it but I can change innodb to MyIsam but I need it to be client/server compatible like mysql to use it over network.
and about AlucardZeros question:
Quote:
What's wrong with MySQL?
Mysql is very good but I don't know if it is good for low memory systems or not I need it to be run on an embedded arm system that has maximum 50MB free memory (it has totally 64MB memory) and I need it to has PHP and C APIs (that Mysql has it very well).finding an alternative database in place of Mysql is my second steps in my project the first one is how to compile mysql for low memory embedded system like this one that I have .I don't know that PHP has API's for PostgreSQL ,Firebird and SQLite and do they supporting to make table in memory to increasing data transaction speed?
 
Old 05-04-2011, 08:51 AM   #7
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
The reason that I suggested a look at C-ISAM is that it is the guts of Informix Standard Engine (SE) and will operate efficiently in a limited RAM environment.

I'm not shilling for IBM, but here's the IBM blurb:
Code:
IBM® Informix® C-ISAM® is a library of C-language functions that manages indexed sequential access method (ISAM) files.

It bypasses the overhead of a relational database management system (RDBMS) and provides fast, efficient access to database records.
    * Provides quick data retrieval using B+ tree-index architecture.
    * Passes X/Open XPG test suite for ISAM and is X/Open standards-compliant.
    * Supports multiple languages through global language support (GLS).
    * Offers flexible indexing options that let you build indexes on multiple fields, a single field or parts of a field.
    * Includes efficient mechanisms for preserving data integrity.
From your description (and given the limited RAM available) it doesn't look like you need a full-blown RDBMS but you do need a way to get stuff in and out quickly and efficiently; C-ISAM gives you the ability to strip down to only what you need to get the job done without all the bells and whistles that you don't need getting in the way (and, importantly, using resources you just don't have available). Essentially, C-ISAM is the data base; it's the storage and retrieval engine.

Now, C-ISAM is a commercial product and there may be one or more free products that accomplish the same function (I dunno, haven't looked) but it may be worth your time to take a look, given the limits you have, at something other than an RDBMS all of which require (and use) shared memory and some mix of semaphores or queues (or one or both) and you don't have a whole lot of memory available to allocate for those (they use the IPC facilities to prevent deadlock and other problems that can occur in multi-user systems).

If you're thinking about PHP, it does support pretty much every RDBMS out there; MySQL, PostgreSQL, Informix, Oracle, DB-2 and others -- you would probably need to recompile it with the option to include functions for the DBMS you've chosen (other than MySQL, which is the default). And you can use PHP from the command line (it kicks out HTML than can be redirected to a browser if needed).

Be it C-ISAM or some other B+ tree ISAM library, it may be worth your time to take a look at one or more to accomplish what you need to do -- it doesn't seem like you're doing a general-purpose system and an ISAM might be the tool you need.

Hope this helps some.
 
Old 05-08-2011, 03:12 AM   #8
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Original Poster
Rep: Reputation: 18
as you said C-ISAM is not free that is not suitable for me do you know anything like this and free
 
Old 05-08-2011, 07:05 AM   #9
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Take a look at http://www.freebyte.com/programming/database/ and http://linuxfinances.info/info/dbmsisam.html#CISAM. There are a number of alternatives available and you may want to review them and determine what may fit your needs.

You may also be interested in looking at the manual pages for Berkeley data base software that is most likely installed on your system (if not, you should be able to get it from your distribution's libraries)
Code:
man db        or man dbopen
man btree
man hash
man mpool
man recon
It probably wouldn't hurt to contact IBM and find out what the cost of C-ISAM is (it's not much for non-commercial use); see http://www-01.ibm.com/software/data/informix/cisam/.

Hope this helps some.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
100% Swap usage with loads of free memory AlienWolf Linux - Server 5 12-14-2010 08:33 PM
Why doesnt top or free show swap memory usage ? exceed1 Linux - General 15 08-03-2009 08:38 PM
Can't malloc all free physical memory, CommitLimit too low FEWP Programming 2 07-23-2009 12:56 PM
pthreads virtual memory usage -- memory is not freed after thread exit minimol Linux - General 2 05-26-2009 01:19 AM
Slow to boot and low free memory krisbitner Linux - Software 1 01-15-2006 05:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration