niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Berkeley DB
concurrent DB access and transactons at same time??
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Michael Cahill
*nix forums Guru Wannabe


Joined: 26 May 2005
Posts: 219

PostPosted: Tue Apr 05, 2005 11:02 pm    Post subject: Re: concurrent DB access and transactons at same time?? Reply with quote

Yes, you can have multiple processes sharing transactional
environments. Each process can also be multithreaded. That is the
Berkeley DB Transactional Data Store product, which sounds like it's
what you need.

The Concurrent Data Store product offers a simpler concurrency model
without trasactions, but it still allows multiple processes to share an
environment.

Please see this page fr more information:

http://www.sleepycat.com/products/whichproduct.shtml

Regards,
Michael.
Back to top
berkeleydb_user
*nix forums beginner


Joined: 16 Mar 2005
Posts: 17

PostPosted: Tue Apr 05, 2005 8:16 pm    Post subject: concurrent DB access and transactons at same time?? Reply with quote

am a newbie to BerkeleyDB. Can DB support transactions ie., ACID while
multiple processes or threads are accessing the database at same time.

the docs says:

To create Berkeley DB Concurrent Data Store applications, you must
first initialize an environment by calling DB_ENV->open. You must
specify the DB_INIT_CDB and DB_INIT_MPOOL flags to that method. It is
an error to specify any of the other DB_ENV->open subsystem or recovery
configuration flags, for example, DB_INIT_LOCK, DB_INIT_TXN, or
DB_RECOVER.


does it mean that i can't have transaction support at the same time
when multiple threads/processes are reading/writing the database.

thanks
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Wed Jan 07, 2009 6:31 pm | All times are GMT
navigation Forum index » Databases » Berkeley DB
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts [554] Relay access denied annami Postfix 0 Tue Oct 21, 2008 9:12 am
No new posts [554] Relay access denied annami Postfix 0 Tue Oct 21, 2008 9:11 am
No new posts [554] Relay access denied annami Postfix 0 Tue Oct 21, 2008 9:10 am
No new posts Running php file everyday on scheduled time sachin PHP 1 Fri Jul 21, 2006 12:49 pm
No new posts access method "gin" does not exist Kevin Murphy PostgreSQL 0 Thu Jul 20, 2006 4:25 pm

Venta de libro | Mobile Phone | Credit Card | Mobile Phones | Ringtones
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2058s ][ Queries: 20 (0.1357s) ][ GZIP on - Debug on ]