易截截图软件、单文件、免安装、纯绿色、仅160KB

Oracle JDBC 自带连接池

 http://www.diybl.com/course/3_program/java/javajs/2008429/111906.html
如果要使用池的话,就必须使用OracleConnectionCacheImpl,共有三种池的策略:
DYNAMIC_SCHEME(是动态增加.用完如果超过上限则关掉)
The cache will create connections above the specified maximum limit
when necessary   but will in turn close connections as they are
returned to the cache until the number of  connections is within the
maximum limit. Connections will never be cached above the  maximum
limit. This is the default setting.
FIXED_RETURN_NULL_SCHEME  (直接返回Null)
The cache will return a null connection once the maximum connection limit has been  exceeded.
FIXED_WAIT_SCHEME  (始终等待)
The cache will wait until there is a connection available and will then return it to the  calling application.
oracle.jdbc.pool
Class OracleConnectionCacheImpl
http://download.oracle.com/otn/utilities_drivers/jdbc/101020/javadoc/index.html
oracle Javadoc JDBC 11.2.0.1
http://publish.it168.com/2005/1215/20051215001801.shtml
OC4J 10g 10.1.3 数据源中的连接高速缓存


相关文档:

oracle临时表相关知识

 在Oracle8i或以上版本中,可以创建以下两种临时表:
1。会话特有的临时表
    CREATE GLOBAL TEMPORARY <TABLE_NAME> (<column specification>)
    ON COMMIT PRESERVE ROWS;
  
2。事务特有的临时表
    CREATE GL ......

VVR对Oracle数据库进行容灾

   
随着全球信息化时代的到来,信息数据越来越成为企业关注的焦点,即在各种自然灾害或者人为破坏的情况下,如何保证生产数据的安全和关键业务的不中断运行。
传统的保护方法离线备份、备份介质异地保存在一定程度上可以解决上述问题,但为了能够对业务系统提供更高的实时性和可靠性,保证关键业务7x24不 ......

ORACLE 想清楚了再做,要谨慎些 兄弟

 星期一 发现一个表有很多重复数据 随机使用删除重复数据的语句。
星期二 发现 这语句跑了很久都没跑完,13个小时了!只不过删除10个月的数据而已
依然断了它,可它回滚花了4个小时,上午影响了数据库的服务速度了。
然后一个月一个月检查重复数据的范围,最后定位到9月到10月。删除它,用那条语句很慢,一个小时后 ......

[转载]Oracle存储过程学习

存储过程创建语法:
create or replace procedure 存储过程名(param1 in type,param2 out type) 
as
变量1 类型(值范围);
变量2 类型(值范围);
Begin
    Select count(*) into 变量1 from 表A where列名=param1;
    If (判断条件) then
    &n ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号