Questions tagged [berkeley-db-je]

Berkeley DB Java Edition is part of the Oracle Berkeley DB family of products. It is a 100% Java library that links into your application, enabling key-value pair (NoSQL) and Java object data persistence. It provides several Java APIs, supports transactional and non-transactional operations and replication. It's designed to be small, highly performant, reliable, available and scalable.

You can find more information about Berkeley DB Java Edition in the following locations:

Product Homepage

Downloads

FAQ

Documentation

Primary technical discussion forum

86 questions
1
vote
2 answers

No in-memory only possible?

Is it true that Oracle Berkeley Java Edition always needs a file path for storing data? Do I always have to set an environment home on file system? No 'in-memory' only storing possible?
user1731299
  • 567
  • 3
  • 10
  • 24
1
vote
2 answers

NoSuchMethodError in crawler4j CrawelController class

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…
user801154
0
votes
0 answers

Compare Berkeley DB and H2 DB

I am comparing read and write performance between Berkeley DB and H2 DB. What would be a correct way to make this comparison? Currently my test code checks time taken to make 10000 puts and 10000 gets and for H2 db 10000 inserts and 10000 select.…
Viral
  • 245
  • 1
  • 2
  • 8
0
votes
1 answer

Creating a sequence manually in BerkeleyDB JE

I want to create a sequence in BerkeleyDB, that I can operate manually, but I don't know how to do this. I would like to have something similar to an SQL sequence object. I have found a class in the API docs, but it's unclear how to create one. Any…
Peter Molnar
  • 123
  • 2
  • 7
0
votes
3 answers

Remove primary index from berkeley db

I use java edition of BerkeleyDB, DPL. While parsing a data to BerkeleyDB I store some temporal information in specific PrimaryIndex. This PrimaryIndex takes lot of space and I want to drop all data stored there and to free the space used on…
jutky
  • 3,895
  • 6
  • 31
  • 45
0
votes
3 answers

What is the best java opts for running Berkeley DB JE?

I have a machine that inserts around 502,000,000 rows into a BDB JE. An example of a key and a value is: juhnegferseS0004-47-19332 39694.290336 All of the keys and values are roughly of the same length. The JVM is started with the following…
user3111525
  • 5,013
  • 9
  • 39
  • 64
0
votes
0 answers

Java Berkeley DB Truncate at Certain TOD

I have an application which uses a very old version of Berkeley DB for Java (je-3.3.62). I need to truncate the database at a certain time every day (the start of day) because our application allows for keys to be re-used across days (but never…
Michael Starkie
  • 383
  • 3
  • 15
0
votes
1 answer

How can I store an ArrayList field in a Java Berkeley DB?

I have this structure in Java to be stored in berkeley DB using TupleSerialBinding: public class SampleValues implements Serializable, MarshalledEntity { private static final long serialVersionUID = 1L; protected double min; protected…
okami
  • 1
  • 1
0
votes
2 answers

Searching for Records in Berkeley DB JE

For example, suppose you have database records that use the following Strings as keys: Alabama Alaska Arizona Providing a key of Al moves the cursor to the first key (Alabama), Now, I think the returned result should be UNFOUNDED if provided the…
Charlie Epps
  • 3,595
  • 9
  • 33
  • 38
0
votes
1 answer

How to increase Cache Size in Berkeley DB Java Edition

I am using berkeley db java edition. how can i increase cache size
Dhananjay Joshi
  • 704
  • 1
  • 7
  • 8
0
votes
1 answer

BerkleyDb JE DbDump Extraordinary memory usage

We use BDB JE in one of our applications, and DbDump for backing up database. The interesting things happened one day. DbDump starts to throw out an OutOfMemoryError. Postmortem analysis shows that a lot of memory is used by internal BDB nodes (IN).…
Denis Bazhenov
  • 9,680
  • 8
  • 43
  • 65
0
votes
0 answers

why does Berkeley DB stand in CP in the CAP theorem?

According to CAP-theorem, in databases, it is impossible to simultaneously achieve consistent, availability and partition tolerance. why does Berkeley DB stand in CP in the CAP theorem? Why Berkeley DB does not support Availability? I could not find…
0
votes
1 answer

Android Berkeley DB 11g Synchronization with Database Lite Mobile Server

I am developing one Android database application. I am planing to use newly released Oracle Berkeley DB 11g as my database in Android phone as it has automatic Synchronization feature with Database Lite Mobile Server. I have implemented Berkeley DB…
Cin
  • 113
  • 1
  • 8
0
votes
2 answers

Java Berkeley DB read performance w/ 100M documents

I'm wondering if Berkeley DB JE is a suitable choice to store a simple key/value pair for 100M of documents. I need to achieve <75ms at fetching time on BDB, fetching one document. Thanks in advance
Samuel García
  • 2,199
  • 14
  • 21
0
votes
1 answer

Access to BerkleyDB replication log

We are writing home grown search service based on BerkleyDB JE and Lucene. BDB used for storing original documents and Lucene for searching. We are planning to replicate BDB storage to achieve high availability and balance read requests. But there…
Denis Bazhenov
  • 9,680
  • 8
  • 43
  • 65