HowTo: New connection on read_query
Hi,
how to create a new connection from the proxy to backend in a read_query?
-- pick a slave which has no idling connections
if s.type == proxy.BACKEND_TYPE_RO and
s.idling_connections == 0 then
--something here
end
Subject
Views
Written By
Posted
HowTo: New connection on read_query
4217
August 08, 2007 02:21AM
2449
August 08, 2007 08:46AM
2998
August 13, 2007 07:38AM
2415
August 13, 2007 08:31AM
2365
August 14, 2007 01:30AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.