ColdFusion 中是否存在 Oracle Open Cursor (ORA-01000) 泄漏?

发布于 2024-08-15 06:29:57 字数 541 浏览 3 评论 0原文

在查询密集型活跃网站上使用 CFMX7 和 Oracle 10g ent 时,我遇到一个问题,即我的 Web 服务器连接池中的某些 Oracle 连接正在累积打开的游标。 (用 JDBC 术语来说,这可能称为 ResultSet 对象泄漏。)

在 Oracle 中这是一个令人困惑的情况;阅读此处获取解释。 http://www.orafaq.com/node/758

无论如何,它没有缓存PreparedStatements正在泄漏的,实际上是结果集。

我的 DBA 已将 OPEN_CURSORS 参数设置为每个连接 500。我的连接经常达到 450+,这会触发 DBA 警报(因为我们希望避免向 Web 应用程序用户发出 ORA-01000 游标耗尽错误)。

有谁知道 ColdFusion (MX7) 中是否存在导致此问题的错误?有没有办法以编程方式使用 CF 生成 ResultSet 对象泄漏(在 CF 中称为 cfquery 泄漏)?有什么建议吗?

using CFMX7 and Oracle 10g ent on a query-intensive and active web site, I'm having a problem that some of the Oracle connections in my web server connection pool are accumulating open cursors. (In JDBC parlance this might be called a ResultSet object leak.)

This is a confusing situation in Oracle; read here for an explanation.
http://www.orafaq.com/node/758

Any how, it's not cached PreparedStatements that are leaking, it's actually ResultSets.

My DBAs have set the OPEN_CURSORS parameter to 500 per connection. Fairly frequently, my connections get up to 450+, which triggers a DBA alarm (because we hope to avoid smacking web app users with ORA-01000 cursor exhaustion errors).

Does anybody know if there's a bug in ColdFusion (MX7) that causes this problem? Is there any way programatically to use CF to generate a ResultSet object leak (called a cfquery leak in CF)? Any suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜访吸血鬼 2024-08-22 06:29:57

以下是一些可能有用的信息。

http://jehiah.cz/a/maximum-open-cursors-exceeded

Here is some information that might be helpful.

http://jehiah.cz/a/maximum-open-cursors-exceeded

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文