I have a doubt about the best practice to handle the oracle connections, in php. I have an Oracle /php aplication that open and close several times a connection to oracle db using ocilogon and ocilogoff, i have to full select boxes, compare data.
I do 20 times in every php file of my aplication
So my question is : do i need to open and close in every one of the 20 querys that i must do ?
Or do i use a persistent connection ?
Wich is the best way to handle it?
and with postgresql ans mysql?