Summary
In this chapter, you learned the difference between connections and sessions in Oracle. You learned why connection pooling is necessary, and you distinguished between connection pooling and caching. You examined how Oracle9i implements the connection pooling framework and provides a sample connection caching implementation. As you saw, in Oracle 10g, the Oracle9i connection caching has been deprecated and replaced by the more powerful implicit connection caching. Finally, you took a look at how Oracle’s OCI connection pooling improves scalability and performance by creating lightweight sessions on top of a low number of physical connections.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
Rights and permissions
Copyright information
© 2005 R. M. Menon
About this chapter
Cite this chapter
(2005). Connection Pooling and Caching. In: Expert Oracle JDBC Programming. Apress. https://doi.org/10.1007/978-1-4302-0029-1_14
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0029-1_14
Publisher Name: Apress
Print ISBN: 978-1-59059-407-0
Online ISBN: 978-1-4302-0029-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books