Home » Server Options » RAC & Failsafe » Can PHP leverage RAC?
icon5.gif  Can PHP leverage RAC? [message #267507] Thu, 13 September 2007 10:02 Go to next message
willkido
Messages: 2
Registered: September 2007
Location: Minnesota
Junior Member

Does anyone have any expertise platforming PHP applications on RAC and more specifically, can PHP leverage the RAC cluster?

It's my understanding that PHP doesn't take advantage of Connection Polling

It appears that PHP simply connects to a single instance only.

Thanks in advance.

Will
Re: Can PHP leverage RAC? [message #268074 is a reply to message #267507] Mon, 17 September 2007 07:56 Go to previous messageGo to next message
Frank Naude
Messages: 4412
Registered: April 1998
Senior Member
PHP can connect to a service, which will direct the connection to the least loaded RAC node. However, users will have to re-login if the node they are connected to fails (no automatic failover).

PHP connection pooling is available starting with Oracle 11g.
Re: Can PHP leverage RAC? [message #268105 is a reply to message #268074] Mon, 17 September 2007 09:20 Go to previous messageGo to next message
willkido
Messages: 2
Registered: September 2007
Location: Minnesota
Junior Member

Hi Frank,

Thanks for reply.

So, even though PHP can leverage OCI8, it can't be TAF enable?

According to Oracle, "Any application written using Oracle Call Interface (OCI) Version 8 can take advantage of Transparent Application Failover"

Your thoughts?


Will
Re: Can PHP leverage RAC? [message #268152 is a reply to message #268105] Mon, 17 September 2007 14:54 Go to previous message
Frank Naude
Messages: 4412
Registered: April 1998
Senior Member
I'm not entirely sure, but as I understand TAF will not work as the complete OCI8 code path is not implemented. However, it may be better to contact Oracle for an authoritative answer. Things change so quickly that I won't be too surprised if it's supported in one of the later versions.
Previous Topic: Row Cache Problem - 9i RAC
Next Topic: storage options
Goto Forum:
  


Current Time: Mon Jul 28 00:18:22 CDT 2014

Total time taken to generate the page: 0.04561 seconds