Oracle® TimesTen In-Memory Database Reference Release 11.2.1 Part Number E13069-03 |
|
|
View PDF |
Description
On UNIX systems, moves data stores from a TimesTen instance to a new TimesTen instance that is of the same minor version. For example, you can move files from TimesTen 11.2.1.0.0 to TimesTen 11.2.1.0.1.
The utility makes it easy to move to a new patch release and can be useful for testing a new release without uninstalling the old one. You can install the new version of TimesTen and move one or more data stores to the new release to test it without uninstalling the old one. Both utilities require that both instances be of the same minor version.
You must run the ttAdoptStores utility from the destination instance.
Required privilege
This utility must be run by the TimesTen instance administrator. The instance administrator must be the same user for both the old and new TimesTen instance.
Syntax
ttadoptstores {-h | -help | -?} ttadoptstores {-V | -version} ttadoptstores [-quiet] -dspath path ttadoptstores [-quiet] -instpath path
Options
ttAdoptStores has the options:
Option | Description |
---|---|
-dspath path |
Adopts a single data store. The path argument must be the path to the data store files (without any file extensions). |
-h
|
Prints a usage message and exits. |
-instpath path |
Adopts all data stores for an instance. The path argument must be the path to the daemon working directory ("infodir ").
If any data stores are in use, the utility fails without making any modifications. No new connections to any data store are allowed in the source instance until the entire operation has completed. |
-quiet |
Do not return verbose messages. |
-V | -version |
Prints the release number of ttAdoptStores and exits. |
Examples
To adopt the data store /my/data/stores/ds
, use:
ttadoptstores -dspath /my/data/stores/ds
To adopt all of the data stores in the directory /opt/TimesTen/ instance1
, use:
ttadoptstores -instpath /opt/TimesTen/instance1
Note
You cannot adopt temporary data stores.
If an instance being adopted is part of a replication scheme, port numbers must match on each side of the replication scheme, unless a port number was specified as the value of the -remoteDaemonPort
option during a ttRepAdmin -duplicate
operation. Generally, all instances involved in the replication scheme must be updated at the same time.
This utility does not copy any sys.odbc.ini
entries. You must move these files manually.