Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Which connection cache should I use, OracleConnectionCacheImpl, the Implicit connection cache, or the Universal Connection Pool (UCP)?

0
Posted

Which connection cache should I use, OracleConnectionCacheImpl, the Implicit connection cache, or the Universal Connection Pool (UCP)?

0

You should use the new Universal Connection Pool. This new connection caching mechanism is driver, protocol, and database independent. It supports non-JDBC connections and JDBC connections to databases other than Oracle. When using Oracle JDBC it provides advanced Oracle features including: • connection attributes to stripe and reuse connections • a connection cache manager per VM to manage one or more connection caches • abandoned connection timeout to reclaim idle checked out connections etc. • Runtime Connection Load Balancing to allocate work to the best performing instances The Oracle Implicit Connection Cache is still supported, but we encourage you to transition to the UCP in the near future. Note that the old connection cache, OracleConnectionCacheImpl was desupported in 11.1. See this question.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.