(2)基本管理
1. Daemon进程的起停
ttDaemonAdmin -startttDaemonAdmin -stop 2. 查看系统状态
ttStatusTimesTen status report as of Wed May 13 17:47:00 2009Daemon pid 26443 port 17001 instance tt70TimesTen server pid 26464 started on port 17003TimesTen webserver pid 26459 started on port 17005------------------------------------------------------------------------Data store /var/TimesTen/tt70/DemoDataStore/TptbmDataThere are no connections to the data storeReplication policy : ManualCache agent policy : Manual------------------------------------------------------------------------Data store /var/TimesTen/tmp/ttdemoThere are 12 connections to the data storeData store is in shared modeShared Memory KEY 0x06013ff4 ID 1802258Type PID Context Connection Name ConnIDCache Agent 5543 0x00000000006ecfc0 Handler 2Cache Agent 5543 0x000000000078ca40 Timer 3Cache Agent 5543 0x0000000000800150 Aging 4Cache Agent 5543 0x0000000000873600 timestenorad 6Cache Agent 5543 0x00000000008d7bc0 timestenorad 7Process 5501 0x00000000005a7560 ttdemo 1Subdaemon 3227 0x0000000000558f20 Worker 2042Subdaemon 3227 0x0000000000605100 Flusher 2043Subdaemon 3227 0x00000000006763a0 Checkpoint 2044Subdaemon 3227 0x00000000006c7340 Aging 2045Subdaemon 3227 0x00000000007182e0 HistGC 2046Subdaemon 3227 0x0000000000769280 Monitor 2047Replication policy : ManualCache agent policy : ManualTimesTen's Cache agent is running for this data store------------------------------------------------------------------------Data store /var/TimesTen/tt70/TT_tt70There are no connections to the data storeReplication policy : ManualCache agent policy : Manual------------------------------------------------------------------------Data store /tmp/ttdemoThere are no connections to the data storeReplication policy : ManualCache agent policy : Manual------------------------------------------------------------------------End of report 3. 常用工具
ttAdmin
ttBackup/ttRestore
ttBulkCp
ttIsql
ttMigrate
ttRepAdmin
ttSize
ttStatus
ttTraceMon
ttXactAdmin
这些命令的用法可以参考 "Oracle TimesTen In-Memory Database API Reference Guide"
4.Cache Administrator
Cache Administrator是一个图形界面的管理工具,可以通过下面的URL访问:
http://machine_name:port/cache
这个web server的配置文件是: /var/TimesTen/tt70/webserver.config