我已经安装好了 timesten 数据库,并且成功启动, 设定了一个cache group,里面还有一个表, 如下所示:create readonly cache group dtuser_tj.cg_readonly_news_visit_history
autorefresh interval 60 second
from dtuser_tj.dt_news_visit_history (
numnewshisid number(15) not null,
vc2clientid varchar2(32) not null,
numnewsrid number(15) not null,
dataccess date not null,
primary key (numnewshisid));这个表中的数据是不断地增加的。运行 load cache group cg_readonly_news_visit_history commit every 256 rows;则会把整个表中的数据都加载进来, 可是我只是想加载2个小时内的数据, 表中含有时间字段, 请问如何操作??请大家赐教,谢谢!
autorefresh interval 60 second
from dtuser_tj.dt_news_visit_history (
numnewshisid number(15) not null,
vc2clientid varchar2(32) not null,
numnewsrid number(15) not null,
dataccess date not null,
primary key (numnewshisid));这个表中的数据是不断地增加的。运行 load cache group cg_readonly_news_visit_history commit every 256 rows;则会把整个表中的数据都加载进来, 可是我只是想加载2个小时内的数据, 表中含有时间字段, 请问如何操作??请大家赐教,谢谢!
http://space.itpub.net/4227/viewspace-68918
......
调用 ttCacheStop( ) 过程以停止 Oracle TimesTen 缓存代理。使用 ttstatus 确认缓存代理已经关闭。 LZ都试了吗?
AUTOREFRESH MODE INCREMENTAL INTERVAL 5 MINUTES
STATE PAUSED
FROM
"DTUSER_TJ"."DT_NEWS_VISIT_HISTORY" (
"NUMNEWSHISID" NUMBER(15) NOT NULL,
PRIMARY KEY("NUMNEWSHISID")
)
WHERE (dataccess > sysdate-1/24);