1,df -h
/dev/vgtt1/lvttds1 1572800 12186712 136031195    8% /tt/DS
2,登录TimesTen检查使用情况,发现复制器异常且存在长事务
Command> call ttlogholds;
ID       Seq       Tran-Name                      XID
< 1636, 35832968, Replication                   , KBOCSER2:OCS >   --正常情况下复制器(Replication)的ID和序号应该是最大
< 1636, 35832968, Long-Running Transaction      , 46.118741 >    --长时间没有释放的事务
< 12, 634272, Checkpoint                    , ocs.ds1 >
< 12, 112075416, Checkpoint                    , ocs.ds0 >
4 rows found.
3,联系相关人员,同时检查TimesTen状态
ttstatus;          --检查数据库服务状态,服务正常
ttxactadmin ocs(tns);     --检查数据库事务状态,发现有锁存在且没有释放
4,检查TimesTen日志
cd /tmp; cp timestend.log timestend1.log;     --复制TimesTen服务日志
cat timestend1.log|egrep \"Err|Warn\"|more      --检查日志,发现有错误和告警
5,确认锁表进程
ttxactadmin -xactIdRollback 46.118741 ocs(tns)   --经过确认,回滚事务对系统没有影响所以执行了此回滚操作。
6,检查TimesTen恢复正常,文件系统空间得到释放,应该是系统定时CheckPoint工作了
Command> call ttlogholds;
< 15, 85770832, Checkpoint                    , ocs.ds1 >
< 16, 34548696, Checkpoint                    , ocs.ds0 >
< 16, 112007344, Replication                   , KBOCSER2:OCS >
3 rows found.
Command> call ttckpt;   --如果还没有释放,可以手工执行CheckPoint