Re: The performance problem of server side PreparedStatement?
Posted by: Mark Matthews
Date: December 14, 2004 10:14PM

> Thanks.
> Now I plan to cache my PreparedStatement objects by myself. I want to know how many execution plans the server could > retain in the memory?

Now? Zero. It does not cache execution plans, only the parsing stage is cached server-side. Given enough available memory, you can have in the millions of active prepared statements per connection, however thousands is probably the real-world limit given how operating systems can allocate memory.

> BTW, would you have plant to cache execution plans in the server side?

It is planned, I don't know a version # offhand where it's planned, but it's not going to be in 4.1 or 5.0 as far as I know.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.