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.

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

| improve this answer | |
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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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