- 浏览: 2266 次
- 性别:
- 来自: 北京
-
最新评论
文章列表
1.查表空间占用率:
SELECT a.tablespace_name,
a.total || 'M' total_space,
(a.total - b.free) || 'M' used_space,
to_char((a.total - b.free) / a.total * 100, '99.99') || '%' pct_free
FROM (SELECT tablespace_name, SUM(bytes) / 1024 / 1024 total
FROM dba_data_files
...
Java的Timer类和OpenSymphony的Quartz调度器是两个流行的调度API。Spring为这两个调度器提供了一个抽象层,可以更容易的使用他们
spring+timer
1 .使用java Timer调度任务
第一步 web.xml
<!--*********************** spring setting ***********************-->
<listener>
<listener-class>org.springframework.web.context.ContextLoade ...