Tokyo Cabinet Tuning Parameters

Posted by user235478 on Stack Overflow See other posts from Stack Overflow or by user235478
Published on 2009-12-20T13:02:22Z Indexed on 2010/04/05 23:23 UTC
Read the original article Hit count: 399

Hello,

I have been trying to find a better Tokyo Cabinet (or Tokyo Tyrant) configuration for my application, but I don't know exactly how. I know what some parameters mean but I want to have a fine tuning control, so I need to know the impact of each one. The Tokyo documentation is really good but not at this point. Does any one can help me? Thanks.

  • TCHDB -> *bool tchdbtune(TCHDB *hdb, int64_t bnum, int8_t apow, int8_t fpow, uint8_t opts);*

How do I use: bnum, apow and fpow?

  • TCBDB -> *bool tcbdbtune(TCBDB *bdb, int32_t lmemb, int32_t nmemb, int64_t bnum, int8_t apow, int8_t fpow, uint8_t opts);*

How do I use: lmemb, nmemb, bnum, apow and fpow?

  • TCFDB -> *bool tcfdbtune(TCFDB *fdb, int32_t width, int64_t limsiz);*

How do I use: width and limsiz? Note: I am only putting this to get all types of database in the topic, this one is really simple.

  • TCTDB -> *bool tctdbtune(TCTDB *tdb, int64_t bnum, int8_t apow, int8_t fpow, uint8_t opts);*

How do I use: bnum, apow and fpow?

© Stack Overflow or respective owner

Related posts about tokyo-cabinet

Related posts about tokyo-tyrant