You might do better not to use any database manager and to place your
rules in a flat file which you memory map into your program, then use s
REGEX regular expression search (or simpler string search) to pop out a
list of pointers to the rules. That would be blindingly fast and memory
resident (or at least virtual memory resident).
Simpler can be better.
JS
Radomyselskiy, Mikhail (IT) wrote:
Hi,
I would like to use SQLite for processing of rules that look like
WHERE clauses (so if i fill a table with attributes and outputs i can
run "SELECT <OUTPUTS> WHERE <ATTRIBUTE MATCHING RULES>")
Looking at the speed comparison (and i realize its not uptodate but
for the lack of better info) it seems a lot of time is spent on the file
access and synchronization. We need an engine that runs completely in
memory without disk use and that doesn't have to be thread-safe (FastDB
seems to do this but I wanted to see if there is a more main-stream
alternative).
From various comments it looks like this is possible and I just wanted
to make sure and maybe get some idea of how to do this.
Thank You,
Mike Radomyselskiy
[EMAIL PROTECTED]
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does
not waive confidentiality or privilege, and use is prohibited.