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
3
votes
2 answers

Best SVN backend benchmarks

Are there benchmarks about the usage, speed, reliability of svn back-end databases? SQLite MySQL PostgreSQL BerkeleyDB Flatfile system Let's say we have 20 people working on the repository concurrently. What to choose?
user87400
  • 240
  • 2
  • 6
3
votes
2 answers

How does Citadel structure it's data using only the BerkeleyDB key/value store?

I was reading over the Citadel documenation and it mented that it used BerkeleyDB to store the data. Since BerkeleyDB is a key/value store I'm wondering how they can manage all the data relations (since Citadel does a lot of things) using such a…
Xeoncross
  • 55,620
  • 80
  • 262
  • 364
3
votes
1 answer

How to connect to a Berkeley DB using JDBC?

I have a Berkeley DB on a local folder and I'd like to connect to it via JDBC. Specifically via Zentus SqliteJDBC. My problem is with the connection string ("url"). While a sqlite connection string might look like:…
urig
  • 16,016
  • 26
  • 115
  • 184
3
votes
5 answers

Building a Java based stock trading application, need pointers for technologies to use

I am building an application in Java (with a jQuery frontend) that needs to talk to a third party application. it needs to update the interface every two seconds at the most. Would it be a good idea to use comets? If so, how do they fit into the…
Mponnada
  • 263
  • 5
  • 18
2
votes
2 answers

Issue with Hash Map Space and Performance

I have to store more than 100 millions of key-values in my HashMultiMap (key can have multiple values). Can anybody help me which one is faster for both storing and searching: 1) Berkeley DB 2) Tokyo Cabinet 3) H2 4) EhCache 5) Or anyothers Another…
Arpssss
  • 3,850
  • 6
  • 36
  • 80
2
votes
2 answers

Issue with Hash Map Space

In my Java code, I am using Guava's Multimap (com.google.common.collect.Multimap) by using this: Multimap Index = HashMultimap.create() Here, Multimap key is some portion of a URL and value is another portion of the URL…
Arpssss
  • 3,850
  • 6
  • 36
  • 80
2
votes
2 answers

How do you talk to a BerkeleyDB database from Ruby or Ruby on Rails?

I have no idea how I would set up a BerkelyDB database in a Ruby or Rails project. Does anyone have any experience configuring one, that they could talk about? Maybe using ActiveRecord or Datamapper?
Hank
  • 37
  • 6
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

What does __db.001 mean in Berkeley Database?

i'm using berkeley db and i'm new to it. I have noticed that whenever i start the berkeley the file " __db.001" is created in my directory and it consists of 1 line May you please explain to me what is the use of that file? Thanks, in advance
programmer
  • 4,571
  • 13
  • 49
  • 59
2
votes
1 answer

How to access a hash type BDB by pure java

I use bdb 4.7(not java edition) to create a hash type db, but I need to access it by pure java and I don't want to use JNI. I looked up some keywords in this discussion But it can not solve my problem, I only need to read the bdb. Thanks in…
user1159923
  • 81
  • 1
  • 4
2
votes
2 answers

Big Endian bytes vs. Strings as keys in string - string databases

I haven't seen the common sense notion of converting an integer to network order and to write the resulting bytes into an indexable entity in a string - string database vs. writing the string representation of the number anywhere in the…
Hassan Syed
  • 20,075
  • 11
  • 87
  • 171
2
votes
3 answers

Programming decision java or .Net, db or no db

I am stuck while making a programming decision, I am a .Net developer, I am currently building an application for my client that receives data from a third party application, it has to then perform operations on the values and send it to a…
Mponnada
  • 263
  • 5
  • 18
2
votes
1 answer

Berkley issues updating data to new value using a hash config

I am trying to write a program that uses a Berkeley Database and i configured my database as followed : DatabaseConfig dbConfig = new…
user597608
  • 387
  • 8
  • 20
2
votes
3 answers

how can I insert C structures that have character pointers into DBD file

I am changing from a file system I made into DBD. And I had no choice to convert structures that have character point members to insert these structures into the DBD file for examble, If there is a structure as below typedef struct { int …
2
votes
1 answer

How do i dump a specific subversion path from a berkeley db?

I'm trying to migrate one specific branch from a windows subversion berkeley db installation, however I cant seem to be able to work out how to pass a "path" to it as its a db structure and not a flat file system. Can anyone give me any pointers,…
Sam
  • 23
  • 3