简体   繁体   English

如何在文件中转储tokyocabinet内存中的哈希表数据库?

[英]How to dump a tokyocabinet in-memory hashtable database in a file?

Is there a simply way to dump a tokyocabinet in-memory database to a file? 有没有简单的方法可以将tokyocabinet内存数据库转储到文件中? I didn't find anything about it in the tokyo documentation. 我没有在东京文档中找到任何有关它的信息。 Does anyone know another nosql database that provide with this kind of thing? 有谁知道另一个提供这种东西的nosql数据库? I'm looking for a very efficient in memory hashtable database, able to insert about 80000 records/sec. 我正在寻找一个高效的内存哈希表数据库,能够每秒插入约80000条记录。 Dump to file would occur every 10 seconds. 转储到文件将每10秒发生一次。

Thanks 谢谢

Disclaimer: I work for VoltDB. 免责声明:我为VoltDB工作。

While not a NoSQL Database, VoltDB can be used as a KV store and also there is an "export" functionality that you can use to setup continuous movement of data to CSV files. 虽然不是NoSQL数据库,但VoltDB可以用作KV存储,并且还具有“导出”功能,可用于将数据连续移动到CSV文件。 On the other hand, if your goal is to just have persistent VoltDB has a feature called command logging which takes snapshots periodically and between snapshots maintains command logs for zero data loss. 另一方面,如果您的目标是永久保留VoltDB,则它具有称为命令日志记录的功能,该功能可定期拍摄快照,并且快照之间可保持命令日志的数据丢失为零。

As for the throughput requirement of 80K TPS, that can be easily achieved with very commodity hardware. 至于80K TPS的吞吐量要求,可以通过非常通用的硬件轻松实现。 For example, my Macbook Pro can do about 60K TPS. 例如,我的Macbook Pro可以完成约60K TPS。

If you have any questions, feel free to reach out to me directly at dremella(at)voltdb(dot)com. 如果您有任何疑问,请随时通过dremella(at)voltdb(dot)com与我联系。

Cheers 干杯

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM