Timesten - ttDaemonAdmin Utility

Timesten Component

About

If you have installed the TimesTen Server, the daemon starts automatically when the TimesTen daemon is started otherwise it can be started and stopped using the ttDaemonAdmin utility

The daemon writes a timestend.pid file into the directory from which the daemon was started. By default, this is install_dir/info. This file contains the daemon's process ID. When you stop the daemon, this ID is used to determine the process to terminate. When the process terminates, the timestend.pid file is removed.

How to

Start

To start the daemon manually, use the utility command:

% ttDaemonAdmin -start

If a PID file exist, you can use the “force” option to start it:

% ttDaemonAdmin -start -force

Stop

The TimesTen main daemon process manages all databases under the same TimesTen installation, be sure to disconnect from all databases before running the above command.

If the main daemon process is stopped while there are active agent processes, connections and transactions, the database is invalidated and will require a recovery procedure upon restart.

To stop the daemon manually, use the utility command:

% ttdaemonadmin -stop -force

where:

  • the option “-stop” indicates to kill the process indicated by the PID file even if ttDaemonAdmin cannot communicate with the daemon.

Example

[oracle@Exalytics-01 bin]$ ./ttDaemonAdmin -stop
TimesTen Daemon stopped.
[oracle@Exalytics-01 bin]$ ./ttStatus
ttStatus: Could not connect to the TimesTen daemon.
If the TimesTen daemon is not running, please start it
by running "ttDaemonAdmin -start".
[oracle@Exalytics-01 bin]$ ./ttDaemonAdmin -start
TimesTen Daemon startup OK.





Discover More
Timesten Component
Timesten - (Data Manager) Daemon (timestend)

The TimesTen main daemon (timestend) is a background process, which: Spawns child server process to manage shared database connections Spawns child subdaemon to manage the database Starts: the...
Timesten Client And Timesten Server
Timesten - Server

The TimesTen Server is a child process of the TimesTen daemon (then on a server machine) that operates continually in the background. It takes network requests from TimesTen Clients (in a client server...
Timesten Component
Timesten - Start/Stop a database

The concept of starting and stopping a TimesTen in-memory database is different from that of a disk-based RDBMS. For TimesTen, a database is ready for use by an application after the database is loaded...
Timesten Component
Timesten - Utility

Timesten utility are located in the following location: ttHome/bin. See the readme.txt file for brief information on the utilities or the Reference Guide for more detailled explanations. To get a full...



Share this page:
Follow us:
Task Runner