[redland-dev] Perl/BDB question: atomicity and transactions
question
Dave Beckett
dave.beckett at bristol.ac.uk
Fri Jan 14 05:45:01 PST 2005
On Fri, 14 Jan 2005, Jan Algermissen wrote:
>
> I have a question regarding transaction support when using BDB storage.
> I've not found anything in the docs so far, so maybe someone over here
> can help me out:
>
> How do I open a BDB store for reading or writing in a scenario whith
> multiple readers and writers?
> (I can't figure out how to pass the required options to BDB)
You can't pass the options to the Redland BDB opening, at present.
> Is there a way to get transaction support (rollback) with BDB? I recall
> that sleepycat has
> transaction support...does BDB do too?
>
> If not, will I be able to use MySQL transations from Redland?
The question of transactions comes up now and then and I have
discussed it with some people in private mail, and sketched out
an API, but it's not yet been added. The general idea is to
make it an option, and allow bulk operations while holding
a transaction handle (BDB DB_TXN, something else in MySQL).
I don't tend to add features before they are requested and
they get added faster when I get some encouragement (and patches!),
especially for features I'm not using at present.
Cheers
Dave
More information about the redland-dev
mailing list