基于Java磁盘的键值存储 [英] Java disk-based key-value storage
本文介绍了基于Java磁盘的键值存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否存在基于文件系统的键值存储的高效Java实现,具有以下功能:
Is there an efficient Java implementation of a filesystem-based key-value storage with the following features:
- 存储,覆盖和通过唯一ID检索字节数组(可由存储分配)
- 无内存缓存(读取意味着从文件系统读取,写入意味着立即写入文件系统)
- 总数据大小高达数TB
- 高达数亿的存储对象数
- 可管理的文件系统对象数(在文件系统级别移动/复制/删除整个存储空间)
- Store, overwrite, and retrieve byte arrays by a unique ID (may be assigned by the storage)
- No memory caching (read means read from file system, write means write to file system immediately)
- Total data size up to few terabytes
- Number of stored objects up to hundreds of millions
- Manageable number of file system objects (to move/copy/delete entire storage on file system level)
Berkeley DB JE会吗?
Will Berkeley DB JE do?
推荐答案
只需使用您选择的文件系统格式化专用分区?文件系统将满足要求1-4,并且可以通过移动/复制或删除该分区来满足要求5.
Simply format a dedicated partition with a file system of your choice? The file system would meet requirements 1-4, and requirement 5 can be met by moving/copying or deleting that partition.
这篇关于基于Java磁盘的键值存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文