TT-00839
Cannot access database because it is in use. A database may be considered to be in use due to its RAM Policy setting, even though there are no active connections to it.
Cause
TimesTen is unable to overwrite an existing database because a database with the same DSN is in use, or loaded into RAM, or both.
Action
Before you can overwrite an existing database, you must first unload the database from memory, close all active connections, set the RAM policy of the database to manual or inUse, or a combination of all of the above.
-
To unload the database from memory, use the ttStatus utility to find processes connected to the database and stop them. Then use the -ramUnload option of the ttAdmin utility to unload the database from memory. For more information on the ttAdmin or ttStatus utility, see ttAdmin or ttStatus, respectively, in the Oracle TimesTen In-Memory Database Reference.
-
To set the RAM policy to manual or inUse, see Specifying a RAM Policy in Oracle TimesTen In-Memory Database Operations Guide.
-
If you do not want to overwrite an existing database, set the Overwrite attribute to 0. For more information on the Overwrite attribute, see Overwrite in the Oracle TimesTen In-Memory Database Reference.
Additional Information
You cannot create the database.
TT-00839
Cannot access database because it is in use. A database may be considered to be in use due to its RAM Policy setting, even though there are no active connections to it.
Cause
TimesTen is unable to overwrite an existing database because a database with the same DSN is in use, or loaded into RAM, or both.
Action
Before you can overwrite an existing database, you must first unload the database from memory, close all active connections, set the RAM policy of the database to manual or inUse, or a combination of all of the above.
-
To unload the database from memory, use the ttStatus utility to find processes connected to the database and stop them. Then use the -ramUnload option of the ttAdmin utility to unload the database from memory. For more information on the ttAdmin or ttStatus utility, see ttAdmin or ttStatus, respectively, in the Oracle TimesTen In-Memory Database Reference.
-
To set the RAM policy to manual or inUse, see Specifying a RAM Policy in Oracle TimesTen In-Memory Database Operations Guide.
-
If you do not want to overwrite an existing database, set the Overwrite attribute to 0. For more information on the Overwrite attribute, see Overwrite in the Oracle TimesTen In-Memory Database Reference.
Additional Information
You cannot create the database.
TT-00839
Cannot access database because it is in use. A database may be considered to be in use due to its RAM Policy setting, even though there are no active connections to it.
Cause
TimesTen is unable to overwrite an existing database because a database with the same DSN is in use, or loaded into RAM, or both.
Action
Before you can overwrite an existing database, you must first unload the database from memory, close all active connections, set the RAM policy of the database to manual or inUse, or a combination of all of the above.
-
To unload the database from memory, use the ttStatus utility to find processes connected to the database and stop them. Then use the -ramUnload option of the ttAdmin utility to unload the database from memory. For more information on the ttAdmin or ttStatus utility, see ttAdmin or ttStatus, respectively, in the Oracle TimesTen In-Memory Database Reference.
-
To set the RAM policy to manual or inUse, see Specifying a RAM policy in the Oracle TimesTen In-Memory Database Operations Guide.
-
If you do not want to overwrite an existing database, set the Overwrite attribute to 0. For more information on the Overwrite attribute, see Overwrite in the Oracle TimesTen In-Memory Database Reference.
Additional Information
You cannot create the database.