Why does tokyo tyrant slow down exponentially even after adjusting bnum?

Posted by HenryL on Stack Overflow See other posts from Stack Overflow or by HenryL
Published on 2009-06-27T00:47:59Z Indexed on 2010/05/05 17:48 UTC
Read the original article Hit count: 215

Filed under:

Has anyone successfully used Tokyo Cabinet / Tokyo Tyrant with large datasets? I am trying to upload a subgraph of the Wikipedia datasource. After hitting about 30 million records, I get exponential slow down. This occurs with both the HDB and BDB databases. I adjusted bnum to 2-4x the expected number of records for the HDB case with only a slight speed up. I also set xmsiz to 1GB or so but ultimately I still hit a wall.

It seems that Tokyo Tyrant is basically an in memory database and after you exceed the xmsiz or your RAM, you get a barely usable database. Has anyone else encountered this problem before? Were you able to solve it?

© Stack Overflow or respective owner

Related posts about tokyocabinet