Question

Does Tokyo Cabinet support in-memory B+ trees? If so, how do I use them? Because in some web articles (for example here and here), such usage is reported but I can't find any document describing how to do it. Thanks.

Was it helpful?

Solution

The documentation describes tcadbopen(TCADB *adb, const char *name) as follows:

`name' specifies the name of the database. If it is "*", the database will be an on-memory hash database. If it is "+", the database will be an on-memory tree database.

So, the name "+" does what you want.

OTHER TIPS

You will also find a good overview of the possibilities of Tokyo Tyrant here: http://korrespondence.blogspot.fr/2009/09/tokyo-tyrant-tuning-parameters.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top