Manually Invoke TimesTen Utilities

You can manually invoke TimesTen utilities on TimesTen instances. Use the kubectl exec -it command to invoke a shell in a container in a TimesTen Pod. Once in the container, you can invoke TimesTen utilities and perform additioanal operations.

Note:

The TimesTen Operator continues to query the status of the Pod and the status of TimesTen within the Pod. If you invoke a command that disrupts the functioning of either the Pod or TimesTen, the Operator may act to try to fix what you did.

This example shows how to use the kubectl exec -it command to invoke a shell within the sample-0 Pod that contains the active TimesTen database in an active standby pair configuration. The example then runs the ttIsql utility.

% kubectl exec -it sample-0 -c tt -- /bin/bash
% ttIsql sample
 
Copyright (c) 1996, 2025, Oracle and/or its affiliates. All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.
 
 
 
connect "DSN=sample";
Connection successful:
DSN=sample;UID=timesten;DataStore=/tt/home/timesten/datastore/sample;
DatabaseCharacterSet=AL32UTF8;ConnectionCharacterSet=AL32UTF8;PermSize=200;
DDLReplicationLevel=3;
(Default setting AutoCommit=1)