Oracle 5.0 Reference Manual page 1429

Table of Contents

Advertisement

1. When the client submits one query to the proxy, the
triggered. The function adds the query to the query queue.
2. Once manipulation by
the MySQL server.
3. The MySQL server returns the results from each query, one result set for each query submitted.
The
read_query_result()
decide which result set to return to the client
For example, you can queue additional queries into the global query queue to be processed by the
server. This can be used to add statistical information by adding queries before and after the original
query, changing the original query:
SELECT * FROM City;
Into a sequence of queries:
SELECT NOW();
SELECT * FROM City;
SELECT NOW();
You can also modify the original statement; for example, to add
to get information on how the statement was processed, again altering our original SQL statement into
a number of statements:
MySQL Proxy Scripting
has completed, the queries are submitted, sequentially, to
read_query()
function is triggered for each result set, and each invocation can
1409
function within the proxy is
read_query()
to each statement executed
EXPLAIN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents