U
user923005
It just seems to me that w/ the current uC computational power,
performance return from a relational database engine is not really
much better than C.
Sure, the database companies have spent billions making queries as
fast as possible, but you can do better with C by yourself.
Or is it that a SQL query is faster to code than
to hard code the C program?
Which would you say is easier:
1. Type in a SQL query
2. Write/test/debug/document a C program that performs the same
equivalent query
As to remote access, that does not really
pose a problem w. POSIX. Or, were you thinking about concurrent use of
a file? i.e. is contention easier to manage w. a RDB engine compared
to root file systems? And I guess that poses another perspective; C
programs must have a root filesystem (and less portability) whereas
a .db file can be easily ported to another OS?
A database will give ACID properties to your transactions.
A database will give security to your transactions.
Do you value your data?
A database will have been tuned for performance.
Do you value your customer's time?
A database can execute any query that follows the definition of the
query language.
Do you value your time?
If permanent storage of data is needed then a database springs to mind
as a simple, fast, safe and often free choice.
Rolling your own solution will be very difficult if it is to compete
on a capability and/or performance basis.
IMO-YMMV.