Db.put hangs in single threaded application -
01-19-2006
, 06:59 PM
Hi,
1) I'm using BerkeleyDB 4.4.20 through Java. That is, I access the DB
through the Java Swig wrappers.
2) There is only one thread accessing the DB in my application.
3) My DB is created as follows:
dbConfig = new DatabaseConfig();
dbConfig.setAllowCreate(true);
dbConfig.setSortedDuplicates(true);
dbConfig.setType(DatabaseType.BTREE);
incidence_db = env.openDatabase(null, INCIDENCE_DB_NAME,
null, dbConfig);
4) A fair amount of data gets added to this 'incidence_db' where each
key may potentially have many duplicates.
5) Both keys and values are 16 byte UUIDs.
6) I tried inserting the key/value on which it hang using a reduced
data set and it worked. So it doesn't seem dependent on the actual
key/value pair.
7) Same problem with Berkeley DB 4.3....
Any indication how I may track down the issue?
Thanks a lot in advance!
Borislav |