TimesTen 安装配置

2026/4/24 8:22:54

Command> select * from oratt.salgrade; < 1, 700, 1200 > < 2, 1201, 1400 > < 3, 1401, 2000 > < 4, 2001, 3000 > < 5, 3001, 9999 > < 6, 10000, 15000 > 6 rows found.

要注意的是整个timesten只有两种用户cacheuser,oratt。而oracle有三个用户timesten(必须),cacheuser(管理员),oratt(schemauser)

9. 创建本地的AWT Cache Group

ttisql

\

Command> create asynchronous writethrough cache group awt from oratt. bonus(

empno number(4) primary key, ename varchar2(10), sal number, comm number ) ;

//AWT是通过replication agent和oracle同步的,所以必须启动replication agent,否则数据同步不过去 Command> call ttrepstart; Command> exit;

//通过oratt进行数据操作

ttisql \Command> desc oratt.bonus;

Command> insert into oratt.bonus values(7566,’jones’,5000,4500); 1 row inserted. Command> commit; Command>

//在Oracle检查数据是否已近过来 SQL> select * from oratt.bonus;

EMPNO ENAME SAL COMM

———- ———- ———- ———————————— 7566 jones 5000 4500

至此实验完成,要注意的是用户之间的切换,如果实在不想切换,也可以一次性把相关的权限都赋予给某个用户,比如cacheuser。

其它的分享慢慢奉上!


TimesTen 安装配置.doc 将本文的Word文档下载到电脑
搜索更多关于: TimesTen 安装配置 的文档
相关推荐
相关阅读
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 10

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219