Skip Headers
Oracle® TimesTen In-Memory Database Reference
Release 11.2.1

Part Number E13069-03
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
View PDF



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 to TimesTen

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.


ttadoptstores {-h | -help | -?}
ttadoptstores {-V | -version}
ttadoptstores [-quiet] -dspath path
ttadoptstores [-quiet] -instpath path


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).



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.


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


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.