Rought database engine comparison
| MySQL | SQLite | DB Engine / Flat File Databases | File system | |
| pros |
|
|
|
|
| cons |
|
|
|
|
For small applications, Flat File Databases can be the best solution.
Compare to other Flat File Databases, DB Engine has some significant avantages:
- Can work simultaneously on several databases
- A table can belong to more than one database
- Small: only one file to include (20Kb (5Kb zipped) with comprehensive functions and variables names)
- Include file for debug functions: table list and dump
- Complete set of functions to fullfill most needs
- Object programing
- Where clauses
- Sort orders on fields
- Table joints can be used in Field lists (fetch), Where clauses and Sorts.
- Enhanced file locking system with random and exponential delays
- Lock / unlock of a list of tables
- Cache to speed up operations
- Can work on large files
- Usage of field names
- Log file to monitor file locking system (retries, fails...)
- Debug mode to display run-time warnings
- fastFetch and fastUpdate functions for loaded contexts
- Auto-increment fields for insert