
oracle jdbc
iteye_7135
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
跟踪sql 等待事件
[code="java"] stmt.execute( "begin dbms_monitor.session_trace_enable(waits=>TRUE); end;" );[/code]在做jdbc sql 操作前,先执行这个用于对等待事件的sql 跟踪(dbms_monitor 10g以上才行)9i用[code="java"]alter session set ev...原创 2010-08-21 20:57:35 · 150 阅读 · 0 评论 -
oracle jdbc 类关系图
oracle jdbc 类关系图原创 2010-07-25 10:58:25 · 210 阅读 · 0 评论 -
commit 对性能的影响
[code="java"]class BenchmarkIntermittentCommits{ public static void main( String[] args ) throws Exception { Connection conn = null; try { conn = JDBCUtil.getConnection...原创 2010-07-25 12:44:16 · 608 阅读 · 0 评论 -
fetchSIze 对性能的影响
[code="java"]class DemoPrefetch{ public static void main(String[] args) { int connLevelDefaultPrefetch = 5; int stmtLevelFetchSize = 20; int rsetLevelFetchSize = 50; ...原创 2010-07-25 17:09:05 · 1096 阅读 · 0 评论 -
创建statment主在循环内外对比
[code="java"]class DemoParse { public static void main(String args[]) throws Exception { Connection conn = null; PreparedStatement pstmt = null; PreparedStatement pstmt1 = null; Re...原创 2010-07-25 21:17:11 · 139 阅读 · 0 评论