Helmut Jarausch wrote:
On 11 Feb, Hung Dang wrote:
Hi all,

I am looking for an open source in-memory database for data mining purpose.
I have tried to look into /usr/portage/dev-db/ and have not found any
in-memory package. Any suggestion?


You might use dev-db/sqlite and put its files on a tmpfs directory.
Helmut.


SQLITE supports holding a database in memory. I never did it in python, but in PHP if you put "memory" in the connect string rather than a filename, the database will reside solely in RAM.

As this is a sqlite feature rather than a PHP feature, it should work under python as well (but I've never done it, so I don't know the syntax).

Ognjen.


Reply via email to