开发者

Possible complications for not closing database cursors?

开发者 https://www.devze.com 2023-04-04 10:16 出处:网络
What are the possible complications and repercussions if you do not close cursors for your Ora开发者_Python百科cle database?Since your developers are complaining about the performance hit of repeatedl

What are the possible complications and repercussions if you do not close cursors for your Ora开发者_Python百科cle database?


Since your developers are complaining about the performance hit of repeatedly re-opening cursors, the proper solution in the database would be to close them in your code but set the session_cached_cursors parameter so that the database maintained a cache of the session's recently used cursors. Having them not close their cursors is going to cause the ORA-01000 error that you're seeing and will waste other server resources.

0

精彩评论

暂无评论...
验证码 换一张
取 消