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

StackOverflow https://stackoverflow.com/questions/4385034

  •  10-10-2019
  •  | 
  •  

문제

Tokyo-tyrant 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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top