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
7
votes
1 answer

Kyoto Cabinet / Berkeley DB : Hash table size limitations

I am having a hard time storing hundreds of millions of key/value pairs of 16/32bytes with a hash array on my SSD. With Kyoto Cabinet: When it works fine, it inserts at 70000 record/s. Once it drops, it goes down to 10-500 records/s. With the…
Kai Elvin
  • 169
  • 6
6
votes
3 answers

Python Berkeley DB/Sqlite

Since BerkeleyDB can use the SQLite api, can python use sqlite module to connect to BerkeleyDB. This post suggests using something else, but could have been written pre-Api sync. Best Python module for Berkeley DB? Can get a simple connection…
Merlin
  • 24,552
  • 41
  • 131
  • 206
6
votes
5 answers

Any DBM for .NET?

I'm looking for a simple DBM library such as BerkeleyDB or Kyoto Cabinet, but natively working for .NET. I need to manage more than one million records (maybe ten millions), and possibly in a hierarchical way (this last point is not mandatory, we…
picrap
  • 1,236
  • 1
  • 13
  • 35
6
votes
3 answers

What is the proper way to access BerkeleyDB with Perl?

I've been having some problems with using BerkeleyDB. I have multiple instances of the same code pointed to a single repository of DB files, and everything runs fine for 5-32 hours, then suddenly there is a deadlock. The command prompts stop right…
VolatileRig
  • 2,727
  • 6
  • 32
  • 44
6
votes
10 answers

Single-file, persistent, sorted key-value store for Java (alternative to Berkeley DB)

Berkeley DB (JE) licensing may be a deal killer. I have a Java application going to a small set of customers but as it is a desktop application, my price cannot support individual instance licensing. Is there a recommended Java alternative to…
Jé Queue
  • 10,359
  • 13
  • 53
  • 61
6
votes
2 answers

Efficient way to check existence in a large set of strings

I have a set of 100+ million strings, each up to 63 characters long. I have lots of disk space and very little memory (512 MB). I need to query for existence alone, and store no additional metadata. My de facto solution is a BDB btree. Are there any…
Drew Sears
  • 12,812
  • 1
  • 32
  • 41
5
votes
1 answer

Using RVM, how to ensure gems and non-gems see the same version of ruby?

I'm trying to install bdb on Ubuntu as a gem as follows, gem install bdb I'm not using sudo, since I am installing with rvm. The ruby version on my system is 1.9.1 but the version I'm using for this installation is 1.8.7 (I'm installing rbot, you…
Ziggy
  • 21,845
  • 28
  • 75
  • 104
5
votes
2 answers

A non-relational embedded database with a permissive free software license?

many thanks in advance for taking the time to look at my question. (I am aware of this question Nonrelational Databases for C++, but my needs are a bit different and it only has one answer.) I am developing a commercial C++ library that must, among…
dwinchell
  • 405
  • 1
  • 4
  • 6
5
votes
2 answers

Subversion FSFS - how are revisions stored in the repository?

I'd like to understand how subversion stores revisions in FSFS, and how a view/shapshot is constructed for a given revision number. What I have gleaned from Googling is that FSFS is a simple directory structure, with sub-directories for each…
Richard H
  • 38,037
  • 37
  • 111
  • 138
5
votes
2 answers

Problem opening berkeley db in python

I have problems opening a berkeley db in python using bdtables. As bdtables is used by the library I am using to access the database, I need it to work. The problem seems to be that the db environment I am trying to open (I got a copy of the…
Staale
  • 27,254
  • 23
  • 66
  • 85
5
votes
1 answer

sudo easy_install bsddb3 error :Can't find a local Berkeley DB installation

I tried to make a plugin on qgis with Python 2.7.3 and there is a error happend and I find a way to install bsddb3 to replace bsddb but when I try $sudo easy_install bsddb3 it's give me a error Can't find a local Berkeley DB installation I have…
blueman010112
  • 456
  • 1
  • 7
  • 19
5
votes
3 answers

A UML way to describe a key/value datastore?

I'm currently writing the documentation for a database using berkeleyDB. I'd like to draw UML diagram describing the keys and the values of the datastores. Is there a 'standard' way to describe this kind of database using UML ? Thanks
Pierre
  • 34,472
  • 31
  • 113
  • 192
5
votes
4 answers

Persistent Binary Tree / Hash table in .Net

I need a pure .Net persistent hashtable/binarytree, functionally similar to berkeley-db Java edition. Functionally it should opperate in a similar maner to a DHT such memcached and velocity etc but it doesn't have to be distributed. In essence I am…
Kinlan
  • 16,315
  • 5
  • 56
  • 88
5
votes
1 answer

How to determine the exact reason, why does berkeley db return EINVAL on db->open?

In the berkeley db documentation, it is stated that the reasons may be the following: An invalid flag value or parameter was specified (for example, unknown database type, page size, hash function, pad byte, byte order) or a flag value or parameter…
Pupkov-Zadnij
  • 1,342
  • 2
  • 11
  • 21
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
1 2
3
32 33