欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

Oracle Timesten 7.0 内存数据库: (2)基本管理

程序员文章站 2022-04-21 17:23:42
...

欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入 1. Daemon进程的起停 ttDaemonAdmin -start ttDaemonAdmin -stop 2. 查看系统状态 ttStatus TimesTen status report as of Wed May 13 17:47:00 2009 Daemon pid 26443 port 17001 instance tt70 Ti

欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入

1. Daemon进程的起停

ttDaemonAdmin -start
ttDaemonAdmin -stop

2. 查看系统状态

ttStatus

TimesTen status report as of Wed May 13 17:47:00 2009

Daemon pid 26443 port 17001 instance tt70
TimesTen server pid 26464 started on port 17003
TimesTen webserver pid 26459 started on port 17005

------------------------------------------------------------------------
Data store /var/TimesTen/tt70/DemoDataStore/TptbmData
There are no connections to the data store
Replication policy : Manual
Cache agent policy : Manual
------------------------------------------------------------------------
Data store /var/TimesTen/tmp/ttdemo
There are 12 connections to the data store
Data store is in shared mode
Shared Memory KEY 0x06013ff4 ID 1802258
Type PID Context Connection Name ConnID
Cache Agent 5543 0x00000000006ecfc0 Handler 2
Cache Agent 5543 0x000000000078ca40 Timer 3
Cache Agent 5543 0x0000000000800150 Aging 4
Cache Agent 5543 0x0000000000873600 timestenorad 6
Cache Agent 5543 0x00000000008d7bc0 timestenorad 7
Process 5501 0x00000000005a7560 ttdemo 1
Subdaemon 3227 0x0000000000558f20 Worker 2042
Subdaemon 3227 0x0000000000605100 Flusher 2043
Subdaemon 3227 0x00000000006763a0 Checkpoint 2044
Subdaemon 3227 0x00000000006c7340 Aging 2045
Subdaemon 3227 0x00000000007182e0 HistGC 2046
Subdaemon 3227 0x0000000000769280 Monitor 2047
Replication policy : Manual
Cache agent policy : Manual
TimesTen's Cache agent is running for this data store
------------------------------------------------------------------------
Data store /var/TimesTen/tt70/TT_tt70
There are no connections to the data store
Replication policy : Manual
Cache agent policy : Manual
------------------------------------------------------------------------
Data store /tmp/ttdemo
There are no connections to the data store
Replication policy : Manual
Cache 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

Oracle Timesten 7.0 内存数据库: (2)基本管理