Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2758177
  • 博文数量: 389
  • 博客积分: 4177
  • 博客等级: 上校
  • 技术积分: 4773
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-16 23:29
文章分类

全部博文(389)

分类: Oracle

2013-08-30 21:33:25

                                                                         timesten 启动基本流程

      使用ttdaemonadmin -start来启动timestend,timestend进程在启动时主要读取了ttendaemon.options文件来决定各种设置。如
侦听器的端口,subdeamon池的个数,default是4.timestend也启动了侦听器,进程名字也是ttcserver,和正常的连接的服务器端进程
名字一样,可以使用netstat -nltp来查前的ttcserver 是哪个pid

[timesten@sub1 ~]$ netstat -nltp | grep 53397

tcp        0      0 0.0.0.0:53397               0.0.0.0:*                   LISTEN      2811/ttcserver 


使用ttstatus -debug可以来查看当前的subdeamon和状态
[timesten@sub1 info]$ ttstatus -debug
TimesTen status report as of Fri Aug 30 12:52:01 2013

Daemon release: @(#)TimesTen: Release: 11.2.2.5.0 Date: 2013-05-23T07:56:41Z pbo, instance tt1122

Daemon command line: /usr/timesten/TimesTen/tt1122/bin/timestend -initfd 13

TimesTen server pid 2811 started on port 53397
Daemon is not being managed by Clusterware
There are 0 idle handler threads (of 11 up; 0 starting)

Subdaemon report:

N. Subdaemons: 4

Process Table entry 1000000
Process id 2802
Process type 1
Use Count = 0
In use = 0
Doing What = idle
Dying = 0
Connected = 1
Port = 56201
Subdaemon idle
.......................以下省略

这些输出也可以看到当前是启动的subdaemon 是4个,接下来是其中的一个subdaemon的状态,可以看到是处于空闲状态

当前的数据库没有被加载,只启动了timestend.当接到用户的第一次连接进程请求timestend进程会查看当前的sys.odbc.ini
中定义好的datastore,然后从subdaemon池中指定一个subdaemon进程来管理该datastore.,并且加载checkpoint文件到共享内存段中来

 

 

阅读(4264) | 评论(0) | 转发(0) |
0

上一篇:1z052-13

下一篇:1z052-14

给主人留下些什么吧!~~