0

I have some live data that does not fit well into the object oriented paradigm. I am looking for a library in C++ that can store, index, and query this data with a relational database interface at runtime.

I do not want to interface with this library using std::string typed queries, much less SQL queries. Ideally the interface would be something closer to relational algebra, like relation_a * relation_b would be the cross product of two relations.

2
  • Is it ok for you to spawn additional processes? Use the disk? What hardware? What OS? What license? What price? etc.
    – einpoklum
    Commented Aug 1, 2016 at 7:24
  • I would like free, same process, preferably OS-independent, entirely in memory.
    – Mark
    Commented Aug 1, 2016 at 18:57

2 Answers 2

1

Not exactly what you asked for - since it is SQLish, but SQLite seems to have an in-process-memory mode, if I read this. Most in-memory DBs, however, live in separate processes rather than in a library.

0

I think boost::multi_index was what I was looking for.

http://www.boost.org/doc/libs/1_52_0/libs/multi_index/doc/tutorial/index.html#rationale

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.