Monday, Mike Meyer May 12, 2008, 11:24:30 PM, you wrote:

MM> On Mon, 12 May 2008 22:35:31 +0400 Anthony Pankov <[EMAIL PROTECTED]> wrote:
>> Because BDB:
>> 1. do not need additional installation
>> 2. is part of base system which mean it is mature, reliable and stable

MM> BDB in the base system is mature, reliable and stable *for what it's
MM> used for in the base system.* So long as your requirements are covered
MM> by that usage, you'll be ok.

MM> The uses I know of for BDB in the base system all consist of databases
MM> of relatively small items that are changed infrequently, and usually
MM> with a locking mechanism. From what you've said, this doesn't describe
MM> your requirements.

MM> More importantly, from what other people are saying, your requirements
MM> are ones for which it's known that BDB is *not* reliable, or otherwise
MM> unsuitable. In particular, an effort is underway to allow parallel
MM> ports builds, which implies concurrent access to the database, which
MM> is a known source of problems for BDB.

MM>           <mike

My requirements is
1. there is no need for SQL
2. processes are sharing db file in concurrent mode
3. reading/writing = 60%/40%

With BDB
clause 1 - satisfied
clause 3 - satisfied (databases of relatively small items that are
changed infrequently).

Is there a problem with concurrent access? And, most important, is
this the ONLY problem? (I still don't understand because of blurred
mention of "data corruption".)


If concurrency is the only problem then:
1. Сan data corruption be avoided? Or this is impossible?
2. How?

If all BDB readers would use O_SHLOCK and all writers O_EXLOCK is it
guarantee for data integrity?


-- 
Best regards,
 Anthony                            mailto:[EMAIL PROTECTED]


_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to