Questions tagged [berkeley-db-je]

Berkeley DB Java Edition is part of the Oracle Berkeley DB family of products. It is a 100% Java library that links into your application, enabling key-value pair (NoSQL) and Java object data persistence. It provides several Java APIs, supports transactional and non-transactional operations and replication. It's designed to be small, highly performant, reliable, available and scalable.

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

Product Homepage

Downloads

FAQ

Documentation

Primary technical discussion forum

86 questions
0
votes
1 answer

Trouble with Berkeley DB JE Base API Secondary Databases and Sequences

I have a class Document which consists of Id (int) and Url (String). I would like to have a primary index on Id and secondary index on Url. I would also like to have a sequence for Id auto-incrementation. So I create a SecondaryDatabase and then I…
milosz
  • 865
  • 2
  • 7
  • 24
0
votes
1 answer

berkeleydbje to set authentication

How to set the user authentication on my database application in berkeley db java edition.
0
votes
1 answer

Select distinct secondary key values in BerkeleyDB JE

I have a Berkeley DB JE setup using the DPL. I have a secondary key field which is a string, and I would like to retrieve all distinct values for this key. No additional fitlering is required, I simply want all the distinct values. I could iterate…
Kevin Dolan
  • 4,952
  • 3
  • 35
  • 47
0
votes
1 answer

Bdb StoredList in java

I have a list object which is making my program to crash by out of memory error. I want to convert the list to BDB StoredList. But I am getting exception java.lang.IllegalArgumentException. RecordNumberBinding requires DB_BTREE/DB_RECNUM, DB_RECNO,…
user799473
  • 41
  • 1
  • 1
  • 7
0
votes
1 answer

clojure titanium - How to save to berkely DB?

I can read and add stuff to a titanium graph (using berkely DB backend) e.g. the following: (let [g (tg/open "/tmp/mygraph")] I can then use (tg/add-vertex g ... to modify the graph. But how do I save the modified graph to my berkleydb backend? I…
0
votes
2 answers

BDB JE exception

com.sleepycat.je.DatabaseException: (JE 3.2.76) fetchTarget of 0x45/0x27aa63 parent IN=3316846 lastFullVersion=0x45/0x47b147 parent.getDirty()=false state=0 com.sleepycat.je.log.DbChecksumException: (JE 3.2.76) Read invalid log entry type: 97 at…
Rrr
  • 1,747
  • 3
  • 17
  • 22
0
votes
1 answer

How to traverse berkeley-db database in descending order of 'value'?

I have a Berkeley-db database where both 'key' and 'value' are of type integer. Is there any way to traverse the database in descending order of 'value'? I'm using Berkeley-db je-5.0.58 API. The sample code that i'm using from its documentation is…
0
votes
2 answers

Duplicate Keys in Oracle Berkeley DB Java Edition

I'm using Oracle Berkeley DB Java Edition with tables having key/value format. I'm trying to insert duplicate keys, but keep getting SecondaryIntegrityException. According to Oracle, if the setSortedDuplicates() is set to true, then duplicates are…
ms1013
  • 1,725
  • 2
  • 14
  • 16
0
votes
1 answer

Berkeley DB (JE) growing out of control

I have written a web crawler in Java, and I am using Berkeley DB to save the pages I crawl (for later indexing, etc.). I am storing each page as a Webpage object, which has the following instance fields: @PrimaryKey String url; String…
Sam Stern
  • 24,624
  • 13
  • 93
  • 124
-1
votes
2 answers

What are all open source applications using Berkeley DB?

I am learning Berkeley DB and its usages. Could somebody point the open source applications using BerkeleyDB. Though I am using Java (BDB Java edition), I am open to refer other programming languages too.
Mohan Narayanaswamy
  • 2,149
  • 6
  • 33
  • 40
-1
votes
1 answer

About Berkeley DB Java Edition

I'm using Berkeley DB Java Edition(6.3.8), but I'm not sure if the database is supposed to be accessed by one JVM instance. Can two JVM instance access it simultaneously(assume one instance do put and get, and the other do get only)?
realjin
  • 1,485
  • 1
  • 19
  • 38
1 2 3 4 5
6