Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Simba's odbc phoenix driver and connection pooling

Highlighted

Simba's odbc phoenix driver and connection pooling

New Contributor

Hello,

I'm using Simba's ODBC phoenix driver. I have a question regarding connection pooling.

Reading the docs, my understanding was that the odbc driver was handling connection pulling on its side. I'm using this driver from php webservices.

What is the best practice ?

Retrieve new connection from odbc driver with method odbc_connect or try to store the connection returned by odbc_connect and test its state to see if there is a need to renew it ?

I need pretty good performance for these webservices but i'm a bit lost, what would you advise ?

Big big thanks for your answers.

Don't have an account?
Coming from Hortonworks? Activate your account here