berkeley-db-je

NoSuchMethodError in crawler4j CrawelController class

浪子不回头ぞ 提交于 2019-12-24 10:11:14
问题 I am using example given here And included necessary files(crawler4j-3.3.zip &crawler4j-3.x-dependencies.zip) from [here] (http://code.google.com/p/crawler4j/downloads/list) in my build path and run path. I am getting this error: Exception in thread "main" java.lang.NoSuchMethodError: com.sleepycat.je.EnvironmentConfig.setAllowCreate(Z)Lcom/sleepycat/je/EnvironmentConfig; at edu.uci.ics.crawler4j.crawler.CrawlController.<init>(CrawlController.java:90) at edu.uci.ics.crawler4j.examples.basic

Optimizing a BerkeleyDB JE Database

大憨熊 提交于 2019-12-07 17:11:00
问题 I plan to insert a large number of unique keys ( ~3E9 ) in a BerkeleyDB JE database. The keys will have a fixed length ( ~10 bytes ) but the values will have a variable length. The database won't be transactional. What parameters would you suggest for the EnvironmentConfig and the DatabaseConfig for optimizing the size and the speed of my database ? Many thanks, Pierre 回答1: OK, I found the solution using the utility com.sleepycat.je.util.DbCacheSize packaged into berkeleyDB-JE java -cp je-4.0

Optimizing a BerkeleyDB JE Database

…衆ロ難τιáo~ 提交于 2019-12-05 22:49:54
I plan to insert a large number of unique keys ( ~3E9 ) in a BerkeleyDB JE database. The keys will have a fixed length ( ~10 bytes ) but the values will have a variable length. The database won't be transactional. What parameters would you suggest for the EnvironmentConfig and the DatabaseConfig for optimizing the size and the speed of my database ? Many thanks, Pierre OK, I found the solution using the utility com.sleepycat.je.util.DbCacheSize packaged into berkeleyDB-JE java -cp je-4.0.103.jar com.sleepycat.je.util.DbCacheSize -records 3000000000 -key 8 Inputs: records=3000000000 keySize=8

Recommend a fast & scalable persistent Map - Java

会有一股神秘感。 提交于 2019-11-28 17:33:07
I need a disk backed Map structure to use in a Java app. It must have the following criteria: Capable of storing millions of records (even billions) Fast lookup - the majority of operations on the Map will simply to see if a key already exists. This, and 1 above are the most important criteria. There should be an effective in memory caching mechanism for frequently used keys. Persistent, but does not need to be transactional, can live with some failure. i.e. happy to synch with disk periodically, and does not need to be transactional. Capable of storing simple primitive types - but I don't

Recommend a fast & scalable persistent Map - Java

别来无恙 提交于 2019-11-27 10:32:45
问题 I need a disk backed Map structure to use in a Java app. It must have the following criteria: Capable of storing millions of records (even billions) Fast lookup - the majority of operations on the Map will simply to see if a key already exists. This, and 1 above are the most important criteria. There should be an effective in memory caching mechanism for frequently used keys. Persistent, but does not need to be transactional, can live with some failure. i.e. happy to synch with disk