开发者

tokyo-tyrant in memory database like redis or can it grow larger then memory and retrieve from harddrive

Tokyo-tyran开发者_如何转开发t in memory database like redis(allthough redis has VM?) or can it grow larger then memory and retrieve from harddrive. If so how does it achieve that?


Tokyo Tyrant is just a network interface to Tokyo Cabinet, not an actual database server. Tokyo Cabinet has support for both in-memory and on-file storages. When you start Tokyo Tyrant's ttserver the database name you specify is the type of storage that will be used. For instance, if you start up ttserver with:

ttserver "*" -- in-memory hash
ttserver "+" -- in-memory tree
ttserver /var/ttserver/casket.tch -- on-disk hash
ttserver /var/ttserver/casket.tcb -- on-disk b-tree
ttserver /var/ttserver/casket.tct -- on-disk fixed-length
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜