TimesTenクライアント・インスタンスの破棄

ttInstanceDestroyユーティリティは、既存のインスタンスを破棄します。破棄されるインスタンスは、インスタンス・ホーム・ディレクトリを示すTIMESTEN_HOME環境変数の現在の設定に基づきます。関連付けられているインストール環境のbinディレクトリにあるttInstanceDestroyユーティリティを実行します。(たとえば、installation_dir/tt22.1.1.29.0/bin。)

インスタンス管理者(インスタンスを作成したユーザー)のみがインスタンスを破棄できます。

ノート:

破棄するインスタンスに関連付けられたデータベースに対する既存の接続がない必要があります。

-helpオプションを指定してttInstanceDestroyユーティリティを実行し、使用可能なオプションをリストします。詳細は、Oracle TimesTen In-Memory DatabaseリファレンスttInstanceDestroyを参照してください。

ノート:

-forceオプションを指定すると、確認を求めずに操作が完了します。

この例では、ttInstanceDestroyユーティリティを対話形式で実行してクライアント・インスタンスを破棄します。ユーティリティはinstallation_dir/tt22.1.1.29.0/binディレクトリ(インスタンスのインストール・ディレクトリ)から実行されます。インスタンス・ホーム・ディレクトリ(timesten_home)には、インスタンスに関連付けられたインストール環境の最上位レベルのディレクトリへのシンボリック・リンクであるサブディレクトリ(/install)が含まれています。詳細は、インスタンス・ホームを参照してください。

% installation_dir/tt22.1.1.29.0/bin/ttInstanceDestroy
 
** WARNING **
 
   The uninstallation has been executed by a non-root user.
   If the TimesTen daemon startup scripts were installed,
   you must run $TIMESTEN_HOME/bin/setuproot -uninstall
   to remove them. If you proceed with this uninstallation, you
   will have to remove the startup scripts manually.
 
** WARNING **
 
   All files in the directory:
 
   /scratch/ttuser/clientmac
 
   will be removed, including any file that you or other users may have created.
 
   Are you sure you want to completely remove this instance? [ yes ] yes
   Installation will remove all the files from
 /scratch/ttuser/clientmac.
   Do you want to continue? [ yes ] yes
 
NOTE: /scratch/ttuser/clientmac/info contains information related to the 
      data stores that have been created with this release. If you remove
      /scratch/ttuser/clientmac/info
      you will no longer be able to access your data stores,
      nor would you be able to restore nor migrate your data.
 
 
NOTE: /scratch/ttuser/clientmac/conf contains information related to the instance
configuration.
/scratch/ttuser/clientmac Removed
The TimesTen instance clientmac has been destroyed.