dbTalk Databases Forums  

Re: Perl & BerkeleyDB

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Re: Perl & BerkeleyDB in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul Marquess
 
Posts: n/a

Default Re: Perl & BerkeleyDB - 08-14-2003 , 02:59 AM






hugh (AT) loebner (DOT) net (Hugh Loebner) wrote in message
news:<d39432d8.0307300728.3cfa98e7 (AT) posting (DOT) google.com>...
Quote:
My thanks to Paul Marquess for making BerkeleyDB available for
ActiveState Perl. I simply can not understand why BerkeleyDB is not
part of the standard Perl distribution, since it is _so_ powerful.

What version of BerkeleyDB is installed when I install "BerkeleyDB"
using PPM?
I didn't know ActiveState had created a binary for BerkeleyDB.

Quote:
What functionality does the ActiveState version have? Does
it support concurrency, record locking, transactions etc?
Looking at their ppm repository, it seems they have built version 0.22 of my
module. That's a quite recent version, so it will support concurrency,
locking & transactions.

Quote:
I'm writing a multi-user small business/mfg system (fewer than 10
users). I had intended to use Fctl for file locking, but if
ActiveState's BerkeleyDB can provide locks at the record level,
transaction processing, etc., I'd be a very happy camper.
If I remember correctly, only the Queue database type does record locking.
At best the others (Hash, Btree, etc) are page locking only.

In fact, if you were considering using fcntl to handle the locking, I
wonder if you need to bother with using transactions at all. The CDS mode in
Berkeley DB, which handles locking at a database level for you, may be
adequate. It is also much simpler to use.

Paul


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.