WEB开发网
开发学院数据库Oracle Oracle Timesten 7.0 内存数据库: (2)基本管理 阅读

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

 2009-05-14 13:15:28 来源:WEB开发网   
核心提示:1. Daemon进程的起停ttDaemonAdmin -startttDaemonAdmin -stop 2. 查看系统状态ttStatusTimesTen status report as of Wed May 13 17:47:00 2009Daemon pid 26443 port 17001 instance

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 内存数据库: (1)安装

Oracle Timesten 7.0 内存数据库: (3)创建一个只读的CacheGroup

Tags:Oracle Timesten 内存

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接