===========================================================
Timesten系统剖析——Timesten体系结构
===========================================================
作者: yangtingkun(http://yangtingkun.itpub.net)
发表于: 2006.06.19 16:26
分类:
TIMESTEN
出处: http://yangtingkun.itpub.net/post/468/120878
---------------------------------------------------------------
这一章描述了Timesten系统的后台进程。
根据Timesten的文档描述,Timesten的核心是ODBC direct driver。Timesten使用ODBC direct driver管理应用程序与data store之间的交互。因此对于Timesten数据库来说,使用ODBC direct driver进行连接具有最高的性能。
在Timesten后台有一个Timesten Daemon进程,这个进程是个多线程进程,在服务器启动后自动运行。每个应用程序连接到Timesten,改进程都会创建一个线程与应用程序进行通信并进行失败检测。
Daemon进程会为每个共享data store启动一个Subdaemon进程。
Timesten后台进程还包括Server Daemon、Server Child、Cache agents和Replication agents进程。
Timesten支持SQL92标准的SQL语句。但是发现很多在Oracle中很常见的语法都不能使用了,比如最基本的SQL:select * from (select * from test)都不支持。
Command> select * from test;
< 1, ytk >
1 row found.
Command> select * from (select * from test);
1001: Syntax error in SQL statement before or at: ";", character position: 35
The command failed.
Timesten不支持存储过程。
yangtingkun
发表于:2006.06.19 16:26
::分类:
(
TIMESTEN
)
::阅读:(8591次)
::
评论
(12)

re: Timesten系统剖析——Timesten体系结构
[回复]
Command> select * from ( select * from NameID ) tt ;
<1 aaa>
1 row found.
Command> select * from ( select * from NameID ) ;
1001: Syntax error in SQL statement before or at: ";", character position: 39
The command failed.
小I机器人
评论于: 2006.06.29 18:51

re: Timesten系统剖析——Timesten体系结构
[回复]
可能我没有说清除,我这里主要想强调Timesten和Oracle语法上的不同
yangtingkun
评论于: 2006.06.29 21:52

re: Timesten系统剖析——Timesten体系结构
[回复]
呵呵
我也是刚开始看,google到你了,
Cache Connect to Oracle Cache Administrator到一个管理页面需要输入密码我该怎么做呢?
chenshanny
评论于: 2006.06.30 15:55

re: Timesten系统剖析——Timesten体系结构
[回复]
我遇到了类似的问题,timesten不支持存储过程!
现在我都不知该如何是好了。
ttIsql支持procedure命令,可以列出所有的built-in的存储过程。但是就是不支持创建自己的存储过程。
我在想有没有什么alternative的方案,如果我用cache连到Oracle,调Oracle里建立的存储过程呢,有没有可能?
james
评论于: 2006.06.30 17:53

re: Timesten系统剖析——Timesten体系结构
[回复]
可以,通过passthrough,最近会写一篇简单的passthrough的应用,你可以看看
yangtingkun
评论于: 2006.07.03 10:26

re: Timesten系统剖析——Timesten体系结构
[回复]
james
评论于: 2006.07.03 14:42

re: Timesten系统剖析——Timesten体系结构
[回复]
Command> CALL TTCACHESTART();
8022: Operation not permitted on non-shared data store
The command failed.
我在建立READONLY CACHE GROUP 的时候,运行以上命令出现了这个错误码呢,不知怎么弄了,
你可以给我说说吗?
小刚
评论于: 2006.08.11 14:46

re: Timesten系统剖析——Timesten体系结构
[回复]
yangtingkun
评论于: 2006.08.11 15:59

re: Timesten系统剖析——Timesten体系结构
[回复]
我们正在招聘做过Timesten开发设计的人员,高薪聘请,不知道各位,是否有这样的人推荐,可联系我sunfairy61@hotmail.com
小女子在这里谢谢各位拉:)
winnie
评论于: 2007.03.29 15:02

re: Timesten系统剖析——Timesten体系结构
[回复]
我对Timesten也不是很熟悉。
建议你去PUB发个招聘的帖子。
yangtingkun
评论于: 2007.03.29 23:32

re: Timesten系统剖析——Timesten体系结构
[回复]
Command> select * from t1;
<4>
<5>
2 rows found.
Command> select * from (select * from t1);
<4>
<5>
2 rows found.
Command>
是不是版本不一样呢?我用的是7.0
ivan
评论于: 2008.12.10 09:32

re: Timesten系统剖析——Timesten体系结构
[回复]
嗯,应该是新版对语法做了进一步的调整
我测试的版本是6.5
yangtingkun
评论于: 2008.12.10 14:53