v5:loadbalancer:reference
This is an old revision of the document!
Load Balancer Reference Manual
| setSessionInitSql | Defines an SQL statement that will always be initialized whenever a lod balancer connection is established |
| addConnection() | Adds a new connection to the list of available servers |
| removeConnection() | Removes a connection from the list of available servers |
| getLoadBalancedConnection | Returns the id of an appropriate connection for a requested type |
| getConnection | Returns the ADODB connection object by database type and ensures that its connected and the session variables are executed |
| setSessionVariable | Allow setting session variables that are maintained across connections |
| clusterExecute() | Executes the same SQL QUERY on the entire cluster of connections |
| isReadOnlyQuery() | Determines if a SQL query is read-only or not |
| execute() | shortcut to ADOdb execute |
v5/loadbalancer/reference.1492768207.txt.gz · Last modified: (external edit)
