|
|
|
|
|
|
| Author |
Message |
Michael Cahill *nix forums Guru Wannabe
Joined: 26 May 2005
Posts: 219
|
Posted: Tue Apr 05, 2005 11:02 pm Post subject:
Re: concurrent DB access and transactons at same time??
|
|
|
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
|
Posted: Tue Apr 05, 2005 8:16 pm Post subject:
concurrent DB access and transactons at same time??
|
|
|
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 |
|
 |
|
|
The time now is Wed Jan 07, 2009 6:31 pm | All times are GMT
|
|
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
|
|