Questions tagged [berkeley-db]

Berkeley DB is part of the Oracle Berkeley DB family of products. It is a C library that links into your application, enabling SQL, key-value pair (NoSQL) and Java object data persistence. It provides C, C++, C# and Java APIs and support for many scripting languages. It's designed to be small, highly performant, reliable, available and scalable.

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

Product Homepage: General Product Info and Berkeley DB Product Info

Downloads

FAQ

Documentation

Primary technical discussion forums for Berkeley DB in general and specifically for Berkeley DB High Availability

493 questions
4
votes
5 answers

How to Fix the Broken BSDDB Install in the Default Python Package on Mac OS X 10.5 Leopard?

Do the following on the default Python install on Mac OS X 10.5 (Leopard) w/ Developer Tools: noel ~ : python Python 2.5.1 (r251:54863, Jan 13 2009, 10:26:13) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or…
Noel
  • 2,061
  • 4
  • 31
  • 47
4
votes
2 answers

About Berkeley DB - creating the environment home

I have started playing around with Berkeley DB. This one is really interesting, but I am facing one problem. While creating the Environment we create it like this - Environment env = new Environment(new File("./bdb"), envConfig); It initially threw…
ravi
  • 1,707
  • 4
  • 29
  • 44
4
votes
2 answers

Berkeley DB File Splitting

Our application uses berkeley db for temporary storage and persistance.A new issue has risen where tremendous data comes in from various input sources.Now the underlying file system does not support such large file sizes.Is there anyway to split the…
Madusudanan
  • 1,017
  • 1
  • 15
  • 36
4
votes
3 answers

Is BerkeleyDB open sourced? Where can I find its source code?

It seems like BerkeleyDB is acquired by Oracle which does not publish the source code on its web?
FrostNovaZzz
  • 802
  • 3
  • 10
  • 22
4
votes
2 answers

Unable to install bsddb3 Python package on macOS Catalina 10.15.4

I've used Homebrew to install berkeley-db and am now struggling to install the bsddb3 Python package. Any help would be much appreciated. bash-3.2$ BERKELEYDB_DIR=/usr/local/Cellar/berkeley-db/18.1.32_1 pip install bsddb3 Collecting bsddb3 Using…
ryonlife
  • 6,563
  • 14
  • 51
  • 64
4
votes
2 answers

JanusGraph image stop responding after query timeout, how to prevent it?

When JanusGraph server exceeded his 'evaluationTimeout' the server stop responding I'm using the default docker image janusgraph/janusgraph:latest (Berkeley and Lucene) and connecting with gremlin console After the first timeout accord, queries…
dor yosef
  • 43
  • 3
4
votes
4 answers

Fastest possible key->value disc store with mutiple values

I'm looking for a efficient way to store many key->value pairs on disc for persistence, preferably with some caching. The features needed are to either add to the value (concatenate) for a given key or to let the model be key -> list of values, both…
Bjorn J
  • 642
  • 8
  • 18
4
votes
2 answers

How to use Berkeley DB SQL API in Android

My Android program has a huge DB overload and also involves multiple processes (Apps) accessing the database at the same time. Obviously, I found the bundled SQLite DB engine insufficient. So I closed in on Berkeley DB, and since I don't want to…
Codevalley
  • 4,593
  • 7
  • 42
  • 56
4
votes
0 answers

How to calculate the RAM cost to store a Berkeley DB in memory?

I have build a Berkeley DB in memory to store records. I want to get the ram that used by OS to store it. I used to think that page_size * total_pages (gained by db->stat_print() would help). However, as there is no limit for the length of record…
Kaijie Zhu
  • 51
  • 3
4
votes
2 answers

In memory databases with LMDB

I have a project which uses BerkelyDB as a key value store for up to hundreds of millions of small records. The way it's used is all the values are inserted into the database, and then they are iterated over using both sequential and random…
Jeremy Salwen
  • 8,061
  • 5
  • 50
  • 73
4
votes
1 answer

How to specify version of BerkeleyDB when creating file using perl DB_File?

We seem to have hit a version incompatibility in BerkeleyDB between our perl scripts and our PHP scripts. Our perl scripts generate BDB and our php scripts merely read them. Our perl scripts use DB_File to create a BDB file: use…
4
votes
3 answers

can i use bdb(berkeley db) file created by c implementation (python bsddb) by oracle berkeley db java edition?

I have a berkeley db file (*.bdb) which is created by the C implementation(python bsddb module). Is it possible to read this file by a pure java implementation of Berkeley Db? I tried to read it using berkeley db java edition (je) but could not. je…
NeoAnderson
  • 397
  • 2
  • 4
  • 11
4
votes
3 answers

How do I check what filesystem my SVN repository is using?

I've already created my repository and have been using it for a while. I wanted to check what filesystem data store it is using: Berkeley DB or FSFS. I'm not sure how to check this. I've looked at svnadmin, svnlook, etc. Any hints on how to do this?
Son of the Wai-Pan
  • 12,371
  • 16
  • 46
  • 55
4
votes
3 answers

Which API in Java to use for file reading to have best performance?

In my place where I work, used to have files with more than million rows per file. Even though the server memory are more than 10GB with 8GB for JVM, sometimes the server get hanged for few moments and chokes the other tasks. I profiled the code and…
DKSRathore
  • 3,043
  • 6
  • 27
  • 36
4
votes
2 answers

interfacing Rust with Berkeley DB

I have an existing C++ program that uses Berkeley DB as a storage backend. I would like to rewrite it in Rust. Is there a way to write a Foreign Function Interface in Rust to use Berkeley DB? I have found the tutorial Rust Foreign Function…
monkey1s2
  • 41
  • 2