![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
So, is there a safe API that I could call preventatively on startup to check for an environment integrity and possibly run recovery if need be? Simply running a fatal recovery (no matter what) takes too much time and slows down the appearance of the first application screen by 40sec. |
#3
| |||
| |||
|
|
So, is there a safe API that I could call preventatively on startup to check for an environment integrity and possibly run recovery if need be? Simply running a fatal recovery (no matter what) takes too much time and slows down the appearance of the first application screen by 40sec. Passing DB_REGISTER and DB_RECOVER flags to DB_ENV->open should do what you want. That is, they will run recovery if some other process has exited with the envionment open: http://www.oracle.com/technology/doc...y-db/db/api_c/ env_open.html#DB_REGISTER Regards, Michael Cahill, Oracle. |
#4
| |||
| |||
|
|
So, is there a safe API that I could call preventatively on startup to check for an environment integrity and possibly run recovery if need be? Simply running a fatal recovery (no matter what) takes too much time and slows down the appearance of the first application screen by 40sec. Passing DB_REGISTER and DB_RECOVER flags to DB_ENV->open should do what you want. That is, they will run recovery if some other process has exited with the envionment open: http://www.oracle.com/technology/doc...y-db/db/api_c/ env_open.html#DB_REGISTER Regards, Michael Cahill, Oracle. |
![]() |
| Thread Tools | |
| Display Modes | |
| |