493 questions
1
vote
1
answer
51
views
subversion upgrade BDB DB_VERSION_MISMATCH:
We are moving our very old subversion server to a new one. The old one was running on centos 7.7 with subversion 1.7.14-14.
We tried copying the entire repos folder to a new ubuntu 22 running ...
2
votes
0
answers
94
views
BerkelyDB (C API) delete a tuple based on a partial match using a single function
I'd like to know - is there a way to delete a tuple (key/value pair) from a BerkeleyDB btree database, by using a partial match, preferably using a single function call and without using a cursor - ...
0
votes
0
answers
214
views
Problem installing Berkeleydb for python on windows
I'm trying to install berkleybd for python on windows but I get the following error:
pip install berkeleydb
Collecting berkeleydb
Downloading berkeleydb-18.1.11.tar.gz (174 kB)
Installing build ...
1
vote
1
answer
114
views
Perl DB_File Query Key is not working but key exist
I'm new with perl.
I'm writing a little code to lookup value in db from key.
If I do a loop on the %hash for keys and value : I can see my keys and my values.
But, when I want to load a specific key, ...
0
votes
1
answer
85
views
How Does Berkley DB Cursor Iterate Records
I'm using BDB cursor and calling getSaerchKeyRange. From the docs
getSaerchKeyRange: returns the smallest key greater than or equal to the specified key
Lets say our DB is the following
Key Value
...
1
vote
0
answers
52
views
Berkley DB non deterministic error occurrence when adding an encrypted database within environment
I'm trying to add new and first encrypted database within an environment which already contains several unencrypted databases.
the problem is that once in several attempts to update our software ...
0
votes
0
answers
33
views
How can I use dbstl::db_map<string, list<string>> in Berkeley DB C++?
How can i use dbstl::db_map<string, list< string>>?
I use Berkeley DB STL in C++ and Visual Studio 2015
I want to use list< string> as value of db_map, but i get an error. I ...
1
vote
1
answer
75
views
why cant I use dbstl::map<string, int> in Berkeley DB C++?
i use C++, Berkeley DB 18.1.40
STL and Visual Studio 2015.
i include libraries through the project settings
i cant use dbstl::map<string, int> and get an error, but with dbstl::map<string, ...
0
votes
1
answer
163
views
How can I use .dll or .lib Berkeley DB C++?
I cant connect the Berkeley DB C++ library to my VS 2015 project
i download a project of Berkeley DB C++: link
i run the Berkeley_DB_vs2015.sln project from the build_windows folder and compile it
i ...
0
votes
1
answer
368
views
Random key lookup on LMDB/python vs BerkeleyBD/python (How to make LMDB lookup faster)
I have this program written in python that uses berkeleydb to store data (event logs) which i migrated to lmdb. My problem is, before an event gets written, the program does a lookup if the event ...
1
vote
2
answers
148
views
Is there a python binding to the Berkeley DB XML database? [closed]
I'm trying to migrate some perl code to python and it uses Sleeypcat::DbXml 'simple' to get read access to a .dbxml file, creates a XmlManager, calls createQueryContext, openContainer and query to get ...
0
votes
0
answers
39
views
BerkeleyDB transaction multiple database single file Segfault on open
My objective is to have a single file containing two BerkeleyDB databases. The first one stores JSON documents index by their id and the second one associates the document ids with some other unique ...
0
votes
0
answers
43
views
Berkley DB stl containers in global scope
I want to open a database and create a container (set) in the global scope so that I can access it from all functions with the following code:
DbEnv* penv = open_env(".", 0u, DB_INIT_MPOOL | ...
1
vote
0
answers
1k
views
How to include all dll in all exe file using Visual Studio
I want to use BerkeleyDB in my project, but I plan to distribute the final program as an .exe file. How can I compile a program by adding both BerkeleyDB dlls to it so that I end up with a single ...
1
vote
0
answers
101
views
optimal strategies to configure berkeleydb write and read processes
I have a requirement where I have two independent processes running on an embedded linux.
One of the processes takes CAN bus messages every 10 - 25ms and writes them to a BerkeleyDB.
(NOTE: the ...