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

BerkeleyDB Db->get not working when using custom comparison function

In a C++ program I am trying to set a custom comparison function for a Berkeley DB, using the Db::set_bt_function member function (the DB is opened as a BTREE type). My code works fine when I'm not changing the comparison function; I can put and get…
sunmat
  • 6,976
  • 3
  • 28
  • 44
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
2
votes
1 answer

bsddb and reprepro (berkeley) database

I'm trying to read the database files created by reprepro. I don't have that much experience with bdb, so I might be confused here, but it looks like the database is layered in some way. If I simply do btopen('path/to/packages.db', 'r'), I get the…
viraptor
  • 33,322
  • 10
  • 107
  • 191
2
votes
1 answer

How to get document name from Berkeley DBXml

Is there any command or JAVA API option to get name list of documents available in the container.
Ragasudha
  • 31
  • 3
2
votes
0 answers

Installing Berkeley DB 4.8 on Windows

I am trying to install Berkeley DB 4.8.30 on my Windows 10 computer. The project is located in E:\deps\db-4.8.30.NC. I am using the MinGW msys program to do the installation and I run the following commands: cd…
user3600338
  • 119
  • 1
  • 10
2
votes
2 answers

Titan loading problems with elastic search

I'm using the following code to load Titan: TitanFactory.Builder config = TitanFactory.build(); config.set("storage.backend", "berkeleyje"); config.set("storage.directory", DIRECTORY); //config.set("storage.conf-file", "file:////" +…
raycons
  • 735
  • 12
  • 26
2
votes
2 answers

Berkeley DB: how does it compare to MongoDB?

Recently, I've been digging into various types of DBs. I need to store & query “relational, hierarchical, graph, document” hybrid data. I'm looking for the best DB solution. I can't find much data about Berkeley DB. Most of the stuff on their…
IamIC
  • 17,747
  • 20
  • 91
  • 154
2
votes
3 answers

Rpmdb corrupted

I have gotten an error when trying to deploy a package with yum: 2016-07-07 14:14:31,296 - ERROR - error: rpmdb: BDB0113 Thread/process 6723/140691298633536 failed: BDB1507 Thread died in Berkeley DB library error: db5 error(-30973) from…
user2644013
  • 192
  • 2
  • 14
2
votes
4 answers

How can I get BerkeleyDB for ActivePerl 5.10?

I'm trying to find out where a BerkeleyDB PPM is for ActivePerl 5.10. Anyone have a clue where to find this, or how to build it? I had found a lead here. They claim BerkeleyDB 0.33 had built ok for Perl 5.10. They provide a link to the PPM, but not…
Mike Caron
  • 5,674
  • 4
  • 48
  • 71
2
votes
0 answers

Creating Berkeley DB database from F#

I was trying to create a Berkeley DB database from F#. So I was using libdb_dotnet51.dll ,libdb_csharp51.dll, libdb51.dll . but the statement - env = DatabaseEnvironment.Open("Datababase_name",new DatabaseEnvironmentconfig()) is throwing an…
anushri
  • 67
  • 5
2
votes
1 answer

Berkeley DB and C++ benchmark example?

I'm trying to run benchmarks with a little berkeley db and c++ code, just for research purposes. Currently I'm testing with the following code. I'm filling the recors only with incrementing integers (I omitted things like error handling for better…
Exa
  • 4,020
  • 7
  • 43
  • 60
2
votes
2 answers

Best NoSQL-way to store machinedata?

I'm looking for a NoSQL-way to store machinedata like information about tools, work pieces, products, operations and so on... Currently I'm concentrating on BerkeleyDB and need input from you guys, whether I should consider using another…
Exa
  • 4,020
  • 7
  • 43
  • 60
2
votes
1 answer

Berkeley DB android version download

I have been looking for android version of Berkeley DB i have downloaded version 6.4.25 but cannot find the android version. Can anyone tell me where to find it, beside oracle has been saying that Berkeley is supported on…
Baha' Al-Khateib
  • 311
  • 3
  • 13
2
votes
0 answers

Berkeley DB Error: BDB0590: files containing multiple databases may only be opened read-only

I am attempting to open a *.bdb file using python package: bsddb . I have confirmed the file is a Berkeley DB (Btree, version 9) by using file command in Linux. However, when I attempt to open using the following script in Python: db2 =…
Pipo
  • 101
  • 1
  • 6
2
votes
9 answers

File database suggestion with support for multiple concurrent users

I need a database that could be stored network drive and would allow multiple users (up to 20) to use it without any server software. I'm considering MS Access or Berkeley DB. Can you share your experience with file databases? Which one did you…
Michał Piaskowski
  • 3,800
  • 2
  • 34
  • 46