tokyo-tiranno database di memoria come Redis o può crescere più grandi di memoria e poi recuperare dal hard disk

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

  •  10-10-2019
  •  | 
  •  

Domanda

Tokyo-tiranno in-memory database come Redis (allthough Redis ha VM?) O può crescere più grandi di memoria e poi recuperare dal disco rigido. Se sì, come vuol raggiungere questo?

È stato utile?

Soluzione

Tokyo Tyrant è solo un'interfaccia di rete a Tokyo Gabinetto, non un vero e proprio server di database. Tokyo Gabinetto dotato sia in memoria e file depositi. Quando si inizia a Tokyo Tiranno di ttserver il nome del database specificato è il tipo di archiviazione che verrà utilizzato. Per esempio, se si avvia ttserver con:

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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top