Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 mapdb 中有包含 150K 条目的树形图。调用 treemap.clear() 需要几分钟。我怎样才能快速做到这一点?创建一个新的
db.treeMap("pageCache").create();
给出崩溃 org.mapdb.DBException$WrongConfiguration:命名记录已存在:pageCache。我怎样才能在合理的时间内清除收集?
谢谢。
在构建树形图时尝试 .createOrOpen()。