From: Peter Stuge <peter@stuge.se>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] help in choosing DB engine for embedded application
Date: Tue, 30 Mar 2010 16:17:59 +0200 [thread overview]
Message-ID: <20100330141759.17003.qmail@stuge.se> (raw)
In-Reply-To: <db772a721003300624t42c7c971nfce6140733700a04@mail.gmail.com>
Hi Mirage,
Mirage ha wrote:
> I do not know if this is the correct place to post this question or
> not but as you have experience in embedded field i expected you
> will help me.
Although the question is not very specific to Gentoo I do agree with
you that it can be relevant in this group.
> I facing a problem in choosing database engine for my application
> my manager suggested to use files (e.g. txt files ) , i suggested
> to use berkeley db.
> So could you tell me which is better and if there is better solution
> (better db engine) please tell me.
Unfortunately there is no simple answer to this question. The best
solution depends on many things that probably only you or your
department knows; data structure, data access patterns (reads/writes
1:1, 10:1, 100:1 ?), number of updates per time period, size of
updates, and so on, and so on.
Choosing the best database solution is always a difficult task.
> also if there is link to good database benchmark comparison please
> send it.
For the reasons I mention above it is also very difficult to create
good database benchmarks. Some databases already include a
benchmarking suite, but that will be tuned to the particular workload
that the particular database handles the very best. It's marketing
basically.
Besides performance there can also be factors such as time to
market/previous developer experience to consider - if the system does
not have a critical performance requirement then it may be better to
choose a database which allows the most rapid delivery of the
product.
And there are even further dimensions to the database question - it
is a very difficult one to answer.
If you can describe some of the things I mentioned above, in
particular the properties of your data, and the access patterns, then
it may be possible for people to offer suggestions - but knowing more
about the application may also only lead to more questions needed to
find the best answer.
//Peter
next prev parent reply other threads:[~2010-03-30 15:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 13:24 [gentoo-embedded] help in choosing DB engine for embedded application Mirage ha
2010-03-30 14:17 ` Peter Stuge [this message]
2010-03-30 14:30 ` Ed W
2010-03-30 14:31 ` Arkadi Shishlov
2010-03-30 15:01 ` Karl Hiramoto
2010-03-31 8:55 ` [gentoo-embedded] " Mirage ha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100330141759.17003.qmail@stuge.se \
--to=peter@stuge.se \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox