What is the difference between Oracle's thin driver and OCI driver? Which one has better performance?

Source: Internet
Author: User
OCI: to install the Oracle client, the portability is slightly poor, and theoretically the performance is better
Thin: belongs to type4, which is implemented in pure Java and has good portability. Theoretically, the performance is slightly lower.

Recommendation: it is best to use thin driver, which is more portable and more standard, with fewer problems. As for the performance, to be honest, thin driver is slower than OCI on 8i, and it feels faster. However, I am afraid to make a conclusion even if I have not tested it accurately. Why? There are overhead for calling local methods, and JDK performance is getting better and better. The performance of local methods is at a discount against the call overhead. In addition, Oracle 8i itself is implemented in Java and supports Java well. The reason may be that thin driver is not slow but fast.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.