![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am evaluating BDB in a multi-threaded environment. I need to have multiple DBs to share the same memory pool in one process. So I create an ENV to share the cache. Each DB has one writer. All these writers are working concurrently. No read is happening when writing is going on. These writers either update existing records or insert new records. I am using cursor to do that. I am tring to figure out what flag I need to create the ENV. If I use DB_INIT_CDB, will all these update/insert operations be serialized? I read the previous thread "Concurrent data store question". However I was not able to follow the flow. Any hints would be greatly appreciated. Regards, David |
![]() |
| Thread Tools | |
| Display Modes | |
| |