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
77
votes
8 answers

How to find out Subversion repository version?

How can I determine current version of my repository to see if I need to upgrade it (svnadmin upgrade)? In reality I'm hosting SVN with 3rd party and I want to find out if I need to ask them to upgrade my repos or not. I'm asking since 1.5 server…
Sumrak
  • 3,740
  • 7
  • 31
  • 37
61
votes
9 answers

Examining Berkeley DB files from the CLI

I have a set of Berkeley DB files on my Linux file system that I'd like to examine. What useful tools exist for getting a quick overview of the contents? I can write Perl scripts that use BDB modules for examining them, but I'm looking for some CLI…
mercutio
  • 22,151
  • 10
  • 36
  • 37
55
votes
5 answers

How exactly does subversion store files in the repository?

I read the subversion book and it is clear to me that subversion does not store individual files but only deltas in order to minimize disk space. Subversion also does the same with binary files as well (this used to be a huge weakness of…
kazanaki
  • 7,988
  • 8
  • 52
  • 79
45
votes
3 answers

How fast is Berkeley DB SQL compared to SQLite?

Oracle recently released a Berkeley DB back-end to SQLite. I happen to have a hundreds-of-megabytes SQLite database that could very well benefit from "improved performance, concurrency, scalability, and reliability", but Oracle's site appears to…
dan04
  • 87,747
  • 23
  • 163
  • 198
43
votes
9 answers

Alternative to BerkeleyDB?

I'm looking for a dbm-like library that I can use in place of Berkeley DB, which I'm currently using. My main reason for switching is the licensing fees for BDB are pretty high (free for open source apps, but my employer does not want to open source…
John
38
votes
5 answers

BerkeleyDB Concurrency

What's the optimal level of concurrency that the C++ implementation of BerkeleyDB can reasonably support? How many threads can I have hammering away at the DB before throughput starts to suffer because of resource contention? I've read the manual…
Ted Dziuba
  • 2,495
  • 1
  • 22
  • 16
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
26
votes
5 answers

Building OpenLDAP from sources and missing BerkelyDB

I'm building OpenLDAP on a RHEL 5; I used instructions found at http://www.linux.com/archive/feature/113607. All went well, until running './configure' for OpenLDAP - the following error was recorded: ** checking for…
user353829
  • 1,244
  • 5
  • 25
  • 38
24
votes
5 answers

Best way to use a PostgreSQL database as a simple key value store

I am being required to use a postgreSQL database and it will replace my current use of berkeleyDB. Although; I realize this is not an ideal situation, it is beyond my control. So the question is... If you were required to make postgreSQL into a key…
dennisjtaylor
  • 996
  • 1
  • 8
  • 17
19
votes
4 answers

GUI for Berkeley DB

I'm using Berkeley DB Java edition, via the DPL interface. I want to ask if someone knows about any GUI library that could make it easy to browse the data saved in the database. I know that BDB documentation says that the metadata about the stored…
jutky
  • 3,895
  • 6
  • 31
  • 45
17
votes
1 answer

Best Python module for Berkeley DB?

According to the Python 2.6.5 docs [1], the bsddb module has been deprecated for removal in Python 3.0. What module/wrapper should I be using instead? [1] http://docs.python.org/library/bsddb.html
Mark Harrison
  • 297,451
  • 125
  • 333
  • 465
17
votes
10 answers

Looking for a lightweight java-compatible in-memory key-value store

Berkeley DB would be the best choice probably but I can't use it due to licensing issues. Are there any alternatives?
Roman
  • 64,384
  • 92
  • 238
  • 332
16
votes
8 answers

Is Berkeley DB XML a viable database backend?

Apparently, BDB-XML has been around since at least 2003 but I only recently stumbled upon it on Oracle's website: Berkeley DB XML. Here's the blurb: Oracle Berkeley DB XML is an open source, embeddable XML database with XQuery-based access to…
w00t
  • 17,944
  • 8
  • 54
  • 62
14
votes
7 answers

Best C language key/value database around for massive amounts of entries

I am trying to create a key/value database with 300,000,000 key/value pairs of 8 bytes each (both for the key and the value). The requirement is to have a very fast key/value mechanism which can query about 500,000 entries per second. I tried BDB,…
Ron Reiter
  • 3,852
  • 3
  • 30
  • 34
13
votes
6 answers

Looking for a drop-in replacement for a java.util.Map

Problem Following up on this question, it seems that a file- or disk-based Map implementation may be the right solution to the problems I mentioned there. Short version: Right now, I have a Map implemented as a ConcurrentHashMap. Entries are added…
Matt Ball
  • 354,903
  • 100
  • 647
  • 710
1
2 3
32 33