Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is there possbility to break a db in case of shutting down without close

899969Dec 13 2011 — edited Jan 18 2012
Hi~

I am applying BDB to my embbeded system

I open some db files by using BDB functions "db_create(&dbp, NULL, 0)" and "dbp->open"
and don't close "dbp->close" until shutting down the system.

but, in case of unexpected shutting down(for example, pulling out a bettery, deaded bettery) the system can't close.
In that case, is there possbility to break db files?
If so, please tell me how to recover them
(I use "dbp->sync" when inserting, deleting and updating)

Thank you~
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2012
Added on Dec 13 2011
1 comment
173 views