Quote:
Otherwise, you can find out whether the database file is corrupted by
running the db_verify utility -- does it report any errors? |
db_verify is reporting a corrupted database:
asin.bdb: DB_VERIFY_BAD: Database verification failed
However, I don't see how to fix a corrupted database.
I've read the docs on db_recover, and don't see how it can be used to
repair an individual database file
(http://www.sleepycat.com/docs/utility/db_recover.html).
I must be misunderstanding the docs, or perhaps there's another way to
fix a corrupted database.
FYI, the corrupted database came about from multithreading in Tcl with
the Berkeley DB tcl api. I know that's bad, but I'm also interested in
seeing what I can do when/if a corrupted database occurs in production
(I'm still in development)
-john