- 最后登录
- 2018-11-1
- 在线时间
- 377 小时
- 威望
- 29
- 金钱
- 6866
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 891
- 精华
- 4
- 积分
- 29
- UID
- 1
|
4#
发表于 2012-12-8 19:57:15
Snap Id Snap Time Sessions Cursors/Session
Begin Snap: 1880 07-Dec-12 14:00:26 2437 18.8
End Snap: 1882 07-Dec-12 16:00:06 2750 12.2
Elapsed: 119.66 (mins)
DB Time: 5,159.71 (mins)
Elapsed Time (s) Executions Elapsed Time per Exec (s) %Total %CPU %IO SQL Id SQL Module SQL Text
14,196.22 31,038,377 0.00 4.59 3.73 0.00 atrnd612k84mz JefOrm@QZ-ZGAPP06 begin dbms_utility.get_tz_tran...
最耗时的SQL语句是 atrnd612k84mz begin dbms_utility.get_tz_transitions(:1, :2); end;
The JDBC driver executes dbms_utility.get_tz_transitions() to retrieve data necessary for timezone conversion. Normally this happens only once per session, because the driver caches the results. If the call to get_tz_transitions() fails, then there will be no results to cache, and the driver will contine to call this method, in the worst case as part of every JDBC API call.
The more common reason for get_tz_transitions() to fail is that the JVM timezone is unknown to the database. In this case, however, the consequences are potentially more severe, because the database server will attempt to parse the method on each call. Naturally this will fail, but the database server does not rememer that it failed, and will attempt to perform a hard parse operation on every call. If client load is substantial, the problem can be enough to make the database server inoperable.
这个语句 用来查询TZ信息,但是如此多的 调用次数 和性能损耗 不是很正常。 |
|