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
28
votes
9 answers

Recommend a fast & scalable persistent Map - Java

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.…
Joel
  • 29,538
  • 35
  • 110
  • 138
11
votes
5 answers

Choosing between Berkeley DB Core and Berkeley DB JE

I'm designing a Java based web-app and I need a key-value store. Berkeley DB seems fitting enough for me, but there appears to be TWO Berkeley DBs to choose from: Berkeley DB Core which is implemented in C, and Berkeley DB Java Edition which is…
zokier
  • 143
  • 1
  • 6
6
votes
1 answer

what is the best mechanism for a persistent key-value store on android (with large values)

I want to use a fast key-value store on an Android device where the values are image bitmaps. The store should be backed up by disk and provide some caching, minimizing disk IO. Multi-threaded access is desirable, but not required. I've looked at…
5
votes
2 answers

what are the coordinates of Berkeley DB JE 5.0.x in Maven Central?

What are the coordinates of Berkeley DB JE 5.0.x in Maven Central (or some other repo maybe)?
yegor256
  • 102,010
  • 123
  • 446
  • 597
4
votes
2 answers

Berkeley DB java edition, any LGPL or BSD alternatives in Java?

I am dealing with a huge dataset consisting of key-value pairs. The queries are always in the form of range queries on the key space (keys are numbers) hence any persistent B-Tree like structure will handle the situation. I would like to use…
Ali Salehi
  • 6,899
  • 11
  • 49
  • 75
4
votes
1 answer

Inserting data into BerkeleyDB-JE is getting slower and slower

I'm trying to insert ~ 56,249,000 items in a berkeleydb-JE. I ran DbCacheSize to get some stats about my database: java -jar je-5.0.34.jar DbCacheSize -records 56248699 -key 8 -data 20 === Environment Cache Overhead === 3,155,957 minimum…
Pierre
  • 34,472
  • 31
  • 113
  • 192
3
votes
1 answer

What's the latest version of berkeley-db-je?

What's the latest version of berkeley-db-je? From oracle, it is 7.5. But from maven repository, it is 18.3.12. It there anyone know more details?
Spike Liu
  • 63
  • 4
3
votes
1 answer

Optimizing a BerkeleyDB JE Database

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…
Pierre
  • 34,472
  • 31
  • 113
  • 192
3
votes
2 answers

Berkeley DB Java Edition - tuning for large amount of data

I need to load over 1 billion keys into Berkley DB and therefore I want to tune it in advance to get better performance. With standard configuration it takes me now about 15min to load 1'000'000 keys which is too slow. Is there a proper way to tune…
mkn
  • 12,024
  • 17
  • 49
  • 62
3
votes
0 answers

Why would I pick BerkeleyDB JE v6 over v5?

The Oracle BDB release notes have no meat at all, unfortunately. Why would I want to switch from BDB JE version 5 to version 6? Does it have significant performance improvements? Because if not, I can only see these two cons: v5 uses Sleepycat, v6…
0__
  • 66,707
  • 21
  • 171
  • 266
3
votes
1 answer

Berkeley DB primary key sequence jumping 100 after app restart

(I already saw this problem somewhere online but a search query that depends on "100" as search term apparently isn't a promising one - so forgive me if this question has already been asked) I've just started playing with berkeley DB in Java using…
wullxz
  • 17,830
  • 8
  • 32
  • 51
2
votes
4 answers

Berkeley DB (Java Edition) is not persistent between application runs

I am using a Berkeley DB to store information for a web crawler I am building. However none of my database information is being saved between sessions! When I start the application, count() on every DB returns 0. At the end of the session, before…
Sam Stern
  • 24,624
  • 13
  • 93
  • 124
2
votes
1 answer

Berkeley DB File compression

This is in conjunction with my previous question Click here. We are using berkeley DB for temporary storage before it is processed and stored into a relational DB.The problem arises when the size increases beyond a certain point.Now we have to…
Madusudanan
  • 1,017
  • 1
  • 15
  • 36
2
votes
1 answer

Which is better way for accessing berkeley db

I am using two package 1) Berkeley db Java Edition using BASE API 2)Berkeley DB Java Edition Using DPL (Direct Persistence Layer) if the performance is the issue then which is better way
Dhananjay Joshi
  • 704
  • 1
  • 7
  • 8
2
votes
2 answers

Cannot change Berkeley DB Database Type in Java Edition?

I was looking for changing the Database Type of Java Edition 4.1.7 of BDB from BTree to Hash. The Core version had DatabaseType.HASH, DatabaseType.RECNO and DatabaseType.Queue- Are these not supported in the Java Edition. If so is there a reason…
subbu
  • 21
  • 2
1
2 3 4 5 6